/srv/irclogs.ubuntu.com/2013/11/04/#launchpad.txt

drstikkoStevenK: 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:01
StevenKdrstikko: Can you link me to the recipe page, and I'll have a look?00:02
drstikkoyes of course00:03
drstikkoStevenK: https://code.launchpad.net/~d-r-stikkolorum/+recipe/dporg-daily00:04
JonnyJD_drstikko: yes, a build on launchpad does both. You might be missing stuff in your debian/control file (so no binaries get built)00:11
drstikkoJonnyJD_: I think they even get build, but not added to the deb. I think the builder gets info from the Makefile00:15
drstikko.... for placing the binairies e.g. in /usr/bin00:15
JonnyJD_drstikko: the builder does not "get info from makefile"00:16
JonnyJD_drstikko: the builder uses the makefile00:16
JonnyJD_possibly the makefile is not prepared to do standard things like DESTDIR (not autotools build?)00:16
drstikkoJonnyJD: I understand,00:16
JonnyJD_check your debian/rules, or link them here, somebody might find the problem00:17
drstikkoJonnyJD, wel I discovered there was no make install step in the Makefile00:17
drstikko.... so I added that00:17
drstikko.... but I have no quota anymore for today ;)00:18
JonnyJD_how does your debian/rules work? using debhelper?00:18
drstikkoJonnyJD: I used debhelper00:19
drstikko... did not changed the rule file00:19
drstikkoand use a Makefile00:19
maxbNo 'make install' implementation would certainly account for not getting anything installed :-)00:19
maxbIt's generally wrong for a package to be installing into /usr/local/ though00:20
JonnyJD_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
drstikkomaxb: yes, ;) I also thought that, but could not try it, too many builds today00:20
JonnyJD_drstikko: you can also build locally first00:21
maxbLP isn't really meant as a service for practising building things, you should just do that on your local computer00:21
drstikkoJonnyJD_ : added it to the Makefile, can try it tomorrow00:21
JonnyJD_drstikko: try bzr builddeb and "pbuilder" for local builds00:22
drstikkomax: yes you are probably right00:22
drstikko... but local was not working00:22
drstikkook JonnyJD, thnx00:22
JonnyJD_drstikko: I do "bzr builddeb -S" to create the dsc and "cd ../build-area && pbuilder build <dsc file>"00:23
JonnyJD_but explaining how that works exactly is a bit much for now on IRC (you'll find something on google)00:23
maxbpbuilder 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 Makefiles00:24
maxbIt should be perfectly fine to just run 'dpkg-buildpackage -b' in a local bzr tree00:25
drstikkook I'll give it a try locally00:26
JonnyJD_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/system00:27
maxbA clean-chroot approach is a valuable tool, but can make development more cumbersome when you're rapidly changing things and rebuilding00:29
drstikkowel dpkg-source: error: aborting due to unexpected upstream changes, see /tmp/dporg_0.3-15-1.diff.qKJfrd00:30
drstikko... is what I get from bzr builddeb -S00:30
drstikkoand dpkg-buildpackage -b calls the wrong qmake00:31
maxbI don't know much (anything) about qmake, but perhaps your package should be specifying the correct one somehow00:33
maxbAs 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 patches00:34
maxbYou have a very strange version string too - it's generally considered unusual to have more than one hyphen00:35
drstikkomaxb: ok I will give it a look tomorrow00:35
drstikkoheading for bed now, all new to me this environment00:36
drstikkothn guys00:36
maxbThe 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 on00:36
=== tasdomas` is now known as tasdomas
drstikkoAnyone can help me out with dpkg-buildpackage to force to qmake-qt4 in stead of qmake08:43
AndChat|358400Can anyone help me out with forcing dpkg-buildpackage use qmake-qt4 in stead of qmake ?08:52
Pomyk_hello, I have a problem with a branch, it's stuck in "updating branch...": https://code.launchpad.net/~pomyks/maria/10.0-per-query-variables10:08
drstikkowho knows how to force dpkg-buildpackage to use qmake-qt410:26
drstikko?10:26
wgrantdrstikko: Have you tried the --buildsystem=qmake_qt4 option to dh?10:30
drstikkowgrant not yet :) going to try10:33
wgrantPomyk_: I've fixed that branch up.10:40
drstikkowgrant how to add that? just in the rules file? (I see  I cannot add it to the dpkg-buildpackage command))10:41
wgrantdrstikko: That would go as an argument to the dh invocation in your debian/rules file.10:41
drstikkoI tried but does not accept it10:41
Pomyk_wgrant: thanks!10:42
wgrantdrstikko: What do you mean?10:43
drstikkowgrant rules file is very empty: %: dh $@  , the rest is in the Makefile10:43
wgrantdrstikko: dh --buildsystem=qmake_qt4 $@10:43
drstikkoyes I tried that10:43
wgrantWhat didn't work?10:43
drstikkowgrant dh: Unknown sequence --buildsystem=qmake_qt4 (options should not come before the sequence)10:44
wgrantAh, other way around, then10:44
drstikkowgrant like this : --buildsystem=qmake_qt4 dh $@   ?10:47
wgrantdh $@ --buildsystem=qmake_qt410:47
drstikkowgrant: that worked better!! only error at the end: dh_usrlocal: debian/dporg/usr/local/bin/dporg is not a directory10:49
drstikkormdir: failed to remove `debian/dporg/usr/local/bin': Directory not empty10:49
drstikkodh_usrlocal: rmdir debian/dporg/usr/local/bin returned exit code 110:49
drstikkodporg is my executable10:49
wgrantYour Makefile shouldn't be installing things into /usr/local.10:50
wgrantPackages aren't to contain anything in that subtree.10:50
drstikkowgrant: ok what location then?10:50
wgrantOne would usually use /usr/bin etc. rather than /usr/local/bin. /usr/local is for non-packaged files.10:51
drstikkowgrant, that worked, I had to use sudo also I noticed.10:56
cjwatsonYou should never need to use sudo in packaging.10:57
wgrantdrstikko: You must not use sudo in debian/rules10:57
cjwatsonSounds like you were trying to install into /usr/bin rather than debian/dporg/usr/bin ...10:57
drstikkowgrant, cjwatson, but dpkg-buildpackage -b gave me: rm: cannot remove `debian/dporg/DEBIAN/md5sums': Permission denied10:59
drstikko and I whole bunch of those10:59
wgrantdrstikko: That's what will happen if you run bits of it with sudo.11:02
wgrantBecause root will have created things.11:02
wgrantPerhaps 'sudo debian/rules clean' once to get rid of the root-owned files.11:02
drstikkowgrant, clwatson ;) yes noticed that!! Fixed now, thanks works great!11:03
cjwatsonIn future use fakeroot rather than sudo.11:07
=== bencer is now known as jsalamero
=== Ursinha_ is now known as Ursinha
=== jsalamero is now known as bencer
sreedeviHello, 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 me14:01
sreedeviMy bug link is:https://bugs.launchpad.net/ubuntu/+source/secure-delete/+bug/124541514:01
ubot5Ubuntu bug 1245415 in secure-delete (Ubuntu) "Spelling mistake in smem's page" [Undecided,In progress]14:01
czajkowskisreedevi: the folks on LP are in AU timezones14:01
czajkowskiyou may not get a reply here14:01
czajkowskihave you thought of posting it to the mailing list for feedback/.review?14:02
cjwatsonThat isn't a fix in Launchpad - you should look in Ubuntu channels for review, not here14:02
sreedeviczajkowski: Whom should I subscribe in launchpad to get my fix verified, Can you please help me with this14:03
czajkowskicjwatson: morning14:03
cjwatsonYou'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 Launchapd14:03
cjwatsonsreedevi: https://wiki.ubuntu.com/SponsorshipProcess14:03
czajkowskiah I didnt check to see if it wasn't lp realted given the user was posting in here14:03
cjwatsonczajkowski: morning, or something14:04
czajkowskicjwatson: so messed up on times :/ going to be a long week14:04
sreedeviThank you14:05
adam345maria mercedes14:18
=== matsubara is now known as matsubara-lunch
cgregan1Hello 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? TA15:11
czajkowskicgregan1: just mail commercial@lp.net and they can apply the commerical voodoo needed :)15:12
cgregan1awesome..thanks czajkowski15:12
czajkowskinp15:12
drstikkoHi 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?16:00
=== Ursinha is now known as Ursinha-afk
=== Ursinha-afk is now known as Ursinha
=== matsubara-lunch is now known as matsubara
drstikkoHi 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:35
dobeydrstikko: #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.17:44
=== Ursinha-afk is now known as Ursinha
JonnyJD_drstikko: you can replace the first - with ~ in debian/changelog19:46
drstikkoJonnyJD_:  for me the format is not clear, I think fiirst I need to see some examples19:55
JonnyJD_the format in the recipe is fine, but your upstream version doesn't seem to be19:57
drstikkoI think that's the part I don't get20:02
drstikkohow do I change upstream info?20:02
drstikkoI like to have it like dporg_0.3-24 where 24 is the revision number20:03
drstikkoor is that crappy?20:03
JonnyJD_drstikko: upstream shouldn't have a revision number20:05
JonnyJD_if that is the upstream build revison, then remove it20:05
JonnyJD_if this is part of the actual (source) version, change it so no - is used anymore20:06
dobeythat'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:09
drstikkofirst 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:13
JonnyJD_drstikko: have a look at http://semver.org20:16
JonnyJD_in short: you should use 0.3.24 as a version number20:16
JonnyJD_drstikko: and since you are also respsonsible for upstream: keep that separated20:21
JonnyJD_drstikko: other people should be able to package your stuff easily, too20:22
JonnyJD_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 -0drstikko120:23
JonnyJD_drstikko: if you change something in the packaging you release with 0drstikko2 (source didn't change, but packaging did)20:23
drstikkookay the 0.3.24 I could follow ;)20:24
JonnyJD_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:24
drstikkoand the I start a new branch wit 0.4 right?20:25
JonnyJD_if that is a new branch or the same branch is up to you20:25
drstikkook20:25
JonnyJD_but if you add things to the "API", as in "change how the tool can be used" than go to 0.420:25
JonnyJD_if everything gets "stable" then you should relese 1.0 and then 1.0.x for small changes and 1.1 for backwards compatible features20:26
JonnyJD_2.0 is then for backwards incompatible changes20:26
drstikkoyes ok, so complete name would be dporg_0.3-25-0drstikko1 ?20:27
JonnyJD_drstikko:  dporg-0.3.25-0drstikko120:28
JonnyJD_but you only put 0.3.25-0drstikko1 in debian/changelog20:28
JonnyJD_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 on20:29
JonnyJD_(official non-ppa packages)20:29
drstikkook. so you just manually add the stuff to the changelog? I thought it has to be automated20:30
JonnyJD_drstikko: what you might be referring to is building from revisions, not from version tags?20:30
drstikkoI think, but don't know for shure20:31
JonnyJD_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 similar20:31
drstikkowhat do you mean by that?20:32
JonnyJD_drstikko: an example for stable builds: https://code.launchpad.net/~musicbrainz-developers/+recipe/python-discid20:32
JonnyJD_drstikko: and for daily git builds: https://code.launchpad.net/~musicbrainz-developers/+recipe/python-discid-daily20:33
JonnyJD_basically you add +git<revno> after {debupstream} and then -0drstikko{revno:packaging}20:34
JonnyJD_this makes sure that different git/bzr revisions get a new "source version" and whenever packaging changes, the build revision also changes20:35
drstikkoI think I was trying to link revision numbers with version numbers. But I think version numbers you 'just' decide and revisons of course increment automatically20:37
JonnyJD_drstikko: if your "debian" folder is actually part of the source, then you don't need {revno:packaging} since package changes are also code changes20:37
JonnyJD_I want to note that having "debian" part of the "upstream" source isn't the best thing to do, but it works20:37
JonnyJD_basically because you should separte you with the "upstream hat" and "packaging hat", other packagers might not want to use your "debian" folder20:38
drstikkook. will try to change that later. First want to tackle this version stuff ;)20:39
JonnyJD_and yes, you decide version numbers with your "upstream hat" and packaging revisions with your "packager hat".20:39
JonnyJD_you would now just have in your debian/changelog 0.3.24-0drstikko1 now and {debupstream}+bzr{revno}-0drstikko1 in your recipe20:41
drstikkook, thnx JonnyJD_ I will first try to make a nice versionned build.20:41
drstikkoand the fix this debian folder issue, but where do I put it? Or is that a long story?20:42
JonnyJD_drstikko: you can have a different bzr repo just with "debian" and "nest" it in the recipe20:43
drstikkoah ok20:43
JonnyJD_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:44
JonnyJD_and every time you make a stable releas, you merge upstream source in a launchpad repo where you also have a "debian" folder20:45
JonnyJD_there are multiple options, but your "real" upstream repository shouldn't include it20:45
drstikkook, thnx. I think I first need to clean the ppa and remove the old build if possible20:46
drstikkoJonnyJD: how to remove the builds?21:15
JonnyJD_drstikko: you can only request deleting them, but your new builds will supercede the old ones anyways, I think21:22
TheLordOfTimethey should if they have higher version numbers21:22
dobeyyou can't upload things with lower version numbers21:22
TheLordOfTimeat least, as I understand the system21:22
TheLordOfTimemhm21:22
JonnyJD_there is some link on the upper right on your PPA for deletion, if you want to do it anyways21:23
dobeyregardless of if you delete them21:23
dobeydeleting them won't let you upload older versions21:23
JonnyJD_I remember the problem is that that is only a deletion request21:23
JonnyJD_so they are still there. And I am not sure if they are deleted at all if they were built successfully and published once21:24
dobeyit's a request because it's a cron job that does the deletion21:25
dobeybut it only deletes the files on disk. it doesn't delete the version information from the database21:25
JonnyJD_ah okay21:25
drstikkoI just want to keep the build page clean from the moment my versionning is allright21:26
TheLordOfTimei think the "Builds" list/page will still remain filled with the old data?21:26
TheLordOfTimedobey: ^21:26
JonnyJD_drstikko: only the latest build shows anyways (except you explicitely show the others)21:26
JonnyJD_and the build page for a recipe only lists the last 5 builds anyways21:27
drstikkook, thnx21:27
dobeyTheLordOfTime: yes, though the +packages listing won't be21:34
TheLordOfTimeright21:34
=== Ursinha-afk is now known as Ursinha
drstikkocan 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
drstikkobecause my tool depends on it22:22
dobeyyou don't. you just build-depends on libpoppler-qt4-dev and use ${shlibs:Depends} for the binary packages22:33
dobeyand like i said earlier, #ubuntu-packaging is a better place to ask about packaging questions22:34
dobeythis isn't the right place for it22:34
drstikkodobey: well I thought maybe the launchpad build system had something to do with it22:38
dobeyno, it doesn't. :)22:38
=== Ursinha-afk is now known as Ursinha
paultagAny Soyuz-ers here?22:47
paultagIf 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 builds22:48
tsimpsonafaik, i386 buildds build them22:54
paultagoh I see.22:54
paultaghow does it handle stuff like some wireless firmware that needs to build on arm (even though one can install it anywhere)22:54
tsimpsonI have no clue about that22:55
paultagack22:55
paultagtsimpson: thanks for your help :)22:55
tsimpsonsure22:56
maxbpaultag: afaik, the answer is that it doesn't handle that22:57
paultagmaxb: hunh.22:57
wgrantpaultag: There's only a couple of arch-indep packages that need to be built on a particular arch.23:15
wgrantpaultag: 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:16
paultagwgrant: yeah, I recall those, I was pondering how to do this in dak (as well as some QA tooling I have)23:17
wgrantpaultag: Probably worth reviving such discussions now that Debian has a good reason for it too :)23:18
paultagwgrant: totes :)23:19
wgranthttps://bugs.launchpad.net/launchpad/+bug/21742723:19
ubot5Ubuntu bug 217427 in Launchpad itself "Please support arbitrary arch/buildd affinity for arch:all builds" [High,Triaged]23:20
paultagwgrant: +subscribed, thanks23:21
wgrantpaultag: It's absolutely trivial to implement for us, we really just need to agree on a syntax.23:21
paultagtotally23:21
czajkowskialoha23:34
paultagczajkowski: yo!23:34
czajkowskipaultag: hey23:35
paultagyo!23:39
=== Ursinha is now known as Ursinha-afk

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