/srv/irclogs.ubuntu.com/2014/01/02/#ubuntu-motu.txt

=== freeflying is now known as freeflying_away
=== freeflying_away is now known as freeflying
=== emma_ is now known as em
sontekI'm trying to push a build to a PPA (first time) and I'm not seeing any builds happen when I go to the +builds URL04:55
sontekis there a place I can check the status of a build?04:56
cjwatsonWhich +builds URL are you talking about?04:58
cjwatsonYou'd normally check the status of builds in a PPA using <URL to PPA>/+packages04:59
sontekYeah, I go to +packages and then click "view all builds"05:02
sontekand then switch to "all states" and I see nothing05:03
sontekIt said "successfully uploaded packages"05:04
cjwatsonThat would imply the builds are done05:04
cjwatsonWhat's the URL to this PPA?05:04
sontekhttps://launchpad.net/~surveymonkey/+archive/surveymonkey05:06
cjwatsonOK, so all the builds are old, indeed05:08
cjwatsonThat then suggests your upload wasn't accepted05:09
cjwatsonTwo things: (1) check your mail for reject messages (2) make sure the upload was signed with a key registered in Launchpad, as if it wasn't you won't even get a reject message05:09
cjwatson(this is basically to avoid Launchpad being a spam vector)05:09
sontekahh, I do see it got rejected05:10
sonteklibmemcached_1.0.16-1ubuntu2.dsc: Version older than that in the archive. 1.0.16-1ubuntu2 <= 1.0.16-1+lucid105:10
sontekit sees those old ones as newer05:10
sontekso I need to bump to .16-205:10
cjwatsonthat seems too high05:11
sontekIt bumped the back from -ubuntu205:11
sontekbut that didn't help05:11
sontekmaybe because those packages are -lucid?05:11
sontekI thought the build server would do the different versions05:11
cjwatson1.0.16-1ubuntu2+lucid1, I'd have thought05:11
sontekDo I have to build the package per version?05:11
sontekper release05:11
cjwatsonThe version is embedded in the source package, and Launchpad doesn't modify the source package05:11
cjwatsonSo yes you do05:12
sontekSo it wont take the source package and build it on precise for me05:12
cjwatsonThough if the builds are compatible (no ABI changes in dependent libraries or whatever) then you can build on the oldest series you care about and then copy-with-binaries to later series05:12
sontekoh, can I upload binaries instead of source packages?05:12
cjwatsonNo, but you can copy them around within Launchpad05:13
sontekSo right now in my changelog it has libmemcached (1.0.16-1ubuntu2) lucid; urgency=low05:13
sontekI should change that to 1-ubuntu3-lucid?05:13
cjwatsonNo05:13
cjwatson1.0.16-1ubuntu2+lucid1 (if you want it to be just greater than 1.0.16-1ubuntu2, e.g. if it has substantive changes) or 1.0.16-1ubuntu2~lucid1 (if you want it to be just less, e.g. if it's a straight backport)05:14
cjwatsonhttps://help.launchpad.net/Packaging/PPA/BuildingASourcePackage#versioning has specific advice on versioning05:14
sontekThis is the same package thats already there, its just the one up there has a bug05:14
sontekso I need to get a new version up there without the bug05:15
cjwatsonOh.  Why wouldn't it just be 1.0.16-1+lucid2, then?05:15
cjwatsonThat would be the normal scheme given what's there now05:15
cjwatsonAnd 1.0.16-1ubuntu2 doesn't exist in Ubuntu AFAICS, so it doesn't make sense to use versions that look like they're derivatives of an Ubuntu version05:16
cjwatson1.0.16-1+lucid2 seems best05:17
sontekNice, looks like thats working05:19
sontekdoesn't look like it marked it as superseded though05:20
cjwatsonIt'll get round to that once the builds are done05:20
cjwatsonYou wouldn't want to supersede when the new version isn't there yet, normally05:20
cjwatson(including its binaries)05:21
cjwatsonYou might want to review https://launchpadlibrarian.net/161401455/libmemcached_1.0.16-1%2Blucid1_1.0.16-1%2Blucid2.diff.gz and see whether that's actually what you meant to change; it looks surprisingly ... like a total packaging rewrite, for a bug fix05:22
cjwatsonLooks like a step backwards in a number of ways05:23
cjwatsonPerhaps it was inadvertently derived from an entirely different source tree?05:23
sontekYeah, I need to pull in all those changes as well. This was my first attempt at building a package, so I completely did it from scratch05:25
sontekso it doesn't have all the upstream debian stuff yet05:25
cjwatsonThat's generally a scary mistake05:25
sontekIt wasn't a mistake, I wanted to learn05:26
cjwatsonI would strongly advise starting out with the version you're trying to supersede, in nearly all circumstances05:26
cjwatsonUploading it over the top of the previous version is the mistake I'm referring to ...05:26
cjwatsonLearning locally is fine, of course05:26
sontekoh, yeah thats true05:26
sontekcan I remove packages after they've been uploaded?05:26
cjwatsonYes, though putting the old one back is a bit more effort (though possible)05:27
cjwatsonI'd suggest waiting until the builds complete05:27
cjwatson(They'll probably fail - the build-depends look incomplete)05:27
sontekI ran the debuild and lintian stuff to test05:28
sontekmaybe I ran the wrong commands05:28
cjwatsonThat's not enough if you weren't running in a clean environment05:28
cjwatsonI recommend sbuild05:28
sontekis there a good document on doing all this?  I found lots of different sources and they all do it differently05:29
cjwatsonLet me hurry those builds along a bit so you can see05:29
cjwatsonhttps://wiki.ubuntu.com/SimpleSbuild is pretty similar to the build setup I use05:29
sontekok, those builds failed05:30
cjwatsonThey haven't failed yet05:30
sontekoh, maybe not, they are still going05:30
sontekSo you think the best way is to download the tarball thats already there05:31
cjwatsonThe source package, yes05:31
cjwatson"dget https://launchpad.net/~surveymonkey/+archive/surveymonkey/+files/libmemcached_1.0.16-1%2Blucid1.dsc"05:31
cjwatsonthen fix up the file name with "mv libmemcached_1.0.16-1%2Blucid1.dsc libmemcached_1.0.16-1~lucid1.dsc"05:32
cjwatson(dget is in the devscripts package)05:32
cjwatsoner that should be "mv libmemcached_1.0.16-1%2Blucid1.dsc libmemcached_1.0.16-1+lucid1.dsc" of course05:33
cjwatsonascii fail05:33
cjwatsonyou won't be able to reuse 1.0.16-1+lucid2 now, but you can bump to 1.0.16-1+lucid305:33
cjwatsonhuh, those builds are getting further than I expected :)05:34
sontekhttps://launchpad.net/~surveymonkey/+archive/surveymonkey/+files/  gives 404, how were you able to get the filename?05:34
sontekI tested them locally, so I'd expect them to build all the way through05:34
cjwatsonhttps://launchpad.net/~surveymonkey/+archive/surveymonkey/+packages?field.name_filter=&field.status_filter=&field.series_filter=lucid05:35
sontekThat doesn't show the source file name05:36
cjwatsonit does if you press the expander triangle05:37
cjwatsonunder "Package files"05:37
sontekahh, I see it, so I just need the .dsc and that figures everything else out05:37
cjwatsondget will fetch the others05:37
cjwatsonor you can download manually if you prefer - you need .dsc, .debian.tar.gz, .orig.tar.gz05:38
cjwatsonanyhow, to answer your earlier question, you can either upload a version that's derived from the former one, or else there's a "Delete packages" link and then once it's processed the deletion you can use https://launchpad.net/~surveymonkey/+archive/surveymonkey/+copy-packages to copy an old version back in; switch "Published" to "Any status" and press Filter to find the old version, leave the destination PPA at "This PPA" and the ...05:38
cjwatson... destination series at "The same series", and change "Copy options" to "Copy existing binaries"05:38
cjwatsonah, there we go, those builds failed indeed05:38
sontekgpg: Can't check signature: public key not found05:39
sontekValidation FAILED!!05:39
sontekwhen doing dget05:39
cjwatsoneither get the public key of the person who signed the previous upload, or check the contents in some other way05:39
sontekWouldn't they have to put the key public for it to sign and upload?05:40
cjwatson-# upstream does not ship a stable make test, or one suitable for running in05:40
cjwatson-# a build farm, so we have to skip it. We aren't patching any of the code05:40
sontekI add to do send-keys05:40
cjwatson-# so any library failures are directly a result of upstream bugs05:40
cjwatson-override_dh_auto_test:05:40
cjwatson-echo "skipping tests"05:40
cjwatsonthat part of the diff from the previous version to yours is no doubt responsible :)05:40
cjwatsonthey would have had to push their key to Launchpad in order to upload05:40
cjwatsonSo I would assume it's http://keyserver.ubuntu.com:11371/pks/lookup?search=0x8E9C15287F3F8CB2F64FBAE86452957424F90553&op=index05:41
cjwatson(from https://launchpad.net/~msabramo)05:41
cjwatsonin which case you can grab it with "gpg --keyserver keyserver.ubuntu.com --recv-keys 8E9C15287F3F8CB2F64FBAE86452957424F90553"05:41
sontekdscverify: libmemcached_1.0.16-1%2Blucid1.dsc failed signature check:05:44
sontekgpg: Signature made Fri 08 Nov 2013 06:48:39 AM PST using RSA key ID 24F9055305:44
sontekgpg: Can't check signature: public key not found05:44
sontekgpg --list-keys |grep 24F9055305:44
sontekpub   2048R/24F90553 2013-11-0605:44
cjwatsonoh, blah, dscverify is checking against a different keyring05:48
cjwatson"dscverify --no-default-keyrings libmemcached_1.0.16-1%2Blucid1.dsc" will verify it against your normal keyrings05:48
cjwatsonthen you can fix up the filename ("mv libmemcached_1.0.16-1%2Blucid1.dsc libmemcached_1.0.16-1+lucid1.dsc", as above) and unpack it with "dpkg-source -x libmemcached_1.0.16-1+lucid1.dsc"05:49
sontekhttp://paste2.org/YZLp1NwE05:51
cjwatsonDid you delete those other files or something?05:51
cjwatsonJust download them again05:51
sontekI didn't download any files other than .dsc05:52
sontekI'm trying to use dget to get all of them05:52
cjwatsonI'm afraid I'm running out of steam, I need to go back to bed05:52
cjwatsonYou should have enough information to get the source package one way or another :)05:52
sontekNo worries, you were very helpful, I'll do some searching to see what dget is trying to do with this verification05:53
sontekits definitely not using what gpg uses05:53
cjwatsonIt's now verified the signature properly, so you just need to grab the other files05:53
cjwatsonRead the error closely - it's not anything to do with gpg at this point, it's that the mentioned files don't exist locally05:53
cjwatsonSo the simplest fix is just to grab them and re-run dscverify --no-default-keyrings05:54
sontekyeah, I was trying to use dget to get it all05:59
sontekI was able to tell it not to verify by doing ~/.devscripts DGET_VERIFY=no06:00
sontekbut the files its trying to get 40406:00
sontekSo I'm just going to do it manually :P06:00
=== ikonia_ is now known as ikonia
=== j_f-f_ is now known as j_f-f
=== highvolt1ge is now known as highvoltage
=== Lutin is now known as Guest51783
=== ryanakca_ is now known as ryanakca
=== Lutin is now known as Guest90700
jtaylorgrr a bug in the upstream numpy tarball creation means I need to a MIR for python-numpydoc :/21:10
Laneyyou could generate your own orig21:12
jtaylorthat or multiple tarball is probably a better way21:14
jtaylorhm own tarball means I need to mess with bzr again :(21:15
jtayloroh well git snapshot is probably better than my stack of 9 patches I was planning to do :)21:17
michagogo|cloudWhat does MIR stand for again?21:25
jtaylormain inclusion request21:25
jtaylornot mir the display manager21:25
jtayloror whatever it is21:25
michagogo|cloudWhy does a bug in upstream tarballs mean that the package needs to be in main?21:28
jtaylorupstream forgot to add a submodule to the tarball (why won't git fix that ...)21:28
jtaylorthe content of the submodule is also in python-numpydoc which is a separate source package21:28
jtaylorfine in debian, not in ubuntu as numpydoc is universe21:29
foxxhello motus. i have a question r.e. packaging/fakechroot, which has been bugging me for days. whenever i use "fakechroot fakeroot" with deboostrap, the second stage always seems to apply the wrong prefix to symlinks.. i.e.  ls -lah home/foxx/wtf/etc/nologin shows "wtf/etc/nologin -> /home/foxx/wtf/var/lib/initscripts/nologin", so its applying full absolute path to symlinks in second stage22:00
foxxrather than "/". this is breaking some of my packaging scripts which use fakechroot combined with debootstrap. can anyone think of any way to stop this sort of behavior from happening? any help would be much appreciated.22:00

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