Hi, I am having problems building a source package where the original source package includes a file at the top-level directory. For example, the orig.tar.gz contains:
mati@haumea:~ $ tar tf some_1.7.1.orig.tar.gz
topfile
some/file1
some/file2
...
This causes problems when I try to build the source package using dpkg-source
-b. It claims that all files in the original source where added to the source-
file. Example:
mati@haumea:~ $ dpkg-source -b some-1.7.1
dpkg-source: info: using source format `3.0 (quilt)'
dpkg-source: info: building some using existing ./some_1.7.1.orig.tar.gz
dpkg-source: warning: ignoring deletion of file topfile
dpkg-source: warning: ignoring deletion of directory some
dpkg-source: warning: ignoring deletion of file some/file1
dpkg-source: warning: ignoring deletion of file some/file2
...
dpkg-source: info: local changes detected, the modified files are:
some-1.7.1/file1
some-1.7.1/file2
...
dpkg-source: error: aborting due to unexpected upstream changes, see ...
When I remove "topfile" (the one on the top-level), I do not have the problem.
Is it approriate to repackage the orig.tar.gz in this case (if the file is not
needed)? Am I missing something? Can i.e. uscan, dpkg-source or some other
tool handle this situation in some way? Is the problem even reproducable for
you? Am I doing something wrong?
greetings, Mati
--
me on twitter: @mathiasertl | soup: http://soup.er.tl
I only read plain-text mail! I prefer signed/encrypted mail!
signature.asc
Description: This is a digitally signed message part.

