Re: Bug#5950: 'dpkg-buildpackage' removes original source
"Brian C. White" <firstname.lastname@example.org> wrote:
>When I run 'dpkg-buildpackage' to build a package, it archives the
>source and makes a diff. It then proceeds to erase the original
>source directory tree and later says that it's a diff-only upload.
No, what it does is it compresses the original source tree into a
>callandor:~/build/genpower-1.0.1# nice dpkg-buildpackage
>dpkg-buildpackage: source package is genpower
>dpkg-buildpackage: source version is 1.0.1-2
This is why it's a diff-only upload: unless you pass the "-sa" parameter
to dpkg-buildpackage, dpkg-buildpackage assumes the source has already been
>When all done, there is no longer a "genpower-1.0.1.orig" directory and
>the "genpower_1.0.1-2_i386.changes" does not contain the source archive
>"genpower_1.0.1.orig.tar.gz" that was created.
Because this is only done for revision 1 of a package.
I'm closing this bug; it's a misunderstanding of how dpkg does things.
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-devel-REQUEST@lists.debian.org . Trouble? e-mail to Bruce@Pixar.com