/srv/irclogs.ubuntu.com/2016/11/18/#ubuntu-devel.txt

=== JanC_ is now known as JanC
=== gusnan_ is now known as gusnan
pitti@pilot in09:10
=== udevbot changed the topic of #ubuntu-devel to: Yakkety Yak (16.10) Released | Archive: open | Devel of Ubuntu (not support or app devel) | build failures: http://qa.ubuntuwire.com/ftbfs/ | #ubuntu for support and discussion of precise-yakkety | #ubuntu-app-devel for app development on Ubuntu http://wiki.ubuntu.com/UbuntuDevelopment | Patch Pilots: pitti
=== _salem is now known as salem_
tsimonq2pitti: You're still patch pilot? :)12:10
pittiyes12:10
tsimonq2pitti: There's a diff here that should go to yakkety-proposed and start the SRU procedure: bug 163665512:11
ubottubug 1636655 in ark (Ubuntu) "[SRU] Ark no longer opens rar files in 16.10" [Undecided,Fix released] https://launchpad.net/bugs/163665512:11
tsimonq2juliank thought it was logical enough to upload to Zesty. ;)12:12
tsimonq2(not that it isn't)12:12
tsimonq2pitti: Any chance you could look at that when you get a minute? :)12:13
pittitsimonq2: sure! will do12:14
tsimonq2Thanks a lot pitti. :)12:15
pittitsimonq2: uploaded and accepted into -proposed12:18
tsimonq2pitti: Awesome! Thanks a lot. :)12:19
pittino prob!12:19
tsimonq2pitti: So then it starts the SRU procedure?12:20
tsimonq2I'm not seeing what else needs to happen for that...12:20
pittitsimonq2: yes, now needs to build, and someone must verify it12:20
tsimonq2Ok. :)12:20
tsimonq2Oh cool, ok, I see you commented.12:20
tsimonq2All published successfully!12:25
juliankpkern: the bash trusty SRU failed to build on arm64 :/13:23
juliankBut weirdly not in a changed part ...13:23
juliank../.././builtins/../.././builtins/help.def:130:7: error: format not a string literal and no format arguments [-Werror=format-security]13:24
juliankThe patch changed lib/readline/misc.c13:24
juliankI mean, the warning is certainly right - the line is:13:27
juliankprintf (ngettext ("Shell commands matching keyword `", "Shell commands matching keywords `", (list->next ? 2 : 1)));13:27
juliankBut why does this only fail on arm64?13:27
juliankand why only now, and not in 1.5?13:27
juliankFix should be easy (unless I missed something):13:28
juliankprintf ("%s", ngettext ("Shell commands matching keyword `", "Shell commands matching keywords `", (list->next ? 2 : 1)));13:28
juliankWorse: It only fails for the statically linked build13:31
pitti@pilot out13:50
=== udevbot changed the topic of #ubuntu-devel to: Yakkety Yak (16.10) Released | Archive: open | Devel of Ubuntu (not support or app devel) | build failures: http://qa.ubuntuwire.com/ftbfs/ | #ubuntu for support and discussion of precise-yakkety | #ubuntu-app-devel for app development on Ubuntu http://wiki.ubuntu.com/UbuntuDevelopment | Patch Pilots:
=== fionnan_ is now known as fionnan
ScottKAssuming you all are going to Qt 5.7.1 this cycle, you can leave qscintilla2 FTBFS in proposed for now and give it back when you do that transition.14:18
infinitypitti: Oh, did armhf autopkgtest move to aarch64 nodes?14:25
pittiinfinity: yes, some months ago at last14:25
infinitypitti: Can we boot them the same way we boot our buildds? :)14:26
pittiinfinity: tests run in lxd containers with disabled apparmor; is there anything further to it?14:26
infinitypitti: compat_uts_machine=armv7l on the commandline.14:26
pittiinfinity: I suppose buildds use armhf schroots on arm64?14:26
infinitypitti: So they pretend a bit harder to be v7.14:26
pittiinfinity: that's for the armhf container guest, or does that need to go into the host config?14:27
infinitypitti: 'linux32 uname -m' on a buildd returns armv7l, on autopkgtest, it returns armv8l.14:27
pittiwhere "host" == "nova instance" really14:27
infinitypitti: Kernel commandline.14:27
infinitypitti: So, host.  Obviously.14:27
pittiinfinity: and that won't break actual arm64 instances?14:28
infinityJust changes the 32-bit personality.14:28
infinitySo, no.14:28
pittiinfinity: I figure this is for some glibc test or so?14:28
infinityNope.  glibc doesn't care.14:28
infinityIt's for every other person who thinks that testing for uname -m is smart.14:28
infinityAnd it's not smart.14:28
infinityBut making our machines pretend to be armv7l kernels is easier than fixing all the stupid code.14:29
pittiinfinity: ok, I'll write an RT, CCing you14:30
infinity(This is the same reason why linux32 uname -m on x86_64 still reports i686, and always will, despite P4 and up being "i786", and i7 possibly being "i886"...14:30
infinity)14:30
infinitySadly, I lost the upstream argument about why it should be armv7l forever, but at least we have a simple downstream bodge.14:30
infinitypitti: Err, oh.  When I say "host", I mean your VM.14:31
infinitypitti: Confused about layering there.14:32
pittiinfinity: right, and I don't have control over that, it's nova instances14:32
infinitypitti: The kvm host host doesn't matter, obviously.14:32
pittihence an RT14:32
infinityAhh.  Curious why yours and the buildds weren't configured the same out of the gate.14:32
pittiRT sent14:33
pittiinfinity: hm, now that I sent it I realized I coudl probalby just add that to their grub config14:33
infinityYes.14:34
infinitypitti: I'm not smart enough to map this URL back to where the test was triggered to retrigger it:14:38
infinityhttps://objectstorage.prodstack4-5.canonical.com/v1/AUTH_77e2ada1e7a84929a74ba3b87153c0ac/autopkgtest-xenial-snappy-dev-snapcraft-daily/xenial/armhf/s/snapcraft/20161118_041037_8a45b@/log.gz14:38
infinitypitti: But those "lol armv8l, what's that?" failure should go away with that cmdline option.14:38
pittiinfinity: you can't, it's from a snapcraft github pull request14:38
infinitypitti: I can't, or nobody can?14:39
pittiyou can't14:39
pittimvo, sergiusens, or I CAN14:39
pitti"can"14:39
pitti(shift failure, although the emphasis wasn't completely wrong either :) )14:39
infinityShiny.  Can you, if you can get your VMs rebooted with the right magic?14:39
pittialready at it14:40
infinityFWIW, I've also taken up a parallel conversation on "why using uname -m to guess at userspace ABI is wrong", since this is Canonical code.14:40
infinityBut still a good testcase, given that we know this problem is far-reaching beyond places I can be bothered to fix.14:41
pittiubuntu@lxd-armhf8:~$ linux32 uname -m14:41
pittiarmv7l14:41
pittiubuntu@lxd-armhf8:~$ uname -m14:41
pittiaarch6414:41
pittibetter14:42
infinity\o/14:42
pittiok, now roll this out to the other 714:43
pittiinfinity: this is from https://github.com/snapcore/snapcraft/pull/91714:50
infinitypitti: Which tells me nothing about autopkgtest results there.  I guess there's still some integration work required? :)14:51
pittiinfinity: no, just since you asked where this can be retried14:52
* pitti currently figures that out14:52
pittiinfinity: ok, I think I got it; it's back to "running" and on http://autopkgtest.ubuntu.com/running#pkg-snapcraft (need to scroll down a bit)14:54
pittisergiusens: ^ FYI14:54
sergiusenspitti I am trying to figure out what you are talking about :-)14:55
pittisergiusens: the failure in https://objectstorage.prodstack4-5.canonical.com/v1/AUTH_77e2ada1e7a84929a74ba3b87153c0ac/autopkgtest-xenial-snappy-dev-snapcraft-daily/xenial/armhf/s/snapcraft/20161118_041037_8a45b%40/log.gz14:55
pittisergiusens: I just fixed our armhf test envs to say "armv7l" for uname -m14:56
pittisergiusens: and kicked that test14:56
sergiusenspitti oh, thanks; we can always improve our logic here too14:56
infinitysergiusens: Right, so I had an email back and forth with Leo about it, but worth repeating here that "trying to determing userspace ABI using uname is wrong".15:04
infinitysergiusens: But pitti's above fix will make those tests pass at least. :P15:05
infinitysergiusens: That said, while I will stand by the "uname isn't userspace ABI" mantra, it's decidedly harder to determine userspace ABI when you don't know for sure what your host system is.  I'm not sure what these tests are targeting (ie: all distros, just Ubuntu, etc)15:06
infinitysergiusens: For dpkg systems, "dpkg --print-architecture" is more likely to be the answer you're looking for.15:06
pittiisn't there some gcc command that prints the GNU triplet? would that help?15:07
infinitysergiusens: But that starts falling over when you don't know what sort of system your base actually is, then people do crazy things like try to find the linker for /bin/mv and determine ABI from that, etc. :P15:07
infinitypitti: Also valid if you have a compiler installed, and you trusty it's targeting the host, yes.15:08
infinityLots of "ifs".15:08
infinitys/trusty/trust/ ... That release has ruined me forever.15:08
sergiusensinfinity we migrated away from dpkg --print-architecture as we will be going to other distros15:08
sergiusensinfinity we will need to go the crazy route15:08
infinitysergiusens: Might be worth tearing apart the problem to first principles and ask why you're trying to determine the userspace ABI.15:09
bswartzpitti: does debian seriously not have a proper bug database? they use an email list to track bugs?15:09
infinitysergiusens: And how you're using that value.15:09
infinitybswartz: It's a proper database, it's just mail-driven.15:09
infinityIf "proper database" means "can submit via a web form", then no, they don't.15:10
pittibswartz: well, it's "a" bug database; I wouldn't call it "proper", but it's here: https://bugs.debian.org/cgi-bin/pkgreport.cgi?repeatmerged=no&src=xfce4-clipman-plugin15:10
pittibswartz: yes, all modifications happen over email, browsing is r/o15:10
bswartzokay I see it does have a web frontend for viewing bugs15:10
pittithe word you are looking for is "arcane" :)15:10
bswartzty15:11
sergiusensinfinity we want something similar to dpkg-architecture15:11
pittithe big advantage is that it's so hard to use that bug reports are usually high quality15:11
infinitysergiusens: Right, I'm trying to first principle this to "why are you asking, and what are you doing with it", though.15:11
infinitysergiusens: So I can see if maybe there's a not entirely crazy way to achieve your goal on all GNUish systems.15:12
infinitysergiusens: Note that this will get more complicated than you think, depending on your goal. ;)15:12
sergiusensinfinity I know it is; reason for us falling into these issues15:13
infinity(ie: if it's about build targets, how do I define that I want to build *for* i386 on my x86_64 system with i386 libs installed?  Is that a supported usecase, or do you demand I do it in a clean i386-only chroot?)15:13
infinitysergiusens: And don't be afraid to impose restrictions on the users where fixing the corner cases is Really Really Hard, IMO. :P15:14
sergiusensinfinity we construct gnu arch triplets, have a primitive form of cross building (specifically for kernels), translate debian arch names to all those and figure out the arch we are on. All this using something as simple as python's platform.machine() which triggers this problem15:17
sergiusensand yes 32bit in 64bit userspace has been requested but I am trying not to go down that path15:17
infinitysergiusens: So, the 32-on-64 recommendation for now is a 32bit chroot, and linux32 to fake the uname.15:18
infinitysergiusens: Which will, indeed, fail for armhf-on-aarch64 anywhere other than our buildds and (as of a few minutes ago) our autopkgtest infra, unless you recognize armv8l.15:19
infinityWhich suffers from the minor issue that armv8l isn't actually entirely compaible with armv7l (it is in our infra, but only because we made it be).15:19
sergiusensinfinity if we can support that some how similar to dpkg --print-architecture it would be good. I was mentioning people wanting to build an "amd64" package including "i386" binaries15:19
pittisergiusens, infinity: it failed again, but this time it's not my fault.. I believe: https://objectstorage.prodstack4-5.canonical.com/v1/AUTH_77e2ada1e7a84929a74ba3b87153c0ac/autopkgtest-xenial-snappy-dev-snapcraft-daily/xenial/armhf/s/snapcraft/20161118_150313_8a45b@/log.gz15:19
infinityAhh, people who want to do that are silly.15:20
sergiusensinfinity I already have this issue on some systems with 64bit kernels and 32bit userspaces so I do want to solve it15:20
infinitypitti: Yeahp, that looks much better.  Closes the issue Leo asked me about and I escalated to you. :)15:20
infinitysergiusens: So, if a compiler is always there, and you trust it's sane, gcc -dumpmachine is pretty much what you're after for guessing "native" compilation.15:22
pittiso, ${CC:-gcc} -dumpmachine ?15:23
sergiusensinfinity I can make it be there; I'll get a bug task up to fix this; thanks!15:23
pittior actually ${CC:-cc}, because llvm and friends?15:24
infinityclang doesn't exist, it's all in your head.15:24
pittirly? my head runs with llvm? /me logs off now and washes it out with a pint of beer then15:25
infinityAnd, unhelpfully, clang on Debian uses different triplets than gcc.15:25
infinityYay.15:25
sergiusenspitti good way to start the weekend15:26
infinity(xenial-amd64)root@nosferatu:~# gcc -dumpmachine15:26
infinityx86_64-linux-gnu15:26
infinity(xenial-amd64)root@nosferatu:~# clang -dumpmachine15:26
infinityx86_64-pc-linux-gnu15:26
=== sil2100_ is now known as sil2100
philrocherbasak: I see you are a member of Ubuntu Development Team. Would you have any time to review https://code.launchpad.net/~philroche/ubuntu/+source/gce-compute-image-packages/+git/gce-compute-image-packages/+merge/311153 ?17:01
=== pavlushka is now known as SweetVenom
=== SweetVenom is now known as pavlushka
smoserslangasek, ping.17:28
smoserfor bug 161107417:28
ubottubug 1611074 in cloud-init (Ubuntu) "Reformatting of ephemeral drive fails on resize of Azure VM" [High,Confirmed] https://launchpad.net/bugs/161107417:28
smoseri  plan to upload ro zesty and xenial today with the contents of https://code.launchpad.net/~smoser/cloud-init/+git/cloud-init/+merge/31120517:28
smoserto replace the existing -proposed for xenial17:28
smoserso i'd like your review of that.17:29
slangaseksmoser: I don't have time right now to review; if you upload now and get my review in the queue, maybe it saves a step?17:39
smoserwell, i have a few minor thigns that i still have to fix, so i was hoping youd look at what is there, but thats ok. i understand.17:39
slangaseksmoser: ok. I'll look ASAP17:44
slangasekjust don't know yet when P is :)17:44
smoserslangasek, i really appreciate your help. thanks.17:46
tewardpitti: thanks for handling that sync request by the way18:27
slangaseksmoser: changes to cloudinit/config/cc_mounts.py look good; I'm nervous about the extent of the changes to cloudinit/sources/DataSourceAzure.py if this is meant to be quick turnaround; have not had a chance yet to review those changes19:03
=== pavlushka is now known as PocketBot-lushka
=== PocketBot-lushka is now known as pavlushka
=== salem_ is now known as _salem
smoserslangasek, i think ultimately the new code is more supportable, and we will be testing it explicitly.19:16
smoserits *all* related to this path19:16
naccLocutusOfBorg: was there a reason to mark LP: #1624632 as incomplete rather than fix released? given that it's synced now?19:25
ubottuLaunchpad bug 1624632 in tomcat8 (Ubuntu) "Sync tomcat8 8.0.36-3 (main) from Debian unstable (main)" [Wishlist,Incomplete] https://launchpad.net/bugs/162463219:25
hjdHi all, could someone please schedule mina2 to be built in zesty? It originally failed to build when it was synced (possibly due to dependencies not synced or built yet?), but it builds successfully now on my local zesty vm.19:53
jbichahjd: done https://launchpad.net/ubuntu/+source/mina2/2.0.16-1/20:34
hjdjbicha: :)20:36
=== _salem is now known as salem_
smoserslangasek, if you could read https://git.launchpad.net/cloud-init/commit/?id=6942c948422205502071f725fde0cc9cba32913120:46
=== salem_ is now known as _salem
slangaseksmoser: tmpf=$(mktemp "${TMPDIR:-/tmp/cloud-init-upgrade.XXXXXX}") - I think you want tmpf=$(mktemp "${TMPDIR:-/tmp}/cloud-init-upgrade.XXXXXX") ?21:16
smoseryes21:17
smoserwow.21:17
slangaseksmoser: mktemp also has a '-p' option you can use, then you could just do 'mktemp -p cloud-init-upgrade.XXXXXX' for same effect21:17
smoseri'm surprised i typed that21:17
smosergood job21:17
smoserhow old is mktemp -p ?21:18
slangasekdunno21:18
slangasekhave just checked and see it in trusty21:18
smoserchecking precise... just curious really. cause that is much nicer21:18
slangasekdo you need it to be in precise? ok21:18
smoseri dont21:18
smosermostly i'm just curious21:18
smoserwe'll take your suggestion21:18
slangaseksmoser: your awk substitution also lacks the =cloud-init.service part of the x.systemd-requires21:19
slangasekor x-systemd.requires21:20
slangasekwhichever is correct ;)21:20
smoser-p DIR              use DIR as a prefix; implies -t [deprecated]21:20
smoserand -t says deprecated currenlty21:21
smoserwierd21:21
slangasekheh21:21
smosernot sure what to  make of that21:21
slangasekoh; -p requires a DIR argument21:22
slangasekso maybe none of that is all that useful, or maybe you have to use the '--tmpdir' syntax21:22
smoserslangasek, ok. i fixed those two things (good catch)21:25
smoserwith http://paste.ubuntu.com/23497537/21:25
smosergonna just not use the -p because it confuses me right now :)21:25
slangaseksmoser: ok, looks good. The last thing, by using a tmpfile in /tmp + cp, you'll lose things like selinux labels AIUI (and possibly even posix perms, if someone has something weird on /etc/fstab).  I believe you'll get a more correct result with just cat $tmpf > /etc/fstab21:26
slangasekcp is not atomic anyway so you're not at a disadvantage there by using cat21:26
smoserso you think cat ?21:27
smoseri wondered on that too21:27
slangasekyeah21:27
smoseri thought cp might fail better21:27
smoserbut cat is fine. i will fix.21:28
smoseri guess the safest thign to do would be to mktemp /etc/.$0.XXXXXX21:29
smoserand then mv21:29
smoserbut i think its fine21:29
smoseroh. but mv might stick perms too21:29
smoserso cat i think21:29
smoserthank uyou21:29
slangaseksmoser: n/p21:30
smoseri'm gonna upload now.21:31
smoserslangasek, it is in queue now.21:58
LocutusOfBorgnacc, the reason is "wrong button" it is fix released now, thanks :)22:08
naccLocutusOfBorg: :) np, just wanted to check in!22:12
slangaseksmoser: none of this new code in DataSourceAzure should ever run if we haven't already detected that we're on azure, correct?  i.e. we're not going to have a 120s timeout waiting for a disk that will never arrive, in other clouds?22:18
slangaseksmoser: I ask because the previous incarnation of the code had no timeout for disk discovery, it just checked if they were present.  Possibly the new activate logic does this but I haven't traced the code enough to confirm that this is true22:46
naccsmoser: slangasek: rbasak: jgrimm: barry: here is an example updated import (well just the last version) of php7.0 with both patches-applied and patches-unapplied available:22:48
naccpatches-applied: https://git.launchpad.net/~usd-import-team/ubuntu/+source/php7.0/log/?h=applied/ubuntu/zesty22:48
naccunapplied: https://git.launchpad.net/~usd-import-team/ubuntu/+source/php7.0/log/?h=ubuntu/zesty22:48
naccyou can see in the latter, as well, that it merged my upload tagged object into the history22:48

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