/srv/irclogs.ubuntu.com/2021/03/24/#launchpad.txt

=== jamesh_ is now known as jamesh
realtime-neilWhy was my upload rejected and what can I do to work around it? https://launchpadlibrarian.net/529552570/upload_2762614_log.txt12:34
realtime-neilWhat is this "Primary Archive for Ubuntu" mentioned in the error message?12:35
cjwatsonThe Ubuntu archive.  archive.ubuntu.com12:35
realtime-neilOkay. How do I find that package so I can use it instead of the one I'm trying to upload?12:36
cjwatsonYou can get to it from https://launchpad.net/ubuntu/+source/fcl, or "pull-lp-source -d fcl" will download the Ubuntu version12:38
cjwatsonJust need to make sure that you've built your source package with the same fcl_0.6.1.orig.tar.gz as used in Ubuntu (I think the main motivation for this is to avoid people getting into weird situations if they're using a PPA as a staging area for Ubuntu development, but it's generally best for source package files with the same name to have the same content anyway to minimize confusion)12:39
realtime-neilSo, if I want to build the latest version of that source for, say, focal, do I make a recipe that eats from the "official" source?12:40
cjwatsonAre you using a recipe right now?  Can you point me to it?12:41
realtime-neilhttps://code.launchpad.net/~realtime-robotics/+recipe/fcl-daily12:41
cjwatsonEasiest way is probably to commit Ubuntu's fcl_0.6.1.orig.tar.gz to that packaging repository using pristine-tar12:43
cjwatsonThen recipe builds should use that12:43
cjwatsonThere's a 0.6.1 tag, so if you've put Ubuntu's tarball in ../fcl_0.6.1.orig.tar.gz, then "pristine-tar commit ../fcl_0.6.1.orig.tar.gz 0.6.1" should commit it.  That'll create a pristine-tar branch which you can push12:44
realtime-neilI don't think I've ever done that before. Is there a HowTo pristine-tar page somewhere?12:45
realtime-neilI'm usually using gbp12:45
realtime-neilgbp import-orig --pristine-tar ?12:46
cjwatsonI don't use gbp much so can't help with any authority on that, but the command I gave should work regardless of whether you normally use gbp12:48
cjwatson"man pristine-tar"12:49
cjwatsonI would expect gbp import-orig to do more than what you need here, but I suppose you can try it if you want.  You might need to do some more git juggling if you do that though12:50
cjwatsonProbably makes sense for future updates from upstream at least, maybe not for one you've already mostly prepared ...12:50
cjwatson(Because it'll unpack the upstream sources onto a git branch, and so you'd probably need to rebase your work on top of that.  Whereas pristine-tar on its own is a bit more surgical)12:51
realtime-neilyeah, I already imported a tarball for that version -- you're saying I should destroy that work and start over12:52
realtime-neil?12:52
cjwatsonNo, I gave you a command which does nothing of the sort :-)12:52
cjwatsonYou could just run it12:52
realtime-neilokay, will do12:52
* cjwatson tests it just in case12:52
cjwatsonAh, make that "pristine-tar commit ../fcl_0.6.1.orig.tar.gz upstream/0.6.1" by the looks of things12:53
cjwatsonAs I say, I think for future updates you could reasonably use "gbp import-orig --pristine-tar"12:54
cjwatsonFor example that's part of the procedure recommended in https://wiki.debian.org/Python/GitPackaging#New_upstream_release12:54
realtime-neilthat created a branch "pristine-tar"12:55
cjwatsonRight.  If you push that to LP, then recipe builds should use it12:55
realtime-neiloh, dear, it's based on the wrong branch12:55
cjwatson?12:55
realtime-neilaccording to DEP-14, that is12:56
cjwatsonIgnore DEP-14 for this purpose12:56
cjwatsonThough actually I don't see what the DEP-14 problem here is anyway12:56
cjwatson"If the package maintainers use the pristine-tar tool to efficiently store a byte-for-byte copy of the upstream tarballs, this should be done in the pristine-tar branch."12:56
realtime-neilhuh, okay12:57
cjwatsonThe important thing is just that it can be recovered using "pristine-tar checkout"12:58
cjwatson(Otherwise, git-build-recipe falls back to making up its own using "git archive")12:58
cjwatsonhttps://git.launchpad.net/git-build-recipe/tree/gitbuildrecipe/deb_util.py#n5112:59
realtime-neilDo I understand correctly that there's no way to create my own recipe that consumes the official source? And that there's no way to duplicate that effort without using the pristine-tar ?13:02
realtime-neilwelp, that worked worse than I had hoped: https://launchpadlibrarian.net/529559463/buildlog.txt.gz13:03
cjwatsonThe official source package is itself maintained in git at https://salsa.debian.org/science-team/fcl, so it ought to be possible to fork that13:04
cjwatsonEr13:04
realtime-neilCould I "import" it to a launchpad git and recipe that?13:04
cjwatsonWhy did you change the recipe to say "pristine-tar"?13:04
cjwatsonIt's used implicitly - you aren't supposed to set it as the branch for the recipe13:04
realtime-neilokay13:05
cjwatsonIn principle it's certainly possible to use a code import from the Debian repository and base a recipe on that.  I don't know whether there'd be any particular gotchas in this case13:06
cjwatsonRecipes were designed more for people trying to follow upstream closely13:06
cjwatsonSo this is a bit of a bolt-on use case for them13:07
cjwatsonAIUI most people doing backports just use "backportpackage" rather than recipes13:07
realtime-neilthat sounds like what I want; where is that documented?13:08
cjwatsonBut it's true that recipes are more automated if you can get them to work :-)13:08
cjwatson"man backportpackage"13:08
realtime-neilOh, if it's a local operation followed by a dput, I think I prefer a recipe.13:09
realtime-neilheh, failed to build latest release of fcl on bionic/focal because missing debhelper 13 ... I'm not at all surprised.13:25
realtime-neilOkay, I'm going to revamp my gbp via pristine tar and see if I can't get that working.13:25
realtime-neilI uploaded a *_source.changes via dput and I have yet to receive any notification on the repo page or email about it13:56
realtime-neilIs there any other place I should be checking for status updates?13:56
cjwatsonYou should get an email notification unless there was a signing failure13:59
cjwatsonHowever we're also having some infrastructure problems at the moment14:00
cjwatsonI can't get to the machine from which I normally check logs ...14:00
=== cjwatson changed the topic of #launchpad to: Canonical infrastructure problems, stand by | Help contact: @pappacena (12:00-21:00 UTC Mon-Fri) | Launchpad is an open source project: https://dev.launchpad.net/ | This channel is logged: http://irclogs.ubuntu.com/ | User Guide: https://help.launchpad.net/ | Support and spam reporting: https://answers.launchpad.net/launchpad
cjwatsonPPA uploads seem to be recovering now14:37
realtime-neilretrying now14:38
cjwatsonNo need14:40
cjwatsonUploads were queued14:40
rbasakutkarsh2102: ^14:46
utkarsh2102perfect, thanks14:47
realtime-neilWhat does this mean? "Rejected: PPA uploads must be for the RELEASE pocket."14:49
cjwatsonrealtime-neil: It means that you targeted your upload at focal-backports, which only exists in the primary Ubuntu archive - for a PPA you need to target it at focal instead14:52
cjwatson       -r, --release-pocket14:52
cjwatson              Target the upload at the release pocket, rather than the -backports pocket.  This is required for Launchpad PPAs, which are pocket-less (and the default, when the upload target is a PPA).14:52
cjwatson(from "man backportpackage")14:52
realtime-neilthank you14:52
realtime-neilIs "pocket" yet another name for "component"?14:53
cjwatsonNo14:53
realtime-neilsuite?14:53
cjwatsonSort of14:53
cjwatsonIt's a piece of jargon I'm not fond of but we don't have a better term for14:53
cjwatsonsuite = series + pocket14:53
cjwatsonSo "pocket" is the "backports" part of focal-backports (might also be "proposed", "updates", "security")14:54
cjwatsonWhile focal is the series14:54
realtime-neilso much lore14:54
cjwatsonIt essentially denotes a risk level - so it's analogous to stable/candidate/beta/edge in the snap store14:55
cjwatsonWhich may or may not be a helpful analogy depending on your background14:55
realtime-neilIt's all I can do to master deb packaging -- I'll learn snap at the next job.14:56
utkarsh2102even though PPA uploads are accepted, the builders are almost down, it seems?15:21
utkarsh2102oh actually they're not down; https://launchpad.net/builders tells me that they're super busy.15:22
cjwatsonutkarsh2102: for some architectures, yes.  I think a nova controller is dead15:22
utkarsh2102aw :/15:22
cjwatsonutkarsh2102: sysadmins are a bit busy putting out all the other fires though15:22
utkarsh2102Okay, thanks!15:22
utkarsh2102*hugs* to them, either way15:23
cjwatsonMost builders are back, though ppc64el still has some persistent problems about which I filed a ticket earlier today17:24
=== Laney is now known as Awayney
utkarsh2102yay18:52
realtime-neilIs there a backlog on publishing? I've been waiting over an hour for one particular repository?19:42
cjwatsonLet me see if that was also taken out by the outage earlier19:42
cjwatsonUgh yes, that looks rather unhealthy, thanks for mentioning it19:43
cjwatsonNot obviously a result of the outage though ...19:43
cjwatsonWorking on it, waiting for a sysadmin to get back to me19:47
realtime-neilcjwatson: I thought you _were_ the sysadmin. :D19:47
cjwatsonrealtime-neil: I'm one of the LP developers and have some site staff superpowers, but Canonical's sysadmin team run the actual machines19:48
cjwatsonSo sometimes we need to do arm's-length stuff via them19:48
cjwatsonrealtime-neil: OK, publisher is back up now and should catch up in a bit19:50
cjwatsonAnd I should probably check what alerts we have on that19:50
realtime-neilsweet, much thanks19:51
realtime-neilcjwatson: is there a status page I can look at? I have packages that have been publishing for over 90 minutes, now.20:44
realtime-neilwhoops, I may have spoken too soon20:45
tewardcjwatson: does Launchpad really still use 16.04?  o.O22:46
tewardare there any plans to update that in the ${future} since 16.04 standard support is... coming to an end :P22:46
cjwatsonteward: sadly.  upgrading later this year I hope22:47
tewardjust curious as i read through the dev docs22:47
cjwatsonteward: LP works fine on 18.04, we just haven't had sysadmin cycles to upgrade production22:47
tewardthat i can understand heh22:47
cjwatson(20.04 maybe not so much, that's not tested yet and may need some fixes)22:47
tewardcjwatson: lp dev docs suggest 16.04 for the runtime env for a dev version - only hunting this again because I stupidly deleted my lpdev LXD environment >.<)22:48
tewardhence the questions :P22:48
cjwatsonhttps://dev.launchpad.net/Running/LXD "We currently test on 16.04 and 18.04, with the aim of upgrading production to 18.04 soon"22:48
tewardI"m blind heh didn't see the link on the 4k screen (small text!)  the main Running page doesn't say 18.04 though so :p22:49
cjwatsonIt's true, we haven't necessarily gone around and updated all of those in advance of the production upgrade22:49
cjwatsonAnyway, feel free to use either xenial or bionic22:49
cjwatsonAnd either Python 2 or 322:50
cjwatson(select py3 with `make PYTHON=python3`)22:50
tewardcjwatson: i'll use Bionic, i'm still on the rocketfuel setup step.  had to do some things to make the env work the way i wanted *shrugs*23:51

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