[00:00] sergio-br2: I think the bug may be that we don't handle implicit revspecs when determining staleness. [00:00] If you adjust the recipe to explicitly specify "master" it might work. [00:00] cjwatson: Does that sound plausible? [00:03] yeah, you are right wgrant === marcoceppi_ is now known as marcoceppi === Guest66923 is now known as karstensrage [06:58] well i got further [06:59] is there documentation about what my changes file *should* contain for launchpad? [06:59] karstensrage: dpkg-buildpackage -S or debuild -S will do the right thing. [06:59] Rejected: [06:59] Unable to find distroseries: unstable [06:59] Ah, your debian/changelog is wrong. [06:59] "unstable" is a Debian series. [06:59] yeah [07:00] You want something like "trusty" or "xenial", for the target Ubuntu series. [07:00] ok [07:00] whats the difference between trusty or xenial? [07:00] is that 14.04 vs 16.04? [07:03] or could i set it to precise [07:03] i want it to work on any version? [07:03] karstensrage: Any supported Ubuntu release. [07:04] And yes, trusty is 14.04, xenial is 16.04, precise 12.02 [07:04] er, 12.04 [07:04] so should i try again with precise? [07:05] If you want to build for 12.04, yep. [07:06] whats the plan after Zippy Zebra? [07:06] out of curiosity [07:06] That's Mark's problem :) [07:07] But something we've all been wondering for the last decade or so. [07:08] accepted!!!! [07:08] wooot [07:09] thanks wgrant youre awesome [07:10] Nice, hopefully it'll build! [07:12] it didnt [07:12] :( [07:12] Did you test build it locally in pbuilder or sbuild? [07:13] i dont know what those are ive just been using bzr debbuild [07:13] when i dont use -S it builds things [07:14] and seems to work [07:14] pbuilder and sbuild use clean chroots, so you can ensure you have all the dependencies right. [07:14] Your host system has all sorts of packages installed, which your package might require to build. [07:15] Launchpad builders only install the packages that are in your package's Build-Depends field. [07:15] If you're not using a clean chroot, you might not have everything you need listed there. [07:15] hmm [07:15] well i thought i had my dependencies set correctly [07:15] but the error seems to indicate there is no source [07:15] * Source: not available [07:15] Ah, that's unrelated. [07:16] Check the build log link. [07:20] hmm [07:20] i cant tell what the error might me [07:20] be [07:21] ./configure: line 12134: syntax error near unexpected token `0.25' [07:21] ./configure: line 12134: `PKG_PROG_PKG_CONFIG(0.25)' [07:22] Sounds like a missing build-dep. [07:22] Try in pbuilder or sbuild locally, so you can immediate feedback rather than waiting for LP to build it. [07:22] like maybe there is build-depends on pkg_config [07:22] ? [07:22] for example? [07:23] for chroots there seems to be a lot of setup required is that true to run pbuilder or sbuild? [07:24] pbuilder and sbuild automate most of the setup. [07:24] which one should i use? [07:24] Try "mk-sbuild" from ubuntu-dev-tools. [07:26] installing [07:48] do you do mk-sbuild then sbuild [07:49] it seems to be downloading a lot in both cases [07:50] mk-sbuild will download and build a chroot, sbuild will download build dependencies. [07:55] i see [07:55] it wants a key [07:56] wgrant, hi :), are you still around for https://answers.launchpad.net/launchpad/+question/284310 [07:59] ricotz: Done. [07:59] wgrant, thank you! [08:17] do things like libxml2-dev and libssl-dev go on the Build-Depends: line [08:18] as opposed to build things like debhelper (>= 9), dh-autoreconf, pkg-config [08:18] karstensrage: They all go there. [08:19] ok [08:20] youve been a very unexpected and appreciated help wgrant ... the guys in debian-mentor are not very cognizant of the fact that someone new to this doesnt know what he doesnt know, and that the documentation, while enormous, is not very consumable nor applicable to a new person ime [08:21] karstensrage: np, always happy to help [08:21] Log for successful build of identity4c_1.0-1 on i386 (dist=precise) [08:22] that was with sbuild [08:23] Nice. [08:23] So you should be good to upload, then. [08:25] so for uploading ive just been removing identity4c_1.0-1_source.ppa.upload and then dput'ing [08:25] is that the proper way to update? [08:26] Launchpad won't accept the same version a second time. [08:26] You'll need to change it, since the first version was accepted but failed to build. [08:26] and whats the way to change the version? [08:27] the first entry in the change log was auto-generated [08:27] i dont actually recall what did that [08:27] changelog [08:27] that seems to be the only place the version is [08:28] You'd normally use "dch" to edit the changelog. [08:28] dch -i creates a new entry. [08:29] thats creates one with 1ubuntu1 [08:29] is that typical? [08:29] i might have changed that to look like just '1' [08:31] karstensrage: https://help.launchpad.net/Packaging/PPA/BuildingASourcePackage#Versioning [08:41] fingers crossed [08:47] * karstensrage drums his fingers nervously [09:10] hmm it doesnt seem to have built it [09:13] or maybe it did but didnt send an email [09:58] o/ [09:59] Is it possible to add s390x support to ppa:canonical-server/devirt? === kickinz1 is now known as kickinz1-sprint === kickinz1 is now known as kickinz1-sprint [11:54] wgrant: Yup, definitely. I think the most coherent approach would be to have GitRepository._getRecipes check for each path whether it matches default_branch and include None in the revspecs sequence if so. Might require slightly careful handling in SPRD.findRecipes though because SQL. [11:56] kickinz1-sprint: done === bpierre_ is now known as bpierre [12:57] cjwatson, thanks [14:30] launchpadlib question: anyone have a quick example of looking up the git repositories owned by a particular user? is that possible with lplib? [14:37] nacc: lp.git_repositories.getRepositories(target=lp.people['foo']) [14:53] cjwatson: hrm, so do I need to point at staging for that? production seems tosay that Collection has no attribute getRepositories; and git_repositories is empty, I think [14:55] nacc: What's the exact error message? [14:55] nacc: Yes, git_repositories appears empty when treated as a collection, but that's because iterating over all repositories on LP using the webservice isn't something we consider sensible. It's not relevant to this. [14:57] cjwatson: AttributeError: object has no attribute 'getRepositories' [14:59] nacc: Your wadl might be out of date. find ~/.launchpadlib/ -name \*wadl\* -delete [14:59] (wadl -> machine-readable description of API used by launchpadlib) [15:01] cjwatson: no change [15:01] cjwatson: I did notice that 1.0 doesn't hve a getRepositories method: https://launchpad.net/+apidoc/1.0.html#git_repositories, but devel does https://launchpad.net/+apidoc/devel.html#git_repositories [15:05] nacc: Oh, yeah, you have to use devel. [15:05] 1.0 is boring. [15:06] cjwatson: is that the distinction between production and staging? [15:06] nacc: No. [15:06] cjwatson: ok, how do I specify a different API to use? I'm asking for 'production' in login_with [15:06] nacc: There was an attempt to do versioning of the API to make it easier to evolve the API without breaking old scripts, and 1.0 was an attempt to freeze the API. But the versioning scheme never worked very well; most scripts should probably just use devel. [15:06] nacc: version="devel" [15:07] as a keyword argument to login_with [15:07] cjwatson: great, that works! [15:08] cjwatson: any way I can submit a patch for the online documentation? that's not mentioned in any obvious places [15:13] nacc: I've edited https://help.launchpad.net/API/launchpadlib to make this clearer [15:45] cjwatson: thanks! [15:45] cjwatson: and sorry for the noise :) [16:04] im very confused about how packing works with multiple versions [16:04] it seems like everything is controlled by the changelog file [16:04] and you specify a distribution in there [16:04] so if you build your target on a very old version, so precise is specified [16:05] how does that work for trusty and xenial [16:06] if you make lots and lots of packages with the version like myapp_1.0-1ubuntu3ppa1~intrepid1 changing the control file each time, doesnt only the last one apply? [16:07] and my other question is how do i test with sbuild, if there is a dependency in another ppa? [16:21] karstensrage: You can either build for the oldest and use LP's "copy packages" operation to copy source and binaries forward to later series, assuming they'll still work there; or you maintain mini-branches of the changelog file for each series (easier with git) [16:21] karstensrage: or use recipes to automatically build the source packages from a branch [16:23] karstensrage: With older versions of sbuild it was necessary to modify the chroot's sources.list; with sbuild >= 0.65.0 you can use the --extra-repository option [16:23] (and probably the --extra-repository-key option too, added in 0.66.0) [16:24] i have git, this doesnt mention the branching https://help.launchpad.net/Packaging/PPA/BuildingASourcePackage? [16:25] cjwatson: do recipes using git work yet? [16:26] karstensrage: well, you don't *have* to branch, you just might not want the noise from every series you've separately built a given package for [16:26] teward: http://blog.launchpad.net/cool-new-stuff/beta-test-git-recipes [16:27] cjwatson: thanks [16:32] git->git import + recipes will be nice when it's doable [16:32] indeed === kickinz1-sprint is now known as kickinz1|afk [18:35] wgrant, Hi! [18:48] can a project have an associated PPA? [19:02] clivejo: no [19:03] cjwatson: :( [19:03] thats that idea out the window [19:05] how do I remove a project? [19:06] clivejo: only people and teams have PPAs. you can make a team for the project, and that team can have a PPA [19:18] oh maybe thats what I need [19:18] I want to set up a resource to package kolab on Ubuntu [19:26] why does it say the team is already registered? [19:26] https://launchpad.net/~kolab [19:28] because someone registered that username at some point [19:31] hmm, was never activated though it seems; and maybe was automatically registered due to a package upload [19:32] wgrant, cjwatson: if either of you are around, is it ok to rename such accounts with conflicting usernames that have never been activated? ^^ [19:32] yes, that sohuld be fine [19:34] clivejo: you should be able to register kolab as a team name now [19:35] dobey: thanks :) [19:36] clivejo: LP staff can get rid of old projects for you; ask a question on https://answers.launchpad.net/launchpad [19:36] cjwatson: its ok now, dobey has explained how it works [19:37] not sure how all this works [19:38] clivejo: right, that has dealt with you creating a team to have a PPA, but not with cleaning up the project you already created [19:40] well the project would be useful to store the packaging in the git archive [19:40] well, you might want to keep the project to have a mirror of the source on launchpad, for setting up daily build recipes or such [19:40] or can teams have a git too? [19:40] and yes, to store packaging [19:40] clivejo: projects don't have git. people or teams do. but you can associate a specific branch owned by a person or team, to be the development focus of a project, for example [19:42] projects totally have git repositories, that's a very misleading way to describe it! [19:42] git repositories do need to be owned by a person/team as well, yes [19:43] the calligra project seems to have a git repo for packaging, I was planning on doing the same - https://code.launchpad.net/calligra [19:43] but maybe thats not the right/correct way to do it? [19:44] that's in fact bzr, but you can certainly do git that way too [19:44] well, repositories/branches can be associated with a project. projects don't own things. i was trying to state it in a way that makes that clear is all :) [19:45] as the person who implemented most of this I don't think that makes it clear :-) how about: projects don't own git repositories, but they do have them [19:45] do I have to create a ppa for the team? [19:45] you don't have to, but that seems to be your goal [19:46] yes, I have a package Im trying to upload [19:46] if you want it to exist then you do need to create it, yes [19:46] you can create your own ppa, or create a ppa under a team which you administer [19:47] you can upload packages to either your own ppa, or a ppa that is owned by a team you are a member of [19:47] how do I upload to the kolab team? [19:48] did you create a PPA for that team yet? [19:48] https://help.launchpad.net/Packaging/PPA/Uploading but replace "your-lp-id" in those instructions with the team name [19:48] * clivejo shake head [19:48] and possibly "ppa" with the name of the PPA, if you didn't use the default name [19:49] e.g. to upload to the "buildd-staging" PPA owned by the "launchpad" team, I would use dput ppa:launchpad/buildd-staging [19:53] ah, found the add PPA === cprov_ is now known as cprov [23:26] cjwatson, is there a good way to package a debian package without using dpkg-buildpackage, dh_*; like doing it manually, like at the install stage install to the root directory of the build host and also another copy to /debian for packaging? [23:27] in short, i just want to be able to build a package, install it, and then install another copy to DESTDIR for packaging to a .deb package [23:28] tpham3783: You pretty much have to use dpkg-buildpackage. [23:28] Can you explain what you're trying to achieve? [23:29] wgrant, lets say i just downloaded a sourcecode project, i just want to be able to compile it with automake [23:30] then at the install stage, I want to install to my build host [23:30] but also another copy to another folder for packaging the it to a deb package, by using dpkg-deb -b debian mypackage.deb [23:31] dpkg-deb is pretty much the minimal tool to finally create a .deb package, see what i mean? [23:32] well, why do you care about making a .deb if you're installing directly to / anyway? if you care about having things in the dpkg database, then make a deb and install it, instead of installing to / from source [23:32] and i'm not sure what any of that has to do with launchpad :) [23:36] dobey, I come here to talk to cjwatson b/c he is familiar with deb packaging the most; I want to create a .deb even when I did an install already b/c I would like to be able to install the software on diff. machine. [23:39] tpham3783: right. the correct answer is "make a deb first, and then install it on both machines" [23:39] dobey, the reason i did not want to create a .deb then install it b/c the software I am trying to package is complicated, i will have to build first stage (staging the build machine), then build... [23:40] it has all sorts of dependencies with the host and sysroot env. [23:41] what is "it" ? [23:41] it=the software package, in this case, e20 [23:42] a window manager, uses so many other sub resources/libraries [23:42] yes i know what enlightenment is [23:42] it can't be any more difficult to package than the version already packaged in debian/ubuntu [23:43] the version shipped with ubuntu is e17/or 18 [23:43] very old [23:43] i want to be able to test daily build of e20, and on many machines [23:44] then set up recipes that build daily? [23:44] dobey, i was hoping to setup the recipe once launchpad has fully implimented git recipe [23:46] so you will need to create the packaging to build it from source anyway. you can't install anything to / on launchpad builders [23:47] dobey, the original question wasn't for launchpad build, i was going to do it all manually [23:47] ***on my dev machine [23:49] so make the packaging and run debuild on your dev machine. you don't want to manually construct binary .debs. it far more work than just making the packaging and building the packages in the first place [23:50] dobey, understand, but would like to construct it manually and automake it make,,,, [23:50] i am just curious as to how it should be done properly [23:51] properly == use debuild/dpkg-buildpackage [23:51] improperly == you get a tarball that you call a .deb and dpkg won't install anyway [23:51] dobey, on top of that, i one day want to be able to build outside of deb distro, and the only tool i have is dpkg-deb [23:52] if you want to build for other distros, then you'll have to use tools for their packaging systems, and build against their libraries, etc… [23:53] dobey, understand, so far dpkg-deb is the minimal tool, and its working great, can build and package a deb package from almost on any distro [23:55] in a way, i just want to tailor the build process of the e20 project to something like this: make ubuntu_package # for ubuntu, make fedora_package etc.... [23:55] so pretty much, the packaging process is automated, in the source code/tree of the project [23:56] you have to build ubuntu packages on ubuntu, fedora packages on fedora, etc… [23:56] dobey, off course, but you understand the point though? [23:56] keeping the packaging info for all distros in one tree isn't going to work [23:57] not ALL, maybe 2 [23:57] should be acheivable [23:57] u know, that's how wireshark does it, packaging is keep in the sourcetree [23:57] keep=kept [23:58] it will be a pain to maintain, and it makes it difficult for downstreams when they have to ship patches to the release to fix bugs [23:59] dobey, go to go, i will talk to cjwatson on this topic one day... thanks [23:59] i don't know what wireshark does upstream these days. i do know what 20 years of experience dealing with multiple distributions, hundreds of projects, and even writing a packaging system, tells me, though [23:59] well, you may not often find him here at such an hour