ubuntu-packaging-guide-team team mailing list archive
-
ubuntu-packaging-guide-team team
-
Mailing list archive
-
Message #01948
[Bug 1898410] [NEW] "Packaging New Software" instructions don't work right
Public bug reported:
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?
** Affects: ubuntu-packaging-guide
Importance: Undecided
Status: New
--
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
Follow ups