"Packaging New Software" instructions don't work right
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu Packaging Guide |
New
|
Undecided
|
Unassigned |
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:
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?
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.