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

Re: 'dpkg-source: warning: ignoring deletion' caused by no files in root of orig.tar.gz



>> I was busy trying to package some source. When I had all stuff ready,
>> I tried to build the packages (dkpg-buildpackage). While building I
>> got several "dpkg-source: warning: ignoring deletion" warnings which
>> ended in an error. The strange thing is, I didn't delete any file from
>> the original source, neither are incorrect timestamps.
>
> You aren't giving enough information here.
> Are you playing with symlinks ?

Sorry, here's more information:

The orig.tar.gz is just created with "tar cvvzf". It doesn't contains links,
just files and directories.

> Also, you may be letting dh_make create your .orig.tar.gz,
> which may contain generated files, which may be deleted in your
> build scripts.

I didn't use dh_make.

Here'a a snapshot of the output when I run dpkg-buildpackage -rfakeroot:

(ignore the directory name warmings)

dpkg-buildpackage: source package is unicode-character-database
dpkg-buildpackage: source version is 3.2.0-1
dpkg-buildpackage: source maintainer is Durk Strooisma <durk@kern.nl>
dpkg-buildpackage: host architecture is i386
 fakeroot debian/rules clean
make[1]: Entering directory `/local/appl/unicode-character-database'
dh_testdir
dh_testroot
rm -f build-stamp
dh_clean
make[1]: Leaving directory `/local/appl/unicode-character-database'
 dpkg-source -b unicode-character-database
dpkg-source: warning: source directory `./unicode-character-database' is not
<sourcepackage>-<upstreamversion> `unicode-character-database-3.2.0'
dpkg-source: warning: .orig directory name unicode-character-database.orig
is not <package>-<upstreamversion> (wanted
unicode-character-database-3.2.0.orig)
dpkg-source: building unicode-character-database using existing
unicode-character-database_3.2.0.orig.tar.gz
dpkg-source: building unicode-character-database in
unicode-character-database_3.2.0-1.diff.gz
dpkg-source: cannot represent change to 3.2-Update/Unihan-3.2.0.txt.gz:
binary file contents changed
dpkg-source: cannot represent change to 3.2-Update/Unihan-3.2.0.zip: binary
file contents changed
dpkg-source: cannot represent change to 3.2-Update/images/U-2225-FE00.jpg:
binary file contents changed
dpkg-source: cannot represent change to 3.2-Update/images/U-2229-FE00.jpg:
binary file contents changed
dpkg-source: cannot represent change to 3.2-Update/images/U-222A-FE00.jpg:
binary file contents changed
dpkg-source: cannot represent change to 3.2-Update/images/U-2268-FE00.jpg:
binary file contents changed
dpkg-source: cannot represent change to 3.2-Update/images/U-2269-FE00.jpg:
binary file contents changed

.... snip snip...

dpkg-source: warning: ignoring deletion of file ArabicShaping-3.2.0.txt
dpkg-source: warning: ignoring deletion of file BidiMirroring-3.2.0.txt
dpkg-source: warning: ignoring deletion of file Blocks-3.2.0.txt
dpkg-source: warning: ignoring deletion of file CaseFolding-3.2.0.txt
dpkg-source: warning: ignoring deletion of file
CompositionExclusions-3.2.0.txtdpkg-source: warning: ignoring deletion of
fileDerivedAge-3.2.0.txt

....snip snip...

dpkg-source: building unicode-character-database in
unicode-character-database_3.2.0-1.dsc
dpkg-source: unrepresentable changes to source
make: *** [buildall] Error 1


Is this any helpfull?

Durk




Reply to: