[20:07] <sidi> I 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 installed
[20:08] <teward> sidi: stupid question, but the build, what version does it target (of Ubuntu)
[20:08] <cjwatson> sidi: What PPA?
[20:08] <teward> and what PPA :)
[20:08] <cjwatson> A link to the build would be ideal.
[20:08] <teward> ^ that
[20:08] <teward> cjwatson: first guess from me was a PPA dependencies issue, but i may be wrong :)
[20:09] <cjwatson> That 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] <sidi> https://code.launchpad.net/~ucl-cs-study-devs/+archive/ubuntu/multitasking-study
[20:09] <teward> mmm
[20:09] <sidi> teward, cjwatson  thats the build log: https://launchpadlibrarian.net/208514156/buildlog_ubuntu-vivid-amd64.gtk%2B3.0_3.14.13-0ubuntu1ppa3_BUILDING.txt.gz
[20:09] <sidi> i'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:10] <cjwatson> sidi: Well, the first question would be why did you add a build-dependency on a specific *runtime* library package?
[20:10] <cjwatson> That build-dependency isn't in Ubuntu's gtk+3.0 source package.
[20:11] <sidi> cjwatson, because i added it in my code
[20:11] <cjwatson> sidi: You would normally build-depend on the development package, not the runtime, though.
[20:11] <sidi> cjwatson, my package logs specific API calls using libzeitgeist, hence the dep
[20:11] <sidi> cjwatson, oh crap im an idiot
[20:12] <cjwatson> Now, 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 -dev
[20:12] <cjwatson> (The development package will also be uninstallable if the runtime is, normally.)
[20:12] <sidi> So, 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:13] <cjwatson> You don't normally need to add manual Depends for this.  ${shlibs:Depends} will already be there and will handle that for you.
[20:13] <cjwatson> All you need is a Build-Depends: foo-dev in the source package.
[20:13] <cjwatson> Anyway, let me set up a quick chdist instance to investigate this.
[20:14] <sidi> Hm, I'm happy to try with the proper dep first so i dont waste your time
[20:14] <cjwatson> Like I say, I know it won't solve this issue.
[20:14] <cjwatson> So 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:18] <cjwatson> Oh, right, I see
[20:18] <cjwatson> sidi: You've specified (>= 0.8) - the newest version of that package in vivid (and indeed anywhere in Ubuntu) is 0.3.18-1ubuntu2
[20:18] <sidi> yikes
[20:18] <cjwatson> Which is not greater than 0.8
[20:18] <sidi> The API is 0.8.3 afair
[20:19] <sidi> Fixed this too, thanks
[20:19] <sidi> I expected the package version to follow the API version, I was wrong :-)
[20:30] <sidi> Ironically, 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:32] <sidi> Somewhat the warning at the end of https://help.launchpad.net/Packaging/PPA/Deleting makes it clearer what I should have done.
[20:32] <cjwatson> sidi: You must change the version to one you haven't used before.
[20:32] <cjwatson> Reusing versions is bad and wrong.
[20:33] <cjwatson> But there are lots of integers, so you can bump the final 3 to 4.
[20:33] <sidi> cjwatson, 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 users
[20:34] <sidi> but I understand why that was incorrect
[20:34] <cjwatson> The bit after the final "-" is specifically for packaging changes.
[20:34] <sidi> maybe "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] <sidi> for silly people like me :-)
[20:36] <cjwatson> sidi: I've clarified it.
[20:39] <sidi> cjwatson, thanks for your help!
[20:39] <sidi> cjwatson, do you have a paypal for beer money? :-)
[20:42] <cjwatson> Afraid not :)
[20:42] <cjwatson> Thanks is enough, it's my job (well, admittedly not on Sundays - time to go and play board games with my wife)
[20:43] <sidi> have a good evening then