=== freeflying is now known as freeflying_away | ||
=== freeflying_away is now known as freeflying | ||
=== Ursinha-afk is now known as Ursinha | ||
acin | catbus1: ping | 04:43 |
---|---|---|
pitti | Good morning | 06:21 |
=== work_alkisg is now known as alkisg | ||
BrotherBrick | morning | 07:51 |
=== iahmad is now known as iahmad|afk | ||
dholbach | good morning | 08:48 |
=== coalwate1 is now known as coalwater | ||
=== freeflying is now known as freeflying_away | ||
=== iahmad|afk is now known as iahmad | ||
pitti | lamont: just found yet another wipefs bug in our ancient util-linux.. any chance we'll get a newer version at some point? | 09:27 |
pitti | lamont: I guess nobody else is able to touch/update that package with the single big debian.diff.gz :/ | 09:29 |
=== doko_ is now known as doko | ||
pitti | slangasek: btw, I set you as reviewer for https://blueprints.launchpad.net/ubuntu/+spec/core-1311-ssd-trimming, is that ok? | 09:40 |
pitti | slangasek: s/reviewer/approver/ | 09:40 |
xnox | pitti: there is a git repo for util-linux. | 09:42 |
xnox | but yeah, new util-linux would be nice. At least for /etc/fstab.d/ which would be very nice. | 09:43 |
=== freeflying_away is now known as freeflying | ||
pitti | is that just me, or does software-center hang/crash at startup for other people, too? | 09:53 |
pitti | some DBInvalidArgError in /usr/share/software-center/softwarecenter/backend/reviews/__init__.py | 09:53 |
xnox | pitti: did my db transition gone wrong? | 09:54 |
pitti | softwarecenter.backend.reviews - WARNING - error creating bsddb: '(22, 'Das Argument ist ung\xc3\xbcltig -- BDB0054 illegal flag combination specified to DB_ENV->open')' (corrupted?) | 09:54 |
pitti | could very well be a corrupted local BDB database | 09:54 |
Laney | I see that, but it doesn't crash it for me | 09:54 |
xnox | pitti: everything switched to new db simultaniously. (lenses & software-centre). But does the db's in use actually need upgrade? (or removal on upgrade from old db) | 09:55 |
pitti | and eventually it crashes with a BadDrawable X window error | 09:55 |
pitti | xnox: usually not; so far, every BDB update only changed the on-disk format for transactions | 09:55 |
xnox | (there was a window when db versions of software centre and the lense were different) | 09:55 |
pitti | but almost all software only uses in-memory transactions | 09:55 |
Laney | crash> probably https://bugs.webkit.org/show_bug.cgi?id=123480 | 09:55 |
ubottu | bugs.webkit.org bug 123480 in WebKit Gtk "ubuntu software center hits _XReadEvents() error" [Normal,Unconfirmed] | 09:55 |
pitti | Laney: ah, so it runs, but doesn't crash with the drawable? | 09:55 |
* ogra_ has it too | 09:56 | |
Laney | it's pretty common, but I never managed to get it | 09:56 |
dholbach | seb128, didrocks, lool: http://developer.ubuntu.com/packaging/ (check what's new on there :-)) | 09:56 |
xnox | software centre freezes here up into a dark window | 09:56 |
ogra_ | yup | 09:57 |
pitti | xnox, Laney: I get the freeze in a guest session too, so not related to DB migration | 09:57 |
Laney | no, it's old | 09:57 |
pitti | the "invalid db->open argument' still looks scary, though | 09:57 |
ogra_ | its webkit | 09:57 |
pitti | ogra_: ok, thanks | 09:58 |
Laney | maybe someone who gets it could ping on that bug | 09:58 |
ogra_ | bug 1211887 | 09:59 |
ubottu | bug 1211887 in software-center (Ubuntu) "software-center crashed with signal 5 in _XReadEvents()" [High,Confirmed] https://launchpad.net/bugs/1211887 | 09:59 |
ogra_ | looks like 47 people did already :) | 10:00 |
seb128 | pitti, s-c and webkit don't like each others :/ | 10:00 |
seb128 | but not easy to debug | 10:00 |
seb128 | and nobody upstream replied to the report yet | 10:00 |
pitti | /usr/share/software-center/softwarecenter/backend/ubuntusso.py verify_token_sync() looks relatively isolated | 10:01 |
seb128 | dholbach, I never looked at that yet, not sure what is new ... it's not in french though | 10:01 |
dholbach | seb128, there should be french on there! | 10:01 |
seb128 | dholbach, lol, is there any other try at getting translators to do their job? ;-) | 10:01 |
dholbach | seb128, the French translation is done 100% now | 10:02 |
seb128 | dholbach, \o/ | 10:02 |
alkisg | In ltsp we're using init=/sbin/init-ltsp, and that script supports an "ltsp.break" kernel parameter to spawn a shell directly at init. This used to work fine until 12.04, but now plymouth doesn't open vt1 anymore, even without "quiet splash vt.handoff=7"? | 10:07 |
alkisg | The end result is that I can run commands and see their output in the screen, but I can't see the keys that I type. If I run openvt there, it's ok, so I assume it's a vt issue... Should I file a bug report against plymouth? | 10:07 |
xnox | break=bottom, would get one a shell at the end of initramfs, or booting into friendly recovery would get one shell at init as well (friendly recovery subverts normal boot procedure) | 10:10 |
xnox | what does init-ltsp do? and why use that, instead of changing startup event that upstart emits to start the boot procedure? (same trick that friendly recovery does) | 10:11 |
didrocks | seb128: completely english for me though! ;) | 10:15 |
seb128 | didrocks, same here, tell dholbach! | 10:15 |
didrocks | seb128: even not German for you? | 10:15 |
* didrocks runs | 10:16 | |
didrocks | ;) | 10:16 |
* seb128 slaps didrocks | 10:16 | |
didrocks | :( | 10:16 |
dholbach | seb128, translations are linked from there, you hippies! | 10:16 |
alkisg | xnox: it's about the same as init=/bin/bash, although plymouth does allocate a vt in that case | 10:16 |
seb128 | dholbach, where? | 10:17 |
* seb128 can't see it | 10:17 | |
dholbach | seb128, http://developer.ubuntu.com/packaging/ - search for "French"? | 10:17 |
alkisg | xnox: In previous versions, plymouth special-cased anything that started from /sbin/init*, maybe they changed their special casing to only include /bin/bash? | 10:17 |
seb128 | dholbach, no match | 10:18 |
dholbach | seb128, argh | 10:18 |
alkisg | xnox: we want early breaks to troubleshoot stuff before upstart or other service have a chance to run, but after the initramfs | 10:18 |
dholbach | seb128, sorry, something's wrong - I could just see it, because I was the admin of the page in WP - nevermind | 10:18 |
seb128 | dholbach, ;-) | 10:18 |
seb128 | dholbach, you hippie! | 10:18 |
seb128 | :p | 10:18 |
dholbach | didrocks, seb128, http://developer.ubuntu.com/packaging/fr/html/ | 10:18 |
dholbach | :) | 10:18 |
seb128 | dholbach, c'est mieux | 10:18 |
seb128 | ;-) | 10:18 |
xnox | alkisg: well, i'd recommend for you to try friendly recovery and if anything is missing that "init-ltsp" does. That's exactly what it does, e.g. nothing is started and a menu pops which lets user to manual enable networking, mount rootfs RW, drop into root shell, reboot, shutdown, continue normal boot. | 10:19 |
didrocks | dholbach: ah, le packaging guide est *enfin* fixé ;) (just have to push it to default url now :p) | 10:19 |
xnox | alkisg: that's what ubuntu boot into, if previous boot fails. | 10:19 |
dholbach | didrocks, yeah, we're going to move it to packaging.ubuntu.com and have rewrite rules - it's a bit of a pain to maintain it together with the wordpress instance | 10:19 |
xnox | alkisg: there should be a boot entry marked "... (recovery mode)" | 10:19 |
didrocks | dholbach: ahah, in fact, I meant put the French page as default of course :) | 10:20 |
dholbach | didrocks, haha | 10:20 |
alkisg | xnox: the frienly recovery can't break inbetween our init-time ltsp scripts... I'm not looking for an alternative, I was just trying to see if anyone already knows about that plymouth bug... | 10:21 |
xnox | alkisg: =/ all i can suggest is to integrate into friendly recovery, as that does correctly bring up vt when needed etc. and it is guaranteed to be kept working with any changes that happen. not sure what you mean by "that plymouth bug" once plymouth starts it own all vts, and doesn't let one easily switch. one programatically show hide/stop plymouth. | 10:24 |
alkisg | xnox: plymouth does support init=/bin/bash, i.e. it allows bash to have a vt | 10:25 |
alkisg | But I think that if I rename it, it doesn't | 10:26 |
alkisg | It did in 12.04, it doesn't in 14.04 | 10:26 |
xnox | alkisg: not sure what you mean..... if there is no plymouth in the initramfs, than plymouth is started by init & with init=/bin/bash it will not be started. | 10:26 |
alkisg | xnox: plymouth is in the initramfs though, isn't it? | 10:27 |
xnox | alkisg: if there is plymouth in the initramfs, and it was started from there, it will need to be stopped someway. | 10:27 |
alkisg | Plymouth has code that reads the kernel command line for that specific case... at least it did when I looked in 12.04 | 10:28 |
xnox | alkisg: not always. at the moment we pull in plymouth in the initramfs via hooks, e.g. if cryptsetup is installed & rootfs is LUKS encrypted. | 10:28 |
alkisg | And now that part of its code no longer works... | 10:28 |
alkisg | xnox: ah, that's good to know. Until 12.04 stgraber pulled plymouth in the initramfs from the ltsp package | 10:28 |
alkisg | (it's still in effect in 14.04), | 10:28 |
alkisg | ...so if we remove it, it will solve the vt problem... | 10:29 |
xnox | i don't think that's what you want. | 10:29 |
xnox | check the code and file a bug. | 10:29 |
alkisg | You're right about that. Thanks, /me apt-get source's plymouth... | 10:30 |
xnox | bzr branch lp:ubuntu/plymouth might be better. | 10:30 |
tseliot | pitti: I know that packages in main cannot depend on packages in universe but they can still recommend them, can't they? | 10:31 |
pitti | tseliot: no, only suggests | 10:31 |
tseliot | pitti: ok, I guess I have a problem then, as the new release of nvidia prime (main) will need bbswitch (universe) | 10:32 |
tseliot | pitti: is a MIR the only solution? | 10:33 |
xnox | tseliot: recommends are also considered for main inclusion. suggests are not. | 10:33 |
pitti | tseliot: if the kernel team and/or you is fine with maintaining that additional kernel driver, sure | 10:33 |
xnox | (build-depends, depends, recommends) are all pulled into main. | 10:33 |
pitti | tseliot: i. e. the question is whether we want to support nvidia prime | 10:34 |
tseliot | pitti: oh, I can definitely maintain it | 10:34 |
alkisg | xnox: yeah, strstr (state->kernel_command_line, " init=") != NULL; ==> that was removed... /me looks deeper before filing a bug report, thanks for your assistance | 10:34 |
tseliot | xnox: right | 10:34 |
* xnox 's irc is lagging today. | 10:34 | |
tseliot | pitti: yes, I think we (oem) do | 10:35 |
alkisg | xnox: at 12.04 they were checking if it started with init, now this patch: ./.pc/tty1-after-boot.patch/src/main.c checks if it ends with "sh" :( | 10:36 |
alkisg | So we'll need to rename our custom init to "init-ltsp-sh" :( | 10:36 |
alkisg | stgraber: ^ | 10:37 |
xnox | alkisg: alternatively your script can ping plymouth to check if it is up and stop it yourself. | 10:37 |
alkisg | xnox: do you have those commands handy? | 10:37 |
alkisg | (good idea, thank you!) | 10:37 |
xnox | alkisg: check plymouth --help; and try them out. Also see testing at https://wiki.ubuntu.com/Plymouth | 10:38 |
alkisg | Thanks a lot | 10:38 |
alkisg | Ouch, plymouth quit at that point produces some more udev messages and then hangs the system. /me tries renaming init-ltsp... | 10:41 |
alkisg | Haha, "init=/sbin/init-sh init=/sbin/init-ltsp" did the trick. The first one tricked plymouth, the second one was the actual init. | 10:48 |
* alkisg checks if the plymouth patch is ubuntu specific, to request a change there... | 10:49 | |
=== sraue_ is now known as sraue | ||
=== _salem is now known as salem_ | ||
=== MacSlow is now known as MacSlow|lunch | ||
=== alkisg is now known as work_alkisg | ||
pitti | doko, barry: FYI, autopkgtest notifications have been broken since the lab move, so playing email relay: python{2.7,3.3,3.4} autopkgtests currently fail | 13:29 |
doko | pitti, please ignore those for 3.4 | 13:30 |
pitti | doko: ack | 13:30 |
pitti | doko: (there are some str vs. bytes confusion) | 13:30 |
doko | pitti, url for the others? | 13:30 |
pitti | https://jenkins.qa.ubuntu.com/view/Trusty/view/AutoPkgTest/job/trusty-adt-python2.7/ | 13:31 |
pitti | https://jenkins.qa.ubuntu.com/view/Trusty/view/AutoPkgTest/job/trusty-adt-python3.3/ | 13:31 |
pitti | latest is https://jenkins.qa.ubuntu.com/view/Trusty/view/AutoPkgTest/job/trusty-adt-python3.3/9/ARCH=i386,label=adt/ | 13:31 |
pitti | doko: that seems to have similar str vs bytes issues ("TypeError: gdbm key must be bytes, not str", and others) | 13:31 |
=== MacSlow|lunch is now known as MacSlow | ||
pitti | doko: ah, actually no; that's the only test on 3.3 that fails | 13:32 |
doko | pitti, so for 2.7, it's the uuid test again, but this succeeds when it is repeated, and it did succeed on the buildd ... | 13:35 |
doko | on i386 | 13:35 |
zyga | hey, are recommends installed during clean package builds? | 13:51 |
zyga | I guess not, correct? | 13:51 |
Laney | correct | 13:52 |
zyga | great :) | 13:52 |
pitti | doko: is that something which might need lots of entropy? i. e. could the test perhaps run out of /dev/random bits? | 13:53 |
* pitti runs it locally | 13:53 | |
zyga | pitti: shove a random generator hw dongle into the test host to solve the problem :) | 13:55 |
pitti | well, installing haveged might already help | 13:55 |
zyga | http://en.wikipedia.org/wiki/Comparison_of_hardware_random_number_generators | 13:56 |
pitti | zyga: well, it's a VM -- you need virtual hw :) | 14:00 |
zyga | pitti: you can plug the usb dongle into the vm I guees, or shove randomness somehow from the hos | 14:01 |
zyga | t | 14:01 |
=== Sweetsha1k is now known as Sweetshark | ||
doko | pitti, the dbm test failures in 3.3 seem to be introduced when switch to db5.3. barry, xnox, do you want to have a look? | 14:13 |
smoser | anyone able to ack (or review and reject) plymouth-disabler (https://launchpad.net/ubuntu/trusty/+queue?queue_state=0&queue_text=) | 14:18 |
xnox | smoser: is it really a 2.8KiB package? can we not instead merge it / build it from plymouth source package? | 14:19 |
smoser | xnox, slangasek was fairly strongly opposed to that. | 14:20 |
xnox | oh really =) interesting. | 14:20 |
smoser | https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/1235231 | 14:20 |
ubottu | Ubuntu bug 1235231 in plymouth (Ubuntu) "plymouth loses output to /dev/console (such as ci-info: messages)" [High,Confirmed] | 14:20 |
smoser | (although i don't have his response to that specifically in that bug) | 14:20 |
xnox | smoser: sounds like something that make sense to ship in ubuntu's cloud-init src package & generate a binary plymouth-disabler. It's really quite a big overhead to introduce a new src package just for this. | 14:22 |
smoser | it has nothing to do with cloud-init | 14:22 |
smoser | plymouth has a dataloss bug | 14:22 |
smoser | this is completely unrelated to cloud-init | 14:22 |
xnox | (maybe not cloud-init upstream, not sure about cloud-init debian pkg) | 14:22 |
xnox | sure I understand there. | 14:23 |
xnox | smoser: people rarely notice which src package a particular binary package is build from =) | 14:23 |
smoser | my primary objection to cloud-init is that it would further cloud-init from debian. and eventually i'd like to have that be a straight sync. currently cloud-init builds another unrelated package (grub-legacy-ec2) that has been split to another separate package in debian. | 14:24 |
smoser | i'd like to reduce delta not increase it. | 14:25 |
xnox | ok. try pinging slangasek about it again (although he is away on holiday at the moment). I don't see him subscribed to the bug. | 14:25 |
rbasak | Disabling plymouth is awkward. It doesn't matter in the cloud-init case, but for example lightdm starts on plymouth-ready. | 14:30 |
rbasak | I had to create a dummy upstart job for that. | 14:30 |
smoser | you had to do that where? | 14:30 |
rbasak | It seems to me that disabling plymouth is quite heavily tied to plymouth's packaging. | 14:31 |
rbasak | smoser: on my Chromebook, for https://bugs.launchpad.net/ubuntu/+source/plymouth/+bug/1082742 | 14:31 |
ubottu | Ubuntu bug 1082742 in plymouth (Ubuntu) "plymouthd: ply-terminal.c: 611 ply_terminal_open: Assertion `terminal != ((void *)0)' failed." [Undecided,Confirmed] | 14:31 |
smoser | maybe we need to just fix plymouth. | 14:31 |
zyga | should documentation packages be called -doc or -docs? | 14:32 |
zyga | I see both used heavly in the archive | 14:32 |
smoser | but fixing plymouth properly would take me quite a while. | 14:32 |
FunnyLookinHat | I know this might not be the right place to ask - so let me know if I'm out of line here... any of you know any details about Software Center going away after 14.04? Saw that referenced in this spreadsheet : https://docs.google.com/spreadsheet/ccc?key=0AiT4gOXSkmapdGdFejk0MjFydUlNMDVoMXNRdGdkbFE#gid=1 | 14:33 |
FunnyLookinHat | I presume click packages are going to be a replacement of sorts/ | 14:34 |
mrmcq2u | http://etoileos.com/news/archive/2007/07/19/1755/ | 14:35 |
mrmcq2u | what do you guys think of this? | 14:35 |
xnox | doko: not sure where the change is comming from, but as per http://hg.python.org/cpython/rev/dfeda0d3d636/ string dbm keys & values are converted into bytes keys & values, thus upon doing g['a'] = 'b', g.keys() correctly returns [b'a'] | 14:37 |
rbasak | smoser: it might be worth adding a dep8 test to make sure that plymouth-disabler actually disables plymouth. That way, if the plymouth packaging is changed such that the appropriate mechanism needed to disable plymouth changes, then the new plymouth package will block proposed migration unless the disable mechanism is also fixed to match. | 14:40 |
=== rickspencer3_ is now known as rickspencer3 | ||
rbasak | Having said that, I'm not clear how such a dep8 test might work. It'd need a reboot :-( | 14:41 |
xnox | doko: same assert failure in quantal chroot with python3.2 & python3-gdbm installed. and db5.1 | 14:41 |
doko | xnox, hrm, did only check 3.3.2 in saucy, and didn't see it | 14:42 |
xnox | barry: the testcase looks wrong to me, keys/values are implicitly converted to bytes when working with dbm, yet the unit-tests assert using both bytes & strings keys. Was assertIn suppose to do implicit conversion to bytes as well? | 14:43 |
xnox | doko: hm, strange. unless something in unittests / assertIn / containers changed. | 14:44 |
barry | xnox: sorry, i need context | 14:44 |
doko | barry, https://launchpadlibrarian.net/157438095/buildlog_ubuntu-trusty-amd64.python3.3_3.3.3-2_UPLOADING.txt.gz | 14:44 |
barry | doko: hmm. that's caused by the libdb5.3 change? | 14:45 |
xnox | barry: grep doko/xnox/barry highlights above from :13m past till now. | 14:45 |
doko | barry, that's what I was thinking, until xnox pointed out the quantal log | 14:46 |
xnox | doko: well, not quantal log, just me trying it locally in a quantal chroot in an interractive shell. | 14:48 |
barry | xnox: let me see if i can reproduce locally | 14:48 |
doko | barry, please configure -with-dbmliborder=bdb:gdbm | 14:49 |
doko | -- even | 14:49 |
doko | seb128, uploaded libffi to unstable again, please yell when you see the same failures after the sync | 14:53 |
xnox | doko: well on should be able to do import dbm.gnu as dbm, if one wants to explicitly test the gnu backend. (that's what I did) | 14:53 |
rbasak | jdstrand: are you aware of bug 1242726, please? | 14:54 |
ubottu | bug 1242726 in php5 (Ubuntu) "[MIR] php5-common is missing dependency on php5-json" [High,Triaged] https://launchpad.net/bugs/1242726 | 14:54 |
seb128 | doko, ok | 14:54 |
rbasak | jdstrand: it's awaiting your review. | 14:54 |
seb128 | doko, you hope to have it fixed with that version? can't you test before syncing? | 14:54 |
doko | xnox, well, the test iterates dbm._names and fails for the ndbm case, not the gnu one | 14:54 |
doko | seb128, how? | 14:55 |
seb128 | doko, try building one of the indicators which was failing on ppc? | 14:55 |
doko | seb128, where? | 14:55 |
doko | sure, I can do that in a ppa | 14:55 |
xnox | doko: oh, did i use the wrong backend ?! let me try again. | 14:56 |
seb128 | doko, dunno where, do we have any ppa which includes ppc builders? | 14:57 |
doko | I'll do in one | 14:57 |
seb128 | thanks | 14:57 |
zyga | barry: is dh_sphinxdoc expected to work for python3-only projects? | 15:01 |
barry | zyga: i don't know that it doesn't, but i can't say if i've explicitly tried it. why, have you found a failure? | 15:01 |
zyga | barry: I have a relatively simple python3 libary+program and dh_sphinxdocs fails to find any documentation and breaks | 15:02 |
cjwatson | zyga: it works for click | 15:02 |
jdstrand | rbasak: I was not aware of that bug | 15:02 |
zyga | barry: is it the case that I should be building docs myself in som overrides? | 15:02 |
xnox | barry: doko: so on quantal python3.2/db5.1, dbm.ndbm passes when doing a string key on assertIn. But as per http://hg.python.org/cpython/rev/dfeda0d3d636/ (http://bugs.python.org/issue3799), which is strange since .keys() only returns bytes key. | 15:03 |
cjwatson | except I had to add a no-op override_dh_sphinxdoc-arch rule | 15:03 |
zyga | cjwatson: ok, I'll check out click packaging | 15:03 |
jdstrand | sarnold: can you take a look at 1242726 when you've got some time? | 15:03 |
zyga | cjwatson: why? | 15:03 |
barry | zyga: if you find a problem, please file a bug | 15:03 |
zyga | barry: on sphinx(ubuntu)? | 15:03 |
* xnox thought python3-sphinx should be used with python3-only projects. | 15:03 | |
rbasak | jdstrand: OK, thanks for following up. | 15:03 |
zyga | xnox: I'm using that | 15:04 |
xnox | ok. | 15:04 |
cjwatson | zyga: https://launchpad.net/ubuntu/+source/click-package/0.1.1/ | 15:04 |
zyga | cjwatson: thanks! | 15:04 |
barry | zyga: if that's easiest yes. i'll at least forward it on to debian, which is where it probably needs to be fixed | 15:04 |
cjwatson | (the package was renamed to click shortly after that; those build failures illustrate the problem though) | 15:04 |
barry | xnox, doko so, upstream 3.3 hg builds find with --with-dbmliborder=bdb:gdbm | 15:05 |
barry | *fine | 15:05 |
cjwatson | zyga: it's because click-doc is Architecture: all so dh_sphinxdoc -a doesn't have any doc packages to operate on. I think dh_sphinxdoc should silently do nothing in this case rather than failing, personally | 15:05 |
zyga | cjwatson: I see that you build docs manually, through build override | 15:08 |
zyga | cjwatson: I just copied that aspect, still get http://pastebin.ubuntu.com/6474229/ (essentially, dh_sphinxdoc saying that it cannot find docs) | 15:09 |
cjwatson | zyga: that means that the packages that dh_sphinxdoc is operating on do not include any that sphinx docs would be copied into | 15:11 |
cjwatson | or, sorry, any that sphinx docs *have been* copied into | 15:11 |
cjwatson | you need to install the docs into the package before running dh_sphinxdoc to mangle them | 15:12 |
zyga | cjwatson: ah | 15:14 |
zyga | cjwatson: so I need to override install to copy docs to debian/tmp/usr/share/docs/ ? | 15:14 |
cjwatson | zyga: well, I just did it with debian/click-doc.docs | 15:18 |
cjwatson | zyga: but sure, something like that | 15:18 |
zyga | cjwatson: ah, interesting, thanks, I'll try that | 15:19 |
doko | barry, does it pass the tests too? | 15:26 |
barry | doko: upstream hg 3.3 head does, yes | 15:28 |
doko | I don't have any dbm specific patches :-/ | 15:29 |
barry | doko: i'm building the 3.3 trusty-proposed now in my -amd64 chroot | 15:29 |
* xnox ponders if this is somehow affected by locale. | 15:35 | |
xnox | (e.g. UTF-8 vs a non-UTF-8 locale) | 15:35 |
zyga | cjwatson: why did you use py3versions to to loop over multiple python3 interpreters, is that something you do as a habit or is there a genuine need for that (seeing as we always get one interpreter per release) | 15:38 |
=== freeflying is now known as freeflying_away | ||
cjwatson | zyga: habit | 15:44 |
cjwatson | zyga: plus I see no reason why there *must* only be one python3 interpreter at any given time and I can certainly imagine cases where that might not be so | 15:44 |
xnox | isn't it per-policy. we are most-likely to have 3.3 and 3.4 as supported versions in trusty, and packages should byte-compile / compile extenstions / run-unittests across all supported versions. | 15:45 |
xnox | (if they ship public modules/extensions) | 15:45 |
zyga | xnox: isn't it the case that for pure-python modules they end up in /usr/lib/python3/dist-packages anyway (not 3.4, 3.4) ? | 15:49 |
barry | zyga: the pyc's will be version tagged, plus extension modules must be compiled for the specific python abi version. see peps 3147 and 3149 | 15:50 |
doko | zyga, yes, but it would be a good idea to test it with 3.4, and have any extensions built with 3.4 | 15:50 |
zyga | barry: ah, good point! | 15:50 |
zyga | ok, thanks | 15:51 |
zyga | so looping it is | 15:51 |
barry | zyga: also, i think with pybuild you don't need to explicitly loop | 15:51 |
zyga | oh? | 15:51 |
zyga | I was about to ask if pybuild does that for you | 15:51 |
barry | i haven't actually tried it with more than one py2 or py3 enabled yet, but you definitely don't need to loop over all py2 and py3, so i assume it's properly handling all supported versions. would be good to check ;) | 15:52 |
barry | doko: test_site crashes in an sbuild because /sbuild-nonexistent isn't lying ;) | 15:52 |
zyga | barry: do I need to loop over pythons when doing build_sphinx? | 15:52 |
barry | zyga: i wouldn't think so, if you have a -doc binary package, it only needs to be built once | 15:53 |
zyga | ok | 15:53 |
* zyga still tries to wrap that around his head, which target to override to get docs to build, which to override to (loop or not) to build everything | 15:54 | |
xnox | zyga: docs are usually once with python & once with python3, unless API/code is bi-lingual, in that case you can do it once with any default python and ship into separate python-foo-doc package. | 15:56 |
=== freeflying_away is now known as freeflying | ||
zyga | xnox: so this is python3 only so I guess I need to override_dh_auto_build, run dh_auto_build and then separately python3 setup.py build_sphinx | 15:57 |
zyga | and that _should_ be enugh | 15:57 |
zyga | enough | 15:57 |
=== adam_g_afk is now known as adam_g | ||
doko | barry, yes, test_site needs fixing. but that's known | 16:25 |
barry | doko: cool. i broke my local build for unrelated reasons, so i'm starting over :/ | 16:25 |
=== freeflying is now known as freeflying_away | ||
=== freeflying_away is now known as freeflying | ||
zyga | barry, xnox: is there a way to force a script of out python3-foo package and into the foo package? | 16:45 |
zyga | (without doing everything manually again) | 16:46 |
slangasek | smoser: eh, why would these upstart overrides in any way distance the package from Debian? That would be entirely upstreamable | 16:55 |
smoser | i dont know. its delta versus it now. | 16:55 |
smoser | i guess its not significant, but it just really bothers me in general to "fix" a bug in package A from package B. | 16:56 |
smoser | i pushed some upstream. given rbasak's comments, it seems that disabling plymouth could cause fallout elsewhere. | 16:57 |
rbasak | slangasek: I'm more bothered that the correct mechanism for disabling plymouth and making everything else on the system continue to work is quite closely tied to plymouth's packaging. It would be nice if plymouth packaging provided a more general mechanism to disable plymouth, rather than other packages having to know about its internals. | 17:01 |
=== bfiller is now known as bfiller_afk | ||
xnox | zyga: export PYBUILD_DESTDIR_python3=debian/foo, if you simply want binary package "foo" to have python3 modules & scripts. | 17:08 |
xnox | zyga: PYBUILD_NAME=foo, is mostly a shorthand of PYBUILD_DESTDIR_pythonX=debian/pythonX-foo | 17:08 |
xnox | for all python-variants (pypy, python3, python) | 17:09 |
xnox | and versions of thereoff. | 17:09 |
zyga | xnox: I want the modules to be in python3-foo and the main script to be in foo | 17:10 |
zyga | xnox: it's more complicated as I need one other script to be in the python3-foo package (it's part of the library) | 17:10 |
* zyga asked the same question on debian-python@ just now | 17:11 | |
xnox | ah =/ hm... i'd just do "mv" in override_dh_auto_install: after a normal dh_auto_install. | 17:11 |
zyga | xnox: let me try that :) | 17:11 |
xnox | zyga: or maybe better ovverride dh_install instead, as i really dislike having to pass --buildsystem=pybuild when overriding dh_auto_* targets. | 17:14 |
zyga | oh, I didn't rememeber that | 17:14 |
zyga | xnox: but I'd have to invoke dh_install there, right? | 17:15 |
* zyga tries that | 17:15 | |
xnox | yeah. | 17:15 |
zyga | cool | 17:16 |
* zyga has built himself a set of nice/tricky (depending on how you look) filesystems/overlays to get zero-setup-time build chroots that are always clean :-) | 17:17 | |
zyga | I need to finish and properly demonstrate that to people | 17:17 |
zyga | (zero setup time as in, it costs nothing to spin up a clean build chroot) | 17:17 |
xnox | well mk-sbuild creates by default snapshotted sbuild chroots using overlayfs, but can also use lvm/btrfs snapshots, for any debian/ubuntu release & native/qemu-native/cross. | 17:20 |
xnox | what does your setup improve? | 17:20 |
=== salem_ is now known as _salem | ||
zyga | xnox: I guess it's a bit http://xkcd.com/927/ but it's consuming different input and providers no setup parameters (tries to do the best thing without any tweaks) | 17:22 |
zyga | xnox: I'm using overlayfs, tmpfs (remouted ro), upstart jobs to bring a lot of that up, and some bind mounts | 17:23 |
zyga | xnox: I'm consuming simple meta-data files that tell you how to set up the environment and what to do inside | 17:23 |
zyga | xnox: one use-case is to build packages cleanly | 17:23 |
zyga | xnox: but that's not the only use case and the meta-data file can, e.g. run tests on a given environment | 17:24 |
zyga | xnox: I wanted to run away from 'this is my {sbuild,pbulider,whatever} setup, you need my custom hax0rd config files to make it work' | 17:25 |
zyga | xnox: and 'you need btfs,lvm' or something similar | 17:25 |
zyga | xnox: something I could give anyone running 12.04+ and get the same result, fast | 17:25 |
xnox | zyga: right, which is what mk-sbuild did. $ mk-sbuild trusty; sbuild -d trusty *.dsc | 17:25 |
xnox | which is using overlayfs, snpashot by default with no configs required at all. | 17:25 |
zyga | xnox: right, which is not going to work because I need to run unit tests (which is nothing like building a package here), enable certain ppas (per the meta-data build file) or bind-mount the tree, I want one tool and one input file | 17:26 |
* xnox migrated from custom sbuild to stock mk-sbuild without any configs and I'm quite happy. | 17:26 | |
xnox | zyga: unit tests should always run at package build time. | 17:27 |
rbasak | What I miss from mk-sbuild is the ability to modify the source chroot but only temporarily for what I'm working on - eg. to add a PPA or custom local repo to fulfil build deps. | 17:27 |
rbasak | Right now I modify the source chroot and have to remember to modify it back. | 17:27 |
zyga | xnox: unit tests may want to run more often than that, without building the package | 17:27 |
rbasak | Or modify ~/.sbuildrc with custom setup commands | 17:27 |
rbasak | (and remember to modify it back) | 17:27 |
rbasak | Stacked overlays would be nice. | 17:28 |
zyga | xnox: I mean, what I built locally is just an interation of this idea | 17:28 |
zyga | xnox: but I think all the helper tools suck on input (you either do stuff like debian does and it is okay or you need to customize) | 17:28 |
rbasak | I was surprised to be unable to find an sbuild option that overrides ~/.sbuildrc with another file. | 17:28 |
zyga | xnox: oh, also, no perl, python3 api | 17:28 |
* rbasak EODs | 17:28 | |
xnox | rbasak: hm, well the stgraber launchpad-sbuild thing is quite cunning, at chroot snapshot setup it updates it and can twiddle it's sources etc. So you could write a hook into setup.d/* to twiddle sources as you need based on something at runtime (e.g. environemnt variable ADD_APT_REPOSITORY=ppa:foo/bar ?!) | 17:29 |
xnox | rbasak: but yeah, it's less than ideal at the moment for that. | 17:29 |
zyga | xnox: I'm sure what I wrote is half broken sbuild :-) | 17:29 |
zyga | xnox: but I'm happy with the input file and no perl aspects | 17:29 |
rbasak | xnox: thanks, I'll look in to that. An env variable sounds like a good idea. | 17:29 |
zyga | xnox: I'll polish it and show it to people for feedback | 17:29 |
=== _salem is now known as salem_ | ||
xnox | zyga: for more often unit-tests I just made sure they are run by auto-pkg-tests, such that they are done both on jenkins.ubuntu.com & such that I can execute them locally as well. While cumbersome, at least it's a standard interface for other people to discover and rerun full test-suites as well. | 17:31 |
zyga | xnox: yeah, my package actually uses that | 17:32 |
zyga | xnox: but that's not enough really | 17:32 |
zyga | xnox: we run tests on landing and now we want to build packages on landing too | 17:32 |
zyga | xnox: we want to run tests without heavy VMs (which will improve the test cycle a lot for what we do) | 17:32 |
zyga | xnox: and sadly while autopkg tests are great, it's not easy to just run them | 17:33 |
zyga | xnox: and since we don't have on-merge packages, it's not an option | 17:33 |
zyga | xnox: + I want people to have a way to run tests on their laptop, running $anything_ubuntu to check all $supported_distros this way, while working offline | 17:33 |
zyga | xnox: I'm sure there's an overlap but the standard solution is hard to apply to our case | 17:34 |
barry | doko, xnox yeah, no problems building trusty-p python3.3 here in a local chroot | 17:43 |
* xnox ponders if autopkgtest used missmatched source & binary packages under-test. | 17:44 | |
barry | xnox: i did not run the autopkgtests. is that where the failure is happening? | 17:44 |
xnox | barry: but i thought it should be allowed to look up string keys, after they were implicitely converted and stored as bytes. | 17:44 |
xnox | barry: correct. | 17:44 |
xnox | (it's running unit-tests though) and it looks safe enough to execute adt null runner inside chroot. | 17:45 |
barry | xnox: well, if it works during package build, it should work during autopkgtesting. maybe there's locale weirdness involved? | 17:45 |
xnox | barry: I did pull-lp-source python3.3; python3.3 ./python3.3-*/Lib/test/test_dbm_ndbm.py fails. | 17:48 |
xnox | http://paste.ubuntu.com/6474943/ | 17:49 |
* xnox 's locale is Standard British English (UTF-8) | 17:50 | |
barry | xnox: nice. my from-source build of 3.3 --with-dbmliborder=bdb:gdbm works fine, but the current trusty 3.3.2+ failures with the same error | 17:52 |
cjwatson | That looks like a bug in the dbm module to me ... | 17:52 |
cjwatson | It does a PyUnicode_Check and then fails anyway | 17:53 |
xnox | barry: the auto-package-test suppose to test the installed binaries. So if the new python3.3 is build with that new option, that most likely means that autopkgtest was triggered too early. I've had that before with e.g. ubiquity adt tests. | 17:53 |
cjwatson | xnox,barry: http://bugs.python.org/issue19287 | 17:55 |
barry | cjwatson, xnox ack. will look in a bit | 17:56 |
xnox | my google foo didn't turn up that newer issue, only the older one. | 17:56 |
xnox | (against unreleased 3.0) | 17:56 |
barry | zyga: fwiw, i just converted one of my packages to pybuild. it's py2 and py3, but it builds -doc package from sphinx: http://anonscm.debian.org/viewvc/python-modules/packages/flufl.i18n/trunk/debian/ | 17:57 |
cjwatson | xnox: I looked at hg cpython directly | 17:57 |
xnox | ok. | 17:58 |
zyga | barry: I had to manually run setup.py build_sphinx and add the .docs file to copy them | 17:59 |
zyga | barry: my mistake was expecting that to be optional (after all, conventions over configuration, right) | 17:59 |
* zyga looks at barry's package | 17:59 | |
zyga | oh | 17:59 |
zyga | barry: cool, I'll copy that | 17:59 |
barry | zyga: looks like the d/*.install files didn't survive my svn commit. testing a -3 now | 18:00 |
zyga | barry: I wonder why I needed the .docs file though | 18:00 |
zyga | barry: svn, oh my :) | 18:00 |
* zyga should push his package somewhere | 18:00 | |
barry | zyga: yay debian python team vcs! :) | 18:00 |
barry | zyga: what's in your .docs? | 18:01 |
zyga | build/sphinx/html | 18:01 |
zyga | barry: don't you need that set -e trick to keep make from hiding errors? | 18:03 |
barry | zyga: no difference | 18:07 |
zyga | barry: how so? | 18:09 |
barry | zyga: well, i don't get errors :) | 18:09 |
zyga | barry: if build_sphinx fails then it will be hidden by the second invocation | 18:09 |
zyga | hah :D | 18:09 |
zyga | ok | 18:09 |
* zyga wonders about packaging, if it should be separate from the unpacked tarball (as in that svn repo) or both together | 18:10 | |
* zyga uploaded packaging to github temporairly | 18:13 | |
zyga | https://github.com/zyga/debian.plainbox/tree/master/debian | 18:13 |
barry | zyga: it's a good question. ubuntu source branches have the unpacked source, which i generally like. debian-python prefers debian-only, so i tend to use that. it's a bit less convenient to work on, though debcheckout will generally give you something workable (i tend to debcheckout --source=never though if i'm only futzing with packaging and don't need to patch the package) | 18:14 |
barry | zyga: you can always get a guest account on alioth and use git.debian.org too | 18:14 |
barry | at least that's free software :) /me hides | 18:14 |
zyga | barry: I got an account | 18:15 |
zyga | barry: but I got lost in using it | 18:15 |
zyga | barry: alioth (and various debian-send-me-an-email-type infrastructure is rather horrible to discover as a novice) | 18:15 |
zyga | barry: no, you are right | 18:15 |
zyga | barry: it's just I'm to stupid to use it :/ | 18:15 |
zyga | barry: I have zyga (or zkrynicki) on alioth, what should I do next? | 18:16 |
barry | zyga: never blame the user when software sucks! :) | 18:16 |
zyga | barry: the package I'm building is intended for debian as well | 18:16 |
barry | zyga: you'll have to use zyga-guest@ until you become a dd | 18:16 |
zyga | ok | 18:16 |
zyga | so can I ssh into git.debian.org somehow? | 18:16 |
barry | yeah, it's confusing sadly | 18:17 |
barry | zyga: i believe you should be able to ssh zyga-guest@git.debian.org | 18:17 |
* zyga gets ssl warning on alioth.debian.org hmmm | 18:17 | |
zyga | barry: how do I copy my ssh key there? | 18:17 |
barry | zyga: are you sure it's not warning you about the new host key? alioth crashed a while ago and it came back up a few days ago, but with a new host key | 18:18 |
zyga | is alioth supposed to be signed by ca.debian.org? | 18:18 |
zyga | barry: ssl warning in firefox, not ssh | 18:18 |
* zyga wonders what his username is as the password i have on file doesn't work | 18:19 | |
zyga | barry: can you tell me if it is safe to add the SSL exception for alioth.debian.org (issued by ca.debian.org) | 18:20 |
barry | zyga: probably, but don't quote me on it. i almost never use the web ui ;) | 18:20 |
barry | looks like it's self-signed | 18:20 |
zyga | barry: how can I "manage" my account? | 18:21 |
zyga | oh user zyga doesn't exist | 18:21 |
* zyga creates one | 18:22 | |
barry | zyga: you would use alioth.debian.org but you probably need to sign in as zyga-guest (or <yourid>-guest) | 18:22 |
=== salem_ is now known as _salem | ||
* zyga sets that up | 18:23 | |
zyga | barry: ha, so my unix name zyga is already taken | 18:23 |
zyga | but it's not an alioth username | 18:23 |
zyga | :D | 18:23 |
barry | somehow i always manage to get 'barry'. it's not *that* uncommon as a name ;) | 18:23 |
=== gaughen is now known as gaughen_ | ||
zyga | barry: I'm totally sure zyga is unique | 18:24 |
zyga | barry: is there a way to debug that? any IRC channel or anythnig? | 18:24 |
xeranas | Hi all, I have trouble to understand how works ConditionalLayout. Maybe someone can give some link to tutorial or source code sample. Basically I want make for desktop 3 column layout and for mobile 1 column. So far I tried this: https://gist.github.com/xeranas/7645981 but not working. Probably I do not understand some key things. | 18:24 |
barry | zyga: didn't you mention that you'd signed up once before? | 18:24 |
zyga | barry: yeah but it's claiming my account doesn't exist | 18:24 |
zyga | ohhh | 18:24 |
zyga | zyga-guest! | 18:24 |
barry | right! | 18:24 |
=== _salem is now known as salem_ | ||
=== gaughen_ is now known as gaughen | ||
barry | you sign up with zyga but use zyga-guest until you become a dd | 18:25 |
zyga | success! | 18:25 |
zyga | barry: so now I should be able to ssh zyga-guest@git.debian.org | 18:26 |
barry | zyga: yep! | 18:26 |
zyga | barry: yet it doesn't like my password, hmm | 18:27 |
* zyga looks | 18:27 | |
zyga | nope, just dones't like it | 18:27 |
zyga | barry: are you sure -guest users have ssh access? | 18:27 |
zyga | (that is cool but a bit scary) | 18:27 |
barry | zyga: hard to remember all the details. maybe your account has to be enabled. you might have to request being added to a team. https://wiki.debian.org/Teams/PythonModulesTeam | 18:31 |
zyga | barry: to use svn or git? | 18:31 |
zyga | barry: should I email ... hmm I don't know what debian-python@? | 18:32 |
barry | zyga: debian-python@debian.org | 18:33 |
zyga | barry: thanks | 18:34 |
zyga | barry: this team https://wiki.debian.org/Teams/PythonModulesTeam ? | 18:35 |
zyga | barry: there is confusingly named apps team as well | 18:35 |
barry | zyga: there is. basically the same group of folks and most of the conventions and policy are the same. but there are way more modules (i.e. libraries) than apps. dunno if there's a good reason for the division or mostly historical | 18:37 |
zyga | ok, writing request mail now | 18:39 |
zyga | barry: I've sent my request, let's see what happens next :) | 18:43 |
=== bfiller_afk is now known as bfiller | ||
=== salem_ is now known as _salem | ||
=== _salem is now known as salem_ | ||
=== Amaranthus is now known as Amaranth | ||
dkessel | good evening. what would be the "normal" python/qt binding to develop an ubuntu application against? pyqt or pyside? | 19:44 |
barry | xnox: ./bin/run-adt-test -r trusty -a amd64 -S file:///home/barry/projects/ubuntu/python33/trustyp python3.3 | 20:38 |
barry | xnox: no errors :/ | 20:38 |
=== salem_ is now known as _salem | ||
=== racarr is now known as racarr|lunch | ||
Noskcaj | Can someone please sponsor https://mentors.debian.net/package/testdrive ? | 21:10 |
=== mnepton is now known as mneptok | ||
=== racarr|lunch is now known as racarr | ||
xnox | barry: /o\ i guess we just need to ping people to retry the auto-pkg-tests. | 22:33 |
barry | xnox: well, actually i think my command wasn't quite right since it uses python3.3 from the archive (i.e. 3.3.2). i'm re-running it now building from the source branch, but it takes a loooooooonnnnggggg time | 22:34 |
xnox | yeah, it does take forever. | 22:35 |
tarpman | are there precise daily-live images somewhere that are built with -updates but not -proposed? | 22:50 |
barry | xnox: yay. at least i can reproduce the bug now | 23:00 |
=== _salem is now known as salem_ | ||
=== salem_ is now known as _salem | ||
=== freeflying is now known as freeflying_away | ||
twb | Consider the output of "rmadison -uubuntu,debian -aamd64 firefox iceweasel" -- the Debian entries line up, but the Ubuntu ones don't. | 23:55 |
twb | Against what package should I report that? | 23:55 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!