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

=== maclin1 is now known as maclin
hannoHello. I have a few PPA related questions. Is this the right place?11:59
xnoxdepends on the question12:02
hannoMy PPA is filling up, 22% use of 2GB: https://launchpad.net/~hzulla/+archive/ubuntu/sonic-pi/+packages12:03
hannoHowever, I cannot remove obsolete packages.12:03
hannoThe package deletion only allows me to choose the current versions of the packages, not the outdated ones.12:03
maxbNo, that's not the case, you just have to change one of the filter options12:04
xnoxand deletion is not instant.12:05
xnoxit's a cronned type of thing.12:05
hannoI did change the filter option.12:05
xnoxhanno, try https://launchpad.net/~hzulla/+archive/ubuntu/sonic-pi/+packages?field.name_filter=&field.status_filter=&field.series_filter=12:06
xnoxthe drop down to "Any status" rather than just published12:06
hannoYes. Now if I click "delete packages" as the admin, the superseded packages aren't listed and thus cannot be deleted.12:06
hannoBut maybe I just have to wait.12:06
hanno...for the cron to kick in.12:07
xnoxhanno, can you filter by status again, in the delete packages section?12:07
xnoxurl should end in +delete-packages?field.name_filter=&field.status_filter=&field.series_filter= e.g.12:08
xnoxhttps://launchpad.net/~hzulla/+archive/ubuntu/sonic-pi/+delete-packages?field.name_filter=&field.status_filter=&field.series_filter=12:08
xnoxif it's not listed there, it's scheduled to be deleted.12:08
hannohttps://launchpad.net/~hzulla/+archive/ubuntu/sonic-pi/+delete-packages?field.name_filter=&field.status_filter=superseded&field.series_filter= comes up empty.12:09
hannoSo I'll wait for deletion.12:09
xnoxcool.12:09
cjwatsonRight, deleted packages are garbage-collected daily.  If you're only at 22% then you don't need to worry.12:14
hannoThanks.12:17
hannoIs there a PPA-like service to build .deb for Debian?12:18
hannoI'd like to test these packages in my PPA on vanilla Debian, too.12:19
hannoAlso, same for Raspbian.12:24
cjwatsonNot operated by us, I'm afraid.12:24
cjwatsonI don't know of one, which isn't to say it doesn't exist.12:25
hannoAnother PPA question. I have a source tarball with valid debian/ rules. But I have to tell the specific name of the distribution (wily/vivid/trusty) in the changelog and cannot use one .changes file for all three?15:12
cjwatsonhanno: If the exact same binaries will work on all three, then you can just upload to the oldest (trusty) and then copy the package with binaries forward to vivid and wily once everything's built15:14
cjwatsonhanno: If that condition does not hold, then you're going to need different version numbers for each set of binaries, so the source package needs to differ anyway15:15
cjwatson(even if only in the first line of the changelog)15:15
hannoI don't know if the same binary works. But the same source package and build instructions work on all three.15:18
cjwatsonWell, find out if the same binary works.15:18
cjwatsonIf your dependencies aren't too fast-moving then it may well.15:19
cjwatsonLet's say your binary package is called "foo" and is version 1.0-1, built for amd64.  That will land in pool/main/f/foo/foo_1.0-1_amd64.deb in the published archive tree.  Only one version of that file can exist in a given archive - attempts to build it twice with the same package name, version, and architecture would result in a file name clash, so Launchpad forbids that.15:20
cjwatsonSo *if* you need to build it multiple times, it needs a distinct version number.15:21
cjwatsonOtherwise, the target series in the changelog only specifies where it's initially uploaded to, and you can copy it around elsewhere (as long as it's either to a different archive, or you include binaries in the copy).15:22
dobeyi've taken to just setting up recipe builds off trunk when i can, since a) they're automated b) ~14.04.1 ~12.04.1 etc get appended to version automatically c) always have latest version of whatever15:27
hannoThanks.15:43
hannoOk, so now I have a collection of patches for my .deb, let's call them 01 to 05. For i386 and amd64, I need all five of them. But for RPi, I only need the first four and not the fifth.15:44
hannoCan I specify that in some way or do I need to maintain two different versions of the debian/ directory?15:45
dobeypatches should generally be applicable regarldess of the arch it is building on15:49
cjwatsonhanno: While it's possible to do conditional patch application, it's a pain and makes it harder to use good patch management tools.  I would very very very strongly recommend making the patches themselves have conditional behaviour if for some reason 01-04 actually break RPi.15:49
dobeya different set of patches is a different source15:49
cjwatsonhanno: Take it from one who has been there and done that.15:49
dobeytwo15:50
dobey:)15:50
hannoThe source is for an RPi program. Patch 05 removes RPi specific behaviour.15:50
cjwatsonEr, right, I read your comment backwards, but basically the same statement holds.15:50
cjwatsonMake patch 05 detect the platform instead.15:50
dobeyLaunchpad has no notion of what is and isn't an RPi though. armhf packages are just armhf packages15:52
hannoI'll see how I can do that.15:52
dobeybest would be to just get the changes upstream15:56
dobeyand RPi specific stuff should be runtime detected or something15:57
hannothanks everyone.15:58
retrojeffI have a question about PPA's and ubuntu21:25
retrojeffso I just upgraded from 14.04 trusty to 16.0421:26
retrojeffis there a way to change all my PPA up to 16.04 quickly21:26
retrojeffI tried using sed to replace trusty with xenial21:27
tewardretrojeff: 'change all my PPA' how?21:27
retrojeffnow over 1/2 my PPA are 40421:27
tewardretrojeff: all the PPAs you use need to support Xenial for it to reliably work, but you need #ubuntu+1, not here21:27
cjwatsonRight, this is up to the PPA owners, you can't do it without their help.21:27
tewardat least, for changing everything on your Xenial system to update21:27
retrojeffthat channel is dead as a doornob21:27
tewardretrojeff: well, you have two problems:21:28
teward(1) not every PPA supports Xenial, so21:28
teward(2a) the PPA owners need to update their PPAs to support Xenial, or21:28
teward(2b) you have to remove those PPAs from your repository list21:28
cjwatsonOr you can continue to use the trusty packages.21:28
teward^ that21:28
retrojeffcan I force the non working PPA back to an earlier working one21:28
tewardwith potentially mixed results.21:28
cjwatsonIf they still work, which they may well do.21:28
tewardright21:28
cjwatsonYou can replace "xenial" with "trusty" again for the ones that don't support xenial.21:29
cjwatsonOr try wily or vivid, perhaps.21:29
tewardretrojeff: edit the individual sources.list or sources.list.d files' entries as cjwatson just said21:29
tewardthough you may wish to NOT use Xenial just yet since it's still in development21:29
teward(if you care about stability, anyways)21:30
retrojeffis there a bash script that can step through all the PPA and check for Xenial and if not found set it to trusty21:30
tewardprobably a sed script, but it won't discern between ppas that work and those that don't21:30
tewards/sed script/sed command/21:30
retrojeffyes21:30
retrojeffI would need to check for a Xenial folder on the website21:30
tewardretrojeff: that should be asked in #ubuntu+1 though i bet there's answers on the net for it xD21:30
retrojeffand if its missing report back false21:30
dobeyperl -p -i -e "s/xenial/trusty/" foo.list21:31
tewardthank you dobey21:31
tewardretrojeff: erm, that's a lot more work21:31
tewardi'd either edit them all, or manually edit the ones that're 404ing21:31
cjwatsonAfter an "apt-get update" with partial failures, you can look in /var/lib/apt/lists/21:31
teward^ that21:31
* teward goes away to poke the nginx packages in his PPA 'cause he thinks they froze up21:31
cjwatsonIt'll have ppa.launchpad.net_blah files, and you can compare against those21:32
retrojeffty teward21:32
tewardare the PPA uploaders working?  i have 3 out of 6 recent uploads that've been sitting as 'waiting to publish' for a while with that green gear icon21:34
tewardjust sitting there21:34
cjwatsonteward: seems to be happily chugging away, would be easier with an example21:35
cjwatsonteward: but I just noticed nginx in the log tail21:35
tewardcjwatson: yeah that just pushed in21:35
tewardi blame either my end caching data21:35
tewardor lag21:35
tewardor a combination therein21:35
tewardcjwatson: thanks for checking it though :)21:36
tewardnow that it built i can push it to the MASTER PPA21:36
tewardyay resource-consuming data :P21:36
tewards/data/data processes/21:36
tewardand i said 6 uploads earlier, meant 5, stupid keyboard21:37
cjwatsonteward: The PPA publisher cycles somewhere around every 15 minutes, depending on load; it just has a lot to do21:37
tewardmakes sense21:37
teward:)21:37
tewardalthough i discovered something nice about the PPAs...21:38
cjwatson(And isn't ideally efficiently written - needs to be converted to a diskless model, in our copious free time)21:38
tewardthey're not afflicted by the libuuid1 bug that afflicts my sbuild schroots21:38
wxlhey folks. there's no such thing as private branches on lp is there?22:25
sergio-br2hi22:58
sergio-br2g++-4.9 : Depends: gcc-4.9-base (= 4.9.3-5ubuntu1~14.04) but 4.9-20140406-0ubuntu1 is to be installed22:58
sergio-br2.22:58
sergio-br2from here:  https://launchpadlibrarian.net/227630573/buildlog.txt.gz22:58
sergio-br2from where this 4.9-20140406-0ubuntu1 come from?22:59
sergio-br2it's not in the repo22:59
sergio-br2I'm using this ppa as a dependence: https://code.launchpad.net/~dolphin-emu/+archive/ubuntu/gcc-for-dolphin/+packages23:00
sergio-br2uh, 4.9-20140406-0ubuntu1 is higher than 4.9.3-5ubuntu1~14.04 ?23:07
tumbleweeddpkg --compare-versions is your friend23:08
sarnoldthe error you pasted here included an = instead of the >= or > choices..23:14
sergio-br2i don't understand, 4.9-20140406-0ubuntu1 is less than 4.9.3-5ubuntu1~14.04, why it's waiting for the deps?23:15
sergio-br2http://bazaar.launchpad.net/~dolphin-emu/dolphin-emu/debian-master-trusty/view/head:/control23:16
sergio-br2do I need to put gcc-4.9 (>= 4.9.3) in the control?23:16
sarnoldsergio-br2: looks like that version may be available from https://launchpad.net/~ubuntu-toolchain-r/+archive/ubuntu/test but you'd have to ask the gcc-for-dophin owner why that specific version of gcc, and if there's something about the version inthe ppa that's different from the ubuntu-toolchain ppa..23:21
sergio-br2gcc-for-dolphin is mine23:22
sarnoldoh :)23:22
sergio-br2I pick that package from the ubuntu-toolchain23:22
sergio-br2I pick from ppa:ubuntu-toolchain-r/test23:23
sergio-br2I just re-built it23:23
sergio-br2I need this version 4.9 because dolphin don't compile with 4.823:24
sergio-br2seems launchpad is being a little dumb with this dep23:26
sarnoldsergio-br2: this is a guess; try replacing gcc-4.9 and g++-4.9  in your control file with gcc-4.9 (= 4.9.3-5ubuntu1~14.04) and g++-4.9 (= 4.9.3-5ubuntu1~14.04)23:26
sergio-br2maybe  gcc-4.9 (>= 4.9.3)  ?23:27
sarnoldmight also work23:28
sergio-br2let's see23:31

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