/srv/irclogs.ubuntu.com/2013/01/23/#ubuntu-devel.txt

=== yofel_ is now known as yofel
=== slank is now known as slank_away
=== chiluk is now known as chiluk_away
=== chiluk_away is now known as chiluk
=== megha is now known as database
=== rickspencer3_ is now known as rickspencer3
jdstrandmicahg: re imagemagick> hi! no, I'm not actively working on it03:30
pittiGood morning05:26
stgrabergood morning pitti (my usual reminder that going to sleep for a bit might be a good idea ;))05:28
pittistgraber: heh, happy to be of service :)05:30
randimillerAre there any mentor programs for someone that wants to start contributing?07:02
randimillerLooking to challenge myself a bit more, so looking at contributing to a linux distro.07:03
xxtjaxx_Quick question: Ubuntu uses update-alternatives right?07:15
infinityxxtjaxx_: Yes.07:25
xxtjaxx_infinity: Thanks07:30
=== chiluk is now known as chiluk_away
magn3tsWould it be possible to tie into dbusmenu to dynamically insert an entry in GtkMenus across applications to create a special menu that would enable HUD like functionalities in non-Unity environments?08:11
magn3tsI'm assuming the same way GTK was patched to push stuff into dbusmenu, one could also patch it to create a new menu that can scrape back from dbusmenu and then provide search functionality? Or maybe if there is a libhud or something that one could directly tie into ?08:12
magn3tsOf course the "Developing for the HUD" sections of the wiki are bone-dry :(08:14
dholbachgood morning08:30
scientesthe raring daily build for 1-22 doesn't boot08:36
scienteslive cd08:36
scientesor rather, mouse but no installation windows08:36
scientesoh wait, nvm.....just taking forever08:37
=== tkamppeter_ is now known as tkamppeter
=== megha is now known as hack
=== doko__ is now known as doko
Laneybdrung: feel free to do it09:26
Laneydon't forget to commit to the ubuntu-desktop VCS09:26
=== henrix_ is now known as henrix
=== yofel_ is now known as yofel
dokojodh, about 1103414, is this reproducible for you locally?11:03
jodhdoko: I'll retry my build...11:04
dokojodh, please attach the preprocessed source, and the command line options used (and please make the build verbose by default)11:04
jodhdoko: ack.11:05
=== Sweetsha1k is now known as Sweetshark
dholbach@pilot in11:26
=== udevbot changed the topic of #ubuntu-devel to: Ubuntu 12.10 released | Archive: Open | Dev' of Ubuntu (not support or app devel) | build failures -> http://qa.ubuntuwire.com/ftbfs/ | #ubuntu for support and discussion of hardy -> quantal | #ubuntu-app-devel for app development on Ubuntu http://wiki.ubuntu.com/UbuntuDevelopment | See #ubuntu-bugs for http://bit.ly/lv8soi | Patch Pilots: dholbach
=== henrix is now known as henrix_
=== henrix_ is now known as henrix
=== ximion is now known as ximion-afk
=== _salem is now known as salem_
=== ximion-afk is now known as ximion
=== ximion is now known as ximion-afk
evjodh: do you think we'll get upstart inotify events in raring?12:25
jodhev: well, it is in plan, but more teetering on the edge than centre-stage atm.12:31
evjodh: noted; thanks!12:33
evmpt: whenever you have a free moment, I'd appreciate your thoughts on whether we should modify the firefox crash reporting dialog: https://bugs.launchpad.net/ubuntu/+source/apport/+bug/106439512:34
ubottuUbuntu bug 1064395 in apport (Ubuntu) "Apport should still send reports to daisy.ubuntu.com for binaries in the blacklist" [Undecided,New]12:34
herton@pilot in12:35
=== udevbot changed the topic of #ubuntu-devel to: Ubuntu 12.10 released | Archive: Open | Dev' of Ubuntu (not support or app devel) | build failures -> http://qa.ubuntuwire.com/ftbfs/ | #ubuntu for support and discussion of hardy -> quantal | #ubuntu-app-devel for app development on Ubuntu http://wiki.ubuntu.com/UbuntuDevelopment | See #ubuntu-bugs for http://bit.ly/lv8soi | Patch Pilots: herton, dholbach
=== MacSlow is now known as MacSlow|lunch
=== ximion-afk is now known as ximion
=== fisted_ is now known as fisted
mdeslaur@pilot in13:06
=== udevbot changed the topic of #ubuntu-devel to: Ubuntu 12.10 released | Archive: Open | Dev' of Ubuntu (not support or app devel) | build failures -> http://qa.ubuntuwire.com/ftbfs/ | #ubuntu for support and discussion of hardy -> quantal | #ubuntu-app-devel for app development on Ubuntu http://wiki.ubuntu.com/UbuntuDevelopment | See #ubuntu-bugs for http://bit.ly/lv8soi | Patch Pilots: herton, dholbach, mdeslaur
* dholbach hugs mdeslaur and herton13:08
* mdeslaur hugs dholbach13:08
=== cpg is now known as cpg|away
dholbach:-)13:08
sveinseHow does the dpkg trigger work? On an ubuntu-arm precise target I see a few "Processing triggers for initramfs-tools" and often the update-initramfs is run multiple times duing the same apt-get update. Isn't the trigger mechanism built to avoid exactly that?13:30
=== Ursinha_ is now known as Ursinha
=== rsalveti_ is now known as rsalveti
sveinseAnd just now I installed a custom package which installs something into initramfs-tools. dpkg reports that "Processing triggers for initramfs-tools" like it should, but it does not run update-initramfs13:32
=== fisted_ is now known as fisted
=== henrix is now known as henrix_
=== sraue_ is now known as sraue
=== henrix_ is now known as henrix
herton@pilot out13:57
=== udevbot changed the topic of #ubuntu-devel to: Ubuntu 12.10 released | Archive: Open | Dev' of Ubuntu (not support or app devel) | build failures -> http://qa.ubuntuwire.com/ftbfs/ | #ubuntu for support and discussion of hardy -> quantal | #ubuntu-app-devel for app development on Ubuntu http://wiki.ubuntu.com/UbuntuDevelopment | See #ubuntu-bugs for http://bit.ly/lv8soi | Patch Pilots: dholbach, mdeslaur
=== henrix is now known as henrix_
=== henrix_ is now known as henrix
=== MacSlow|lunch is now known as MacSlow
mptev, done14:24
evmpt:  thanks14:30
=== chiluk_away is now known as chiluk
k-sdoko: hi, do you have some minutes to query about ubuntu's linker?14:44
k-sdoko: I'm trying to get our project (EFL) to behave in an uniform way in multiple systems, but seems I cannot get as strict as Ubuntu's linker14:45
k-sdoko: even giving -Wl,--no-copy-dt-needed-entries -Wl,--as-needed everywhere, just on Ubunut it fails with DSO, while on Fedora, Arch and others it compiles without errors14:45
k-sdoko: so if you know how to force the DSO everywhere, I'd like to apply this to our project14:45
k-sdoko: is ubuntu using gold or the traditional linker? Any changes to libtool?14:46
=== slank_away is now known as slank
rbasakk-s: I'm not confident in the answers I'd give for your questions, so best to wait for someone else. But in the meantime, are you familiar with http://wiki.debian.org/ToolChain/DSOLinking? It's what I use as a reference to fix lots of build failures.15:03
k-srbasak: yeah, did look into it.15:04
k-srbasak: and in the one from fedora as well15:04
k-sstrange part is that fedora works, ubuntu doesn't (to cause the error)15:04
rbasakk-s: pastebin the error please?15:05
rbasak(and the linker command line)15:05
k-srbasak: http://pastebin.com/ZnmkASs0 from an user15:06
k-srbasak: the same configure/Makefile worked for Fefora, Arch and Gentoo15:07
k-soops, he said there is another log, I'm waiting for his new pastebin15:07
dholbachcan somebody please reject https://code.launchpad.net/~ben-kietzman/ubuntu/quantal/yasm/fix-for-1064341/+merge/140267?15:11
stgraberdholbach: done15:15
dholbachthanks stgraber15:16
k-srbasak: http://pastebin.com/QiU4fcRp using libeet.la http://pastebin.com/CxFL0cNZ15:20
k-srbasak: basically from my logs, Ubuntu's libtool isn't emitting the 'dependency_libs' parts. Although it IS used by 'relink_command' at the end, it's not being used to compile15:22
k-srbasak: then I wonder: any patch to libtool?15:23
rbasakk-s: is eina_iterator_next defined in libeina.so.1 as it says? In that case don't you need a -leina? This is on the edge of my knowledge so I might be missing something here.15:23
k-srbasak: it is15:24
k-srbasak: it is in libeina, which is a dependency for libeet.la as stated in the second pastebin15:25
k-srbasak: I'm not even getting in the merit if it should or not emit libeina because it's a dependency of libeet15:25
k-srbasak: I'm trying to understand why your libtool is different from all other distro15:25
k-srbasak: if it's a flag I can turn on, or it's a patch15:26
dholbach@pilot out15:26
=== udevbot changed the topic of #ubuntu-devel to: Ubuntu 12.10 released | Archive: Open | Dev' of Ubuntu (not support or app devel) | build failures -> http://qa.ubuntuwire.com/ftbfs/ | #ubuntu for support and discussion of hardy -> quantal | #ubuntu-app-devel for app development on Ubuntu http://wiki.ubuntu.com/UbuntuDevelopment | See #ubuntu-bugs for http://bit.ly/lv8soi | Patch Pilots: mdeslaur
k-srbasak: will have to go for 30 min or so, please reply to my nick so I can find it when I'm back.15:26
k-srbasak: thanks!15:26
stokachucjwatson: i am attempting to do a merge/fix conflicts for console-setup, is that ok with you?15:27
=== k-s is now known as k-s[AWAY]
rbasakk-s: I think we're just less liberal in accepting input that isn't quite right, which other distros (currently) don't mind about. I guess this is a libtool issue rather than directly a linker one? Now we're past the edge of my knowledge and I'll have to let someone else answer - sorry. If you don't get an answer here, please try ubuntu-devel@lists.ubuntu.com. It's moderated but you've got an on-topic Ubuntu-specific issue so it's the right venue an15:29
rbasakd someone should let it through.15:29
cjwatsonstokachu: TBH I'd prefer you didn't, it's really complicated and full of very delicate interactions with the rest of the installer15:29
cjwatsonstokachu: For many packages I'd be fine, but console-setup is one where experience has taught me I need to line-by-line the whole thing15:29
stokachuok no worries, so ill just pick another package then15:29
stokachucjwatson: how about aptitude? looks to be only diff changes15:31
stokachumterry: do you mind if i work on the merge fixes for aptitude?15:33
mterrystokachu, please do  :)15:33
stokachucool thanks!15:33
mterrystokachu, it might be complicated too, I don't recall15:33
stokachumterry: the report shows 2 files needing change15:34
mterrystokachu, k15:34
cjwatsonstokachu: "only diff changes"?15:36
cjwatsonstokachu: But it's fine by me15:36
dokok-s, rbasak: the .la file references a file i n /home/<something> while you /opt/lib/<something> is searched. are these incompatible libs? looks like a local issue15:36
stokachucjwatson: yea the report just showed 2 files with diff conflicts15:36
rbasakdoko: BTW, while you're here, when do you next plan to merge python2.7 please? Bug 1097783 causes a genshi FTBFS, now fixed (trivially) in upstream 2.7 tip. Nothing urgent, but there's a second cause for the genshi FTBFS there's no point in fixing until python is fixed.15:40
ubottubug 1097783 in genshi (Ubuntu) "re module apis return longs now" [High,Triaged] https://launchpad.net/bugs/109778315:40
rbasakOr we could cherry-pick it I suppose. Not worth it if you're planning another merge though.15:40
mdeslaurdo we still need to set the pocket to -proposed for SRUs to stable releases, or does that get handled automatically now?15:47
Laneyit'll get rewritten15:47
cjwatsonYeah, you can do either15:50
cjwatsonI've been getting into the habit of just writing "precise"15:51
stokachumterry: so when i do a merge with bzr merge debianlp:aptitude everything applies cleanly :\15:55
stokachubut the report shows conflicts so is the report outdated on merges.ubuntu.com?15:55
cjwatsonmerges.ubuntu.com is not necessarily as smart as bzr15:55
mterryYeah.  I don't typically use bzr for merges, so I'm not as familiar with its workflow, but I could believe it knows better.  Still probably good to double check that the changes you would have made are in the merged bzr branch too15:56
stokachuok ill use the grab-merge tool and compare, if everything is good ill create a merge bug for this ok/15:57
stokachu*?15:57
cjwatsonDaviey: do you think somebody on the server team could verify that the fix for bug 901600 meets your needs?16:01
ubottubug 901600 in grub2 (Ubuntu Precise) "Allow /etc/default/grub overriding via /etc/default/grub.d/" [High,Fix committed] https://launchpad.net/bugs/90160016:01
cjwatsonshouldn't take very long16:01
stokachumterry: interesting, doing grab-merge has the latest changes but debianlp does not16:02
cjwatsonYou might want to just ignore bzr for this if it's out of date16:02
stokachuok16:02
=== ev_ is now known as ev
xnoxstokachu: do bzr merge => generate debdiffs against debian & compare with previous old ubuntu to old debian debdiff.16:13
xnoxstokachu: sometimes bzr is smart and actually does merge everything right.16:13
cjwatsonxnox: bzr merge doesn't help when the import into lp:debian/... has failed :)16:13
xnox=))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))16:14
cjwatsonHmm, but it looks up to date16:14
=== salem_ is now known as _salem
cjwatsonstokachu: So, I'm not sure what you mean; debianlp:aptitude is version 0.6.8.2-1 which is what's in Debian unstable16:15
cjwatsonstokachu: I think you must have misread someething ...16:15
stokachucjwatson: yea i did :\16:15
stokachui did check the diff again just to make sure. and since no changes are needed do i still need to go through creating a merge bug?16:16
xnoxlp:debian/experimental/aptitude is also up to date with what's idling in the experimental.16:16
xnoxstokachu: are you implying aptitude is now insync?!16:16
xnoxstokachu: or the debdiff is the same, sans new changelog entry.16:17
stokachuxnox: so basically when doign a grab-merge it shows 2 file conflicts, bug when i did a bzr merge from debianlp it applied cleanly16:17
stokachuso i dont think i need a new changelog entry or anything16:18
stokachuunless I need to specify that this was a correct merge through bzr and not through merges.u.c16:18
LaneyYou will do; it likely means that it (thinks it) figured out how to merge everything by itself.16:18
xnoxstokachu: we upload package into ubuntu. new upload must be higher version, and it needs to have a changelog entry.16:18
LaneyDo double check that what it did is what you expect though16:19
xnoxstokachu: and the changelog entry should still document remaining (same as before) ubuntu delta.16:19
stokachuok gotcha16:19
dokojodh, new upstart still doesn't configure with --disable-silent-rules16:20
=== k-s[AWAY] is now known as k-s
k-sdoko: back, the /opt is the ./configure --prefix=/opt. It should look just into build16:21
dokobut apparently it doesn't16:22
k-sdoko: the command 'libtool  --tag=CC   --mode=link gcc -std=gnu99  -Wall -Wextra -Wl,--copy-dt-needed-entries,--no-as-needed   -o bin/eet/eet bin/eet/bin_eet_eet-eet_main.o -fvisibility=hidden -fdata-sections -ffunction-sections -Wl,--gc-sections -fno-strict-aliasing -Wl,--as-needed -Wl,--no-copy-dt-needed-entries    lib/eet/libeet.la' just references the local file16:22
k-sdoko: do you patch libtool or something like that?16:22
dokoafaik, no. and the diff to debian is available too16:23
=== _salem is now known as salem_
k-sdoko: diff of my libtool and ubuntu's is quite relevant16:28
k-sdoko: thins like link_all_deplibs. Do you think it's an option or is it a patch?16:29
dokok-s, if you know that it's relevant, then please don't speculate, just point to a particular thing, and maybe fix it16:29
k-sdoko: I'm checking with the ubuntu user if that's the problem. :-)16:30
k-sdoko: then i still don't know16:30
=== ev_ is now known as ev
k-sdoko: he acks that changing link_all_deplibs from no to unknown fixes it16:31
k-sdoko: unknown = yes according to libtool info page.16:31
dokothen it really looks like an issue with --as-needed. is the software packaged? then I could have a look, but not without it16:32
k-sdoko: but I wonder why this ends as 'no' in ubuntu, not in other16:32
k-sdoko: not packaged yet, it's still under development16:33
k-sdoko: as for the libtool, I'm more interested to know why the variable has different value16:33
k-sdoko: and how I can force it to be the same everywhere, be it no (like in ubuntu) or yes/unknown (like in fedora/arch)16:33
dokok-s: look at the changelog.16:33
stokachuis the changelogs url still http://changelogs.ubuntu.com/changelogs?16:34
dokobah, just get the source16:34
stokachulooks like aptitude needs a small modification to point to ubuntu's changelog server16:34
cjwatsonit's a very old Debian patch16:34
cjwatsonhttp://bugs.debian.org/cgi-bin/bugreport.cgi?bug=191425 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=199423 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=23868116:34
ubottuDebian bug 191425 in libtool "Links explicitly with dependent shared libraries" [Wishlist,Fixed]16:34
ubottuDebian bug 199423 in libtool "libtool tries (unnecessarily) to link explicitly with dependent shared libraries" [Wishlist,Fixed]16:34
ubottuDebian bug 238681 in libtool "librrd0-dev: libtool cannot link to librrd because of bad dependencies" [Wishlist,Fixed]16:35
cjwatson(I think.)  Predates Ubuntu.16:35
cjwatsonAnd makes a big difference to the huge pile of unnecessary (and sometimes harmful) DT_NEEDED entries you end up with on other systems.16:35
cjwatsonharmful> particularly in cases where the indirectly-linked library changes its SONAME, which does happen16:36
k-sdoko: it's confirmed to be 'debian/patches/link_all_deplibs.patch'16:41
cjwatsonstokachu: It already had that modification in the Ubuntu delta against Dbian16:42
cjwatson*Debian16:42
dokok-s: I think it's an upstream bug.16:42
k-sdoko: interesting enough there is one changelog entry disabling some tests because applying this patch breaks libtool's testsuite, the author mentions it is a bug in testsuite16:42
doko/usr/bin/ld: bin/eet/bin_eet_eet-eet_main.o: undefined reference to symbol 'eina_iterator_next'16:42
doko/usr/bin/ld: note: 'eina_iterator_next' is defined in DSO /opt/lib/libeina.so.1 so try adding it to the linker command line16:42
doko/opt/lib/libeina.so.1: could not read symbols: Invalid operation16:42
k-sdoko: indeed, I can solve this by adding lib/eina/libeina.la to LIBADD16:42
dokobut you don't explicitly link against -leina. you rely on libeet linked against -leina16:43
k-sdoko: but as I said I'm more interested to know why this was being done in Ubunut/Debian and not on other distros16:43
k-sdoko: seems this patch is the reason16:43
dokowhich is expected with no-add-needed16:43
dokok-s, no, the default behaviour is just hiding the upstream bug16:44
cjwatsonDebian has a history of caring very deeply about incremental upgradeability, and that's the sort of thing that tends to make it more likely that you'll encounter problems with indirect linkage16:44
cjwatsonIf you don't care about that you can just rebuild everything and mask the problem16:44
k-sdoko: yes, this is true. But the major issue is the libtool script being different.16:46
cjwatsonk-s: Do I understand correctly that you're using eina functions in the objects that you're linking with libeet, as well as in libeet itself?16:47
k-sdoko: what I wanted to do is to force every builder to get the same results with the same flags16:47
xnoxk-s: with --add-needed --no-as-needed LDFLAGS you can override ubuntu/debian default behaviour. which will not hurt to guarantee if you wish to use that everywhere.16:47
k-sdoko: so if some other !ubuntu developer commits... he will do it right and not break ubuntu-ers16:47
xnoxk-s: run buildbots on ubuntu which revert/reject commits ;-)16:48
k-sxnox: unfortunately not, because link_all_deplibs=no is being set independently of that linker flag16:48
xnox(launchpad daily builds can be used as well)16:48
xnoxhmm...16:48
k-sxnox: maybe a better libtool patch would be to check for this flag? (and maybe it would be accepted upstream?)16:48
dokoxnox, doesn't look an as-needed issue on first sight16:49
dokok-s: no better fix upstream16:49
k-sdoko: as i said?16:49
cjwatsoncopy-dt-needed-entries/as-needed can't really influence this because the problem is whether libtool passes excess objects to the linker or not16:49
dokoright, but if it passes these excess objects, then it hides thecopy-dt-needed-entries issue16:50
cjwatsonindeed16:51
cjwatsonlibtool's autoconf support doesn't appear to provide a way to e.g. override that behaviour on the configure command line16:51
dokoand this seems to happen with the upstream libtool, not with the debian one. I can't find any upstream forwarding for this issue16:51
cjwatsonso I think the only way to do what k-s is asking for (an upstream build forced to link_all_deplibs=no - which of course would only work at all on certain architectures) would be to patch libtool before generating configure, or patch configure, or patch config.status after generating configure and then re-run16:52
k-sI wonder if there was any discussion, because 2 patches at least are quite old: link_all_deplibs.patch and deplibs_binary.patch16:53
cjwatsongoogle brings up e.g. http://www.mail-archive.com/libtool@gnu.org/msg06328.html16:53
cjwatsonhttps://lists.gnu.org/archive/html/libtool/2004-11/msg00455.html better link16:54
cjwatsonat the time the Debian maintainer was either libtool upstream or one of them16:54
cjwatsonit would've been around that time, anyway16:55
cjwatsonI can understand why they might be conservative about changing it, though; it's the sort of thing that needs a degree of coordination and distro support16:55
=== sraue_ is now known as sraue
mdeslaur@pilot out17:00
=== udevbot changed the topic of #ubuntu-devel to: Ubuntu 12.10 released | Archive: Open | Dev' of Ubuntu (not support or app devel) | build failures -> http://qa.ubuntuwire.com/ftbfs/ | #ubuntu for support and discussion of hardy -> quantal | #ubuntu-app-devel for app development on Ubuntu http://wiki.ubuntu.com/UbuntuDevelopment | See #ubuntu-bugs for http://bit.ly/lv8soi | Patch Pilots:
=== henrix is now known as henrix_
=== henrix_ is now known as henrix
dobeybarry: eww; why did you hack the oneconf setup.py that way instead of fixing the broken debian/rules?17:36
dobeydoko: could i get you to look at https://code.launchpad.net/~dobey/ubuntu/raring/twisted/fix-pygtkcompat/+merge/144550 please? the new twisted combined with new pygobject is causing ubuntuone pieces to crash on start. thanks17:56
dokodobey, sure, looks fine17:57
=== fisted_ is now known as fisted
barrydobey: well, the problem was that the executables were getting installed by setup.py into /tmp/usr/bin for both py2 and py3, so the last one installed would "win", and i didn't want to be order dependent.  this way, it's explicit in the setup.py, which makes sense to me since the executables should only be expected to work with py318:04
dobeybarry: but working around the problem by hacking setup.py means people who want to use it with python2 (say people who want to backport the new version to older ubuntu), get no scripts. and order dependence is a big part of packaging, so it should be dealt with there. this is a problem with the reocmmended packaging for something to support both 2 and 3, and so oneconf isn't the only thing that's going to hit this issue.18:06
barrydobey: in that case, consider the setup.py hack to be a quick fix for a critical problem.  the real fix will probably entail changing the --root on the install and fixing the .install paths.  however, you'll still have the issue that the change can't be completely backported anyway since something in debian/ will have to be changed anyway.  so, is it better to change debian/rules (probably to change which executables are deleted) or18:10
barrybetter to change setup.py?18:10
xnoxdobey: inherintly easy to backport should not be a priority, but rather a nice to have criteria though. The amount of stuff ported to python3 since precise is enormous, including leaf packages dropping python2 support.18:10
xnoxbarry: artificially limiting package in setup.py is not nice.18:11
dobeyxnox: i'm not talking about backporting the package. i'm talking about pulling the bzr branch and doing ./setup.py install18:12
xnoxbarry: in devscripts, I run full build machinery for python3, but for python2 I simply use dh_install to move the one python2 module r-dependencies need into correct installation location.18:12
barryxnox: i'm not convinced its artificial though18:13
xnoxbarry: is the new pybuild stuff uploaded into raring? and how does that deal with py2&3 scripts.18:13
dobeyxnox: whether or not it is a priority, hacking setup.py in such a way is not good practice and should be generally discouraged; fixing the debian/rules would be the better fix18:13
barryxnox: not yet.  i was trying to get feedback on mitya's branch from doko first18:13
barryfwiw, the only reason we re-enabled py2 support at all is for s-c and we're trying to rectify that18:14
xnoxdoko: do you want to review the new features of python-defaults (pybuild) or are you ok for that being sponsored (since nothing in the archive depends on it ;-) )18:14
xnoxbarry: well same way I had to reenable devscripts python2, because of ubuntu-dev-tools ;-)18:15
barryxnox: perhaps :)  anyway, once s-c is fully on py3, i would like to eliminate py2 support for oneconf18:16
xnoxbarry: https://launchpadlibrarian.net/128484331/devscripts_2.12.6ubuntu1_2.12.6ubuntu2.diff.gz18:16
xnoxThe "meat" of this patch is in the one line "+scripts/devscripts /usr/lib/python2.7/dist-packages/" in the debian/install.18:16
xnoxNote how I totally disregard 2.6 and lower. The other extra bit I did is call dh_python2 helper and clean up __pycache__ and that was it.18:17
barryxnox: the problem here is that setup.py installs scripts (i.e. executables) for both py2 and py3 into the same location.  the bug was because py2 got installed after py3 so "won" but the scripts are not intended to work with py2, only py3.  so i still think it's reasonable to make that explicit in the setup.py18:18
xnoxbarry: does s-c need python2 scripts?18:18
xnoxor just python modules?18:18
barryxnox: just 'import oneconf'18:19
xnoxhence don't run setup.py with python2 at all.18:19
barryxnox: because if it was shelling out to run the scripts, it wouldn't care :)18:19
dobeybarry: i don't think that's appropriate for the setup.py; i think it's appropriate to fix the ordering in debian/rules :)18:19
xnoxforget about all the best python2 packaging practices and do hacks instead =)18:20
barryxnox: that seems more radical than making the compatibility explicit in setup.py, doesn't it?18:20
* xnox goes to make a merge proposal.18:20
dobeybarry: it's a packaging problem; not an upstream source problem18:20
xnoxbarry: you just broke python4 support =)18:20
* barry shudders18:20
xnoxactually a real problem, each python transition we have to fix packages that hard-coded << X.Y for no reason.18:21
stokachumterry: I uploaded a merge request (bug 1103541) if you've got time for any comments on it etc18:21
ubottubug 1103541 in aptitude (Ubuntu) "Please merge aptitude 0.6.8.2-1(main) from Debian unstable (main)" [Wishlist,In progress] https://launchpad.net/bugs/110354118:21
barrydobey: i disagree.  as i say, the scripts are (currently) not intended to work with py2, only py3.  isn't that an "upstream" issue (i won't say "problem")18:21
xnoxbarry: not intended or do not work at all.18:21
xnox?18:21
barryxnox: yes, that's a real problem, and i'm not holding my breath for py4 :)18:21
dobeybarry: surely they are intende to work with it; they do work with it; the intent is from the packaging side (you don't want to package the python2 bits), not from the upstream side (if python2 isn't intendted to work upstream, then it should just sys.exit() if python3 isn't used, and put /usr/bin/python3 in all the hashbangs)18:22
barryxnox: not tested, and i don't think they need to work with py2.  maybe didrocks has a different opinion, but he seemed fine with that when we talked about it previously.  the re-porting to py2 of the library was just a concession (and hopefully temporary) to s-c's current state of affairs18:22
dobeyis oneconf even useful outside the context of software-center?18:23
barrydobey: /usr/bin/python3 *is* in the shebangs.  dh_python2 overwrites them.  yes, we can fix that, but no, the scripts *don't* work with py2 which is why the bug was filed18:23
barrydobey: yes, but only s-c imports the oneconf library18:23
barrydobey: and anything shelling the oneconf executables doesn't care, as long as the executables have the right shebang lines, which they now do :)18:24
didrocksbarry: we don't really care for the binary to run python3 or python2, so just whatever is the best in your opinion, I guess py3 ;)18:24
barrydidrocks: agreed!  and now they do. :)18:24
barrymy point being: the executables do not need to run py2, and running them with py2 doesn't work.  the *only* reason the package even cares about py2 is because s-c does 'import oneconf' so we have to support that in the library (only) for now18:25
dobeywhy doesn't running them with py2 work?18:25
barryit's untested :)18:26
xnoxin that case a well written script will fail verbosely in the users face if they do try to run in py2, despite "not being intended".18:26
dobeypython /usr/bin/oneconf-query works fine here :)18:26
barrydobey: head /usr/bin/oneconf-query18:26
dobeybarry: yes it has the 3.3 shebang; but what has that got to do with anything if i'm running a specific python version explicitly? :)18:27
dobeywhy is it 3.3 instead of just "python3" btw?18:27
xnoxyeah 3.3 is wrong as well ;-)18:27
barrydobey: ah, nothing then.  i still say that the we should not claim to support running those scripts under py218:28
barryfwiw, upstream shebang is `/usr/bin/env python3` as it should be.  it gets rewritten18:28
barryby the build process18:28
seb128barry, didrocks: I guess that apport triggering for oneconf-query every time I install a package is a known issue?18:29
didrocksseb128: I assigned the bug to barry18:29
seb128didrocks, thanks, I assumed it would be a known issue ;-)18:29
seb128barry, any ETA on the fix?18:29
barryseb128: what's the bug #?18:29
didrocksI guess is was what he uploaded yesterday evening though18:29
dobeywell, given that python practice is generally to not have any logic in the scripts, and that all the logic is in modules, and scripts are supposed to just do from foo import main; main(); then there is no claim to make or not to make :)18:29
seb128barry, dunno, look to the bugs assigned to you? ;-)18:30
dobeyseb128: the new oneconf is in the archive; upgrade? :)18:30
dobeyor are you using a slow mirror?18:30
barrydobey: that's not how oneconf-query is currently written18:30
seb128the error is: /usr/bin/oneconf-query: 'GNUTranslations' object has no attribute 'ugettext'18:31
barrybut i agree it's good practice.  a total rewrite wasn't on my radar :)18:31
seb128let me try to upgrade18:31
seb128dobey, I upgraded this morning, let me retry18:31
dobeybarry: i see that, but having setup.py install scripts doesn't have anything to do with making a claim to support something, either :)18:31
* xnox is going for a oneline fix.18:31
dobeyseb128: oh, that's a different crash18:31
LIDHHello, I have Ubuntu 12.10 and a POS system EBN X-950 with touchscreen (EgalaxyTouch according to the manual), so, i tried $lsusb and it doesn't list the touchscreen controller. If I do a screen /dev/ttyS[0-4] can't get any input from the touchscreen. Already did $ modprobe -r usbtouchscreen and still doesn't detect, any ideas what's the problem?18:31
dobeyseb128: i am not seeing that though18:32
* xnox just saw that with tests while building oneconf.18:32
seb128barry, bug #110319218:32
ubottuError: Launchpad bug 1103192 could not be found18:32
seb128dobey, ii  oneconf        0.3.2        all          synchronize your configuration da18:33
seb128dobey, seems the current version18:33
seb128barry, bug #110319218:33
barryseb128: got it.  i'll work on that18:33
seb128ubottu, wake up bot ;-)18:33
ubottuseb128: I am only a bot, please don't think I'm intelligent :)18:33
dobeybarry: anyway, i think doing what you did to setup.py in order to "fix" the issue, sets a bad example for what people should do when they encounter the same issue with other packages that need to install both py2 and py3 versions of modules, and which have scripts18:33
seb128barry, thanks18:33
bdmurrayseb128: is there someone on the desktop team who can look at bug 1101326?18:34
ubottubug 1101326 in consolekit (Ubuntu) "console-kit-daemon appears to consume 2GB of memory" [High,New] https://launchpad.net/bugs/110132618:34
xnoxdobey: i have a merge proposal with a simpler fix comming shortly.18:34
seb128bdmurray, consolekit is a foundation bit, maybe ask slangasek?18:34
slangasekheh, ok18:34
barrydobey: i'm not so sure.  let's take ubuntu packaging out of the picture.  just say you're writing an upstream package where the library supports py2 and py3, but the executables it creates only supports one version or the other.  how would you solve that?18:34
xnoxseb128: we were hoping somebody might want that hot potato on the desktop side =)18:35
seb128no, the last one who was enough into plumbing for those issue in desktop was pitti18:35
seb128we don't have anyone with ck clues atm18:35
slangasekunderstood18:35
LIDHanyone to help me with the touchscreen?18:35
seb128slangasek, xnox: sorry about that...18:35
xnoxbarry: if only setup.py metadata and pypi tags supported "supported versions per-module & scripts"18:35
dobeybarry: if the modules support both, the scripts should support both; all code, whether in scripts or modules, should be tested, and the tests should past under all versions of python you claim to support, regardless of whether it's scripts or modules. all code should adhere to the same standards18:35
xnoxin a standard way.18:36
dobeybarry: but then again, all the ubuntuone packages are maintained in this way :)18:36
barrydobey: maybe, but that's an upstream decision, and there may be reasons why they don't or can't or won't do that.  again, for callers of the cli, the shebang python version should never matter18:37
stokachubarry: would python-tz be something I could help on?18:37
dobeybarry: well it does, because "/usr/bin/env python[3]" breaks virtualenv and is bad practice, no?18:38
barrystokachu: hi.  what would you like to work on?  python3-tz is in the archive currently18:38
tion_how do i dist-upgrade to 12.10?18:39
stokachubarry: i was just looking at the outstanding merges and python-tz shows debian at 2012c-1 and last upload 2011k-0ubuntu618:39
xnoxtion_: support for stable release (12.10) is in the #ubuntu channel.18:40
barrydobey: right, but fwiw, /usr/bin/env should never be in the shebang for production scripts.  it's a known issue for virtualenvs, but there isn't any common solution for it.  folks just hack around such things when they need to18:40
barrystokachu: that would be great!18:40
stokachubarry: ok cool ill work on that today18:41
dobeybarry: anyway, i didn't want to have a lengthy argument about it. just point out that it seems like the wrong fix and sets bad precedence. it would seem very odd to me for any upstream to decide to only support python2 with only part of their code, and python3 with all of it. if upstream doesn't want to support python2 then don't ship any python2 bits and only package it as requiring python3 :)18:41
toabctljbicha, can you have a look at lp:1102096 please?18:41
* dobey has enough problems to deal with right now from other upstreams doing some dumb things18:42
dobeyand need to get lunch. bbiab18:42
barrydobey: originally oneconf was a pure py3 port that dropped py2, but then i realized s-c still imported it.  but i get what you're saying, and sorry to be so obstinate about it.  do feel free to at least file a bug, and if we don't just drop py2 support before then, i'll keep it on the radar18:42
LIDHHow do I get Ubuntu 12.10 to detect more than 4 COM Ports?18:42
barrydobey: i think that's a constant of the universe (upstreams doing dumb things :).  and i speak of course as one of those dumb upstreamers :)18:43
dobey:)18:44
LIDHHow do I get Ubuntu 12.10 to detect more than 4 COM Ports?18:44
barryanyway, i'd rather put the effort into getting s-c on py3, but i certainly would be happy to review a m-p :)18:44
ogra_LIDH, this is not a support channel, try #ubuntu18:45
xnoxLIDH: support is in #ubuntu . Also please be patient and don't repost your question that often.18:45
xnoxLIDH: also don't post in multiple channels simultaniously ;-)18:45
bdmurrayslangasek: looking at bug 1096022 I'm trying to use the apt-clone file to recreate it and running into issues with either apt-clone or aptdaemon...18:50
ubottubug 1096022 in update-manager (Ubuntu) ""E:Error, pkgProblemResolver::Resolve generated breaks" during lucid->precise universe upgrade of amd64" [Medium,Triaged] https://launchpad.net/bugs/109602218:50
jbichatoabctl: yes I saw the bug but I'm not able to duplicate it here18:52
jbichatoabctl: maybe you could post your graphics driver & hardware and whether you're using PPAs18:53
stokachustupid question, i ran a bzr merge and it renamed files to filename.BASE|THIS i assume THIS is from the merged repo?18:53
stokachuand they aren't exactly diffs but are they meant to replace the whole file?18:54
bdmurraybarry: about that software-center merge proposal...18:57
barrybdmurray: i was just going to ask you about that :)18:57
toabctljbicha, I don't use any relevant ppas. I also posted my graphics hardware (Intel Corporation Mobile 4 Series Chipset) to the bug report18:58
barrybdmurray, xnox do you just need it merged or do you need it uploaded?18:58
bdmurraybarry: merged, I can do the uploading and SRU work18:59
barrybdmurray: nod18:59
slangasekbdmurray: what kind of issues?18:59
bdmurraysegfaults in apt-clone19:00
slangasekfun19:01
bdmurrayer or libpat-pkg-libc6.10-619:01
bdmurrayoh psivaa do you a script to setup the system in bug 1096022 I could use?19:01
ubottubug 1096022 in update-manager (Ubuntu) ""E:Error, pkgProblemResolver::Resolve generated breaks" during lucid->precise universe upgrade of amd64" [Medium,Triaged] https://launchpad.net/bugs/109602219:01
slangasekbdmurray: backtraces?19:04
barrybdmurray: crap. i also have insufficient permissions to push it after the team reassignment.  i suggest bugging dobey (only direct team member currently on this channel afaict)19:06
dobeybarry, bdmurray: merged19:36
jrrDoes apt-get build-dep generally work for ubuntu packages?  I'm getting a bunch of missing libraries when trying to rebuild gnome-control-center.19:36
bdmurraydobey: thanks19:37
sarnoldjrr: do you also have the build-essential package installed?19:37
xnoxjrr: it should. unless your source package != distro you are running.19:38
jrr12.10, and whatever "apt-get source gnome-control-center" pulled down19:38
xnoxjrr: e.g. apt-get build-dep only gives you build-deps as declared in the highest version of the source package from deb-src lines, it doesn't know about unreleased changes in the distro / upstream.19:38
dobeybarry: if you feel like merging/uploading something though, https://code.launchpad.net/~dobey/ubuntu/raring/twisted/fix-pygtkcompat/+merge/144550 could use it :)19:39
xnoxjrr: do you have full build-log?19:39
jrryeah, hold on I'll redo the whole flow and pastebin it19:39
stgraberkees: hey, are you around?19:40
dobeyhmm, what's the best way to go about converting a native package in ubuntu, to not be a native package?19:44
jrrxnox: forgive the syntax highlighting http://pastebin.com/t396MTJM19:45
jrrfirst time trying to rebuild a package; naively trying to ./configure and make19:46
jrrif that's not the correct way to do it, I welcome correction =]19:46
xnoxjrr: that's not how one rebuilds a package.19:46
xnoxjjr: ./debian/rules build19:46
xnoxjrr: fakeroot ./debian/rules binary19:47
xnoxrun these two commands in clean unpacked source.19:47
xnox... or there is a helper to do that.19:47
dobeyor set up pbuilder or sbuild, so you can build it in a clean chroot19:47
xnox$ debuild19:47
xnoxjrr: note that debian/rules is just a makefile, although usually uses black magic (cdbs or dh)19:48
stokachujrr: I like to use http://askubuntu.com/questions/53014/why-use-sbuild-over-pbuilder as reference19:48
stokachujust for the commands not for which is better :P19:48
jrr"./debian/rules build" ends in the same "/usr/bin/ld.bfd.real: cannot find -lgtk-3" etc19:49
jrrthis was after a fresh apt-get source19:49
jrrhere's a new pastebin http://pastebin.com/iD7sT4Hd19:53
stokachubarry: i uploaded a merge for bug 1103644, though i think this could easily be a sync but the documentation on sync's didnt state it had to be since it is before debian import freeze19:57
ubottubug 1103644 in python-tz (Ubuntu) "Please merge python-tz 2012c-1 (main) from Debian unstable (main)" [Wishlist,In progress] https://launchpad.net/bugs/110364419:57
stokachuunless im reading it wrong19:57
infinitydobey: Native -> non-native is simple.  Have your unpacked source, put the orig.tar.gz in the parent directory, make sure the new version in debian/changelog is sane, debuild -S.  Boom non-native.19:58
seb128hum, ubuntu-defaults-image hangs for me19:58
seb128does anyone knows where are the sources it tries to use defined?19:59
seb128strace indicates it hangs trying to contact 91.189.88.40 which is drescher.canonical.com19:59
dobeyinfinity: right; that bit is easy; i mean more in the context of how it may break the world with respect to UDD20:00
infinityjrr: What does "dpkg-checkbuilddeps" say?20:00
infinitydobey: Sneezing breaks UDD.  I'm not sure I'd care much. :P20:00
jrrinfinity: nothing20:01
infinitydobey: (But, in this case, I don't see why it should break, UDD imports unpacked sources, not diffs, how it's unpacked should be irrelevant)20:01
dobeyinfinity: right, but some branches are special, no? when Vcs-Bzr: is used and such?20:02
jrrwith return code of zero20:02
dobeyof course, the branch that Vcs-Bzr: points to, is currently not there, so i guess it won't be too bad20:02
seb128hum, great, I simply can't contact archive.ubuntu.com ... is that working for others?20:03
xnoxjrr: are you cross-coompilng or using some funny linker?20:03
xnoxjrr: it works fine here on quantal for me.20:03
sarnoldseb128: responds to ping, http20:03
barrydobey: sure.  i've got it in my browser tab now :)20:03
xnoxjrr: e.g. why is it .real linker =/20:04
xnoxdobey: UDD handles source package format changes just fine.20:04
seb128sarnold, can brower http://archive.ubuntu.com in a web browser?20:04
seb128bah, it works for chinstrap, I guess it's my connection20:04
sarnoldseb128: ubuntu/  ..20:04
seb128sarnold, thanks20:04
jrrxnox: I have arm-linux-gnueabi-gcc installed.. maybe it messed with some symlinks?20:06
xnoxjrr: it shouldn't.20:06
jrrohhhh I know what it is20:07
jrrI had my gcc and g++ replaced with hacky scripts calling inserting -m3220:08
jrrsorry about that!20:08
xnoxthat makes sense......20:08
jtaylormterry: you (co-)wrote the pycurl py3 test?20:10
jtaylorI've got a few issues/questions with it20:10
jrrI was building some stuff that didn't respect env CFLAGS20:10
mterryjtaylor, I may have helped port it to py3, IIRC20:10
jtaylormterry: tornados testsuite fails on it20:11
jtaylorinvalid arguments to: curl.setopt(pycurl.URL, utf8(request.url))20:11
jtaylorwhere utf8 outputs bytes20:11
jtaylorit works if it would pass in unicode, I guess thats an issue of tornados testsuite#?20:12
jrrxnox: okay, got it rebuilt.  Time to start chasing the bug.. thanks!20:12
jtayloralso something crashes when one tab completes Curl() from ipython, still need to check what goes wrong there20:12
seb128hum20:13
seb128it failed with that error, this time20:13
seb128chroot: failed to run command '/usr/bin/env': No such file or directory20:13
seb128wth20:13
mterryjtaylor, hm20:15
mterryjtaylor, it's been a while, let me look at code real quik20:16
jtaylormterry: ipythons issue: hasattr(pycurl.Curl(), "trait_names"), throws SystemError20:19
jtayloron quantal, I'll quickly test raring20:20
mterryjtaylor, ah I just grabbed this patch from upstream's tracker, and maybe modified it a bit to work.  But still, let me dig into why it's failing20:21
jtaylorthere too20:21
=== jsalisbury_ is now known as jsalisbury
jtaylorfiled bug 1103667 for the latter issue20:24
ubottubug 1103667 in pycurl (Ubuntu) "python3 pycurl hasattr throws SystemError" [Undecided,New] https://launchpad.net/bugs/110366720:24
mterryjtaylor, so I'm thinking that the utf8 issue is a fault with tornado's testsuite, and I'm confused about the ipythons thing.  So 'trait_names' is a method that ipython looks for to provide tab-complete info?  Why would it not being there throw an error?20:27
jtaylordon't know, thats pycurls issue20:27
jtaylorhasattr must not throw an exception20:28
jtaylor(I think it even eats them in python2)20:28
jtaylorhasattr works if it actually has the attribute20:29
jtaylorit only fails if it doesn't exist20:29
mterryjtaylor, ah yeah I see it in python console, hasattr is bogus20:29
stgraberkees: unping. Sent an e-mail to the Debian BTS instead (libseccomp related)20:29
mterryjtaylor, working on a patch20:32
stgraberjdstrand: if you have a few minutes for a quick re-review, I updated the state of bug 108243120:34
ubottubug 1082431 in libseccomp (Ubuntu) "[MIR] libseccomp" [Undecided,In progress] https://launchpad.net/bugs/108243120:34
jtaylormterry: concerning the setopt, aparently the python2 variant accepts utf820:34
jtaylormterry: wouldn't it make sense when the python3 wrapper accepts python unicode and decodes that to utf8?20:35
jtaylorinstead of having people do that before calling setopt20:35
mterryjtaylor, you mean accept utf8 and decode it to unicode?20:35
mterryjtaylor, the way this patch is written, the python3 API is all native strings (i.e. unicode)20:36
jtaylormterry: no, accept python3 string (which is (any?') unicode encoding and pass it to curl in what it expects (utf)20:36
jtaylormterry: but in which encoding? and what does curl want?20:36
mterryjtaylor, python3 strings are not utf8 (bytes) but rather 'pure' unicode20:36
jtayloris python3 string encoding even fixed? python3.3 has variable internal encoding20:36
jtaylorwhat do you understand as pure unicode?20:37
dobeypy3 strings are unicode. they can be utf-8, utf-16, ucs-2, or whatever, as long as it's unicode. for pure bytes, there's the bytes object still20:37
jtaylorI'd be surprised when curl accepts a PyUnicodeString (or whatever its named)20:37
mterryjtaylor, I don't know the internals, but Python3 makes a distinction between bytes and strings.  You said the utf8() function is returning strings, so that's the problem (at least assuming this Python3 patch's API is sensible)20:37
mterryWhich is what we're discussing I guess20:37
jtaylorno, utf8 returns bytes20:38
mterryjtaylor, I'm sorry.  I meant bytes there20:38
mterryjtaylor, rest of the sentence is the same20:38
jtaylorwait now I get it20:38
mterrydobey, right.  But 's'.encode('utf8') is no longer a Python3 string, but a bytes object20:39
jtaylorhm ok it looks like a tornado issue20:39
jtaylorI'll file a bug20:39
mterryDespite being utf8 under the hood.  That's what I meant20:39
mterryjtaylor, again, this python3 patch's API may not be 'official'.  It's not yet accepted upstream20:39
mterryjtaylor, but it's what we're using for now anyway20:40
jtayloryeah, I'll just file it so upstream knows about the issue20:41
mterryjtaylor, is there a bug for the ipython issue?  I believe I've fixed it20:41
jtaylormterry: bug 110366720:41
ubottubug 1103667 in pycurl (Ubuntu) "python3 pycurl hasattr throws SystemError" [Undecided,New] https://launchpad.net/bugs/110366720:41
mterryjtaylor, upload pending for that one20:43
jtaylorthx20:43
stgraberkees, hallyn: I guess I should have test built on i386 too (just did amd64), anyway, looks like we have a test failure with libseccomp on i386. I'm really not familiar with that stuff, so if one of you has a clue as to exactly what's failling and whether we should care: https://launchpadlibrarian.net/129232657/buildlog_ubuntu-raring-i386.libseccomp_1.0.1-1ubuntu1_FAILEDTOBUILD.txt.gz20:45
stgraberI'll try to reproduce here in a minute to make sure it's not somehow buildd-related, though if it was, I'd have expected amd64 to fail too, which it didn't.20:46
stgraberkees, hallyn: note that ERRORs are ignored, only FAILURE are considered fatal20:47
jdstrandstgraber: I've got it on my list, but I'll wait for this to get resolved20:48
jtaylormterry: will you comment on the upstream bug?20:48
stgraberjdstrand: thanks.20:48
mterryjtaylor, the python3 one or did you file a separate bug for the issue?20:48
jtaylormterry: I was thinking adding it to the python3 patch in upstreams bug20:49
jtaylorwhere it originates from in the first place20:49
mterryjtaylor, makes sense, will do20:49
hallynstgraber: will look in a min20:50
hallynstgraber: is that the libseccomp i'll get with pull-lp-source right now?20:56
stgraberhallyn: yep20:56
hallynk20:56
stgraberhallyn: the only change I pushed in that last version is running tests/regression post-build and that's what found a failure on i38620:56
stgraberso if there's an actual bug, then we already have it in the archive...20:56
hallynstgraber: (hopefully kees sees it and looks at it, but i'm waiting on a raring i386 install to test on)21:13
stgraberhallyn: I'm running the build here in a raring container (on the raring kernel though, so should be similar to the buildd)21:14
keeshallyn, stgraber: already testing it for a -2 upload ;)21:18
keesit takes tooooo long to build now ;)21:18
dupondjeIt should be possible to copy files from 1 gvfs mount to another no?21:19
stgraberkees: hehe, yeah, it's making the build at least 10x slower :)21:24
stgraberhallyn, kees: reproduced the test failure on i386 here, so it doesn't appear to be buildd-specific at least21:25
keesstgraber: oh! let me try too...21:26
stgraberhallyn, kees: if you don't want to wait 10min for the tests to run, "./regression -b 17-reset" will run just the failing batch. There should be a single failure at 14-reset%%007-0000121:28
stgrabers/17/14/ ^21:28
keesstgraber: confirmed21:37
keesTest 14-reset%%007-00001 result:   FAILURE bpf_sim resulted in ALLOW21:37
stgraberkees: was that on a Debian or Ubuntu system? (just curious on whether it's the distro that somehow broke something)21:38
keesstgraber: that's on debian unstable i38621:38
keesmay be a missing dep, though, since I also see errors about missing /usr/include/asm/unistd.h21:38
stgraberyeah we've got those on Ubuntu too, though they result on ERROR lines as those tests fail to run (or so is my interpretation at least) and I've got those on amd64 too without the failure21:39
* kees scratches his head21:39
keesit should be part of linux-libc-dev21:40
keesoh, debian is missing the symlink for /usr/include/asm21:40
=== salem_ is now known as _salem
stgraberkees: manually making the symlink between /usr/include/asm-generic and /usr/include/asm gets me an extra FAILURE in 14-reset21:43
stgraber"4-reset%%002-00000 result:   FAILURE bpf_sim resulted in KILL"21:44
keeswhee21:44
keesokay, found the bad use of /usr/include/asm/unistd.h21:48
keesstgraber: fixing that got rid of the errors for me, but 007-0001 still failed. I'll keep digging21:49
slangasekSweetshark: hi, I talked with seb128 yesterday about the libreoffice precise SRU needing changelog fixups and a reupload; I've rejected the previous upload based on this, when a new version hits the queue feel free to ping me for an expedited review21:54
hunnicuttHello21:58
hunnicuttI would like to compile nm-applet from source using the same command-line for "configure" used to compile with Ubuntu 12.0421:59
hunnicuttI have the nm-applet 0.9.4.1, fetched from git.  But I don't know how to build this for GTK-2, it seems to create a shared library which pulls in GTK 321:59
hunnicuttI've searched for a Wiki page telling me what arguments I might provide to configure, but not found one.22:02
cjwatsonNot the sort of thing that goes in wiki pages, really22:03
hunnicuttwhere does it go?22:04
stgraberin the packaging (debian/rules)22:04
cjwatsonThe package's debian/rules is responsible for deciding how to configure the package22:04
cjwatsonYou can either try to run the packaging against git, or you can look at a build log to see what it did22:04
barryis anybody successfully using r145 of lp:auto-package-testing on raring today?22:04
cjwatsonhttps://launchpadlibrarian.net/99824547/buildlog_ubuntu-precise-i386.network-manager-applet_0.9.4.1-0ubuntu2_BUILDING.txt.gz in this case22:05
cjwatsonSo that's --libexecdir=/usr/lib/NetworkManager --enable-more-warnings=no --enable-indicator added to a batch of reasonably default options - unfortunately dh_auto_configure doesn't print what it's doing by default, so let me find it for you22:05
hunnicuttThanks this is really helpful.22:06
dobeygah, so the new glib breaks anything trying to build docs with gtk-doc :(22:06
hunnicuttIt's possible I should give you a higher-level overview.  I'm trying to figure out the best way to fix an upstream bug in gnome.org sources and make the patch available to Ubuntu 12.0422:06
cjwatsonWell, most of the default options in dh_auto_configure are filesystem layout stuff22:07
cjwatson--prefix=/usr --includedir=\${prefix}/include --mandir=\${prefix}/share/man --infodir=\${prefix}/share/info --sysconfdir=/etc --localstatedir=/var --disable-maintainer-mode --disable-dependency-tracking22:08
cjwatsonIf you just want to install to the default of /usr/local or some prefix in your home directory, then you can omit that and just use the package-specific options I gave above22:08
hunnicuttI tried to build with no special arguments and as a result (after sudo make install) I had built a libnm-gtk which produces the following GTK warning and dies:22:09
cjwatsonYou should learn how to build packages in general if you're planning on fixing them, though - https://wiki.ubuntu.com/UbuntuDevelopment#Packaging has a bunch of links22:09
hunnicuttgtk-error that is22:09
hunnicuttGtk-ERROR **: GTK+ 2.x symbols detected. Using GTK+ 2.x and GTK+ 3 in the same process is not supported22:09
cjwatsonI doubt there's any guarantee that an unmodified nm-applet from git will work on 12.0422:09
hunnicuttOK thanks22:10
cjwatsonOr an unmodified anything in general, particularly across GTK+ 2/3 porting22:10
hunnicuttInteresting, that makes it more difficult to fix in upstream.22:10
hunnicuttBut I will go read this info about packages.22:10
hunnicuttThanks.  Mostly I don't have a lot of time to expend on this right now, but a particular papercut is wasting enough time that I want to patch it.22:11
cjwatsonThough this does seem backwards, since nm-applet in precise was GTK+ 322:11
hunnicuttoh wait is this simply b/c I have gtk-2.0-dev on my machine and not gtk-3.0-dev?22:11
cjwatsonQuite possibly; you *must* satisfy build-dependencies of a package22:12
cjwatsonIt may be worth a little up-front investment to learn how to use a proper "build package in clean chroot with just its build-dependencies" tool such as sbuild22:12
sarnoldcjwatson++22:13
cjwatsonBut failing that (and it is certainly some investment to figure out how to use that kind of workflow against upstream, and may be painful for desktop-ish things in particular where you might want to have your X session handy), at least do 'sudo apt-get build-dep network-manager-gnome'22:13
cjwatsonCertainly for stuff I work on upstream I only do chroot builds when I'm building packages to install and test, not for routine development22:14
=== henrix is now known as henrix_
hunnicuttI'll look at sbuild, thanks.  and that apt-get is fabulous.  Who knows, maybe I will just put a unified diff in the bug report.  I just want nm-applet to cease with so many open dialogs.  :)  Long-term I'd love to contribute more effectively but for now I am mostly trying to make money  with this system involving desktop apps, so that's where my focus is.22:15
hunnicutthmm apt-get build-dep says I lacked as follows:22:16
hunnicuttdh-autoreconf dh-translations libappindicator3-dev libdbusmenu-glib-dev22:16
hunnicutt  libgnome-bluetooth-dev libgtk-3-dev22:16
hunnicuttlet that be a lesson to me.22:16
cjwatsonLooks like nm-applet tries to autodetect GTK+ 2 or 3 at build time by default (unless you use --with-gtkver=3), so build-dependencies would certainly explain it.  It defaults to trying 3 then 2.22:16
cjwatsonI should also say that the network-manager-applet package has a number of patches against upstream.22:17
hunnicuttruh ro22:17
cjwatsonIf you're trying to get a working tree you can experiment with rather than "compare against upstream behaviour", you'd be better served building the actual Ubuntu package22:18
infinitykees: Err, wait.  What?  What's trying to include /usr/include/asm/* ?22:18
infinitykees: I mean, instead of including <asm/*> which will let the compiler not be silly.22:18
hunnicuttthat's great to know.22:18
cjwatsonInstall ubuntu-dev-tools and run 'pull-lp-source network-manager-applet precise' and you'll get an unpacked source tree with the Ubuntu patches auto-applied - they're in debian/patches/ and managed using quilt22:19
hunnicuttI won't be sad to compare with upstream, but I see that I want to learn about the packaging system much more.22:19
keesinfinity: yes, a testsuite was doing gcc -E -dM /path/ instead of echo ".h" | gcc -E -dM -22:19
kees(I've found and fixed it now)22:19
hunnicuttwut it's that easy?22:19
hunnicuttthanks22:19
infinitykees: Oh, good.  I didn't get all the context on a quick backscroll skim, I was just gearing up for some sort of protracted battle wherein I got to call someone names for blaming headers and/or toolchains.22:20
infinitykees: Thanks for ruining my fun.22:20
infinitykees: Jerk.22:20
infinitykees: :)22:20
cjwatsonGetting a proper version-controlled tree is rather more package-specific and I wouldn't want to guess in this case without more investigation, but you can always blat it into a DVCS locally.22:20
cjwatsonPatch application varies among packages, unfortunately; network-manager-applet is using the current best practice for patch management in source packages, though.22:21
cjwatsonSo you will see some other methods if you do lots of packaging work, but the older ones are gradually dying out.22:21
cjwatson(Sorry if this is way too much information.)22:22
hunnicuttnope this was excellent.  I had been looking for a brain-dump on how to do this, but didn't expect there to be this command line that pulled the ubuntu source.  I mean; that's perfect, mostly.22:23
hunnicuttAlso did not realize this channel was the place to get started...22:23
infinityYeah, pull-{lp,debian}-source are awesome, now that I've trained my fingers to use them.22:23
infinityhunnicutt: This channel isn't the place to get started, #ubuntu-motu is.  But it seems Colin was feeling helpful. :)22:24
hunnicuttmotu?22:24
cjwatsonstupid name :)22:24
cjwatson"masters of the universe".  (I think there's actually #ubuntu-packaging nowadays.)22:24
infinityThere may also be an ubuntu-mentors or similar.22:25
infinityArguably, this needs a looking at and consolodation. :P22:25
hunnicuttwell I wouldn't want to wind up some place too pedantic-sounding.22:25
cjwatsonThe problem is we keep doing half of a consolidation - the half that goes "OK, let's create a new thing with a better name"22:25
cjwatsonThis is arguably less than totally ideal22:25
infinitycjwatson: Dude, we can totally solve it with one last rename.22:26
cjwatsonOne more layer of indirection, right?22:26
infinityAbsolutely.22:26
mwhudsonmaybe a bot that forwards conversation from one place to another?22:27
mwhudsonmaybe multiple bots?22:27
mwhudsonnothing can go wrong there right?22:27
infinitymwhudson: On a scale of one to things you shouldn't joke about, that rates an argh.22:30
slangasekan argh, plus or minus fwibble22:31
hunnicutttsk it seems like I have some different gcc version, while I'm at it.  I had forgotten that I needed to turn off warnings-as-errors to compile this nm-applet22:31
hunnicuttWhereas the right way is perhaps to correct these warnings before fixing the bug which affects me.22:31
hunnicuttoh, joy22:32
hunnicuttahh, not the problem is that I lack libindicator-3-dev and therefor ENABLE_INDICATOR is not defined and therefore compile error due to actual bug that doesn't appear for a compile with all the needed dependencies.22:36
keesinfinity: heheh :)22:53
=== fisted_ is now known as fisted
dobeyanyone care to sponsor https://code.launchpad.net/~dobey/ubuntu/raring/gtk-doc/fix-type-init/+merge/144605 please?23:26
=== cpg|away is now known as cpg

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