← Back to team overview

ubuntu-packaging-guide-team team mailing list archive

[Bug 1898410] Re: "Packaging New Software" instructions don't work right

 

Hi!

If you are starting packaging for a new project, I think Git would be a
better choice than Bzr. In any case, you can run dh-make, fixup the
packaging, and then add the files to your favourite version control
system.

I personally never used "bzr dh-make", but you can also look at its
--help option, maybe that will give some clue.

-- 
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/1898410

Title:
  "Packaging New Software" instructions don't work right

Status in Ubuntu Packaging Guide:
  New

Bug description:
  I've been writing software for decades, but I'm new to making binary
  packages of it. I use CMake and out-of-source builds; my source code
  is in ~/src/foo, my binaries are compiled in ~/build/foo/bar where bar
  is the type of build, and so I figured I should create a ~/package/
  directory to make packages. So I installed the packages recommended
  for building packages and ran this:

  phma@puma:~/package$ bzr dh-make mirasol 0.1.0 ~/build/mirasol/cdbg/mirasol-0.1.0-Source.tar.bz2 
  bzr: ERROR: Either run the command from an existing branch of upstream, or move mirasol aside and a new branch will be created there.

  To someone who doesn't know Debian packaging, this error is quite
  unclear. The man page of bzr is no help; it doesn't mention the dh-
  make command.

  I looked at the ~/package directory; it contains the tarball and a
  directory mirasol which contains the source code. From the error I got
  from running dh_make, I'm guessing that the directory should be named
  "mirasol-0.1.0", but bzr created the directory, and I don't know how
  to tell it to include the version number.

  The prompt in the instructions is just "$". Could you add the
  directory to the prompt?

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


References