=== dk is now known as Guest9738 === yofel_ is now known as yofel [21:24] guys, I've been running through the "package a new software" on the packaging guide. I've managed to build the hello world deb file, and I ran lintian. [21:25] After making the fix, I wanted to run debuild -nc after cd-ing to hello/debian [21:27] and the cmdline fails to run debsign, meaning the debuild probably wasn't successful. How do I debuild so that the fixes are committed? [21:28] if it tries to run debsign the build was successful [21:28] ah really? [21:28] what is the error message? [21:30] thinkndev, try 'debuild -nc -us -uc' [21:30] AmberJ, wouldn't that be debuilding from scratch? [21:30] but I think that'll work [21:31] The wiki article says 'debuild -us -uc' (the first time you run it).... -us -uc means "do NOT sign packages". [21:32] ok [21:32] Then wiki page says to run "debuild -nc" second time (mind you, this time -us -uc are missing; so it prompts you that debsign failed) [21:32] -nc means "no clean" (iirc) [21:32] which page is this? [21:33] Laney, http://developer.ubuntu.com/packaging/html/packaging-new-software.html [21:33] ahh, following AmberJ's suggestion, no error message came out! [21:34] there is a slight logic error on the packaging guide after all. [21:35] I think http://developer.ubuntu.com/packaging/html/packaging-new-software.html#next-steps should say "debuild -nc -us -uc" (instead of "debuild -nc") [21:35] that's what I was thinking too. [21:37] jtaylor, the error messag was: running debsign failed. it's probably because of the missing "-us -uc" for the debuild command. [21:38] thinkndev: no, debsign probably failed for a different reason (no key?) -us -uc just disables running it [21:38] http://developer.ubuntu.com/packaging/html/getting-set-up.html#create-your-gpg-key [21:38] but you don't need debsign unless you want to upload it [21:38] lol, yeah. the package page is but a tutorial. [21:39] I have a gpg key. [21:39] you need it if, for example, you want to upload to a ppa [21:44] https://code.launchpad.net/~laney/ubuntu-packaging-guide/new-software-no-sign/+merge/113834 [21:46] can we manually edit the control file? [21:47] yes [21:47] everything in debian after a clean should be editable [21:48] in most cases you /must/ edit control [21:48] except maybe for old changelog entries, always add new ones there [21:49] why is it necessary to edit the Makefiles when ./configure won't do? [21:49] and how difficult is it for starters? [21:49] in general you won't have to edit makefiles often, only if they do not behave correctly [21:51] the makefiles are usually part of the application you are packaging, if there are issues you should ask the application writers for advice [21:51] awesome [21:51] debian/rules is a makefile, but with the packaging tools its very easy to use nowadays === em is now known as ninkasi [21:54] If lintian doesn't say anything about a .deb package, it means there aren't any errors it can find? [21:55] yes, but lintian is not perfect [21:55] you can activate more checks === ninkasi is now known as em [21:56] --pedantic --display-info --display-experimental [21:58] Ok, now that the package is ready, I need to see if this builds on a clean environment. I wrote "bzr builddeb -S" only to receive "ERROR: Not a branch: home/" [21:59] you need to run that in a bzr checkout [22:00] what is a bzr checkout? and how do you run in it? It seems that my home directory isn't a checkout [22:00] http://developer.ubuntu.com/packaging/html/packaging-new-software.html [22:01] ok with that guide you should have it all in bzr [22:01] you need to be in the package directory for that command to work [22:02] I'll make a note of that. [22:03] why does the guide mix debuild and bzr builddeb [22:03] ._. [22:04] yes, very confusing [22:04] precisely why I'm thrown off at this point in the guide [22:04] everything else flowed well. [22:05] so where it has "debuild" it should have "bzr bd --" imho [22:05] Laney, can you report this as a bug to package guide? [22:06] i'll just fix it [22:06] ahha, ok. [22:07] so with a complete hello .deb package ready, what must I do to prepare to run it in a chroot environment? [22:09] https://code.launchpad.net/~laney/ubuntu-packaging-guide/new-package-no-debuild/+merge/113835 [22:09] to run it? log into the chroot and install the deb therein [23:29] guys, what does it mean if there are "items in queue"? [23:29] context?