=== MerryChristmas is now known as benonsftware === benonsftware is now known as benonsoftware [04:03] hi, i have a wireshark personal project (+junk) that was built successfully; how do I make sure when the user install "wireshark", it is pulled from my PPA, instead of the version from Ubuntu? [04:27] i am trying to push a bzr but I am getting this error: bzr: ERROR: Cannot lock LockDir(http://bazaar.launchpad.net/~tpham3783/%2Bjunk/recipe/.bzr/branch/lock): Transport operation not possible: http does not support mkdir() [04:28] cjwatson, ! [05:08] toan_: You can't push over HTTP. [05:08] Have you run 'bzr lp-login' to set your SSH username? [06:07] wgrant, thanks, [06:08] wgrant, how do i make dpkg_buildpackage to call ./autgen.sh before it starts the build process [06:08] internet sources say, add overrid_dh_auto_configure, but it does not work [06:10] or, is there a hook for the build server to run autogen.sh before it runs the main build script, dpkg-buildpackage [06:11] toan_: You customise the behaviour of dpkg-buildpackage by editing debian/rules. [06:12] wgrant, correct, [06:12] but how do I customize running autogen first [06:12] You might want to use something like dh-autoreconf. [06:12] That's generally preferable to running autogen.sh directly. [06:14] nope, that does not work [06:14] What does it not do? [06:14] my auto build failed here b/c it did not run autogen: https://launchpadlibrarian.net/234583210/buildlog_ubuntu-wily-i386.edkit_3.2+113+11~ubuntu15.10.1_BUILDING.txt.gz [06:14] It's better to test this stuff locally, so you can have a quick feedback loop. [06:15] No need to wait for Launchpad to build it before you can fix the next issue. [06:15] edkit package requires that the user runs autogen.sh right after checkout [06:15] wgrant, i am testing locally too, [06:15] I don't see dh-autoreconf there. [06:15] but dont know of a hook to run autogen [06:15] there's dh_auto_configure [06:16] Have you tried dh-autoreconf? [06:17] no such command [06:17] The latest version that you've uploaded also doesn't even try override_dh_auto_configure. [06:17] dh-autoreconf is a package containing a debhelper extension that runs autoreconf. [06:17] Install it and check its manpage. [06:20] wgrant, no go, [06:20] it is not a utility, [06:20] i installed it and ran dpkg-buildpackage again, and got same error [06:20] Simply installing it does not activate it. [06:20] Check its manpage. [06:20] That shows how to use it. [06:21] ic [06:21] now! [06:26] hmmm, did everything in the manual and still not working [06:26] "not working" [06:26] nope [06:29] i figured out the trick from the log file, i decided to add a tag override_dh_distclean to run autogen.sh, and it worked [06:30] i wish that there's a hook like post_configure, it would me things easier [06:30] autogen.sh basically just runs "autoreconf --install", so you can probably just use the --install incantation from dh-autoreconf's manpage. [06:31] Were you to do it manually you could say: [06:31] override_dh_auto_configure: [06:31] ./autogen.sh [06:32] dh_auto_configure [06:32] that did not work [06:32] ish [06:32] tried it already [06:32] "did not work" [06:32] It's difficult to help without details. [06:32] dpkg would run all the clean script first [06:32] i mean, distclean make target first [06:34] toan_: clean is run before build [06:34] So make distclean would be run well before override_dh_auto_configure. [06:34] So I don't see the problem. [06:35] maybe its the way the package edkit is packaged, it forces the user to run autogen.sh first [06:37] That's fine. [06:38] dh-autoreconf is designed for that situation. [06:39] thanks === mwhudson is now known as Guest92985 [06:46] wgrant, do you think one day LP will allow direct import (merge) from an external git repo, instead of a bzr project on LP === Guest92985 is now known as mwhudson [06:47] in other words, i just want to specify github branches directly in the build recipe [06:48] toan_: Mirroring external Git repositories is quite high on the list, but it's unlikely that we'll support directly using external repositories any time soon. [06:48] In part because we can't easily automatically trigger builds based on repositories that we're not watching closely. [06:48] Whereas if they're mirrored then we can. [06:50] understand, but then we dont need LP to watch those branches, LP will only build on a manual build trigger, not source tree change [06:52] ** the fact that i have to use bzr to do all of this, bothers me!!!! [06:53] i can easily stick with git and use the website front end to write the recipe [07:06] Yes, we're working on deploying Git recipes at the moment. [10:08] I'm looking at lp #1528605 and wondering why the bug watcher to the debian bug tracker. I added it 4 days ago, and 4 days seems an excessive amount of time to just query a bug tracker.. [10:08] Launchpad bug 1528605 in SubDownloader "fail to download subtitles due to opensubtitles.org API changes" [Undecided,Confirmed] https://launchpad.net/bugs/1528605 [11:34] cjwatson: wgrant ↑ [16:16] what do i do to support build for arm: https://code.launchpad.net/~tpham3783/+recipe/edkit-daily [16:25] can someone tell me why this build broke: https://launchpadlibrarian.net/234590190/buildlog.txt.gz [16:30] You can request ARM builds for a PPA at https://answers.launchpad.net/launchpad [16:32] * cjwatson squints at that log [16:32] Running autogen.sh in clean is weird [16:33] Anyway, your version is wrong again [16:33] You need to have the packaging revno come after a "-", otherwise you end up with conflicting generated .orig.tar.gz versions [16:34] You have {debupstream}+{revno}+{revno:packaging} right now - try {debupstream}+{revno}-0+{revno:packaging} instead [16:34] May need an upstream commit before that'll work, since it needs to be greater than the previous version [16:49] cjwatson, so the vivid build failed b/c of that? versioning convention? [16:49] The build didn't fail, but LP refused the upload [16:50] https://launchpadlibrarian.net/234590197/upload_1059156_log.txt is reasonably clear about it I think [16:50] And it's not just convention - if you get this wrong then the result is that LP would have to try to publish two different versions of the same file with the same name [16:51] That's disallowed [16:54] cjwatson, is there a way to tell dh to run a custom build command? [16:54] and then forget everything elses? [16:55] override_dh_auto_build is usually the target you want for that [16:55] thanks, [16:56] cjwatson, i changed the version info in the recipe and it still failed [16:57] see for instance https://anonscm.debian.org/cgit/users/cjwatson/cccc.git/tree/debian/rules (OK, there's a fair bit of variable setup there, but the actual target is simple [16:57] ) [16:57] ref: latest vivid build https://code.launchpad.net/~tpham3783/+recipe/edkit-daily [16:57] toan_: 16:34 May need an upstream commit before that'll work, since it needs to be greater than the previous version [16:57] [10:08:52 AM] I'm looking at lp #1528605 and wondering why the bug watcher to the debian bug tracker. I added it 4 days ago, and 4 days seems an excessive amount of time to just query a bug tracker.. [16:57] Launchpad bug 1528605 in SubDownloader "fail to download subtitles due to opensubtitles.org API changes" [Undecided,Confirmed] https://launchpad.net/bugs/1528605 [16:58] toan_: or you could use {debupstream}+bzr{revno}-0+{revno:packaging} (inserting the "bzr" there) which will be greater [17:01] mapreri: 2016-01-18.log:2016-01-18 00:27:44 INFO Didn't find bug u'810530' on http://bugs.debian.org (local bugs: 1528605). [17:01] bug 1528605 in SubDownloader "fail to download subtitles due to opensubtitles.org API changes" [Undecided,Confirmed] https://launchpad.net/bugs/1528605 [17:01] not sure why as yet ... [17:03] omg, the tag worked, it finished the upload already [17:04] mapreri: investigating via sysadmin [17:04] cjwatson, i have no idea why the new tag worked, but thanks [17:04] cjwatson: thank you. [17:05] toan_: because 3.2+bzr113-0+20~ubuntu15.04.1 is greater than the previous version 3.2+113+20~ubuntu15.04.1, but 3.2+113-0+20~ubuntu15.04.1 is not [17:06] toan_: you can use e.g. the exit status of dpkg --compare-versions, or apt_pkg.version_compare() in Python, to check this [17:09] cjwatson, built successfully for vivid, will try arm now [17:09] Note that our ARM builds are currently via qemu-user-static rather than on real hardware; if your build involves much in the way of threading or other complex stuff it will probably fail [17:09] But a reasonable number of simple builds work [17:13] mapreri: out-of-date address for bugs-mirror.debian.org in firewall - sending in a fix now [17:14] why do you have the need to firewall outgoing connections I never understood [17:15] (a) not the LP team's decision (b) I assume it's defence in depth against attacks spreading [17:15] my loco had to fight with canonical one year because a firewall compared all of a sudden in a machine hosting a planet, so no updates for weeks and they insisted with a "we need to know each address" nonsense... [17:16] cjwatson: yeah, of course it has nothing to do with LP, it's a IS thing... [17:16] cjwatson, in ref to your commit 17896, do you have a sample project on LP that's use git recipe right now? [17:17] use=using [17:18] toan_: No, because we haven't finished deploying the changes to make that possible. [17:19] r17896 is part of that but by no means all of it, and in any case r17896 isn't yet on production. [17:36] mapreri: firewall change should be live soon; not sure how frequently checkwatches tries, it seems to have tried twice in those four days so far [17:38] 2 times in 4 days doesn't sound so good. [17:40] it may depend on activity, or I may just have misread something [17:52] cjwatson, **stupid question** but is it possible to get ssh access to the buildserver/build env? [17:53] toan_: No. [17:54] toan_: But you can set up something very similar yourself locally: https://wiki.ubuntu.com/SimpleSbuild [18:01] is more work on the bug watchers planned? in particular, adding support to more bug trackers (istr there is a whole tag in launchpad gathering such requests) [18:09] mapreri: Not planned at the moment, we have rather a lot of other things that are going to take precedence [18:12] ok [18:12] well, I can just say please consider them between a huge thing and another :) [18:12] at least we're going to have git recipes pretty soon ^^ [18:34] cjwatson, I am writing a recipe in which it will pull down all of the enlightenment sourcecode transparently and then build the code... the whole process will probably take about 1+ hour to finish, can you tell me if the buildserver be ok will that, and that it wont cancel the job in the middle of the build! [18:35] cjwatson, BTW, the sourcecode that the buildscript will download isn't hosted on LP, it is on another git repo that bzr wouldn't know about [18:36] cjwatson, the whole fetch and build process will take about 3.5 hours, is that acceptable? [18:37] toan_: You won't be able to do that, because the builders are firewalled such that they cannot fetch external code [18:37] toan_: Find another approach [18:37] :-(, just dont want to mirror import the code to LP! [18:37] hi, does anyone know what's the representation of the webhook response in LP ? [18:41] toan_: Maybe recipes are not the right tool for you. All that recipes are is a convenience for building source packages; you can always build the source packages yourself and upload them directly to a PPA [18:41] daker: What exactly do you mean, and which webhook? [18:42] cjwatson: like when i setup a webhook, what will LP push to the specified url ? [18:42] cjwatson, the problem is that I do not want to do it myself, i want to whole process to be automated and it will build for all distributions/architures [18:42] daker: Ah, you mean the webhook request [18:42] daker: https://help.launchpad.net/API/Webhooks [18:44] cjwatson: thanks! [18:44] toan_: Then your choices are (a) arrange for bzr imports of all the git repositories you need (b) wait for both git recipes and git imports to be implemented (c) wait for git recipes to be implemented, and then set up something external that pushes git mirrors of the repositories you need to LP [18:48] cjwatson, yeah, i will wait for git-recipe; in the meantime, i will build the packages manually then push them to the PPA repo [19:14] have a (hopefully) quick query about the autobuild service... Logs at https://launchpadlibrarian.net/234639697/buildlog_ubuntu-xenial-amd64.phpab_1.21.0-1~ppaubuntu1_BUILDING.txt.gz ... I'd like to use the pkg-php-tools in the PPA itself (as specified in the overrides), but it trips a GPG error so it seems to not be using the PPA's package? [19:21] The GPG error is a harmless cosmetic thing [19:21] We disable verification anyway since it's entirely within our infrastructure [19:21] cjwatson: ok, that's what i wondered about [19:22] "but it is not going to be installed" generally indicates that the package in question is available but that one of its dependencies is uninstallable [19:23] cjwatson: ok, i'll try and see why it's happening [19:23] thanks [19:24] * cjwatson is looking [19:30] nacc: http://paste.ubuntu.com/14577102/ [19:30] nacc: looks to me like a problem with various things still built against php5 [19:30] cjwatson: hrm, interesting ... ill try and resolve that! [19:30] thanks for the pointer [19:30] chdist is really handy [19:31] cjwatson: yeah, i've used it, but not thought about it this way! very useful! [19:38] cjwatson: ok, so i'm now rather confused; i can manually install php-cli, php-json and php-pear from xenial + ppa in my chroot; and chdist also resolves the dependenciees for all 3 packages fine [19:38] cjwatson: that is, i don't get the same errors you did [19:40] cjwatson: chdist apt-get php7 install pkg-php-tools ... Need to get 127 MB/157 MB of archives... [19:40] nacc: you need to add phpunit as well [19:40] cjwatson: oh i see! [19:41] nacc: that's why I explicitly listed all the build-deps there - you have build-deps that conflict with each other, indirectly [19:41] got it [19:41] that is definitely a confusing situation to be in and it unfortunately takes some practice to get apt to be helpful here ... [19:41] feels like that message could be clearer, but that's neither here nor there :)( [19:41] yep, thanks for the tip! [19:41] yeah, it's difficult to extract this from apt without human intelligence :-/ [19:42] one of these days we might stick dose-builddebcheck into the loop [20:00] cjwatson, what's the point of having a project like this on LP: https://launchpad.net/efl, it has no sourcecode, be better if it was an imported project from git... it looks useless to me [20:01] i can't really write a recipe to pull from it, just curious why! [20:31] toan_: Anyone can create a project, so many people do. [20:33] Some of them are not very useful. [20:33] But we don't generally intervene unless asked by the project owners or unless it causes an actual problem of some kind. [20:34] Not least because if we spent time doing that we'd never have time for anything else ...