/srv/irclogs.ubuntu.com/2012/04/27/#ubuntu-devel.txt

=== kengyu_ is now known as kengyu
=== Bluefoxicy_ is now known as Bluefoxicy
=== jalcine is now known as jacky
pittiGood morning04:18
=== jacky is now known as JackyAlcine
=== JackyAlcine is now known as Jacky
=== Jacky is now known as jacky
=== bkerensa is now known as Tester
=== Tester is now known as TesterBlah123
=== TesterBlah123 is now known as bkerensa
ionHi05:13
=== RAOF is now known as RAOF_
=== RAOF_ is now known as RAOF
dholbachgood morning06:46
=== smb` is now known as smb
=== schmidtm_ is now known as schmidtm
ev@pilot in07:59
=== udevbot changed the topic of #ubuntu-devel to: Ubuntu 12.04 (Precise Pangolin) is released! | Dev' of Ubuntu (not support or app devel) | build failures -> http://bit.ly/HaWdtw | #ubuntu for support and general discussion for hardy -> precise | #ubuntu-app-devel for app development on Ubuntu http://wiki.ubuntu.com/UbuntuDevelopment | See #ubuntu-bugs for http://bit.ly/lv8soi | Patch Pilots: bjf, ev
=== jacky is now known as JackyAlcine
lifelessok, I have an offtopic q; what would cause setgid(1000) to fail in a process I just ran as sudo process; my uid being 1000, and the process is a fuse file system provider08:17
lifelesspointers etc appreciated08:17
lifelessEPERM is the error08:17
pittiwas just going to ask, but man setgid() actually lists that as only possible error08:17
pittilifeless: do you get an AppArmor violation in dmesg by any chance?08:18
lifelessits being called from the pre_exec hook of a subprocess call08:18
lifelesschecking08:18
lifeless[1021271.432495] iwlwifi 0000:02:00.0: Tx aggregation enabled on ra = 94:44:52:a8:40:2f tid = 008:18
lifeless[1021547.963081] iwlwifi 0000:02:00.0: Tx aggregation enabled on ra = 94:44:52:a8:40:2f tid = 608:18
lifeless(e.g. no, not AFAICT)08:18
lifelesspitti: oh, and finally, the subprocess call preexec function does a chroot as its very very first thing08:19
lifelessso fork; chroot; setgid -> failure08:19
lifelessits chrooting into the parent processes fuse fs08:20
pittilifeless: at the time you do setgid() you have euid==1000?08:20
=== JackyAlcine is now known as jalcine
pittior euid==0?08:20
lifelessI sure hope so, let me instrument08:20
lifeless(the chroot works, so I have been assuming that)08:20
pittiif you are not root, i. e. euid=1000, then in the chroot the uid 1000 might not be in group 1000, or there is no group 1000 in /etc/groups or something like that?08:20
=== jalcine is now known as siibot
lifelessone possibility is that /etc/groups isn't in the chroot08:21
pittilifeless: so printing out euid, uid, egid, and gid is useful; if that looks alright, then maybe print capget()08:22
ogra_if it is its very unlikely to contain 100008:22
pittithat shouldn't matter if you are euid=0, but very well might if you are euid=100008:22
ogra_yeah08:22
=== siibot is now known as Jacky
jamespagedoko: the java7 FTBFS bugs will need a retest early in quantal - suspect there will be some new ones as well08:22
lifeless0 0 0 008:23
lifelessbefore the chroot08:23
=== Jacky is now known as siibot
lifelesswill grab after the chroot figures, but I wouldn't expect them to have changed08:24
=== siibot is now known as jacky
lifelessyeah, all 008:24
pittihm, perhaps there is some new YAMA magic or whatever which removes capabilities after chroot()?08:26
sbeattieI don't think so...08:26
pittilifeless: can you compare the output of cap_get_proc() before and after chroot?08:26
pittiand print it?08:26
lifelessI'll take the chroot out as an experiment08:26
lifelessno error without the chroot08:27
pittilifeless: in particular, test cap_get_proc() & CAP_SETGID ?08:27
lifelesswhat module is cap_get_proc in?08:27
pitti#include <sys/capability.h>08:28
lifelessharh08:28
lifeless(this is python :P)08:28
pittioh, hmm; ctypes FTW?08:28
sbeattielifeless: paste strace -f output perhaps?08:29
lifelesspython-cap-ng08:32
lifelessso, cap_to_text() ?08:37
lifelesshah, python segfault08:39
lifelessin cap_to_text08:43
angelocHi guys, i'm writing some scripts for ubuntu accomplishments, until now i solved all my problems reading online api documentation, but I'm now in stuck08:46
angeloci have to find all packages uploaded by a person, can you suggest me the best way?08:46
diwicseb128, I was able to resolve part a) of bug 984637, see comment 808:47
ubottuLaunchpad bug 984637 in gnome-control-center (Ubuntu) "[soundnua] moving running input stream fails" [High,In progress] https://launchpad.net/bugs/98463708:47
diwicseb128, and part b) has been resolved by ronoc already08:47
micahgangeloc: look at this: http://ubuntu-dev.alioth.debian.org/cgi-bin/ubuntu-sponsorships.cgi08:47
seb128diwic, great, thanks, I will make sure both are fixed in the SRU08:47
diwicseb128, thank you08:48
tumbleweedmicahg, angeloc: be aware that ubuntu-sponsorships.cgi is quite slow, please don't hit it too hard08:48
micahgangeloc: tumbleweed: I wasn't suggesting to use it, but to look at the code behind it (link at the bottom)08:48
tumbleweedah08:48
angeloctumbleweed, thank you08:49
angeloctumbleweed, micahg: ok08:49
micahgangeloc: although, now that I think about it, would probably want to query Launchpad directly rather than Debian's database08:50
tumbleweedit gets data from UDD. We have a UDD mirror on ubuntuwire, so if you need to run something server side that accesses UDD, it's doable08:50
angeloctumbleweed, micahg: weel yes, i'm using launchpad api for all my needs08:51
angeloctumbleweed, micahg: but I cannot find a way to get all packages uploaded by a person08:51
tumbleweedangeloc: yeah launchpad's API won't help you there08:51
micahgangeloc: #launchpad or #launchpad-dev would probably be better08:52
angeloctumbleweed, micahg: i asked there, but no replies ...08:52
lifelesswin08:52
lifeless#0  0x00007ffff523d501 in cap_to_text () from /lib/x86_64-linux-gnu/libcap.so.208:52
lifeless#1  0x00007ffff545aea4 in ffi_call_unix64 () from /usr/lib/python2.7/lib-dynload/_ctypes.so08:52
lifeless#2  0x00007ffff545a8c5 in ffi_call () from /usr/lib/python2.7/lib-dynload/_ctypes.so08:52
lifeless#3  0x00007ffff544b2c2 in _ctypes_callproc () from /usr/lib/python2.7/lib-dynload/_ctypes.so08:52
lifeless(this works if I do it outside of a worker thread)08:52
lifelesscould libcap be unsafe with threads? seems unlikely. ..08:53
pittilifeless: libcap shoudl be thread save, but ctypes might not?08:55
lifelesshttp://stackoverflow.com/questions/7024507/am-i-crashing-ctypes-or-libflac seems relvant08:57
lifeless*relevant*08:57
lifelesspitti: it claims to be threadsafe08:59
lifelesspitti: it may be this - http://bugs.python.org/issue11048 - a libffi bug09:02
pittilifeless: oh, is your chroot r/o?09:13
lifelesspitti: it should support writes to /tmp09:14
lifelesspitti: but its a bit hard to reason about09:14
lifelesspitti: as its a fuse layer09:14
lifelesspitti: in the parent process09:14
lifelessI'm whipping up a cython binding09:14
lifelesspitti:09:40
lifeless'=ep'09:40
lifeless'=ep'09:40
lifelessbefore and after the chroot09:41
pittilifeless: ok, so it's not that either; I'm afraid that was my last idea what could cause it to EPERM :/09:44
lifelessdoes setgid read stuff from the fs ?09:45
* lifeless is willing to assume his fuse layer is buggered ;>09:45
pittino, it shouldn't09:45
=== doko_ is now known as doko
pittiev: wow, haven't seen https://errors.ubuntu.com/ before09:47
evpitti: it only went live last/this week :)09:47
lifelessshiny isn't it09:47
ev*lots* more to do there09:48
evso read it as what it could be, not what it is :)09:48
pittiyes, sure, but it's the first real ouput I see from whoopsie09:48
lifelessev: what does the MTBF mean there?09:49
evthe mean of the mean time between failures for all users in the system (so only people who have experienced crashes)09:49
pittiev: oh, this has public tracebacks?09:49
evpitti: they're going behind openid09:49
evwebops is on it09:50
everr Ubuntu SSO09:50
pittithat pycentral crash looks so trivial to fix09:50
evI know, right? :)09:51
evpitti, lifeless: ps. we've shovelled 3,868,092 crashes into the database since March 20th09:52
lifelesssweet09:52
lifelesswhat % have been retraced ?09:52
=== Guest93887 is now known as Zic
evhttps://errors.ubuntu.com/api/retracer/results09:53
evmind, not all crashes get retraced (some are python, and we only ask for one core dump for each stacktrace address signature)09:53
evnot sure why 10.04 is showing up09:54
evit's on my list to look into09:54
hrwdebootstrapping quantal ends with: E: Release signed by unknown key (key id AED4B06F473041FA)09:54
evit's going off apport's DistroRelease field09:54
hrwwhat is a reason?09:54
dholbachcking, regarding bug 987840 - my sister has the same model, so if you need some testing, please let me know09:55
ubottuLaunchpad bug 987840 in linux (Ubuntu) "[HP-Pavilion-g6] hangs during suspend" [Medium,Confirmed] https://launchpad.net/bugs/98784009:55
lifelessev: so a tiny proportion ?09:55
lifelessassuming that "20120426": {"Ubuntu 10.04:failed": 17, "Ubuntu 10.04:success": 1, "Ubuntu 11.10:failed": 3, "Ubuntu 11.10:success": 8, "Ubuntu 12.04:failed": 864, "Ubuntu 12.04:success": 1812} means what I think it does ?09:56
evyes09:56
ckingdholbach, ok, thanks for letting me know09:56
lifelessev: how many of that 3.8M are dupes, do you know ?09:56
hrwnevermind - rebuilt debootstrap with quantal09:56
evlifeless: one moment, I'll craft something to count buckets09:57
lifelesspitti: an alternate approach, is it possible to setuid etc while keeping the capability to chroot ?09:57
pittilifeless: yes, there is09:57
pittilifeless: don't use setuid(), use setresuid(uid, uid, -1)09:58
pittithen you can switch back to setresuid(0, 0, -1)09:58
pittibut of course that only provides protection against programmer errors09:58
pittia malicious program can also setresuid back to root09:58
pittiso in general it's better to fork and setuid() in the child09:59
lifelesspitti: ah, I mean irreversible setuid, keep the capability to chroot /only/09:59
pittilifeless: yes, that works, too09:59
lifelesspitti: the current does the better thing, but has this little flaw its not working09:59
cjwatsonhrw: That's the Debian signing key, so you were accidentally bootstrapping Debian09:59
lifelesspitti: so I'm looking for a workaround; keeping root is undesirable09:59
lifelesspitti: pointers on how to keep the capabilities ?10:00
pittilifeless: prctl(PR_SET_KEEPCAPS), setuid()10:00
pittilifeless: and the cap_set_proc() and drop all but CAP_SYS_CHROOT10:00
lifelessthanks; I presume I call a cap_set_proc to drop the caps after the chroot10:00
evlifeless: 30525 total problems (with the aforementioned 3.8 million instances)10:01
lifelessI'm thinking this will let me alter the order of calls10:01
pittilifeless: note that with prctl(PR_SET_KEEPCAPS) and setuid() the process still has effectively root privs10:01
lifelessev: cool; and the daily thing shows instances, not problems ?10:01
evthe website shows problems, not instances (until you click through on a crash signature)10:02
lifelessev: I meant the counts10:02
pittilifeless: and yes, you should drop CAP_SYS_CHROOT right after chrooting, otherwise you can easily escape out of the chroot10:02
evsomething is wrong with the numbers in the table10:02
evah yes10:02
evthe counts in the table (frequency) should show instances10:02
evbut they feel wrong at the moment - another thing I'll be looking into10:02
jk-looks like precise hasn't made it to http://changelogs.ubuntu.com/meta-release-lts yet, is that intentional?10:04
jk-(it's in /meta-release though)10:04
cjwatsonYes.10:04
cjwatsonIt won't until 12.04.1.10:04
cjwatsonIt's in http://changelogs.ubuntu.com/meta-release-lts-development so that do-release-upgrade -d works.10:05
jk-cjohnston: ok, thanks :)10:05
jk-sensible plan is sensible.10:08
lifelesspitti: lolol that works now chroot fails because of denied access to the fs; *that* I can do something about :)10:56
micahgcjwatson: are you planning on removing the archive enforcement for the xz deb dpkg pre-depends for quantal (or is it already done)?10:56
lifelesspitti: and this may explain the setgid/setuid failure - if the cwd isn't readable by the new group.10:56
lifelesspitti: however, that can wait for evil genius saturday10:58
lifelessafter sleeps10:58
lifelesspitti: thanks for the hand, much appreciated10:58
pittilifeless: hm, strange -- setuid() shouldn't care about cwd11:09
=== MacSlow is now known as MacSlow|lunch
tjaaltonjibel: hey, you marked 989525 as dupe of a closed bug, but that's wrong11:15
tjaaltonjibel: since the bug is not the error message of the dupe, but the fact that a package is installed and later dpkg claims it's not11:16
tjaaltonjibel: uh, sorry.. noticed your comment..11:21
tjaaltonjibel: ok so disregard everything I said :)11:22
cjwatsonmicahg: At some point yes11:27
=== yofel_ is now known as yofel
=== greyback is now known as greybacklunch
=== greybacklunch is now known as greyback|lunch
=== and`_ is now known as and`
cjwatsonmicahg: https://code.launchpad.net/~cjwatson/launchpad/remove-data-tar-xz-version-requirement/+merge/103859 FYI12:20
micahgcjwatson: shouldn't the check stay in place for pre-12.10 stuff? (I'm thinking backports here)12:21
cjwatsonNo12:22
cjwatsonWe don't generally bother since it's trivial to review and it's painful to make the check act that way in LP12:22
cjwatsonWe didn't bother for bzip212:22
cjwatsonAlso, backports don't matter much for lucid->precise upgrades12:23
micahgI was thinking backporting to lucid :)12:23
=== bilal_ is now known as bilal
cjwatsonDDTT, it'll fail12:23
cjwatsonthe check in archiveuploader wasn't for the benefit of people backporting without paying attention, it was solely to ensure sane upgrades12:23
cjwatsonyour backports tests should catch wrongness like that already without LP needing to help you12:24
=== wgrant_ is now known as wgrant
micahgok :)12:24
=== _salem is now known as salem_
=== jbernard` is now known as jbernard
=== dendro-afk is now known as dendrobates
=== MacSlow|lunch is now known as MacSlow
=== greyback|lunch is now known as greyback
hyperairweird. it looks like liferea's dbus stuff just screws up every now and then12:54
jdstrandpitti: hi! would you mind rejecting https://code.launchpad.net/~jtaylor/ubuntu/precise/dropbear/CVE-2012-0920/+merge/103739, https://code.launchpad.net/~jtaylor/ubuntu/oneiric/dropbear/CVE-2012-0920/+merge/103385 and https://code.launchpad.net/~jtaylor/ubuntu/lucid/dropbear/2012-0920/+merge/103384. they are security fixes against the release version, not security (I have uploaded the patches though)12:54
pittijdstrand: sure, done12:54
hyperairfirst the menu disappears from the unity panel and reappears on the liferea window, then it disappears from the messaging indicator...12:54
jdstrandpitti: thanks! :)12:55
Laneycjohnston: Hey, I've got some summit questions if you can help me… What does "Attend this meeting" do? Does it have the same effect on the scheduler as subscribing to the blueprint (what about Participation Essential)? And what is "Propose a meeting"? Is it now an additional step that needs doing after all of the LP blueprint stuff to get stuff on the schedule?13:00
cjohnstonLaney: attend is the same as subscribing to a bp except that if there is a bp you will not get the emails when the bp is changed13:05
cjohnstonI have to look at the code about the essential question.. I didn't write that part13:05
cjohnstonLaney: the blueprints still work the same way13:06
LaneyI'm not sure what effect that has on the scheduler to be honest, but if it does have some then ideally you could set that through summit too.13:06
cjohnstonif you follow the old.way of creating a bp for the meeting, you don't need to worry about proposing a meeting in summit13:07
cjohnstonproposing a meeting in summit would be instead of creating a bp13:07
Laneyah, another way of proposing meetings without needing a blueprint13:08
* Laney gets it now13:08
Laneythanks13:08
cjohnstonLaney:  the essential or something else.. I dont understand your comment13:08
Laneygo to subscribe to a blueprint and you will see a "Participation essential" checkbox13:08
Laneyit is my understanding that this has some influence on the scheduler vs. just normally subscribing13:09
LaneyI was suggesting that this should also be possible through the new summit UI13:09
cjohnstonLaney:  ok.. ya.. familiar with that, just wanted to make sure I had context.of the statement right13:14
cjohnstonty13:14
Laneynp13:15
cjohnstonLaney: I'm talking with mhall119  about it right now13:15
Laney:-)13:18
=== carif_ is now known as carif
ogra_dholbach, oh, btw i'll be in berlin over the weekend13:50
dholbachogra_, nice - when?13:52
ogra_well, tomorrow afternoon until ...13:52
ogra_open end :)13:52
dholbachawesome13:52
s1adenogra_: moving?  Or just until UDS?13:53
ogra_s1aden, just visiting a friend13:54
=== s1aden is now known as sladen
bjf@pilot out14:34
=== udevbot changed the topic of #ubuntu-devel to: Ubuntu 12.04 (Precise Pangolin) is released! | Dev' of Ubuntu (not support or app devel) | build failures -> http://bit.ly/HaWdtw | #ubuntu for support and general discussion for hardy -> precise | #ubuntu-app-devel for app development on Ubuntu http://wiki.ubuntu.com/UbuntuDevelopment | See #ubuntu-bugs for http://bit.ly/lv8soi | Patch Pilots: ev
tedgI'm getting an odd behavior when installing packages: http://paste.ubuntu.com/949899/14:40
tedgDoes anyone have a clue on what's going on there?14:40
seb128tedg, do you use i386 or amd64?14:42
seb128"/sbin/ldconfig.real: /lib/i386-linux-gnu/ is not a symbolic link" is weird14:42
seb128I blame infinity :p14:42
tedgseb128, I use amd64 but have a bunch of i386 packages (I'm not sure why)14:42
seb128tedg, multiarch?14:42
tedgGuessing I installed flash or something that pulled them in.14:42
seb128righ14:42
ogra_stop cross-grading to redhat !14:42
tedgYeah, but I imagine they don't come for fun ;-)14:42
seb128you can probably to uninstall them and see what it wants to remove14:42
seb128that's orthogonal to the warnings though14:43
ogra_but yeah, probably balme infinity, seb128 is right14:43
ogra_or doko :)14:43
seb128the fun factor is higher when you blame infinity though ;-)14:44
ogra_indeed :)14:44
happyaronjono: ping14:53
trijntjeHi all, can anybody tell me who is responsible for hosting the tracker for ubuntu torrents?15:30
cjwatsonCanonical.15:30
trijntjecjwatson: sorry for double posting. What I meant was if there is any team/person I could contact about using the ubuntu tracker for localized iso images15:35
cjwatsontrijntje: I suspect we might not be willing to do that.  That tracker is on very old hardware and has a hard time of it as it is.15:39
cjwatsontrijntje: But I guess you could ask #canonical-sysadmin on freenode.15:40
trijntjecjwatson: I'll ask there, thanks. I'm from a small country, so it shouldnt add too much extra load15:41
cjwatsonRight, but if we add one localised image then to be fair we have to be willing to add them all.15:42
cjwatsonAnd that's a lot, at least potentially.15:42
trijntjethats true, I'll just ask and see ;)15:45
=== dendrobates is now known as dendro-afk
=== sergio_ is now known as Guest83457
pelyaHi. I've made an app for Android, that will install and run Ubuntu without root privileges (that is, you can run it on a stock phone, without custom ROM or anything, it's similar to Wubi in this regard). It's achieved by using fakechroot, and of course it's buggy like hell. The mouse and keyboard are highly advised, but not required (Galaxy Note' stylus substitutes mouse quite well).  Here's the link: https://play.google.com/store/apps/details?id=com.cun16:03
pelyaI've tested it on Galaxy Note, and I've installed and launched Gimp using Synaptic (took several tries though), no promises that any other application will work.16:03
pelyaThere was a lot of fuss about Ubuntu on Android, and there's lot of text here: http://www.ubuntu.com/devices/android  it mostly advertises Ubuntu to cellphone manufacturers, but it misses one point - those guys are driven by money and business, and they are not interested in anything that does not show immediate profits (even if that's something as simple as rooting your device and unpacking tarfile). So, Ubuntu needs an app, a simple app that non-techie16:03
pelyaAlternatively, we may try to wrap some popular applications with no alternatives on Android, like Gimp or Libreoffice, into minimal fakechrooted Linux environment, however that stuff can only be installed into internal phone storage (not SD card), which is usually very limited, so 2-3 of them will eat all free space.16:03
pelyaSo, I've wanted to make announcement on the ubuntu-mobile mailing list, but there's no such mailing list and the link is broken on https://wiki.ubuntu.com/ContributeToUbuntu  So, where should I post that info, or this IRC channel is enough? I suppose I should open a bug on an Ubuntu brainstorm page.16:03
SpamapSpelya: perhaps ubuntu-devel-discuss mailing list would be better, IRC is not a great place to announce things16:12
=== vibhav is now known as quetzal
=== quetzal is now known as vibhav
pelyaI've created a ticket on brainstorm.ubuntu.com, so the idea won't get lost (I hope)16:35
=== ppetraki_ is now known as ppetraki
dobeybarry: ping17:39
barrydobey: pong17:40
dobeybarry: hey, how does one get things added to the python3 porting progress spreadsheet?17:41
slangasekas requirements?17:41
slangasekdid we miss some? :)17:41
dobeyyes. there are things we'll need for u1, which aren't on there17:41
slangasekfor parts of u1 that are going to be on the CD, though?17:42
barrydobey: just edit the doc!  it's shared publicly and anons can edit it17:42
slangasekI thought the main body of u1 isn't on the CD currently17:42
dobeyslangasek: yes, particularly for running the test suites, though not necessarily requirements for the runtime17:42
barrydobey: put those on the "good to have" sheet17:43
dobeyslangasek: only part of u1 not currently on CD is the qt dependant bits17:43
dobeybarry: well i don't see how we can port u1 itself without them :)17:43
barrydobey: that's where we're putting things that aren't strictly required for the cd but might be useful for other reasons (e.g. Suggests)17:43
slangasekdobey: ah, and that's documented on the spreadsheet, yes - not sure what I was thinking of, probably a different release :)17:45
dobeythough i suspect the big problem for us is goign to be twisted17:45
slangasekbarry, dobey: I think anything needed for the test suite needs to be treated as required; we don't want to be sacrificing testability in the process of python3 porting17:45
barrydobey: yep, twisted is something of a blocker.  i've been chatting with various folks in the twisted community.  we'll have to talk about how to get the parts of twisted we need ported in 4 months, at uds17:46
barryslangasek: agreed.  dobey feel free to put those testing requirements in the main pages.  maybe add a comment about what they're used for17:46
dobeybarry: yeah, i just added myself to the blueprint as participation essential :)17:46
dobeyok, will do17:46
barrydobey: +117:47
barrykenvandine: ping.  i wonder if you could provide some help with running the test suite for lp:gwibber18:59
kenvandinebarry, sure18:59
kenvandineyou need to run make check  from in the test subdir18:59
barrykenvandine: ah, thanks, let me try that19:00
kenvandinetests isn't in the SUBDIRS19:00
barrykenvandine: (i'm working on removing the dependency on mx.DateTime since it looks like mx won't be ported to py3 any time soon)19:00
kenvandinebarry, AWESOME!19:00
kenvandinei was worried about that19:00
barrykenvandine: yikes: ./test-runner: line 2: dbus-test-runner: command not found19:00
kenvandineah, you need dbus-test-running19:01
kenvandines/running/runner19:01
barrygotcha19:01
kenvandinebarry, i was planning to spend my spare time next week during the product sprint trying to run gwibber-service with py3 to see how much pain that would be19:03
kenvandineget a feeling for it before UDS19:03
kenvandinebarry, how are you feeling about it?19:03
barrykenvandine: awesome.  definitely ping me if you want any help.  right now i just want to get rid of mx :)19:03
barrykenvandine: freaking out a bit at the amount of work, but excited to be digging in :)19:04
barrykenvandine: do you know what package gtk.test comes in?19:04
kenvandineso it won't be "trivial" :-D19:04
barryImportError: No module named gtk.test19:04
barry 19:04
barry;)19:04
kenvandinehummm19:04
kenvandinemust be the gtk gir?19:04
kenvandineno... /me looks19:05
kenvandinebarry, where is that coming from?19:07
barrykenvandine: weird.  it came the first time i ran 'make check', but now it's not happening!19:09
kenvandinebarry, odd...19:09
kenvandine:)19:09
barrykenvandine: well, i guess we can pretend it never happend19:09
* kenvandine never saw a thing19:09
kenvandine:)19:09
barrykenvandine: :)  thanks.  let's see how far i get19:10
kenvandinebarry, the mx.DateTime stuff is actually covered in the tests, which should help19:12
barrykenvandine: phew :)19:13
kenvandinekeep the tests using mx.DateTime and change the service to see if it breaks the tests19:13
barrygreat idea19:14
* happyaron sabdfl 19:20
* happyaron sorry...19:20
sabdflnp19:20
ScottKWhere is the knob I turn to coax apport into sending bug reports and not just to the crash database?19:32
dobeyanyone know how to get -Wmaybe-uninitialized on gcc in precise? doesn't seem to exist there, but i have code failing to build on quantal because of it, so it makes it hard to fix :-/19:56
slangasekScottK: apparently the answer is to delete line 23 of /etc/apport/crashdb.conf :/20:00
ScottKslangasek: Thanks.20:00
slangasekdobey: are you looking for -Wuninitialized?20:01
dobeyslangasek: no, there seems to be a maybe-uninitialized in the new gcc now20:02
slangasekwhich "new" gcc?20:02
slangasekgcc-4.7?20:02
dobeyyeah20:02
slangasekok20:03
slangasekwell, I expect the answer is you can't (sanely) get it on precise, and would need to set up a quantal chroot for debugging20:03
dobeyso it would seem :-/20:04
ScottKThat did it.  Thanks.20:04
slangasekdobey: really though, if you're trying to debug build failures on quantal, you should use a quantal chroot *anyway*, since there could be any number of other latent issues20:05
slangaseki.e. issues not related to the compiler20:06
slangasekkees: what do you think of resolvconf running chattr -i automatically on upgrade and popping a debconf prompt to let the admin know? (bug #989585)20:23
ubottuLaunchpad bug 989585 in resolvconf (Ubuntu) "resolvconf failed to install/upgrade because /etc/resolv.conf immutable" [Undecided,Triaged] https://launchpad.net/bugs/98958520:23
keesslangasek: that'd be fine, IMO.20:24
keesslangasek: I would have welcomed it in my situation20:25
* slangasek nods20:25
slangasekwe've effectively already said that you don't get to keep it immutable, so the admin doesn't actually have a choice20:25
slangasekso no sense in making them do it manually when we can do it automatically20:25
macoi'll need to remember that one20:26
slangasekmaco: ?20:26
macoi am a big fan of chattr +i as a hack to work around daemons stomping on my config20:26
macoi'm sure ive used it on resolv.conf before20:26
slangasekah20:27
slangasekyeah, /etc/resolv.conf is officially no longer Your Config™. :)20:27
NafalloO_o20:31
bdmurrayslangasek: I think the only thing to do with bug 989040 is mark it invalid20:32
ubottuLaunchpad bug 989040 in freetype (Ubuntu) "package libfreetype6 2.4.8-1ubuntu2 failed to install/upgrade: subprocess dpkg-deb --control returned error exit status 2" [Undecided,New] https://launchpad.net/bugs/98904020:32
bdmurrayslangasek: and then block those in apport20:32
hyperairwell this sucks. gnome-sushi's scrolling is broken in precise, probably because clutter can't handle xi220:37
barrykenvandine: well, mx.DateTime definitely has more powerful time string parsers.  it's a bit hard for me to tell what the expected input formats are, but i think it's ISO 8601 from FB, right?20:43
barrykenvandine: gwibber/util/__init__.py's parsetime() is more difficult to decipher.20:43
dobeybarry: does it really make any sense to differentiate between binary and source packages on the python 3 spreadsheet?20:44
barrykenvandine: oh, and naive timestamps, utc?  i think local/naive, but FB's API makes me think maybe us/pacific timezones20:44
barrydobey: mostly, that's for convenience so you don't have to figure out what to download to hack20:45
dobeybarry: i mean, shouldn't it only list the source packages? it seems silly to me to list the same things over and over N times, particularly for sources which create numerous binary packages20:45
kenvandinebarry, i think we store all the timestamps as utc20:48
dobeybarry: the library/application split can also be a bit confusing for some of these packages20:48
kenvandinebut i vaguely recall not all of the services gave us utc so we do the conversion20:48
dobeybut perhaps that just exposes problems in the binary packaging that need to be fixed as well20:48
kenvandinei think facebook might give us the logged in users current time with timezone20:49
kenvandinebarry, i think parsetime was to convert the timestamp without the local locale20:51
barrydobey: probably should just list source packages, but the initial search yielded binary packages so that kind of got exposed through the tools that created the initial spreadsheet20:51
barrykenvandine: so let me ask it a different way.  are all these semantics tested? :)20:51
kenvandineyes :)20:52
barrykenvandine: excellent!  i'm less worried about screwing it up then :)20:52
barrykenvandine: thanks20:52
barrybrb20:52
kenvandinewell, the test suite doesn't take into account all the possible variations of time strings we might get from the service, it just uses the sample data20:53
e11bitsI would like to modify an existing package and make it available to the public as a variant of the original package. Are there some recipes on how to change package naming, versioning, control files to do so? I'm sure I'm not the first one in doing something like this.20:56
dobeylol, there's a screenshot for pyflakes in the software center20:56
dobeye11bits: the personal package archives page on launchpad help has info about how to do it with launchpad PPAs20:57
e11bitsdobey: thanks. I will have a look and already threaten to come back with more questions (or if you name a channel that is more suited for things like this)20:59
dobeybarry: how does one package an application such as pep8 for both python3 and python 2.x exactly?21:00
tumbleweeddobey: you usually end up doing a pep8 and pep8321:00
tumbleweedwell, pep8-3 would probably be better21:00
tumbleweede11bits: #ubuntu-packaging21:01
dobeyick21:01
e11bitstumbleweed: Ah, great! Thanks!21:01
tumbleweedunless it has a shebang, you can't tell what version of python a .py file is targetting21:01
dobeytumbleweed: what if it targets both?21:02
tumbleweedthen run both pep8s on it :)21:03
tumbleweedpep8 is probably something that wouldn't need a separate version for python3, though21:04
tumbleweedpyflakes would21:04
dobeywell pep8 apparently does21:05
dobeytry "python3 pep8 /usr/bin/pep8" for a fun error21:05
dobeyyay eggs21:05
tumbleweeddobey: I mean, the level of analylis it does on python source would probably allow one version to work on both. I wasn't saying I expected it to run on python321:06
dobeytumbleweed: or i guess it would just include the python3 one in the package as well?21:06
dobeytumbleweed: oh, does it not actually import files to analyze them?21:08
tumbleweednope, it parses them with piles of regexes21:08
dobeyok, well my original question with s/pep8/pyflakes/ then? :)21:09
tumbleweedso we'd probably do a separate pyflakes3 binary package21:10
tumbleweed(depending on how upstream supported python3, it could be a new source package, too. some upstreams are only supporting python3 throguh separate py3-only forks)21:11
barrydobey, tumbleweed, kenvandine sorry, i was afk.  i agree w/tumbleweed21:27
=== dendro-afk is now known as dendrobates
slangasekbdmurray: 989040> ack22:07
=== salem_ is now known as _salem
Amozbkerensa, you're in the live hangout, right?22:16
bkerensaAmoz: yes22:17
bkerensaAmoz: do you have a question?22:17
Amozbkerensa, Wayland!22:17
bkerensaAmoz: What about?22:17
Amozplease say something about Wayland =)22:17
Amozprogress, etc.22:17
Amozis it going into 12.10?22:17
slangasekjono: rc622:18
slangasek;)22:18
Amozbkerensa, ^ something about the status of it, is it usable yet? etc :)22:19
bkerensaAmoz: there :)22:21
Amozbkerensa, aah too bad22:21
Amozjono, one of the options? please tell me more!22:23
ScottKThis really isn't the IRC channel for discussing a live hangout someone is having.22:25
AmozScottK, sorry, would you mind guiding me where I can get in touch with them? :)22:26
ScottKNo idea, but this channel is for discussion of development of Ubuntu.22:26
stgraberAmoz: /query jcastro, /query bkerensa, /query akgraner or /query jono come to mind22:27
Amozstgraber, thank you :)22:27
bkerensaAmoz: you could join #Ubuntu-community-team and ask any questions there22:28
bkerensa:)22:28
AmozI wasn't aware it was so important to keep it clean in here :(22:28
akgranerAmoz, just gave you the link to watch the stream22:28
akgranerand please join the channel bkerensa posted to ask questions - it's ok - this is all new to us as well :-)22:29
=== dendrobates is now known as dendro-afk
=== nenolod_ is now known as nenolod

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