/srv/irclogs.ubuntu.com/2015/03/19/#ubuntu-devel.txt

smoserslangasek, so tonight i ask for review of the bug 1432829 fix (that i incorrectly asked about last night)00:17
ubottubug 1432829 in systemd (Ubuntu) "resolvconf not updated correctly for interfaces configured in initramfs" [High,Confirmed] https://launchpad.net/bugs/143282900:17
smoserattached to bug .00:17
smoserxnox, your thoguhts woudl be appreciated there too00:18
=== anthonyf is now known as Guest55250
=== salem_ is now known as _salem
=== kickinz1|afk is now known as kickinz1
dholbachgood morning08:18
LocutusOfBorg1ginggs, hi, can I release your "conflicts" virtualbox patch under MIT license?08:25
=== kickinz1 is now known as kickinz1|afk
=== timchen1` is now known as timchen119
=== kickinz1|afk is now known as kickinz1
=== dholbach_ is now known as dholbach
ginggsLocutusOfBorg: hi, it's not much of a patch, it was merely a suggestion. :)  I haven't checked that those are the only conflicts required.09:00
flexiondotorgmlankhorst, Did you create a new xorg-server build? Just testing the isos again and added the x-staging PPA. But I have ~ppa2. Thought a ~ppa3 was in the works?10:15
seb128flexiondotorg, he just uploaded the fix to vivid10:15
flexiondotorgseb128, Thanks. mlankhorst Excellent :D10:16
flexiondotorgseb128, mlankhorst I'll wait for that to propagate and test later.10:17
rbasakhallyn: I'm thinking something like this: http://paste.ubuntu.com/10626570/10:20
rbasakDoes everything that needs /lib/init/apparmor-profile-load correctly depend on init-system-helpers already?10:21
rbasak(I've not tested these patches)10:21
rbasakjodh, tyhicks: ^^10:21
rbasakThe [ -x /sbin/apparmor_parser ] is now redundant, but I've left it there so the move is simpler to follow (rather than change the file while it's being moved)10:23
zygahmm, how do I get a .source.changes file with sbuild? I've tried all weird combinations of -s --debuilt-opt=...10:23
rbasakzyga: I use -S and just get one.10:23
zygaI want to backport a package from vivid to trusty and I want to upload .source.chanegs to a ppa10:23
zygarbasak: sbuild -S ?10:23
rbasakYep10:23
zygarbasak: er, no10:24
zygarbasak: no such option10:24
zygarbasak: *sbuild*10:24
rbasakOh, I'm sorry.10:24
zygarbasak: not dpkg-buildpackage10:24
rbasakI just sbuild on the .dsc with no special parameters, after -S to buildpackage.10:24
zygarbasak: I'm on vivid and I suspect that the source package should be built with the trusty chroot10:24
rbasakOh10:24
rbasakHold on.10:24
zyga(maybe I'm wrong)10:24
rbasakI get the source changes with dpkg-buildpackage -S10:24
rbasakNo need to run sbuild at all.10:25
zygabut that still runs debian/clean, right?10:25
rbasakIt's a source-only upload after all.10:25
zygaon the host10:25
rbasakIt does, yes. Which is annoying because I don't usually have build deps installed.10:25
zygaand that may need build-deps10:25
rbasakSo I use -nc10:25
zygarbasak: you are right but I want to understand how to do it correctly10:25
rbasak(and make sure the tree is clean, and check with debdiff afterwards to be sure)10:25
* zyga tries10:25
rbasakI'd love to know if there's a better way.10:26
rbasak(I don't want to see -nc deprecated for this reason)10:26
rbasakI never have build deps installed on the machines I develop on. I do all builds inside schroot at a minimum.10:26
zygahmm, I didn't see .orig.tar.gz uploaded, I should have added -sa, right?10:26
rbasakYes, if needed.10:26
zygawhen is it needed?10:26
rbasakIf the archive or PPA already has it, no need.10:26
zygathe tarball is in vivid10:26
zygaah, ok10:27
* zyga waits to see 10:27
rbasakI'm not sure about vivid -> trusty ppa backport.10:27
rbasakThough I think you still won't need it.10:27
cjwatsonWho's talking about deprecating -nc?  It's a perfectly reasonable and useful option, especially in scripted contexts.10:27
rbasakThere's a warning about it when I run it sometimes.10:27
cjwatsonEh, it's warned forever10:27
rbasakA deprecation warning.10:27
rbasakOh, it's not about -nc directly.10:28
cjwatsonDo you mean "building a source package without cleaning up as you asked; it might contain undesired files"?10:28
rbasakdpkg-buildpackage: warning: build dependencies/conflicts unsatisfied; aborting10:28
rbasakdpkg-buildpackage: warning: (Use -d flag to override.)10:28
rbasakdpkg-buildpackage: warning: this is currently a non-fatal warning with -S, but will probably become fatal in the future10:28
cjwatsonOh right, that's entirely different10:29
rbasakYeah sorry, I recalled it wrong.10:29
cjwatsonAnyway, if you've just edited a package, not done anything special in its tree, and aren't relying on any clever autogeneration stuff, then "debuild -d -S -nc" is perfectly reasonable10:29
rbasakThanks. I had just never used -d.10:30
rbasakAny thoughts on making scripts supplied in debian/ executable in the tarball vs. marking it executable via debian/rules?10:31
rbasakupstart's apparmor-profile-load did the latter.10:32
rbasakI think I prefer the former.10:32
zygarbasak: it worked, package built fine10:32
* zyga puts piglit trusty + vivid packages into a test ppa10:32
rbasakzyga: \o/ sorry for my confusion10:32
zygarbasak: thanks for the help!10:33
rbasakIt "just happens" so I never really thought about the details!10:33
didrocksflexiondotorg: FYI, xorg fixed some kvm issues making autopkgtests failing FYI, so I guess you should be good with the version in the archive (still only in -proposed now)10:35
infinityrbasak: Executable bits in debian/ are dependant on source package format.  For v3 packages or native packages, because it's a tarball member, you can rely on it just working, for v1 non-native, you need to do it in rules, since debian/* is a diff, not a tarball, and you can't express file metadata in diffs.10:56
rbasakAha. That makes sense. Thanks!10:56
infinityrbasak: People who flip-flop between source formats a bit tend to just always do it in rules to prevent being bitten.10:56
rbasakupstart is 1.0 non-native, so it would make sense why it was being done there.10:57
zygahmm, how can I teach my sbuild the key needed to access a ppa (I'm using --extra-repository)? ideally I'd like to do that on a per-build basis as I don't want to have many chroots10:58
zygathere's the --chroot-setup-commands option10:59
zygabut I'm not sure what apt-key magic to use to add a ppa-specific key10:59
rbasakapt-key add /path/to/key.pub11:00
zygarbasak: oh that's just too easy, thanks11:00
rbasakThere might be a better way with these new-fangled sbuild options though.11:00
zygaI always use add-apt-repository but it has way too many dependencies to use here, I think11:00
zygarbasak: yeah, I looked but nothing popped up11:01
zygathe --extra-repository option is awesome enough though11:01
infinityzyga: Either use apt-key, or just configure the PPA with something like add-apt-repository on another system/chroot, let it do the hard work, and then copy the /etc/apt/trusted.gpg.d/ppa-name.gpg in.11:01
infinityIt does seem like extra-repository could use an extra-repository-keyring option to go with it, though.11:02
zygayeah, I totally agree11:02
zygaso looking at this key (reached from the ppa, page) I just copy that somewhere and use apt-key add11:02
zygahttp://keyserver.ubuntu.com:11371/pks/lookup?op=get&search=0x3DF628E6E62E6AAB11:02
* zyga tries11:04
* zyga needs a bind mount for the key perhaps11:04
zygaor a better command to get the key11:04
zygainside the chroot11:04
zygaheh11:05
zygaironically this image is the best way I found so far https://launchpad.net/+help-soyuz/images/add-apt-repo2.png11:05
zygaand there's no text version11:05
zygaand that's ... warty?11:05
zygawow time flies11:05
rbasakwarty? Did gwibber exist then?11:07
zygathe theme looks from that age though11:08
zygasbuild -d trusty  --extra-repository='deb http://ppa.launchpad.net/zkrynicki/piglit/ubuntu trusty main' --chroot-setup-command='gpg --no-default-keyring --secret-keyring /etc/apt/secring.gpg --trustdb-name /etc/apt/trustdb.gpg --keyring /etc/apt/trusted.gpg --keyserver keyserver.ubuntu.com --recv EECD2FED2EB41383F931DEF63DF628E6E62E6AAB'11:08
zygathat's the magic that works without anything extra added11:08
* zyga wants someone to make a new sbuild from scratch, that's EASY and has great defaults11:08
zygathat's not just for debian core developers but also for people like me that have different workflows11:09
rbasakIt would be nice to just have a --ppa option11:10
zygayep11:11
* zyga builds piglit :-)11:11
infinityzyga: I don't think a new sbuild is needed, but a simple wrapper for people with more limited usecases wouldn't be too hard.11:14
infinityzyga: One just needs to define what those limited usecases *are*.11:14
infinityzyga: I still think what we need for occasional Ubuntu/Debian devs (people doing one-off test builds, whatever) is a simple "build-it-like-a-buildd-would package.dsc"11:15
infinityzyga: Which would be a wrapper around grabbing a chroot tarball and calling sbuild in a buildd-compatible sort of way.11:15
zygainfinity: I think that was tried a number of times. I think the problem with wrappers is that they don't fix design problems have ways around things like ~/.sbuilrc breaking whatever the wrapper may want to do. There are ways around that but I think wrappers are never as good as a great solution.11:17
zygainfinity: the amount of tinkering from defaults to get a working trusty sbuild is an example11:17
zygainfinity: add sbuild profile11:18
zygainfinity: add eatmydata11:18
zygainfinity: do the bind mount to avoid downloads11:18
infinityLots of that isn't required...11:18
zygainfinity: (and it's still not going to work offline really)11:18
zygainfinity: well, it's an opinion11:18
zygainfinity: (do more more more things for a feeder achive)11:18
zygainfinity: I think they are because without them packaging is a pain to do11:18
infinitySure, there are lots of options.  But lots of options are orthogonal to wanting a thing that's easy to use.11:18
zygainfinity: all of that should be default11:18
zygainfinity: then lintian, piuparts (which never worked for me no matter what I tried, adt)11:19
zygainfinity: I agree it depends on what you want to do11:19
zygainfinity: but the case that sbuild has lousy defaults for 2015 is a good one, I think11:19
=== dholbach_ is now known as dholbach
zygainfinity: it's like motif was cool and there were themes to make it look nice11:20
zygainfinity: but no amount of themeing will make it like modern OS11:20
zygainfinity: I tried to do a wrapper for myself a number of times but it always failed on something (and I learned a new thing at the same time)11:20
zygainfinity: there's just a lot of complexity there11:21
zygainfinity: but also old designs and stuff people cannot reuse now (shell, perl) for writing a better tool11:21
infinityzyga: I question the assertion that people can't use shell and perl. :P11:22
zygainfinity: for new quality tools?11:22
infinityYes.11:22
zygameh11:22
zygaI disagree11:22
zygaperl is an ecosystem going under and shell is just useless for programming11:23
infinityDisagree all you want, but language doesn't determine the quality of the output, the programmer does.11:23
zygaunless it's running options with --sbuild11:23
zygainfinity: sure11:23
zygainfinity: but ecosystems matter11:23
infinityAnd each tool in its place.  shell isn't for highly complex tasks, but it works for smaller things.11:23
zygainfinity: doing a new tool in perl today indicates that someone is out of touch with reality11:23
zygainfinity: I agree on shell11:23
zygainfinity: but sbuild is big11:23
zygainfinity: and the task is not suitable for a shell program11:23
zygainfinity: especially if you want the program to be better and smarter than what we have now11:24
zygainfinity: e.g. non-executable configuration perhaps11:24
infinityI also disagree that the perl ecosystem is "dying", it's alive and well.  But to people always chasing the new hotness, I can understand how "a module it good enough that it doesn't need to be changed every two weeks" looks like "stagnation".11:24
zygainfinity: it may be lively but it is a niche and one that is shrinking compared to the overal ecosystem using arguably better tools11:24
zygainfinity: perl is a horrid language11:25
infinityAnyhow, the important bits of sbuild and schroot have been C++ for ages.11:25
zygainfinity: like the bits around dpkg and apt?11:25
infinityzyga: "horrid" is a matter of opinion, not fact.  Surely, you see that?  I think python is "horrid", but that doesn't stop (many) others from seeing the beauty in it.11:25
zygainfinity: yeah, that's good, those tools are complex but I wouldn't go on replacing them :)11:25
zygainfinity: no, horrid is a matter of opinion but perl is just bad as a language, it's got a big bag of mistakes that people know not to do, that's not an opinion, that's a fact11:26
=== dholbach_ is now known as dholbach
zygainfinity: I'd love to see an argument for beauty there but I have yet to find one11:26
zygainfinity: then implementation quality matters too11:27
zygainfinity: but let's not make it a perl topic11:27
zygaI was surprised by one thing, reading dpkg changelog11:27
cjwatsonYou say that after filling my screen with a language war.11:27
zygathat some patches for osx were added11:27
zygacjwatson: sorry, that was not my intention, I wanted to focus on highlighting opinions vs facts that are relatively undisputed11:27
zygaI wonder what's the motivation for dpkg on osx11:28
infinityfink.11:28
zygahmm, osx is a curious mixture of environments11:29
infinityOSX devs come in two flavours: People who desperately wish it was more like a Linux distro, and... All the people who are wrong.11:30
infinity(No bias here)11:30
zygainfinity: heh :)11:30
rbasakinfinity: poke to do bug 1417328 for me please11:33
ubottubug 1417328 in percona-xtradb-cluster-galera-2.x (Ubuntu) "Please remove 5.5 versioned MySQL and variants from vivid" [Undecided,New] https://launchpad.net/bugs/141732811:33
rbasakI don't forsee any issues, but I'd like to see the whole thing cleared up and 5.6 landed in case things appear that I need to fix up.11:34
infinityrbasak: I'll look in a bit.  In somewhat of a glibc groove here, and don't want to get any more distracted than I already am.11:34
infinityI should probably close this window. :P11:34
rbasakOK thanks11:34
brendandif i don't specify -B to adt-run then it tries to build the binaries, which is what i want, but it complains:11:48
brendanddpkg-buildpackage: error: fakeroot not found, either install the fakeroot11:48
brendandpackage, specify a command with the -r option, or run this as root11:48
brendandi have this installed though, is this maybe because it's trying to do the build on the testbed (ubuntu touch device in this case)11:49
=== Malsasa_ is now known as Malsasa
rbasakYeah you'll want fakeroot on your testbed11:58
rbasakOr some other way to get root on your testbed11:59
rbasakI would build the package locally, and then test on the testbed without build dependencies or fakeroot there.11:59
rbasak(ie. separate the build environment from the test environment, rather than having them combined)11:59
rbasakYou can use -B to separate them, by building packages first eg. with sbuild12:00
LaneyRiddell: howdy, do you know if anyone's looking at kde-baseapps autopkgtest failure?12:01
=== MacSlow is now known as MacSlow|lunch
RiddellLaney: yeah I'm on it now, I'll just patch it out I guess12:09
Laneyup to you - it's weird that the check thinks it has internet access but the test goes on to fail12:11
Laneybut thanks12:11
Riddellmm12:12
=== _salem is now known as salem_
=== MacSlow|lunch is now known as MacSlow
hallynrbasak: looks perfect - xcept the breaks/replaces should be against upstart-bin, not upstart, iiuc.13:58
rbasakhallyn: oh, good point - thanks.13:58
rbasakhallyn: do you know that jobs will correctly pull in init-system-helpers?13:58
hallynwhat do you mean?13:59
rbasakCurrently things that expect /lib/init/apparmor-update-profile to exist just call it, but presumably they depend on upstart-bin, so it's definitely present.13:59
rbasakNow these things need to depend (maybe indirectly) on init-system-helpers instead, in order to not break.14:00
rbasakSo do we know this is the case?14:00
hallynrdepends list is pretty long, but seems random14:02
hallyncgmanager and lxc both depend on it14:02
hallyncloud-init14:03
* rbasak wonders what else uses it14:03
rbasakIs there any easy way to grep the entire archive?14:03
hallyni'm looking at apt-cache rdepends init-system-helpers | sort | less14:04
hallynmsut be something common in there i'm just not seeing it :)14:05
rbasakPerhaps you're expected to depend on it explicitly.14:06
rbasakIn which case what matters are the recursive reverse depends on upstart-bin, which shipped /lib/init/apparmor-update-profile previously14:07
rbasakPerhaps the init scripts that depended on it existing (eg. didn't test -x) just assumed it would be there, and it was on all Ubuntu because of upstart-bin.14:08
hallynman ..  i'm sure it's obvoius, but i'm not finding it14:14
=== doko_ is now known as doko
infinityhallyn: All those init-system-helpers deps (or most) are coming from dh_systemd.15:00
infinityrbasak: The "pleasant" automated way to fix this would be to make dh_installinit grep init scripts for apparmor-profile-load and add init-system-helpers to misc:Depends, but you'd still need to identify the right packages to rebuild to make that work.15:02
=== Malsasa_ is now known as Malsasa
smoserxnox, in systemd, what all runs 'ifup NIC' ? is it more than the ifup@ service ?15:57
flexiondotorgdidrocks, mlankhorst seb128 Just tested the new xorg-server. Looks good. Thanks for your help!16:00
seb128flexiondotorg, yw!16:00
flexiondotorgseb128, Looks like another bug got fixed too.16:01
seb128which one?16:01
flexiondotorghttps://bugs.launchpad.net/ubuntu/+source/virtualbox/+bug/1368784/16:02
ubottuLaunchpad bug 1368784 in virtualbox (Ubuntu) "Utopic Virtualbox guest gets only up to resolution of 640x480" [High,Confirmed]16:02
seb128great16:02
flexiondotorgseb128, Just confirming.16:02
flexiondotorgseb128, Nuts.16:02
flexiondotorgSadly not.16:02
flexiondotorgThe pp2 version that yanked redBIOS did fix the bug above however 😕16:03
flexiondotorg*ppa2 version from x-staging16:03
xnoxsmoser: not so sure, i believe there is networking job that parses /etc/network/interfaces and then does magic16:07
xnoxshould be udev triggered as well.... on nic bring ups....16:07
xnoxdunno, talk to debian people.16:07
* xnox uses systemd-networkd / network manager16:07
=== seb128_ is now known as seb128
bdmurrayseb128: is there a bug reference for your unity-settings-upload to trusty -proposed?17:35
seb128bdmurray, did I forget to include that in the changelog?17:35
bdmurrayseb128: yes17:35
seb128bdmurray, sorry, let me fix that and reupload17:35
seb128bdmurray, thanks for spotting it17:35
bdmurrayseb128: no problem17:35
seb128bdmurray, k, rejected the old one, new one in the queue17:39
bdmurrayrobert_ancell: your upload of lightdm in the precise-proposed queue should supercede the existing upload correct?19:45
robert_ancellbdmurray, yes19:45
robert_ancellbdmurray, I probably should have marked the patch as fixing bug 143165419:46
ubottubug 1431654 in lightdm (Ubuntu) "lightdm (1.2.3-0ubuntu2.6) 100%/high cpu usage" [Critical,Fix committed] https://launchpad.net/bugs/143165419:46
bdmurraythat would make things clearer and allow it to be verified19:46
robert_ancellbdmurray, do you want me to re-upload?19:47
bdmurrayrobert_ancell: I think that'd be best, yes please19:48
robert_ancellok19:48
robert_ancellbdmurray, new version should be there now19:54
bdmurrayrobert_ancell: okay, accepted20:00
robert_ancellbdmurray, thanks20:00
PeakerHi, is there a channel dedicated to network-manager specifically?20:47
Unit193Heh, was about to say their wiki claims #nm.20:49
cyphermoxUnit193: indeed, it's #nm21:04
Unit193Heh, it's a secret (+s) channel.  And dang, was supposed to file a bug for you...21:05
=== davidcalle_ is now known as davidcalle

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