← Back to team overview

ubuntu-packaging-guide-team team mailing list archive

[Bug 975053] Re: Packaging Next Steps section does not work

 

Both "bzr builddeb -S" and "debuild -nc" assume that you're in the base
directory of the package, not debian/.

I guess we need to be more clear about that.

** Changed in: ubuntu-packaging-guide
       Status: New => Triaged

** Changed in: ubuntu-packaging-guide
   Importance: Undecided => Low

-- 
You received this bug notification because you are a member of Ubuntu
Packaging Guide Team, which is subscribed to Ubuntu Packaging Guide.
https://bugs.launchpad.net/bugs/975053

Title:
  Packaging Next Steps section does not work

Status in Ubuntu Packaging Guide:
  Triaged

Bug description:
  http://developer.ubuntu.com/packaging/html/packaging-new-software.html

  Section Next Steps
   
  ==================
  After making a fix to the packaging you can rebuild using -nc “no clean” without having to build from scratch:

  $ debuild -nc
  Having checked that the package builds locally you should ensure it builds on a clean system using pbuilder. If you haven’t set up pbuilder-dist yet, do so now:

  $ bzr builddeb -S
  $ cd ../build-area
  $ pbuilder-dist precise build hello_2.7-0ubuntu1.dsc
  =====================

  the debuild -nc command has to be done from the "debian" folder, but you've instructed a few steps earlier to move to ~   with ../..
  also the same debuild -nc command requires a gpg key. which was not set. the command should read debuild -nc -us -uc

  The bzr builddeb -S command returns not a branch

  kat@linus:~$ bzr builddeb -S
  bzr: ERROR: Not a branch: "/home/kat/".

  there is no ../build-area to cd into

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-packaging-guide/+bug/975053/+subscriptions


References