/srv/irclogs.ubuntu.com/2015/02/25/#launchpad.txt

tewardbleh, well, i'll just upload a version bump, LP's erroring on what i want it to do (it can't basically)00:00
wgrantHm, really?00:00
wgrantWhat's the error?00:00
tewardwgrant: well, see, I need it to rebuild in the staging PPAs00:00
tewardcopy for rebuild says, "same version already has published binaries in the destination archive"00:01
tewardjust spammed the hell out of myself with errors00:01
wgrantDid you ensure that you selected the option to copy binaries, rather than to rebuild?00:01
tewardwgrant: there's no arm binaries yet00:01
tewardhence the need for a rebuild00:02
tewardor will it autobuild arm binaries00:02
wgrantYou have to copy the existing binaries, but then it will notice that there are still binaries missing and create the ARM build anyway.00:02
tewardahh okay00:02
tewardso copy binaries to itself then, copy over to the other ppa as well then00:02
tewardafter it sees it needs ARM builds00:03
tewardok00:03
wgrantYou can't ask it to rebuild the existing binaries, because they'd try to overwrite the existing ones with the same filenames.00:03
tewardright00:03
* teward expects to see 2 FTBFS shortly00:03
wgrantIt's qemu-user, so "shortly" may be over-optimistic, but we'll see.00:03
tewardwell, 'shortly' as in when it runs00:03
wgrant(we00:03
wgrant'll have proper ARM VMs Soon™, but getting enough capable hardware is harder than it looks)00:04
tewardlast time I ran an ARM build was swig3.0, and it FTBFS in Precise because dep-wait on gcc, which apparently is FTBFS in the repos00:04
wgrantHm, that seems unlikely.00:04
wgrantprecise's armhf port is excellent.00:04
tewardmm, i lied, it wasn't gcc00:04
wgrantThe only reason this might fail is that qemu-user doesn't like threads very much sometimes.00:04
tewardguile-2.0-dev is missing.  check that in precise repos...00:04
tewardyeah that there's ftbfs in armhf00:05
tewardbut ultimately, nginx should be fine, if all the main deps are present00:05
tewardthe only thing i hate about the NGINX packaging is the 3rd party modules >.<00:06
tewardwgrant: i can disregard the complaints about copying failed, as its talking about i386 / amd64, not armhf, right?00:07
teward('cause building armhf right now)00:07
wgrantYou could probably have just backported a modern guile-2.0 to precise. There are no huge changes in vivid.00:07
wgrantteward: I think those complaints are from the previous copies without binaries.00:08
wgrantteward: Each copy is atomic, and the latest batch clearly worked.00:08
tewardmmm00:09
tewardwgrant: the FTBFS was the tests00:09
tewardhttps://launchpadlibrarian.net/102666041/buildlog_ubuntu-precise-armhf.guile-2.0_2.0.5%2B1-1_FAILEDTOBUILD.txt.gz00:09
tewardFAIL: test-with-guile-module, FAIL: test-pthread-create, FAIL: test-scm-spawn-thread  (SEGV all around)00:09
tewardi'm too lazy to00:10
tewardit only affects the ZNC PPA anyways00:10
tewardwgrant: reminder, arch:all packages are arch-independent, right?00:13
tewards/reminder/remind me/00:14
wgrantYes.00:15
wgrantThey build on a single architecture, but are published on all.00:15
tewardright that's what i assumed00:18
wgrantteward: Succeeded in just under half an hour.00:35
=== reed_ is now known as reed
tewardwgrant: indeed, I got an email from the person on https://bugs.launchpad.net/nginx/+bug/1425324 about it - can we keep the armhf builds enabled there then?02:51
ubot5Launchpad bug 1425324 in Nginx "[PPA] Please provide PPA builds/packages for armhf" [Wishlist,Fix committed]02:51
wgrantteward: You don't need them on any other PPAs?02:51
wgrantIt's no problem to keep them enabled. My only concern is that they might not be enabled in enough places :)02:52
tewardwgrant: well, i'm not going to enable them on the ZNC PPA, and for nginx, i only need them on staging since I do all the builds there before moving them to the main nginx ppas02:53
tewardwgrant: and ZNC Precise will always FTBFS unless I backport within the swig3.0 PPA the build deps and i'm too lazy to do that at the moment02:54
tewardand i noticed a bug where ZNC won't install after compile when the ubuntu-toolchain-r/test ppa is included (for g++-4.7/precise) because it needs newer c libs apparently02:54
tewardso meh02:54
tewardwgrant: so far, the only things I needed built for armhf were my swig3.0 backports PPA, and nginx.02:56
tewardnothing else on my radar for arm builds - only put nginx on the list because 5 emails today on it02:56
wgrant:)02:57
wgrantIf you need anything else, give me a yell. If I'm not around, https://answers.launchpad.net/launchpad/+addquestion is your friend.02:57
tewardwgrant: indeed.  thanks.02:57
tewardwgrant: i should be extra glad though... nobody's asked me to set up arm builds for my wireshark backports ppa... xD02:57
tewardthat'd... not go well02:57
wgrantHeh03:00
tewardwgrant: i'll likely give a holler if I need arm turned on anywhere else, for now I think we're set, since it's not like I respin the software every day xD03:03
tewardexcept when i made a grave fail in package edits that forces me to reupload to fix xD03:04
ppisatiok so, i'm geting this: "File linux_3.18.3-2.2.diff.gz already exists in Misc packages for Ubuntu, but uploaded version has different contents"08:35
ppisatithis after the previous build failed, i found the problem, fixed it, but my new upload is rejected08:36
ppisatiwhat am i supposed to do?08:36
wgrantppisati: You need to change the version when you change the package.08:37
ppisatiwgrant: i feared that answer08:37
wgrantppisati: Unless you want to hack the build system to disable the ABI check, the easiest way to build a kernel in a PPA is to replace the latest changelog entry rather than appending a new one.08:38
ppisatiwgrant: well, abi checck is off08:38
ppisatiwgrant: anyhow, let me change the version08:39
ppisatiwgrant: but i don't really understand why you keep the previous diff around08:39
wgrantppisati: We don't keep it around, but it is remembered.08:39
wgrantEach filename in a PPA references a unique file throughout time.08:40
ppisatiwgrant: os it's per PPA, right?08:40
ppisati*so08:40
ppisatiok08:40
wgrantChanging the version when you change the package is normal good practice, not an onerous restriction.08:40
wgrantppisati: Right.08:40
ppisatiwgrant: i agree that changing version everytime you change a pkg is right, but since this pkg never existed, the previous sentence could be debated08:41
ppisatianyway08:41
ppisatino need to argue08:41
wgrantThe package did exist!08:41
ppisatii bump the version08:41
=== Odd_Blok1 is now known as Odd_Bloke
=== Mission-Critical is now known as MissionCritical
dobeyhrmm, not sure if anyone is around who would know the answer to this...17:43
dobeyanyone know if there's a way to force LP to do the translations update commit to a branch?17:44
tewardwgrant: around?17:46
teward(if not i won't bother you)17:46
cjwatsondobey: I don't believe so; that code is only called from a cron script, so you'd have to wait for that.17:48
dobeycjwatson: that's what i thought. and it runs at like 00:00 UTC daily, iirc.17:48
cjwatsontaotie.canonical.com-codehost:30 04 * * * $LP_PY /srv/bazaar.launchpad.net/production/launchpad/cronscripts/translations-export-to-branch.py -q --log-file=INFO:/srv/bazaar.launchpad.net/production-logs/translations-export-to-branch.log17:48
=== wedgwood1 is now known as wedgwood
tewardgeneral question: if i want arm builds for a specific ppa but i know for a fact pre-Trusty releases won't build at all for armhf, is it still acceptable to ask for ARM builds on a given PPA?21:32
dobeyteward: just don't build for precise on that ppa then?21:33
dobeyteward: you can't build for quantal, raring, or saucy anyway21:33
tewarddobey: ehh, to do *that*, I'd have to set up an ARM builds PPA to separate it from primary staging21:34
tewardfor the software i'm packaging in question that is21:34
tewardexcept that I know why it FTBFS in precise - one of the build-deps is not built in Precise21:34
tewardso short of a backport which I'm too lazy to do... :P21:35
teward(the FTBFS in precise are dep-waits)21:35
dobeyjust doa  backport21:35
dobeygrab the source and see if it builds in a precise chroot locally, and if it does then make the minimal changes to denote it's a backport for precise (append ~12.04.1 to version, and change release in changelog to precise) and upload it21:36
tewarddobey: precise is the next schroot i'm building for the armhf environment, but... slow.21:37
tewardhave to build each schroot after all21:37
teward(I use sbuild)21:37
dobeyteward: well, does it build on x86 precise?21:37
dobeyi don't test builds on every arch. that would be annoying :)21:37
tewarddobey: haven't tested - the target is armhf, not x86, but i'll test after the sbuild schroot is done building21:40
dobeyyeah, but x86 is much faster to build on x86, and unless it supports cross-compiling and you're building a cross-compile chroot instead of a qemu one, it's going to likely be quite slow to build on armhf21:41
tewarddobey: and how are armhf builds currently done in the PPA builders?21:43
dobeyteward: qemu21:44
tewarddobey: ok.  i'm running an x86 build now in sbuild, if it works there then hopefully the armhf ones do - it's the guile-2.0 source package that's the build-dep :/21:52
tewardand that FTBFS due to some threads error or something in precise armhf21:52
dobeyis guile not included in precise archive already?21:53
tewarddobey: for x86, yes.  FTBFS in armhf21:53
dobeyoh well21:54
dobeyand the version in trusty fixes that?21:55
tewardhttps://launchpad.net/ubuntu/+source/guile-2.0/2.0.5+1-1/+build/3245257  <-- log: https://launchpad.net/ubuntu/+source/guile-2.0/2.0.5+1-1/+build/3245257/+files/buildlog_ubuntu-precise-armhf.guile-2.0_2.0.5%2B1-1_FAILEDTOBUILD.txt.gz21:55
tewarddobey: no idea, i haven't tested yet - the only way to know if it fixes the FTBFS is to run the arm build21:55
dobeywell you said your package builds fine on trusty21:55
dobeyso i presume that means guile is available on trusty arm21:55
tewardmhm21:56
dobeyand indeed the trusty package is available on armhf21:56
tewardbut not on precise armhf21:56
dobeyso if you take the trusty package and build it on precise, it should work i think, unless there's another dependency issue that creates21:57
dobeywell, no, it's trusty, not precise21:57
dobeyyou'd have to backport it to precise21:57
tewardright21:58
dobeyif it builds on precise armhf fine, then it might be worth asking to get it shipped as an update on precise21:58
tewarddobey: right, but i don't have an armhf environment to test build in21:59
tewarddobey: and no PPA to run that test in21:59
tewardhence my conundrum21:59
dobeywell i didn't know it was guile and the issue was that armhf build failed on precise in archive22:00
dobeyso yeah, best way to test that is with an sbuild armhf builder (hopefully it can be cross-compiled, but i suspect it might not be possible)22:00
mapreriteward: just create an armhf chroot. it's easy with pbuilder, I guess it's easy with sbuild too. if you do a lot of this funny things you may ask access to stuff like debomatic-armhf.debian.net22:01
tewardwell the sbuild armhf builder i have crapped out before running any build22:01
dobeyit's easy, it's just slow22:01
tewardfirst, i'm checking to make sure amd64 builds22:01
dobeycross-compile is a lot faster22:01
tewardand i38622:01
maprerithat's a qemu issue, but yay22:01
dobeybut not everything works with it22:01
tewarddobey: FTBFS - configure.ac:41: require Automake 1.12, but have 1.11.322:26
tewarddobey: so the backport is out of the question22:27
tewardunless you know a way around that22:27
dobeybackport automake :)22:28
tewarddobey: at that point it becomes too much work for me to care22:30
tewardwgrant: around?22:32
mapreri"require Automake 1.12, but have 1.11.3" that's silly. 1.12 < 1.13, yet, it fails. muh22:33
tewardmapreri: remember, precise22:34
dobeymapreri: huh?22:34
dobeymapreri: 1.11.3 < 1.1222:34
dobey1.11.3 != 1.1322:34
mapreriah, ouch. sorry for the noise, misread the digits...22:35
tewarddobey: i'll just separate out Precise from staging - saves me the headache of doing multiple backports just to make the one package build22:38
tewardbesides, no idea if automake 1.12 is reverse compatible22:38
tewarddon't want OTHER things to ftbfs anywhere22:39
wgrantteward: Hi22:41
tewardwgrant: so yesterday you said to bug you to enable ARM in places.22:42
tewardhad a feeling you knew this would happen, but I need arm builds for another staging PPA - this time for a brand new staging PPA for ZNC that handles Trusty and newer22:43
tewardsince i know Precise would ftbfs22:43
wgrantSure22:43
tewardand i can actually avoid some... nasty things... by separating Precise out from the staging22:43
tewardwgrant: https://launchpad.net/~teward/+archive/ubuntu/znc-staging-trusty+ is the one i'd like ARM builds on, if you can22:43
wgrantteward: Done.22:44
tewardwgrant: thank you kindly22:44
tewardwgrant: oopsies, i forgot to add a PPA dependency LOL (depwaits are evil)22:57
wgrantLuckily you can just add the dep and retry.22:58
tewardwgrant: indeed - i forgot to define the PPA to depend on22:58
tewardwgrant: HOPEFULLY i put the PPA dep in before the latest upload for that PPA got in - if not, well... there's a depwait22:58
tewardagain22:58
wgrantDepwaits are quick to fail and can be manually retried immediately, so that's not so bad.22:59
tewardwgrant: indeed, although, if the depwaits are what i think it is, there'll be 3 depwaits for trusty upload to that ppa - i386, amd64, and armhf22:59
tewardlooks like I snuck it in XD23:00
tewardright before it started23:00
tewardwgrant: i had to cancel 2 armhf for the prior version in the system - the one that depwait'd i can't cancel, will it autocancel when it sees there's a newer version?23:00
tewardor can you force it to just fail and not check again23:00
wgrantteward: Just ignore old depwaits. But you don't need to upload a new version just because the old one depwaited.23:06
tewardwgrant: that's not the reason i uploaded a new wone23:06
tewardwgrant: the new staging PPA means I don't have to define CXX in the debian/rules - it was defined because the previous staging PPA pulled in ppa:ubuntu-toolchain-r/test which has g++-4.9 - which breaks those actual releases other than Utopic/Vivid (which have the libraries)23:07
wgrantAh, right.23:08
tewardbecause unless CXX is defined correctly, it will actually use the highest g++ - 4.9 - which isn't present anywhere, and may cause libc problems23:08
tewardwgrant: unlike nginx, I think these builds'll take about 45 - 50 minutes - based on the Vivid build time for 1.6.0-2 in the repos themselves23:08
wgrantteward: qemu-user times are pretty hard to predict, but we'll see.23:09
tewardwgrant: and also - https://dev.launchpad.net/CommunityARMBuilds - do you really have >4 hr builds?23:09
wgrantEr yeah :)23:09
wgrantgcc, libreoffice, linux, eglibc...23:09
wgrantlibreoffice takes like 6 hours even on a very modern fast amd64 machine.23:10
wgrantWith 8 cores23:10
wgrantLet alone on a silly little ARM board.23:10
wgrantOr, worse, an ARM emulator.23:10
tewardeurgh23:10
tewardwgrant: betcha wireshark would take around that long - that thing's a BEAST23:11
tewardalthough, IMO, anyone running Wireshark on an ARM board might have some... issues... other than lag and build time23:11
wgrantHeh, quite.23:12
tewardi'd question the sanity of anyone running wireshark on ARM23:12
tewardtshark, or a pure capture, i can understand.  but not the gui23:12
tewardwgrant: looks like it's working...23:29
tewardslowly, but... working23:29
=== s8321414_ is now known as s8321414

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