/srv/irclogs.ubuntu.com/2015/06/07/#launchpad.txt

=== JanC_ is now known as JanC
sidiI have a LP build log for a custom GTK package for my PPA, where the build bot refuses to install deps. Why is that? It says sbuild-build-depends-gtk+3.0-dummy : Depends: libzeitgeist-1.0-1 (>= 0.8) but it is not going to be installed20:07
tewardsidi: stupid question, but the build, what version does it target (of Ubuntu)20:08
cjwatsonsidi: What PPA?20:08
tewardand what PPA :)20:08
cjwatsonA link to the build would be ideal.20:08
teward^ that20:08
tewardcjwatson: first guess from me was a PPA dependencies issue, but i may be wrong :)20:08
cjwatsonThat message means that the build-dependency in question is uninstallable in that context, but it needs more investigation to determine why that is.20:09
sidihttps://code.launchpad.net/~ucl-cs-study-devs/+archive/ubuntu/multitasking-study20:09
tewardmmm20:09
siditeward, cjwatson  thats the build log: https://launchpadlibrarian.net/208514156/buildlog_ubuntu-vivid-amd64.gtk%2B3.0_3.14.13-0ubuntu1ppa3_BUILDING.txt.gz20:09
sidii'm currently updating the packages (had lots that didnt build before but didnt have time to fix them, so only gtk3's worth looking at right now)20:09
cjwatsonsidi: Well, the first question would be why did you add a build-dependency on a specific *runtime* library package?20:10
cjwatsonThat build-dependency isn't in Ubuntu's gtk+3.0 source package.20:10
sidicjwatson, because i added it in my code20:11
cjwatsonsidi: You would normally build-depend on the development package, not the runtime, though.20:11
sidicjwatson, my package logs specific API calls using libzeitgeist, hence the dep20:11
sidicjwatson, oh crap im an idiot20:11
cjwatsonNow, that won't actually solve this issue, but build-depending on a runtime is usually a bug except in specialised cases.20:12
* sidi is on Arch, forgot about -dev20:12
cjwatson(The development package will also be uninstallable if the runtime is, normally.)20:12
sidiSo, is it correct to add a Build-Depend on libzeitgeist-1.0-dev on the libtgtk package, as well as a Depend on libzeitgeist-1.0-1 for what I want to do?20:12
cjwatsonYou don't normally need to add manual Depends for this.  ${shlibs:Depends} will already be there and will handle that for you.20:13
cjwatsonAll you need is a Build-Depends: foo-dev in the source package.20:13
cjwatsonAnyway, let me set up a quick chdist instance to investigate this.20:13
sidiHm, I'm happy to try with the proper dep first so i dont waste your time20:14
cjwatsonLike I say, I know it won't solve this issue.20:14
cjwatsonSo it won't waste my time, although you should fix the bug anyway since your package will just fail to build regardless otherwise (as it won't have the right #includes)20:14
cjwatsonOh, right, I see20:18
cjwatsonsidi: You've specified (>= 0.8) - the newest version of that package in vivid (and indeed anywhere in Ubuntu) is 0.3.18-1ubuntu220:18
sidiyikes20:18
cjwatsonWhich is not greater than 0.820:18
sidiThe API is 0.8.3 afair20:18
sidiFixed this too, thanks20:19
sidiI expected the package version to follow the API version, I was wrong :-)20:19
sidiIronically, the updated package gets rejected with "File gtk+3.0_3.14.13-0ubuntu1ppa3.debian.tar.xz already exists in Multitasking Study PPA, but uploaded version has different contents.".20:30
sidiSomewhat the warning at the end of https://help.launchpad.net/Packaging/PPA/Deleting makes it clearer what I should have done.20:32
cjwatsonsidi: You must change the version to one you haven't used before.20:32
cjwatsonReusing versions is bad and wrong.20:32
cjwatsonBut there are lots of integers, so you can bump the final 3 to 4.20:33
sidicjwatson, that is what i'm doing right now. I had not expected that I would need to change the version for a debian/ change especially as the package had zero users20:33
sidibut I understand why that was incorrect20:34
cjwatsonThe bit after the final "-" is specifically for packaging changes.20:34
sidimaybe "forgetting to update the package version number" could be one of the enumerated reasons for the error message on the help page, cjwatson ?20:34
sidifor silly people like me :-)20:34
cjwatsonsidi: I've clarified it.20:36
sidicjwatson, thanks for your help!20:39
sidicjwatson, do you have a paypal for beer money? :-)20:39
cjwatsonAfraid not :)20:42
cjwatsonThanks is enough, it's my job (well, admittedly not on Sundays - time to go and play board games with my wife)20:42
sidihave a good evening then20:43

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