/srv/irclogs.ubuntu.com/2014/06/06/#ubuntu-devel.txt

TheMuso@pilt in00:01
udevbotError: "pilt" is not a valid command.00:01
TheMuso@pilot in00:01
=== udevbot changed the topic of #ubuntu-devel to: Archive: open | Devel of Ubuntu (not support or app devel) | build failures -> http://qa.ubuntuwire.com/ftbfs/ | #ubuntu for support and discussion of lucid -> trusty | #ubuntu-app-devel for app development on Ubuntu http://wiki.ubuntu.com/UbuntuDevelopment | See #ubuntu-bugs for http://bit.ly/lv8soi | Patch Pilots: TheMuso
mwhudsonis there a guide somewhere for "how to build an ubuntu kernel with this extra patch i want to test"?00:39
infinitymwhudson: Apply patch, build package.00:39
* mwhudson finds that the link to https://wiki.ubuntu.com/Kernel/BuildYourOwnKernel was purple already00:39
mwhudsoninfinity: so easy00:40
infinitymwhudson: If you want a different version number and don't want to futz with ABI check ignore stuff, just change the top version in debian.master/changelog and debian/changelog instead of adding a new entry, and voila.00:40
mwhudsoni guess i need to find out if the patch set i care about applies to 3.1300:40
mwhudsonunless utopic has a newer kernel already i supose00:41
infinitymwhudson: utopic is 3.1500:41
mwhudsonoh shiny00:41
infinityWay to keep up. ;)00:41
mwhudsonis 3.16 out yet?00:42
infinity3.15 isn't out yet...00:42
mwhudsonhaha00:42
mwhudsonok00:42
mwhudsonbut it's well into rcs?00:42
infinityYeah, rc8.00:42
mwhudsonhm i wonder if it has the patch i want already00:43
mwhudson(psci support in kvm)00:43
infinityDo you have the commit?00:43
mwhudsonnot to hand no00:43
mwhudsonlast i heard it was in kvm-next00:43
mwhudsonit was queued on apr 30 http://www.spinics.net/lists/kvm-arm/msg09229.html00:48
mwhudsonbut doesn't seem to be in linus' tree yet00:48
mwhudsoni guess it's waiting for 3.1600:48
mwhudsongruh, patch series doesn't apply01:06
mwhudson(to linus tip even)01:06
mwhudsoni hope i don't have to understand this!01:06
mwhudsonwoop i have some hacked up kernel debs of my very own02:35
TheMusoIf any SRU reviewers are around, mind having a look at bug 1308771, and its lack of a specific test case, given a language specific bug, and the difficulty in possibly finding someone to test the fix who knows the language in question?02:36
ubottubug 1308771 in openoffice.org-hyphenation (Ubuntu) "Update Swedish spellcheck and hyphenation dictionaries" [Medium,In progress] https://launchpad.net/bugs/130877102:36
TheMusoI guess my question is would you let that fix through?02:38
=== plars-away is now known as plars
TheMuso@pilot out03:59
=== udevbot changed the topic of #ubuntu-devel to: Archive: open | Devel of Ubuntu (not support or app devel) | build failures -> http://qa.ubuntuwire.com/ftbfs/ | #ubuntu for support and discussion of lucid -> trusty | #ubuntu-app-devel for app development on Ubuntu http://wiki.ubuntu.com/UbuntuDevelopment | See #ubuntu-bugs for http://bit.ly/lv8soi | Patch Pilots:
=== Nigel_ is now known as G
=== halfie_ is now known as halfie
=== klubko is now known as katka
jamespage@pilot in07:59
=== udevbot changed the topic of #ubuntu-devel to: Archive: open | Devel of Ubuntu (not support or app devel) | build failures -> http://qa.ubuntuwire.com/ftbfs/ | #ubuntu for support and discussion of lucid -> trusty | #ubuntu-app-devel for app development on Ubuntu http://wiki.ubuntu.com/UbuntuDevelopment | See #ubuntu-bugs for http://bit.ly/lv8soi | Patch Pilots: jamespage
=== mvo__ is now known as mvo
=== pete-woods is now known as pete-woods-away
jamespagecjwatson, infinity: please could one of you take a look at the debdiff on https://bugs.launchpad.net/ubuntu/+source/finish-install/+bug/132032709:25
ubottuUbuntu bug 1320327 in finish-install (Ubuntu Trusty) "configure getty properly on serial consoles using hardware flow control" [High,In progress]09:25
jamespageit looks reasonable to me - but wanted someone with better knowledge of this package to review before I sponsor09:25
=== doko_ is now known as doko
rbasakIn a shell script wrapper, I need to get from the line: "$@" to the equivalent line inside: su -c '...' ...09:35
rbasakie. shell quote the whole "$@" into a single thing that the shell will then interpret as normal, if that makes sense.09:35
rbasakIs there a standard way to do this?09:35
cjwatsonjamespage: looking09:40
cjwatsonrbasak: I'm sure it is possible but su's interface is dreadful for this.  Is there any way you can use a different tool that doesn't require requoting?09:40
cjwatsonrbasak: (and doesn't involve creating a new PAM session, etc.)09:41
cjwatsonrbasak: if you're just trying to switch from root to some other user in a maintainer script or something, then there's a pattern in man-db.postinst that you could use09:41
cjwatsonjamespage: looks fine, matches the fix that went upstream09:42
jamespagecjwatson, indeed - thanks for the second pair of eyes!09:43
rbasakcjwatson: thanks. Are you referring to the Perl invocation in run_mandb? I can use that I think. I'm in a dep8 test, and I need to switch from root to another user, set a new HOME but maintain PWD and call another script that runs as a normal user.09:44
rbasakOn a second look, I'm not sure I see the bit in man-db.postinst you mean09:45
xnoxrbasak: is this not appropriate "HOME=/bar sudo -E -u user cmd --cmd-args" ? no quoting for target command, can change env variables, and preserves PWD, doesn't do login shell.09:49
cjwatsonrbasak: The perl invocation, yes.09:49
cjwatsonThat's simpler than sudo.09:50
cjwatsonAnd fewer things can go wrong.09:50
rbasakRe-reading the Perl guessing what $(, $), $< and $> might mean I understand it now - thanks.09:51
cjwatsonI do wish we had something in coreutils or util-linux or something that *just* did user-switching (and maybe group-switching) without any of the other gubbins, for use as a primitive operation.09:51
rbasakIs there anything that won't be switched, but might be in a login shell that hit PAM?09:51
rbasakI want to test juju as a normal user here, but need the test to run as root for some setup. I'm just concerned that I'm testing exactly what a local user would get.09:52
rbasakSo I was going for a login shell that then called juju, but having to change PWD made it awkward.09:52
rbasak(because PWD is where the dep8 test resources are)09:53
cjwatson09:56
xnoxreading perlvar manpage, that perl invocation is very nice. =) would be less cryptic, if expanded var names would be used e.g. $REAL_USER_ID instead of $<. I guess I didn't do any amount of perl to learn about those vars to date.09:56
rbasakxnox: I think there's a "use English;" thing (or something like that). But it's been many years since I touched Perl09:57
rbasakIt would make the whole snippet quite a bit longer though09:57
xnoxrbasak: as per spec, you also have $ADT_TMP which should be used. So you can e.g. change directory to $ADT_TMP and set $HOME to that location as well and run anything you like.09:58
rbasakYeah I'd have to do some refactoring though.09:58
rbasakWhat I have are a couple of different wrappers, and multiple test definitions. Some use the wrappers, and some don't.09:59
rbasakSo the wrappers need to find the original test files currently, and AFAICS the only way to know the location of those are with the PWD.09:59
xnox"use English;" -> reminds me of Pulp Fiction "do you speak it"10:00
rbasakSo the thing that is called on the "other side" needs to be handed the directory somehow. If it's one of my tests directly, then I'll need to refactor the test to pick it up from a different environment env or something10:00
rbasakOr some kind of "sh -c 'cd /... && ...'" type thing, and that's when the quoting starts getting horrible.10:02
rbasakI've ended up doing:10:40
rbasaksudo -iu jujutest sh <<EOT10:40
rbasakcd "$PWD"10:40
rbasak$@10:40
rbasakEOT10:40
rbasakThis gives me the login shell I wanted. It doesn't quote $@ properly I don't think, but in my case I don't think I need it.10:41
jamespage@pilot out10:44
=== udevbot changed the topic of #ubuntu-devel to: Archive: open | Devel of Ubuntu (not support or app devel) | build failures -> http://qa.ubuntuwire.com/ftbfs/ | #ubuntu for support and discussion of lucid -> trusty | #ubuntu-app-devel for app development on Ubuntu http://wiki.ubuntu.com/UbuntuDevelopment | See #ubuntu-bugs for http://bit.ly/lv8soi | Patch Pilots:
cjwatsondoko: Mind if I sync perl?  It has a different fix for https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=746890 than the one you applied, but apparently one preferred by upstream11:10
ubottuDebian bug 746890 in src:perl "perl: ftbfs with GCC-4.9" [Important,Fixed]11:10
dokocjwatson, sure11:10
cjwatsonthanks11:10
=== MacSlow is now known as MacSlow|lunch
mdeslaur@pilot in11:39
=== udevbot changed the topic of #ubuntu-devel to: Archive: open | Devel of Ubuntu (not support or app devel) | build failures -> http://qa.ubuntuwire.com/ftbfs/ | #ubuntu for support and discussion of lucid -> trusty | #ubuntu-app-devel for app development on Ubuntu http://wiki.ubuntu.com/UbuntuDevelopment | See #ubuntu-bugs for http://bit.ly/lv8soi | Patch Pilots: mdeslaur
=== MacSlow is now known as MacSlow|lunch
rbasakmdeslaur: hi! While you're piloting, I noticed bug 1189939 in my bugmail this morning that I think needs another look, and noticed you sponsored it last time. Would you mind? Else I'm fine to look at it - I flagged it in my mail already.11:59
ubottubug 1189939 in libjpeg-turbo (Ubuntu Precise) "Initialization leaks file descriptors to /prox/self/auxv" [High,Fix committed] https://launchpad.net/bugs/118993911:59
mdeslaurrbasak: sure, I'll handle it, thanks12:00
rbasakThanks!12:00
nectarysHow do I get the Skype status icon on the main bar of ubuntu?12:26
=== pete-woods-away is now known as pete-woods
=== _salem is now known as salem_
=== MacSlow|lunch is now known as MacSlow
Chipacanectarys: I think you want to ask in #ubuntu; this channel is more for app devs12:51
Chipacasorry, i meant for ubuntu dev questions12:52
GunnarHjrbasak: Hi Robie12:58
rbasakGunnarHj: pong. Sorry I haven't had a chance to look yet - I did see that you updated the bug.13:02
GunnarHjrbasak: Ok, I just wanted to make sure that you saw it. Please take your time.13:03
=== ara is now known as Guest42533
caribouQ: with a list of packages & versions, which would be the most effective (and network inexpensive) way to confirm that all those package/version tuple are on official archives ?14:00
cariboufor a given release14:00
caribouI mean, I could do apt-cache on the package & compare versions, but there might be a more cost effective way of doing this14:01
cariboumy goal is to identify packages that would not be part of our official archives14:01
cjwatsonrmadison14:02
cjwatsonor "apt-cache policy" to check the candidate URL14:03
cariboucjwatson: I'm talking about a list of more then 1000 packages, so rmadison on each one of them would be radical14:04
cariboumaybe there is no way of doing it without querying the remote archive14:04
cariboujust for a bit of context, I'm investigating a problem on a system & just found out that one of the libraries doesn't come from one of our archives14:05
cjwatsonwell I gave two answers so you could try the other one :)14:05
cjwatson(also fwiw rmadison can take multiple packages in one go)14:05
cjwatson(you'd have to write a script to correlate/compare the output though)14:06
cjwatsonapt-cache policy is probably better though in that it will introduce less confusion with out-of-date packages and the like14:07
cariboucjwatson: ok, I'll check that one out14:07
cariboucjwatson: thanks14:07
rbasakcaribou: I would download the packages files and process them with grep-dctrl, sort, uniq, comm, etc.14:08
caribourbasak: I had that in mind too; my problem will be to deal with various versions of the same package14:09
rbasakHmm.14:09
rbasakMaybe apt-cache policy like Colin says then? chdist is useful to do that on multiple releases at once.14:10
rbasakAnd some xargs-fu to speed it up.14:10
rbasakI'm wondered about some tooling around this kind of task before. Two jobs ago I had a Postgres db with a debian version number comparison function I wrote14:11
caribourbasak: hmm, chdist is interesting14:11
rbasakThen SQL provides a more powerful query language to that.14:11
cjwatsontbl-dctrl + join is worth considering too, by way of poor man's SQL14:12
caribourbasak: my idea is to have some tools to process the output of sosreport & identify potential problems14:13
caribourbasak: that's the big picture14:13
rbasakOooh. I didn't know about tbl-dctrl. Thanks!14:16
mvocaribou: python-apt should be up for the task as well, it sounds pretty straightforward (sorry for being a bit late to the reply-party :)14:22
cariboumvo: that would be even better !14:22
mvocaribou: so you have a given release (say trusty) and want to feed it a list of (pkgname, ver) and see if that is a version that is in the archive?14:24
cariboumvo: exactly14:24
cariboumvo: but the ver value may not be the latest version available in the archive, but one that was officially published14:25
cjwatsonxnox: Could you merge emacs24, please?  It needs to be rebuilt for libgnutls-deb0-28 anyway, I have somewhat limited internet here so it'd be nice to avoid downloading its .orig.tar.bz2, and I see that the latest Debian upload fixes several security issues14:26
cjwatsonxnox: (I've uploaded all the rest of the libgnutls-deb0-28 transition BTW; guess we'll see whether it all builds)14:43
mvocaribou: http://paste.ubuntu.com/7602161/ - a very quick sketch what I have in mind, run: "printf '2vcard 0.5-3\napt 1.0'" | python checker.py" for a quick demo you certainly want to improve plus the fallback to changelogs.u.c14:44
cariboumvo: thank you so much! that will get me started !14:47
mvocaribou: your welcome, let me know in what way you get the data and I can look at the changelogs.u.c stuff too14:55
mdeslaur@pilot out15:36
=== udevbot changed the topic of #ubuntu-devel to: Archive: open | Devel of Ubuntu (not support or app devel) | build failures -> http://qa.ubuntuwire.com/ftbfs/ | #ubuntu for support and discussion of lucid -> trusty | #ubuntu-app-devel for app development on Ubuntu http://wiki.ubuntu.com/UbuntuDevelopment | See #ubuntu-bugs for http://bit.ly/lv8soi | Patch Pilots:
=== salem_ is now known as _salem
rbasakinfinity, jamespage: so I uploaded juju-core 1.18.4, which FTBFS on powerpc. But it hasn't changed much since Trusty in theory, and I can't reproduce on our porters.17:01
rbasakAny hints?17:01
rbasakCould this be a toolchain regression of some sort?17:01
rbasakhttps://launchpad.net/ubuntu/+source/juju-core/1.18.4-0ubuntu1/+build/607690817:01
rbasakI have retried once.17:01
rbasakI guess I'll worry about it on Monday17:03
* rbasak EODs17:03
infinityrbasak: You can't reproduce on an up-to-date porter chroot?  That's a bit suspect.17:03
infinityrbasak: That might point to gccgo doing something POWER7-specific that sulfur can't deal with.17:03
* infinity gives it a retry on sagari to see.17:03
rbasakThanks17:04
rbasakOh one catch. I didn't think to dist-upgrade the porter.17:04
* rbasak does that now17:04
rbasakIt succeeded on the porter again. I didn't see the dist-upgrade pull in anything relevant anyway. Some perl and python.17:07
rbasakFailed on sagari17:07
=== _salem is now known as salem_
=== salem_ is now known as _salem
=== _salem is now known as salem_
=== roadmr is now known as roadmr_afk
=== dpm_ is now known as dpm-afk
=== roadmr_afk is now known as roadmr
=== salem_ is now known as _salem
=== _salem is now known as salem_
=== josepht_ is now known as josepht
=== roadmr is now known as roadmr_afk
=== hmatlock is now known as heath
=== ken_ is now known as kenvandine
=== funkyHat_ is now known as funkyHat
=== roadmr_afk is now known as roadmr
rcjWhen marking verification as failed for an SRU and pushing a new change for sponsorship, do I need to rev the version or can it stay the same?21:08
ScottK rcj: if it was in proposed you need to bump the version.21:11
rcjScottK, thanks, that's exactly what I needed to know.21:12
=== kentb is now known as kentb-out
=== salem_ is now known as _salem
=== _salem is now known as salem_
=== salem_ is now known as _salem
=== bluesabre_ is now known as bluesabre
=== beisner is now known as beisner-weekend

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