[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Trouble Building with Original Sources



I would like to get rid of the following bug report against Crafty:

> Package: crafty
> Version: 15.20-2
> 
> You probably built this package without having the upstream tar.gz file
> available in the upper directory. Please remedy this in the next upload!

In the upper directory are the following files:

    crafty-16.2/                crafty_16.2-1_i386.changes
    crafty-16.2.orig.tar.gz     crafty_16.2-1_i386.deb
    crafty_16.2-1.dsc           crafty_16.2-1_i386.upload
    crafty_16.2-1.tar.gz

The "crafty-16.2.orig.tar.gz" (with a hyphen) file existed before I ran
"build."  I might have misread the "The New-Maintainer's Debian
Packaging Howto ", but I think this is what it says to do.  When the
original tarball has the above name, the package builds fine, but the
uploaded source does not contain the original tarball.

When I try to build using "crafty_16.2.orig.tar.gz" (with an underscore
instead), I get the following error message.

    dpkg-source: building crafty using existing crafty_16.2.orig.tar.gz
    dpkg-source: error: crafty_16.2.orig.tar.gz extracted into >1 directory

After this error has stopped "build", a directory called
"crafty_16.2.orig.tar.gz.tmp-nest" exists in the upper directory with
the original source extracted into it.

Another thing that might be of interest is that the original tarball
unpacks to the current directory instead of creating its own
subdirectory.

Thanks for any help.


Paul Serice


Reply to: