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