/srv/irclogs.ubuntu.com/2018/05/27/#launchpad.txt

matjamhey guys, packages successfully builds, but it's stuck "Pending" https://launchpad.net/~chrome/+archive/ubuntu/magnum.graphics/+packages08:21
matjamcan anyone help?08:21
cjwatsonIt's Sunday morning so there's a long-running maintenance job.  Give it a while longer.09:15
* enyc prods and pokes the PPA system ;p you know you want to build my package!14:12
cjwatsonenyc: Hm?  Build queues look nice and clear.14:13
enyccjwatson: yes quite iv'e now discovered the rejection emails ;p sorting it =)14:16
enyccjwatson: are there any articles on  version-number-additions  with ~ and whot-have-you  for  -backports, -updates,  PPA,  etc versions?14:17
enyc~0ubuntu0  ~0-xenial-ppa  etc etc all of that14:17
cjwatsonenyc: It's mostly convention and a lot of it is up to you, but https://help.launchpad.net/Packaging/PPA/BuildingASourcePackage14:18
cjwatsonI'd advise against "~0-xenial-ppa" for multiple reasons though.14:19
enyccjwatson: yes where are these 'conventions' listed,  and what is best if something is to be considered for -backports or -updates  anyway?14:19
cjwatsonIf you're doing anything fancy, consult Debian policy.14:20
cjwatsonYou should understand what each part of the version number means.14:20
cjwatsonHyphens are special and you should normally only have at most one in your version number, to separate the upstream version number from the packaging revision.  Using any more hyphens than that is asking for trouble.14:21
cjwatsonAlso, using "xenial" is a bad idea; all components of the version number should be sortable, so "16.04" is preferable to "xenial" (because otherwise xenial > bionic ...)14:21
cjwatsonFor things like -updates, I recommend https://wiki.ubuntu.com/SecurityTeam/UpdatePreparation#Update_the_packaging14:22
enychrrrrrrrrrrrrrrm now when i"ve seen backports in debian they like using ~bpo ...  because the ~ has special meaning to produce a'less than' version...  so that a xenial-backport  will then get updated to a bionic  version upon  do-release-upgrade14:24
enyc~ubuntu16.04.1    semes to be used14:25
cjwatsonThat's a reasonable convention, yes14:25
enycand a reosnably one to start off with in a xenial-ppa ?14:26
cjwatsonIt depends what you're starting from.14:26
cjwatsonIf what you mean is "build version 1.1.0-1 for xenial", then 1.1.0-1~ubuntu16.04.1 is a reasonable version14:26
enycdebian pkg already in ubuntu with no ubuntu specific changes/addons at all, to ubuntu versioninig at all14:26
cjwatsonAlso, if you have no Ubuntu-specific changes, you can just use "backportpackage" and it'll do it all for you.14:27
enyclol didn't know that one =)14:27
cjwatsonAnd, indeed, "~" means "sort just before the version you get if you truncate the version at the ~"14:29
cjwatsonSo is generally very useful for backports.  Not so much if there are substantive changes, as is usually the case in -updates14:29
cjwatsonYou can't lump -backports and -updates into one approach here.14:30
* cjwatson out14:31
enyccjwatson: right yes that makes sense... thaknyou14:31
matjamcjwatson: its ok now, thanks, was thinking it was something I was doing wrong lol14:32
matjamcan anyone see why https://launchpadlibrarian.net/372058539/buildlog_ubuntu-xenial-amd64.magnum-plugins_2018.04-1ppa3~ubuntu16.04_BUILDING.txt.gz is failing? Depends: libfreetype6-dev but it is not going to be installed .. its a package thats available15:03
enycmatjam: hrrm if you had access to chroot yourserf   i'd be "apt-get install libfreetype6-dev"  and then see what its triyng to remove etc...16:01
enycmatjam: I would look on  https://packages.ubuntu.com/libfreetype6-dev  BUT the packages-website is devoid of trusty/xenial inforamtion at the moment [grr!]16:01
matjamenyc: I'm starting from clean working control file, I think I fat fingered something16:02
matjamhad this stuff working last night16:02
matjamthen my packages wouldn't publish16:02
matjamsigh16:02
matjamI feel like the failed build count is like a mark against my honor16:26
cjwatsonmatjam: The transition to libpng1.6 hadn't finished in xenial yet.  As a result, when you build-depend on libpng16-dev | libpng-dev, libfreetype6-dev, the following happens:17:08
matjamcjwatson: I got it all to build https://launchpad.net/~chrome/+archive/ubuntu/magnum.graphics17:08
cjwatsonmatjam: (1) apt marks the immediate build-dependencies for installation, including libpng16-dev and libfreetype6-dev.  (It would only try to fall back to some other provider of libpng-dev if libpng16-dev were entirely absent.)17:08
matjamI have libpng-dev|libpng16-dev in dependencies17:09
cjwatsonmatjam: (2) apt tries to satisfy all the broken dependencies, and since libfreetype6-dev depends on libpng-dev (whose only provider is libpng12-dev) that results in a conflict.17:09
matjamahh17:10
cjwatsonmatjam: libpng12-dev | libpng-dev would have been a technically more correct fix for xenial, I believe, but yours will do.17:10
matjammakes sense17:10
matjamI'll make note for next time17:10
cjwatsonUnfortunately apt isn't terribly helpful about this until you ask it some slightly more probing questions.17:10
matjamI wasn't able to make a build chroot for 16.04 on my 18.04 machine (doing it wrong, I'm sure) so I was only able to test locally on 18.0417:11
cjwatsonI recommend chdist, from the devscripts package.17:11
matjamoh, that looks nice17:12
cjwatsonYou don't need a full chroot for this kind of thing; you just need an environment where you can do simulated runs of apt (without actually installing any packages, but just running the dependency resolution algorithm).17:12
matjamright17:12
cjwatsonchdist gives you that.  (Of course if you try to actually install packages that way you will have a bad time.)17:12
matjamyeah that would have sorted me out17:12
matjamsuperseded packages get deleted after a while, right?17:13
cjwatsonYes.17:14
matjamneato17:14
matjamthanks for the advice, appreciated17:14
cjwatsonThey stop being published (and hence counted against your quota) after a day or so; they get deleted entirely after about a week.17:15
cjwatsonIIRC17:15
matjamtook me a few iterations to get the build right17:15
matjamupstream had done most of the work with the packaging they just didn't want to do the PPA stuff, so I took care of it17:16
cjwatsonIt can take a few goes sometimes, yes.  I normally prefer to iterate locally with sbuild.17:20
matjamyeah I think that would be preferable17:20
matjamthe wait time between builds on lp makes it intolerable when you have packages with interdependencies17:21
matjamand I am new to it so wasn't aware that sundays there's a long running batch job that stops things from being published :P17:21
cjwatsonIt's literally just a couple of find | xargs to clean up empty directories, but the PPA tree is kinda huge17:23
cjwatsonShould really just integrate it into the normal publisher17:25
matjamok my job is done, packages published, upstream PRs created17:35
physketsHi!17:46
physketsI need help with pulling code from launchpad17:46
physketsspecifically, this repo:17:46
physketshttps://code.launchpad.net/~armagetronad-dev/armagetronad/0.4-armagetronad-work17:47
physketsHow do I do it?17:47
cjwatsonWhat have you tried, and what didn't work?17:47
physketsarmagetronad/0.4::bzr+https://code.launchpad.net/~armagetronad-dev/armagetronad/0.4-armagetronad-work/17:47
physketsWill this work?17:47
cjwatsonUh, I mean, in what context?  That's not a Unix command17:48
physketsoh sorry,17:48
physketsin an Arch(linux) PKGBUILD17:48
cjwatsonI'm not exactly an Arch expert.  Can you point to some general docs about what it expects?17:48
physketsfor ge:17:48
physketshttps://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=etude-bzr17:48
physketslook at the source() line17:49
cjwatsonI think armagetronad::bzr+https://bazaar.launchpad.net/+branch/armagetronad/0.4 ought to work17:50
physketsso how do I test that?17:50
cjwatsonThe +branch shortcut saves you from hardcoding what that alias happens to point at17:50
physketsBut what you posted is very different from the link...17:51
physketshow did you get from:17:51
physketshttps://code.launchpad.net/~armagetronad-dev/armagetronad/0.4-armagetronad-work17:52
physketsto that?17:52
cjwatsonAh, needs to be code not bazaar I think17:52
cjwatsonarmagetronad::bzr+https://code.launchpad.net/+branch/armagetronad/0.417:52
cjwatsonYou could use armagetronad::bzr+https://code.launchpad.net/~armagetronad-dev/armagetronad/0.4-armagetronad-work if you prefer - I just optimised it17:52
physketsokay, but how do I check if it is pulling the code fine?17:52
physketsI mena, does wget work on that?17:53
cjwatsonI got to +branch/armagetronad/0.4 by observing the lp:armagetronad/0.4 bit at the top of the page, and having insider knowledge17:53
cjwatson"bzr branch https://code.launchpad.net/+branch/armagetronad/0.4 armagetronad" works fine17:53
cjwatsonBeyond that, you need somebody who has any idea whatsoever about Arch17:53
physketsoh17:53
physketsTHanks!17:54
cjwatsonIt's possible that armagetronad::bzr+lp:armagetronad/0.4 would work too, but that's even more shorthand and it depends on how the thing that handles PKGBUILD is implemented17:54
cjwatsonIf it just strips off the VCS prefix and then passes it to bzr branch, then that would be all you'd need17:55
physketsI see... let me try that17:56
physketscjwatson: Dosen't the part before the :: have to be "armagetronad/0.4" ?17:57
physketsoh nevermind17:57
cjwatsonI wouldn't have thought so17:58
cjwatsonThat's a local directory name, right?17:58
physketsSO what exactly does the part before the :: denote?17:58
cjwatsonphyskets: That's an Arch question, not a Launchpad one.18:00
physketsoh18:00
cjwatsonphyskets: But see https://www.archlinux.org/pacman/PKGBUILD.5.html#VCS18:00
physketsah18:02
physketscjwatson: Is there somehow I can get the code and calculate it's sha1 sum?18:04
cjwatsonWhat does that even mean?  A directory of files checked out by a version control system doesn't have an obvious checksum.18:05
physketsoh... ya18:06
cjwatsonYou can get the code as indicated in the "Get this branch:" section of the web page you started from, but otherwise the question isn't well-defined.18:06
physketscjwatson: THanks for your help!!18:42
physketsthat short version works! :)18:42

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