/srv/irclogs.ubuntu.com/2014/07/18/#launchpad.txt

=== thomi_ is now known as thomi
=== Ursinha-afk is now known as Ursinha
=== mfisch` is now known as mfisch
=== mfisch is now known as Guest32427
sergio-br2hello05:12
sergio-br2anyone?05:12
wgrant_sergio-br2: Hi.05:21
=== wgrant_ is now known as wgrant
sergio-br2hi05:21
sergio-br2hey, I sent a package with dput to my ppa, but it seems it went to space or something like that05:21
sergio-br2in terminal it seems it worked: "Successfully uploaded packages."05:22
sergio-br2but i'm waiting for 4 hours05:22
sergio-br2is it normal wgrant_ ?05:25
wgrantsergio-br2: You received a rejection email three hours ago:05:29
wgrant2014-07-18 02:29:51 DEBUG   Rejected:05:29
wgrant2014-07-18 02:29:51 DEBUG   Source/binary (i.e. mixed) uploads are not allowed.05:29
wgrant2014-07-18 02:29:51 DEBUG   ppsspp_0.9.8.git.20140717-0ubuntu4.dsc: Version older than that in the archive. 0.9.8.git.20140717-0ubuntu4 <= 0.9.8.git.20140717.2~ubuntu14.04.105:29
sergio-br2naaaahhh05:30
sergio-br2:(05:30
sergio-br2ok05:30
sergio-br2(and i didn't receive email here in thunderbird... funny)05:31
wgrantLaunchpad certainly sent it to a yahoo.com.br address.05:32
sergio-br2nothing here...05:32
wgrant2014-07-18 02:29:51 DEBUG   Sent a mail:05:32
wgrant2014-07-18 02:29:51 DEBUG     Subject: [~sergio-br2/ubuntu/ppsspp] ppsspp_0.9.8.git.20140717-0ubuntu4_amd64.changes rejected05:32
wgrant2014-07-18 02:29:51 DEBUG     Sender: Launchpad PPA <no_reply@launchpad.net>05:33
sergio-br2where did you find that info? Is it public?05:33
wgrantIt's from our internal logs.05:33
sergio-br2ah05:33
sergio-br2thank you05:33
sergio-br2there is no quote anymore for me, today, to build recipes05:34
sergio-br2my last hope was using dput.. dammit05:34
wgrantYou can use dput, you just need to fix the errors that caused the rejection.05:34
sergio-br2yeah, the version05:34
sergio-br2but the code... it's 400 MB05:35
wgrantSpecifically, you tried to upload binaries (you need to give -S to dpkg-buildpackage or debuild to ask for a source-only upload), and your version was bad.05:35
sergio-br2Can I upload only binary?05:36
sergio-br2the code is so big05:36
wgrantNo. Launchpad only accepts source uploads. All binaries exposed by Launchpad are built by Launchpad.05:36
sergio-br2hum05:36
sergio-br2so, if I use dput, after it will publish amd64 and x86 versions?05:37
wgrantYou upload a source package, and Launchpad will use that to build i386 and amd64 binaries.05:37
sergio-br2ah05:37
sergio-br2well, i already have the code in launchpad, but my build request by recipes finished for today05:38
sergio-br2for example, the last build request for trusty was 12 hours ago, so i have to wait more 12 to try to request again other build?05:40
wgrantYou can only build a recipe for a particular series five times in a 24 hour window.05:40
sergio-br2(and I want to know how to cancel a build request)05:40
wgrantWhy do you need to cancel one?05:41
sergio-br2sometimes I messed up with version, in the recipe content05:41
wgrantIt's very rare that you would need more than five a day, or to cancel one. You should always be test building locally first, so the Launchpad builds should work first time.05:41
sergio-br2yeah, i tested here, and it compile was successful05:41
sergio-br2hey wgrant, do you know how can I force debuild (in the server) to use quilt instead native? Do I have to change something in rules?05:43
sergio-br2i have some quilt patches in other program, and debian package is in upstream now. So I need to run the quilt patches, even if package is native05:44
wgrantsergio-br2: It will use 3.0 (quilt) if your package specifies 3.0 (quilt) in debian/source/format and your branch has pristine-tar metadata to construct an orig tarball.05:44
wgrantIt's not possible to use 3.0 (quilt) without an orig tarball.05:44
sergio-br2 pristine-tar metadata?05:45
wgrantBut are you sure the patches aren't being applied anyway?05:45
sergio-br2but the tarball isn't the code i host in launchpad?05:45
wgrantIIRC when bzr-builder forces a package to 3.0 (native), it applies any quilt patches first.05:45
sergio-br2for example, this: http://ppa.launchpad.net/sergio-br2/cabrio/ubuntu/dists/trusty/main/source/Sources05:47
sergio-br2it has no quilt patches, but in the future maybe. And I see Format: 3.0 (native)05:47
wgrantThat's a 3.0 (native) package. A 3.0 (quilt) package has a .dsc, a .debian.tar.gz, and a .orig.tar.gz.05:47
sergio-br2but the code is in launchpad, and debian folder is inside05:48
wgrantIf bzr-builder sees a 3.0 (quilt) package but you haven't given it the pristine-tar metadata it needs to generate the orig.tar.gz (eg. using 'bzr import-upstream'), it will apply the quilt patches and force it to 3.0 (native).05:48
wgrantSure, Launchpad has the code.05:48
sergio-br2I have no idea how to use a recipe without debian folder inside the code05:48
wgrantBut an orig.tar.gz is usually bit-identical to the upstream tarball, so it can't reasonably be generated manually without the pristine-tar data.05:49
wgrant3.0 (native) is usually the right choice for daily builds, as there isn't a corresponding upstream release tarball.05:49
wgrantAre you sure it's not applying patches today, even though it's being forced to 3.0 (native)?05:49
sergio-br2i don't know, i have to test it05:49
sergio-br2wait, i'm processing the information05:50
sergio-br2so, i don't need to import all code of upstream to launchpad? I can maintain a debian folder in the launchpad bzr, and it can download a tarball from git or sourceforge, with this pristine-tar metadata?05:52
wgrantRecipes always build from a Bazaar branch. They cannot use a tarball directly.05:53
wgrantManual uploads using dput can use an upstream tarball, but Launchpad won't grab an external tarball automatically: you need to upload it the first time you use it.05:54
sergio-br2hum, but with dput it's not possible to automate build for 3 version of ubuntu for example05:55
sergio-br2only for trusty, or for utopic...05:55
wgrantYou need to upload each source package, yes.05:55
sergio-br2and lost some time...05:56
wgrantThe orig.tar.gz can be shared between them.05:56
sergio-br2yeah05:56
wgrantIt need only be uploaded in the first upload.05:56
sergio-br2so i do dput ppa:sergio-br2/ppsspp ../ppsspp_0.9.8.git.20140717-0ubuntu4_amd64.changes05:57
sergio-br2in the first time?05:57
sergio-br2dput ppa:sergio-br2/myPPA package_amd64.changes, or05:58
sergio-br2dput ppa:sergio-br2/myPPA package_amd64.source or like that?05:58
=== verterok` is now known as verterok
wgrantsergio-br2: It must always be a _source.changes.06:18
wgrantBinary uploads are not accepted.06:18
sergio-br2ok06:19
sergio-br2more one question: Can i use -j4 in make command, in the rules?06:19
sergio-br2my package will build faster?06:20
wgrantsergio-br2: You wouldn't do that directly. Packages should examine the "DEB_BUILD_OPTIONS" environment variable's "parallel" key, which specifies the number of concurrent jobs to run. That way the builder can tell the build how many cores to use.06:23
wgrantIf you're using a modern debian/rules that uses dh's automatic targets, you can just give dh the --parallel option. But if you're directly invoking make yourself, you'll need to construct a -j option manually.06:23
sergio-br2it's like it:06:24
sergio-br2build-stamp: configure-stamp06:24
sergio-br2dh_testdir06:24
sergio-br2# Add here commands to compile the package.06:24
sergio-br2$(MAKE) -C build-qt/06:24
geserdch: no, not different ppas but different versions: e.g. 1.0-0ubuntu1precise1 for the precise upload, 1.0-0ubuntu1trusty1 for the trusty upload, etc. (all can go into the same ppa)06:25
sergio-br2hey wgrant, thanks :)06:51
sergio-br2bye!06:51
=== wallyworld__ is now known as wallyworld
=== wallyworld__ is now known as wallyworld
Mezcjwatson: it was saucy end of life coming into effect09:51
cjwatsonah, ok10:00
dchgeser: hey, thanks. I am looking at this now. I understand how to resubmit each package now (use debuild -S, then dput ..).10:06
dchthe older debia/changelog entry is 'apache-couchdb (1.6.0-0ubuntu2) precise; urgency=low'10:06
dchfor trusty, (and other builds) should I have 'apache-couchdb (1.6.0-0ubuntu3) trusty; urgency=low’ ?10:07
dchi.e. increment the ubuntuX suffix and change the package name? Or do I need a different name?10:07
dchit’s not clear how the changelog entry maps to the debuild output10:08
geserdch: just increment the version. 1.6.0-0ubuntu3 would work for trusty10:10
cjwatsonthere's advice on versioning linked from the PPA section of help.launchpad.net somewhere10:11
dchOK it seems the “best” way to do this is simply ` dch -D trusty —increment`10:14
dchwhich DTRT10:14
dchok, submitted that but I get a warning about multiple upload of the orig.tar.gz, is there a way to suppress dput trying to upload the .orig.tar.gz again?10:22
dchand thanks for your help, I think it’s almost done :-)10:22
cjwatsonDon't pass -sa to debuild10:25
cjwatsonOr pass -sd to force the orig to be excluded from the .changes, although that's hardly ever necessary ...10:26
dchcjwatson: thanks!10:27
dchok beautiful, working perfectly10:35
trashhow long does it usually take for a ppa to appear on launchpad? I success fully uploaded a *changes file via dput and it did not appear11:45
trash(it's my first one at all)11:45
gesertrash: did you got an email?11:51
trashno11:51
gesercheck if the key you used to sign the upload it registered with your LP account11:51
trashI did not do that at least yet, that could be a problem :)11:52
geser(this is a common error if you don't get an email about an upload)11:52
trashwhere can I upload/link my gpg key in my launchpad profile?11:54
trashI do not seem to find the proper place11:54
trashah found it11:54
trashthanks :)11:55
trashnow came some useful email, thanks again.12:01
=== jibel_ is now known as jibel
akuznetsovaHi there)14:35
akuznetsovaCan somebody help ? I need to get a milestone id using launchpadlib. Is it possible ?14:36
cjwatsonakuznetsova: What sort of ID do you mean?14:42
akuznetsovaId from url : &field.milestone%3Alist=6396214:42
akuznetsovaI want to dynamically generate a link, I know how to get all needed parameters except milestone id14:44
akuznetsovaif I use lp.get_project("test").active_milestones I get list of milestone's names14:46
cjwatsonHmm14:47
cjwatsonWhat a maze; there's really no reason you shouldn't just be able to pass a name14:49
cjwatsonYou could screen-scrape it out of the ?advanced=1 bug search form, but good grief that's awful14:52
akuznetsovaIt isn't work in my case: I need to get list of bugs for a specific milestone of the project14:53
cjwatsonRight, but the advanced bug search form has the list of milestones with their object IDs in the "value" attribute.  It's awful though.14:54
cjwatsonI guess this is basically https://bugs.launchpad.net/launchpad/+bug/43670614:54
ubot5Ubuntu bug 436706 in Launchpad itself "Milestone vocabulary leaks object id" [Low,Triaged]14:54
cjwatsonAnd indeed bug 124187514:55
ubot5bug 1241875 in Launchpad itself "Bug search does not accept milestone or series names and requires integer id" [Undecided,New] https://launchpad.net/bugs/124187514:55
akuznetsovayes, i saw it, it is very old bug)14:55
cjwatsonI would love to have a better answer but I don't; making field.milestone accept the milestone name as an alternative would probably not be too difficult, as a first step14:56
cjwatsonThough I'm a bit too busy today to attack it14:56
cjwatson(This is not to say no answer exists; not an expert in the bugs code)14:57
cjwatsonI do think the right answer is not to have to do this at all though14:57
akuznetsovaok, thanks, try to solve my problem in a different way15:00
=== JanC_ is now known as JanC
=== Ursinha is now known as Ursinha-afk
=== Ursinha-afk is now known as Ursinha
=== Ursinha is now known as Ursinha-afk
=== Ursinha-afk is now known as Ursinha
=== Ursinha is now known as Ursinha-afk
=== Ursinha-afk is now known as Ursinha
=== Barnabas_ is now known as BarnabasDK
sergio-br2hey hello19:20
sergio-br2i'm trying to make a package with recipe, but it seems it complains about missing dependence. But I'm using embedded libraries here, ffmpeg and glew19:21
sergio-br2take a look: http://pastebin.com/jzBtezjt19:21
=== Ursinha is now known as Ursinha-afk
=== Ursinha-afk is now known as Ursinha
cjwatsonsergio-br2: your package clearly isn't using the embedded versions22:04
cjwatsonsergio-br2: not a Launchpad problem :)22:04
sergio-br2hey22:05
sergio-br2yeah22:05
sergio-br2i think the problem is in headers22:05
sergio-br2<> instead ""22:05
cjwatsonWell, the error is from the linker22:05
cjwatsonIf it's a header problem, then that's quite far removed from the error22:05
cjwatsonYou might find the library in question isn't actually being built or something; some build systems aren't good at stopping at the first error22:06
cjwatsonAnyway, you should try it in sbuild locally, at which point you will be able to investigate directly22:06
sergio-br2i tried to use pbuilder-dist22:09
sergio-br2pbuilder-dist trusty build ppsspp_0.9.8.git.20140717-0ubuntu4.dsc22:09
sergio-br2W: /home/sergio/.pbuilderrc does not exist22:10
sergio-br2E: File /home/sergio/pbuilder/trusty-base.tgz does not exist22:10
sergio-br2cjwatson, to use sbuild, just do sbuild in the directory? like debuild?22:11
dobeyyou have to create the chroot to build in, before pbuilder/sbuild will work22:13
sergio-br2sudo pbuilder create ?22:14
cjwatsonsergio-br2: https://wiki.ubuntu.com/SimpleSbuild22:14
dobeypbuilder-dist trusty create probably22:14
dobeyor follow that link22:14
sergio-br2ok22:14
cjwatsonIf you already have pbuilder set up, fine, but I would not start there in 201422:14
sergio-br2sbuid better than pbuilder?22:15
cjwatsonI think so22:15
cjwatsonAnd sbuild is what Launchpad uses, albeit an ancient version22:16
dobeyit's closer to what luanchpad uses22:16
dobeywell, launchpad also has some configuration at least, that is different from local sbuild22:16
sergio-br2hum22:17
cjwatsonYeah, but not huge amounts and not normally relevant22:17
sergio-br2how can I purge what i did with pbuilder?22:17
cjwatsonAlso pbuilder *still* has no way to keep the base directory in anything other than a tarball, which is dreadfully slow unless your disks are really fast.  cowbuilder takes a somewhat more sensible approach, but sbuild has that built in22:17
dobeywell, behavior of $HOME and inability to hit network would be nice to have replicated locally22:17
cjwatsonPretty sure Stéphane has something for that22:18
cjwatsonOr was working on it ... he was doing stuff with sbuild-launchpad-chroot22:18
dobeycool22:18
cjwatson(The network restrictions are technically external to Launchpad, though I realise that's immaterial to most users)22:18
dobeyyeah, i'd like to have a way to enforce that when i do "make check" in my local development tree, and not have to rely on errors popping up when stuff hits launchpad22:20
cjwatsonI gather it's pretty easy to do with lxc22:20
cjwatsonJust don't have the runes to hand22:20
cjwatsoni.e. lxc-unshare rather than actually a full container22:20
dobeysure. but i'd prefer something i can easily integrate into a project's build system and doesn't require running anything as root or such22:22
cjwatsonsergio-br2's case isn't going to need this though - all it needs is a build in a clean chroot with just the declared build-dependencies installed on top22:22
cjwatsonso let's not confuse22:22
dobeyyeah22:22
dobeyor he could just not try to build an internal copy of ffmpeg, and use the system libs instead22:22
cjwatson(unprivileged containers!)22:23
cjwatsonwell, I would certainly recommend that for anything in Ubuntu proper, but from experience I can say that that's often a lot of work, unfortunately22:23
dobeyis upstream ffmpeg fully redistributable even?22:24
cjwatsonso I can understand somebody not wanting to do it for something in a PPA22:24
stgraberyou can do something like "lxc-unshare -s "USER|NETWORK" -- /sbin/ifconfig -a" as a user on current Ubuntu22:24
dobeysure22:24
cjwatsonwe've had a number of cases even where we thought we had a full port to current libav and then it turned out to have runtime bugs that didn't appear with ffmpeg - often needs an expert22:24
cjwatsonwhich is kinda sad but22:25
dobeyyeah, ffmpeg is a mess :-/22:25
dobeyand that's being kind22:25
sergio-br2ok, let me see if work23:07

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