/srv/irclogs.ubuntu.com/2016/01/15/#ubuntu-devel.txt

theweirdn8so i have a general question about devving for ubuntu.  If im on Arch Linux Distro, if i compile something there does it work on ubuntu?? Or do  I need ubuntu for ubuntu dev?04:02
sarnoldIt's Complicated04:03
sarnoldby far the easiest approach is to have an ubuntu system, whether via kvm or lxc or hardware or whatever04:03
theweirdn8sarnold: can you elaborate04:03
theweirdn8So, assuming im just using C++ and SDL 2.0.x it still wont work easily on Ubuntu?04:04
sarnoldbut there's usually pretty good binary compatibility even between distributions, so long as you stick to the big things, like either using gcc 5.x on both or gcc 4.x on both..04:04
theweirdn8Ok, thats interesting to hear04:05
sarnoldc++ is infact one of the areas where gcc 5.x broke ABI compatibility. your code could probably be compiled on arch and then run on whichever versions of ubuntu shared that same version of gcc...04:05
theweirdn8i hope i can get my IDE working on at least Ubuntu and Debian and Raspberry pis04:05
sarnoldyou probably don't need the whole IDE though; just enough build environment needs to exist on the other systems..04:05
theweirdn8Working on this04:05
theweirdn8http://create.pawbyte.com/04:05
theweirdn8im making na IDE04:06
sarnoldand in fact you can use ubuntu servers to do the actual building, which sidesteps most of the difficulties: https://help.launchpad.net/Packaging/PPA04:06
sarnoldfwiw, there's also https://build.opensuse.org/ which has been on my "to investigate" list for a few years.. they claim to be able to build debs and rpms from single sources, which would likely save you loads of time04:08
sarnoldby and large whatever -source- you work on would work fine, but binary compatibility is where things get awkward.04:08
theweirdn8oh mkay04:10
theweirdn8i will look at it later04:10
=== cpaelzer_afk is now known as cpaelzer
naccPharaoh_Atem: i can try to help you out in the AM04:37
naccAM04:37
Pharaoh_Atemnacc: cool04:48
Pharaoh_Atemthat'd be great04:48
Pharaoh_Atemsarnold: it works04:48
Pharaoh_AtemI've been using the openSUSE Build Service for years04:48
Pharaoh_Atemit's fully binary compatible because it builds Ubuntu VMs to build things on the fly04:49
Pharaoh_Atemthe only problem (for Ubuntu users) is that the build of osc and zypper is badly broken04:49
Pharaoh_Atemas in, it segfaults on some operations due to a bad zypper/libsolv build04:50
slangasekcjwatson: did you happen to see that devscripts is dep-wait?05:30
=== cpaelzer is now known as cpaelzer_afk
=== cpaelzer_afk is now known as cpaelzer
=== cpaelzer_ is now known as cpaelzer_afk
=== cpaelzer_afk is now known as cpaelzer_
=== cpaelzer_ is now known as cpaelzer_afk
=== cpaelzer_afk is now known as cpaelzer_
mvorbasak: hi, just fyi (you asked/mentioned this yesterday) - I uploaded a new command-not-found with the xenail data now06:41
=== jincreator is now known as jincreator_
=== cpaelzer_ is now known as cpaelzer_afk
=== cpaelzer_afk is now known as cpaelzer_
pittiGood morning!07:08
pittihallyn: the updated systemd is in xenial now07:22
=== kickinz1|eod is now known as kickinz1
mvomwhudson: hi, I wonder if you can help me? I try to find out what the plan for gccgo and golang 1.5 library support is. I looked at gcc trunk and AFAICS the 1.5 runtime (libgo) go merged ~3 month ago. snappy is using (some) 1.5 library bits and our 5.3 fails right now. now it seems that the gcc5_3 branch does not have 1.5 support and the next gcc is gcc6 - is that correct? no 1.5 support for gcc5.3?07:57
=== spineau is now known as spineau_afk
ondrejnacc: re swig - ignoring the problem in hope somebody else will solve it?08:32
mwhudsonmvo: yeah, it's a bit of a mess between go and gcc release schedules09:13
mwhudsonmvo: however!09:13
mwhudsonmvo: we shouldn't have to care about gccgo for x09:13
mwhudsonoh, except for powerpc (32 bit)09:13
mwhudsoni recommend not caring about powerpc :)09:14
mwhudson1.6 everywhere, with ibm's port to s390x as a distro patch09:14
cjwatsonslangasek: I hadn't, thanks.  I guess that's a MIR job, will see about that later today09:15
mwhudsonmvo: there's a 1.6beta2 package in https://launchpad.net/~xnox/+archive/ubuntu/nonvirt/+packages if you want to try that09:16
* mwhudson goes to bed09:16
rbasakmvo: thanks!09:34
mvomwhudson: thanks a bunch!09:35
mvorbasak: yw09:35
=== spineau_afk is now known as spineau
=== cpaelzer_ is now known as cpaelzer_afk
=== cpaelzer_afk is now known as cpaelzer_
ginggsLaney: I saw you sync'd glib2.0, thanks!10:35
Laneyginggs: np!10:38
=== cpaelzer_ is now known as cpaelzer_afk
=== cpaelzer_afk is now known as cpaelzer_
=== cpaelzer_ is now known as cpaelzer_afk
=== cpaelzer_afk is now known as cpaelzer_
=== _salem is now known as salem_
=== cpaelzer_ is now known as cpaelzer_afk
pittihallyn: I followed up on #1533839 with an initial diagnosis11:46
=== cpaelzer_afk is now known as cpaelzer_
dokomitya57, dh_sphinxdoc: error: unknown JavaScript code: debian/python-pygraphviz-doc/usr/share/doc/python-pygraphviz-doc/html/_static/jquery.js13:00
dokoany idea why I see this in xenial?13:01
ginggspitti: in case you are still around, glib2.0 seems to be running its tests against pcre3 8.35, can it be convinced to run them against pcre3 8.38 in -proposed instead?15:28
pittiginggs: it can, but shouldn't it Depends: on the -proposed libpcre3 then if it needs that?15:32
ginggspitti: let me check on that. iirc, the patch for glib2.0 to work with new pcre3 should be conditional15:36
LaneyIt checks the build version15:36
LaneyI suppose if available we could make it look at the runtime version instead15:36
naccondrej: :) fair enough -- i've pinged upstream to see if i can help15:37
naccondrej: but i meant for packages that depend on the swig bindings ... will they just be broken in debian if you try to install php7.0?15:37
naccmvo_: thanks for the cnf data! i'll see what it says today15:37
pittiginggs, Laney: I suppose we are talking about both http://people.canonical.com/~ubuntu-archive/proposed-migration/update_excuses.html#pcre3 and http://people.canonical.com/~ubuntu-archive/proposed-migration/update_excuses.html#glib2.0, right?15:40
Laneyindeed15:40
LaneyIt's more correct to move the check in question to a runtime one15:40
pitti$ run-autopkgtest -s xenial --trigger=glib2.0/2.47.4-1 --trigger=pcre3/2:8.38-1ubuntu1 glib2.015:41
pittistarted15:41
pitti(this will install the -proposed versions of both)15:41
seb128@pilot in15:46
=== udevbot changed the topic of #ubuntu-devel to: Wily (15.10) Released! | Archive: open | Devel of Ubuntu (not support or app devel) | build failures: http://qa.ubuntuwire.com/ftbfs/ | #ubuntu for support and discussion of precise-wily | #ubuntu-app-devel for app development on Ubuntu http://wiki.ubuntu.com/UbuntuDevelopment | See #ubuntu-bugs for http://bit.ly/lv8soi | Patch Pilots: seb128, mterry
mvo_nacc: sure, your welcome. what in particular was missing there?15:54
naccmvo_: what i noticed was that php-config wasn't showing up as a known command16:15
naccmvo_: php5-config still was but php-config is provided by a package in universe (php7.0-dev, iirc)16:16
naccmvo_: hrm, after update/upgrade, still don't see it ... is there some latency before it will be in the repos?16:17
naccmvo_: or might this be something that needs manual intervention?16:17
mvo_nacc: let me check16:18
naccmvo_: thanks!16:19
mvo_nacc: oh, is php-config using the update-alternatives system maybe? thats notoriously tricky for the c-n-f parser to parse16:19
mvo_nacc: as those are shell constructs etc16:20
naccmvo_: yes, it is16:23
naccmvo_: so in that case, is it better to provide a manual update? I can try and spin something up ... not sure what the best way is16:27
mvo_nacc: I guess the parser is just confused, it gets it right for emacs and vi but its fragile by nature as it tries to understand what the shell code is doing without executing it16:30
mvo_nacc: I guess I need to look at php7.0-dev to see what it is doing?16:30
naccmvo_: probably :) I'd have to look at the emacs code to understand how cnf parses the file. For src:php7.0, you'll want to look at debian/php-dev.postinst, I think16:31
mvo_nacc: thanks, looking now16:32
naccmvo_: also applies to phpize, I think, fyi. This is going to be one of the painful parts of the PHP7.0 transition. They've changed the names of all the binaries away from php<version>-... whatever to php-... whatever. So that's good, but means there might be a lot of churn in the meanwhile. I know those two commands are issues, I'll keep looking for others as I go16:34
mvo_nacc: thanks! I think its the quotes that confuse it, I wonder if ${i} would be easier to grok for the c-n-f extractor16:36
naccmvo_: oh good point ... I don't know why they did it that way; these loops are pretty generic to all the php scripts, so could just be c&p16:37
naccmvo_: actuall, i lied, the other scripts use ${var}16:37
naccmvo_: i can push something to debian if that will help?16:38
mvo_nacc: thanks, it will definitely not do any harm :)16:39
naccmvo_: ok -- and if we do that, will it get autosyncd and regenerated with cnf in the future? or should i ping you once/if debian updates?16:39
mvo_nacc: I will need to a bit more time to build a test case to see if it really fixes it, but emacs is using this and there it works16:39
naccmvo_: sure, np16:40
mvo_nacc: once its in ubuntu feel free to ping me, then I will check, the extractor runs daily16:40
naccmvo_: ah got it, thanks!16:40
mvo_nacc: cool, thanks a lot!16:40
hallynpitti: thx17:39
seb128@pilot out18:00
=== udevbot changed the topic of #ubuntu-devel to: Wily (15.10) Released! | Archive: open | Devel of Ubuntu (not support or app devel) | build failures: http://qa.ubuntuwire.com/ftbfs/ | #ubuntu for support and discussion of precise-wily | #ubuntu-app-devel for app development on Ubuntu http://wiki.ubuntu.com/UbuntuDevelopment | See #ubuntu-bugs for http://bit.ly/lv8soi | Patch Pilots: mterry
nacchrm, so let's say there's a package that generates a file ... shouldn't apt-file indicate that? or is there something that generates apt-file's contents? In particular, I was looking for the php.h generated by php7.0-dev18:56
naccondrej: is there a reason php7.0-dev generates /usr/include/php/20151012 (the phpapi) rather than, say /usr/include/php/7.0/ ?18:58
Pharaoh_Atemnacc: afaik, that's upstream design19:08
naccPharaoh_Atem: /usr is quite messy ... e.g., /usr/lib/php/7.0 and /usr/lib/php/2015101219:09
naccPharaoh_Atem: but yeah, might just be how it is19:09
naccPharaoh_Atem: means that, e.g., grahviz's swig bindings not only need updating (probably) but also that graphviz's configure does as the paths aren't defined for it search for, e.g. php.h19:10
Pharaoh_Atemyeah19:11
Pharaoh_Atemupstream likes making things inconsistent19:11
TJ-nacc: does "apt-file search -x 'php\.h$' " find the file?19:12
TJ-nacc: it uses the packages .list files19:12
naccTJ-: no, it also says that only php5-dev provides it, which is weird19:12
naccTJ-: do I need to do something special, perhaps, to search in universe?19:13
naccthat might be the thinko on my part19:13
nacchrm, on my reading, since universe is in my sources.list, it should work?19:15
TJ-nacc: well, might be worth doing apt-file update19:15
naccTJ-: yeah, just did -- no difference yet, but i'll check again19:16
Pharaoh_Atemnacc: can you help me with this? http://fpaste.org/311344/52885297/19:16
TJ-nacc: strange. it puts the content list under "/var/cache/apt/apt-file/"19:16
naccTJ-: ok, will look there next, thanks!19:16
Pharaoh_AtemI've been trying to get a working php-fpm conf, and for whatever reason, it's not working :(19:16
TJ-nacc: nacc find the package's list and check it. "ls /var/lib/dpkg/info/php7.0-dev.list"19:17
Pharaoh_AtemI forked it from the php7.0 config and merged in the conf settings used in Fedora's php-fpm package to make it work19:17
Pharaoh_Atembut it doesn't work :(19:18
Pharaoh_Atemeven accounting for the packaging differences19:18
naccTJ-: ok, php.h is present in /var/lib/dpkg/info/php7.0-dev.list19:18
naccTJ-: but apt-file still doesn't show it19:18
naccTJ-: weird! `apt-file list php7.0-dev` is empty?19:19
TJ-nacc: have you configured the repo line in /etc/apt/sources.list or in a file under /etc/apt/sources.list.d/ ?19:20
naccthe former, TJ-, unaltered Xenial cloud image19:20
TJ-a literal reading of 'man 1 apt-file' suggests it only reads the former19:21
naccTJ-: to be clear, my /etc/apt/sources.list.d/ is empty, and since there are *some* results, it must be using /etc/apt/sources.list ...19:22
TJ-Yes; you may have found a bugette :)19:22
naccTJ-: hrm, it seems that php7.0 doesn't even show up in the Contents.gz file(s)?19:23
nacci'm looking /var/cache/apt-file...19:23
TJ-nacc: try this: "zgrep 'php\.h[[:space:]]' /var/cache/apt/apt-file/*.gz"19:25
naccTJ-: just shows php5-dev19:26
naccTJ-: so it's like the universe entries aren't there?19:26
naccheh, zless keeps getting killed while trying to page the 32M Contents.gz file :)19:28
TJ-nacc: that suggests something wrong with the 'update', or the deb line in sources.list. are there any "universe/<section>/<package> entries?19:28
naccTJ-: hrm, there are, actually, you're right19:29
TJ-nacc: I'm running "zgrep '[[:space:]]universe/' /var/cache/apt/apt-file/*.gz | wc -l" to get an idea of how many19:30
naccactually, less was getting OOM killed .... interesting ... probably a bad implementation for memory? does it try to keep the entire file in memory?19:30
naccoh bah, it's because i'm in a tiny VM by default :)19:31
naccTJ-: i get: 422250219:33
TJ-On 15.10 I got 3978947 so you win :)19:34
naccheh19:35
naccPharaoh_Atem: i'll look, not sure how much help i'll be! what's the symptom of it "not working"?19:38
naccTJ-: ok, so dpkg (perhaps obviously) does know what provides the file I was looking for (but is obviously only look at what's installed) ... ah well, should I file a bug?19:41
TJ-nacc: it looks like something is out of sync with the files apt-file fetches, compared to the package .list files. I'm not clear right now how/why that would be20:08
=== salem_ is now known as _salem
Pharaoh_Atemnacc: my hello.php containing "<?php echo "Hello, world!\n"; ?>" doesn't output "Hello, world!" and instead outputs the plain file20:35
naccPharaoh_Atem: hrm...20:35
naccPharaoh_Atem: what port is php-fpm listening on?20:42
Pharaoh_Atemit's listening on a unix socket20:44
Pharaoh_Atemstarting with httpd 2.4.12, it can talk to things like fpm with a unix socket, just like nginx can20:47
naccPharaoh_Atem: ah duh21:56
naccPharaoh_Atem: shouldn't those be /var/run?21:59
Pharaoh_Atemnacc: it seems /var/run is symlinked to /run22:18
naccPharaoh_Atem: fact :)22:19
naccah ok22:19
naccand the socket in question does indeed exist, etc?22:19
Pharaoh_Atemnacc: yep22:59
Pharaoh_Atemthe corresponding pid file is there too22:59
=== jincreator is now known as jincreator_

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!