[00:01] StevenK: yes this all succeeded and packages are build, but no binaries. Where does the build system gets his info from for placing the binaries? From the install step in the Makefile? [00:02] drstikko: Can you link me to the recipe page, and I'll have a look? [00:03] yes of course [00:04] StevenK: https://code.launchpad.net/~d-r-stikkolorum/+recipe/dporg-daily [00:11] drstikko: yes, a build on launchpad does both. You might be missing stuff in your debian/control file (so no binaries get built) [00:15] JonnyJD_: I think they even get build, but not added to the deb. I think the builder gets info from the Makefile [00:15] .... for placing the binairies e.g. in /usr/bin [00:16] drstikko: the builder does not "get info from makefile" [00:16] drstikko: the builder uses the makefile [00:16] possibly the makefile is not prepared to do standard things like DESTDIR (not autotools build?) [00:16] JonnyJD: I understand, [00:17] check your debian/rules, or link them here, somebody might find the problem [00:17] JonnyJD, wel I discovered there was no make install step in the Makefile [00:17] .... so I added that [00:18] .... but I have no quota anymore for today ;) [00:18] how does your debian/rules work? using debhelper? [00:19] JonnyJD: I used debhelper [00:19] ... did not changed the rule file [00:19] and use a Makefile [00:19] No 'make install' implementation would certainly account for not getting anything installed :-) [00:20] It's generally wrong for a package to be installing into /usr/local/ though [00:20] hm, then fixing the install target in the makefile to use the DESTDIR and/or PREFIX environment variables might help (don't know which exactly, but DESTDIR would be my first) [00:20] maxb: yes, ;) I also thought that, but could not try it, too many builds today [00:21] drstikko: you can also build locally first [00:21] LP isn't really meant as a service for practising building things, you should just do that on your local computer [00:21] JonnyJD_ : added it to the Makefile, can try it tomorrow [00:22] drstikko: try bzr builddeb and "pbuilder" for local builds [00:22] max: yes you are probably right [00:22] ... but local was not working [00:22] ok JonnyJD, thnx [00:23] drstikko: I do "bzr builddeb -S" to create the dsc and "cd ../build-area && pbuilder build " [00:23] but explaining how that works exactly is a bit much for now on IRC (you'll find something on google) [00:24] pbuilder is a helpful tool for replicating builds in a clean environment, but there's no need to go to that extent just to develop things like Makefiles [00:25] It should be perfectly fine to just run 'dpkg-buildpackage -b' in a local bzr tree [00:26] ok I'll give it a try locally [00:27] maxb, drstikko: well, yes. If you have a nice debian environment for building you can also go without. I use pbuilder to make sure I have a clean build environment/system [00:29] A clean-chroot approach is a valuable tool, but can make development more cumbersome when you're rapidly changing things and rebuilding [00:30] wel dpkg-source: error: aborting due to unexpected upstream changes, see /tmp/dporg_0.3-15-1.diff.qKJfrd [00:30] ... is what I get from bzr builddeb -S [00:31] and dpkg-buildpackage -b calls the wrong qmake [00:33] I don't know much (anything) about qmake, but perhaps your package should be specifying the correct one somehow [00:34] As for the other - it means you have changes in your bzr tree that don't match the upstream tarball, and aren't properly represented as patches [00:35] You have a very strange version string too - it's generally considered unusual to have more than one hyphen [00:35] maxb: ok I will give it a look tomorrow [00:36] heading for bed now, all new to me this environment [00:36] thn guys [00:36] The hyphen serves as the separator between the upstream version and the packaging version - whilst there's a systematic definition of how to interpret versions with multiple hyphens, it's generally considered too confusing to be wise to rely on === tasdomas` is now known as tasdomas [08:43] Anyone can help me out with dpkg-buildpackage to force to qmake-qt4 in stead of qmake [08:52] Can anyone help me out with forcing dpkg-buildpackage use qmake-qt4 in stead of qmake ? [10:08] hello, I have a problem with a branch, it's stuck in "updating branch...": https://code.launchpad.net/~pomyks/maria/10.0-per-query-variables [10:26] who knows how to force dpkg-buildpackage to use qmake-qt4 [10:26] ? [10:30] drstikko: Have you tried the --buildsystem=qmake_qt4 option to dh? [10:33] wgrant not yet :) going to try [10:40] Pomyk_: I've fixed that branch up. [10:41] wgrant how to add that? just in the rules file? (I see I cannot add it to the dpkg-buildpackage command)) [10:41] drstikko: That would go as an argument to the dh invocation in your debian/rules file. [10:41] I tried but does not accept it [10:42] wgrant: thanks! [10:43] drstikko: What do you mean? [10:43] wgrant rules file is very empty: %: dh $@ , the rest is in the Makefile [10:43] drstikko: dh --buildsystem=qmake_qt4 $@ [10:43] yes I tried that [10:43] What didn't work? [10:44] wgrant dh: Unknown sequence --buildsystem=qmake_qt4 (options should not come before the sequence) [10:44] Ah, other way around, then [10:47] wgrant like this : --buildsystem=qmake_qt4 dh $@ ? [10:47] dh $@ --buildsystem=qmake_qt4 [10:49] wgrant: that worked better!! only error at the end: dh_usrlocal: debian/dporg/usr/local/bin/dporg is not a directory [10:49] rmdir: failed to remove `debian/dporg/usr/local/bin': Directory not empty [10:49] dh_usrlocal: rmdir debian/dporg/usr/local/bin returned exit code 1 [10:49] dporg is my executable [10:50] Your Makefile shouldn't be installing things into /usr/local. [10:50] Packages aren't to contain anything in that subtree. [10:50] wgrant: ok what location then? [10:51] One would usually use /usr/bin etc. rather than /usr/local/bin. /usr/local is for non-packaged files. [10:56] wgrant, that worked, I had to use sudo also I noticed. [10:57] You should never need to use sudo in packaging. [10:57] drstikko: You must not use sudo in debian/rules [10:57] Sounds like you were trying to install into /usr/bin rather than debian/dporg/usr/bin ... [10:59] wgrant, cjwatson, but dpkg-buildpackage -b gave me: rm: cannot remove `debian/dporg/DEBIAN/md5sums': Permission denied [10:59] and I whole bunch of those [11:02] drstikko: That's what will happen if you run bits of it with sudo. [11:02] Because root will have created things. [11:02] Perhaps 'sudo debian/rules clean' once to get rid of the root-owned files. [11:03] wgrant, clwatson ;) yes noticed that!! Fixed now, thanks works great! [11:07] In future use fakeroot rather than sudo. === bencer is now known as jsalamero === Ursinha_ is now known as Ursinha === jsalamero is now known as bencer [14:01] Hello, I am trying to fix one minor bug in launchpad. I pushed my committed branch, Could you please verify my fix, This is my first bug, Please help me [14:01] My bug link is:https://bugs.launchpad.net/ubuntu/+source/secure-delete/+bug/1245415 [14:01] Ubuntu bug 1245415 in secure-delete (Ubuntu) "Spelling mistake in smem's page" [Undecided,In progress] [14:01] sreedevi: the folks on LP are in AU timezones [14:01] you may not get a reply here [14:02] have you thought of posting it to the mailing list for feedback/.review? [14:02] That isn't a fix in Launchpad - you should look in Ubuntu channels for review, not here [14:03] czajkowski: Whom should I subscribe in launchpad to get my fix verified, Can you please help me with this [14:03] cjwatson: morning [14:03] You'd only look for reviewers here (or indeed #launchpad-dev) if it were a fix to Launchpad itself, rather than to a project hosted on Launchapd [14:03] sreedevi: https://wiki.ubuntu.com/SponsorshipProcess [14:03] ah I didnt check to see if it wasn't lp realted given the user was posting in here [14:04] czajkowski: morning, or something [14:04] cjwatson: so messed up on times :/ going to be a long week [14:05] Thank you [14:18] maria mercedes === matsubara is now known as matsubara-lunch [15:11] Hello Launchpad team. I moved an internal Canonical Project (checkbox-ihv-ng) over to private license so the bugs can be made private. But now it seems I need to "buy" a commercial license. Who do I need to send some lp karma bucks over to for that? TA [15:12] cgregan1: just mail commercial@lp.net and they can apply the commerical voodoo needed :) [15:12] awesome..thanks czajkowski [15:12] np [16:00] Hi my recipe contains : # bzr-builder format 0.3 deb-version {debupstream}-0~{revno} and results in dporg - 0.3-15-0~21~ubuntu12.04.1 I was told this is not a neat version number. What would be the right line in the recipe or do I have to change the control file? === Ursinha is now known as Ursinha-afk === Ursinha-afk is now known as Ursinha === matsubara-lunch is now known as matsubara [17:35] Hi my recipe contains : # bzr-builder format 0.3 deb-version {debupstream}-0~{revno} and results in dporg - 0.3-15-0~21~ubuntu12.04.1 I was told this is not a neat version number. What would be the right line in the recipe or do I have to change the control file? [17:44] drstikko: #ubuntu-packaging is the right place to ask, but {debupstream}+r{revno}-{revno:packaging} (with packaging in a different branch), is what i usually use. you need to not have multiple '-' characters in your version string. it's a bit weird that one is included in the {debupstream} portion there. === Ursinha-afk is now known as Ursinha [19:46] drstikko: you can replace the first - with ~ in debian/changelog [19:55] JonnyJD_: for me the format is not clear, I think fiirst I need to see some examples [19:57] the format in the recipe is fine, but your upstream version doesn't seem to be [20:02] I think that's the part I don't get [20:02] how do I change upstream info? [20:03] I like to have it like dporg_0.3-24 where 24 is the revision number [20:03] or is that crappy? [20:05] drstikko: upstream shouldn't have a revision number [20:05] if that is the upstream build revison, then remove it [20:06] if this is part of the actual (source) version, change it so no - is used anymore [20:09] that's not really how the revision number should be, unless the only revissions in the branch, are packaging (but even so, may cause problems to use it that way) [20:13] first of all, I just wrote a tool and like to share it with launchpad, is that what you call upstream? (sorry new to this). I think it is not mature enough to give it a 1.x number. So that's why I decided to choose 0.3 at the moment. I thought minor changes maybe could be after 0.3- so for example 0.3-24. How would one do this normally? [20:16] drstikko: have a look at http://semver.org [20:16] in short: you should use 0.3.24 as a version number [20:21] drstikko: and since you are also respsonsible for upstream: keep that separated [20:22] drstikko: other people should be able to package your stuff easily, too [20:23] drstikko: the workflow is like that: with your "upstream hat" you release 0.3.54. Then with your "packager hat" you create packaging starting with -0drstikko1 [20:23] drstikko: if you change something in the packaging you release with 0drstikko2 (source didn't change, but packaging did) [20:24] okay the 0.3.24 I could follow ;) [20:24] drstikko: that -0 is because there is no official Debian package you are changing and drstikko because this is your packaging (-0ubuntu1 is used for official ubuntu packaging afaik) [20:25] and the I start a new branch wit 0.4 right? [20:25] if that is a new branch or the same branch is up to you [20:25] ok [20:25] but if you add things to the "API", as in "change how the tool can be used" than go to 0.4 [20:26] if everything gets "stable" then you should relese 1.0 and then 1.0.x for small changes and 1.1 for backwards compatible features [20:26] 2.0 is then for backwards incompatible changes [20:27] yes ok, so complete name would be dporg_0.3-25-0drstikko1 ? [20:28] drstikko: dporg-0.3.25-0drstikko1 [20:28] but you only put 0.3.25-0drstikko1 in debian/changelog [20:29] you don't have to do the -0drstikko1 stuff, (you can also just do -1), but this helps if ubuntu or debian build packages later on [20:29] (official non-ppa packages) [20:30] ok. so you just manually add the stuff to the changelog? I thought it has to be automated [20:30] drstikko: what you might be referring to is building from revisions, not from version tags? [20:31] I think, but don't know for shure [20:31] when you build from revisions, then you just leave your last stable release in debian/changelog and note in the recipe that you do git packages or similar [20:32] what do you mean by that? [20:32] drstikko: an example for stable builds: https://code.launchpad.net/~musicbrainz-developers/+recipe/python-discid [20:33] drstikko: and for daily git builds: https://code.launchpad.net/~musicbrainz-developers/+recipe/python-discid-daily [20:34] basically you add +git after {debupstream} and then -0drstikko{revno:packaging} [20:35] this makes sure that different git/bzr revisions get a new "source version" and whenever packaging changes, the build revision also changes [20:37] I think I was trying to link revision numbers with version numbers. But I think version numbers you 'just' decide and revisons of course increment automatically [20:37] drstikko: if your "debian" folder is actually part of the source, then you don't need {revno:packaging} since package changes are also code changes [20:37] I want to note that having "debian" part of the "upstream" source isn't the best thing to do, but it works [20:38] basically because you should separte you with the "upstream hat" and "packaging hat", other packagers might not want to use your "debian" folder [20:39] ok. will try to change that later. First want to tackle this version stuff ;) [20:39] and yes, you decide version numbers with your "upstream hat" and packaging revisions with your "packager hat". [20:41] you would now just have in your debian/changelog 0.3.24-0drstikko1 now and {debupstream}+bzr{revno}-0drstikko1 in your recipe [20:41] ok, thnx JonnyJD_ I will first try to make a nice versionned build. [20:42] and the fix this debian folder issue, but where do I put it? Or is that a long story? [20:43] drstikko: you can have a different bzr repo just with "debian" and "nest" it in the recipe [20:43] ah ok [20:44] you can also remove it from "upstream" repo, but include both in a launchpad repo (you still need to use nesting for bzr/git builds though) [20:45] and every time you make a stable releas, you merge upstream source in a launchpad repo where you also have a "debian" folder [20:45] there are multiple options, but your "real" upstream repository shouldn't include it [20:46] ok, thnx. I think I first need to clean the ppa and remove the old build if possible [21:15] JonnyJD: how to remove the builds? [21:22] drstikko: you can only request deleting them, but your new builds will supercede the old ones anyways, I think [21:22] they should if they have higher version numbers [21:22] you can't upload things with lower version numbers [21:22] at least, as I understand the system [21:22] mhm [21:23] there is some link on the upper right on your PPA for deletion, if you want to do it anyways [21:23] regardless of if you delete them [21:23] deleting them won't let you upload older versions [21:23] I remember the problem is that that is only a deletion request [21:24] so they are still there. And I am not sure if they are deleted at all if they were built successfully and published once [21:25] it's a request because it's a cron job that does the deletion [21:25] but it only deletes the files on disk. it doesn't delete the version information from the database [21:25] ah okay [21:26] I just want to keep the build page clean from the moment my versionning is allright [21:26] i think the "Builds" list/page will still remain filled with the old data? [21:26] dobey: ^ [21:26] drstikko: only the latest build shows anyways (except you explicitely show the others) [21:27] and the build page for a recipe only lists the last 5 builds anyways [21:27] ok, thnx [21:34] TheLordOfTime: yes, though the +packages listing won't be [21:34] right === Ursinha-afk is now known as Ursinha [22:22] can anyone advise me what to do with this above 12.04 ubuntu has libpoppler-qt4-4, but 10.04-12.04 have libpoppler-qt4-3. Is there a way to add this in the control file? [22:22] because my tool depends on it [22:33] you don't. you just build-depends on libpoppler-qt4-dev and use ${shlibs:Depends} for the binary packages [22:34] and like i said earlier, #ubuntu-packaging is a better place to ask about packaging questions [22:34] this isn't the right place for it [22:38] dobey: well I thought maybe the launchpad build system had something to do with it [22:38] no, it doesn't. :) === Ursinha-afk is now known as Ursinha [22:47] Any Soyuz-ers here? [22:48] If so, I'm wondering how Soyuz handles arch:all package creation - do all arches build arch:all debs and push up where the archive ignores second pushes or does it do an indep build first then do archful builds [22:54] afaik, i386 buildds build them [22:54] oh I see. [22:54] how does it handle stuff like some wireless firmware that needs to build on arm (even though one can install it anywhere) [22:55] I have no clue about that [22:55] ack [22:55] tsimpson: thanks for your help :) [22:56] sure [22:57] paultag: afaik, the answer is that it doesn't handle that [22:57] maxb: hunh. [23:15] paultag: There's only a couple of arch-indep packages that need to be built on a particular arch. [23:16] paultag: Launchpad doesn't handle them today. There's been discussion for years in Ubuntu and Debian about a field to define which architecture they should build on, but nothing's ever enventuated. [23:17] wgrant: yeah, I recall those, I was pondering how to do this in dak (as well as some QA tooling I have) [23:18] paultag: Probably worth reviving such discussions now that Debian has a good reason for it too :) [23:19] wgrant: totes :) [23:19] https://bugs.launchpad.net/launchpad/+bug/217427 [23:20] Ubuntu bug 217427 in Launchpad itself "Please support arbitrary arch/buildd affinity for arch:all builds" [High,Triaged] [23:21] wgrant: +subscribed, thanks [23:21] paultag: It's absolutely trivial to implement for us, we really just need to agree on a syntax. [23:21] totally [23:34] aloha [23:34] czajkowski: yo! [23:35] paultag: hey [23:39] yo! === Ursinha is now known as Ursinha-afk