Package: debhelper
Version: 7.4.9
Severity: normal
File: /usr/bin/dh_clean
Hi,
I have an upstream orig.tar.gz that contains autom4te.cache
directories. Yeah, I know, bad pstream. But that is how the
orig.tar.gz is. I've imported the upstream source into mercurial using
pristine-tar, added my debian dir and build the source. But when I
want to "hg push" the mercurial repository to our server mercurial
dies with an error about missing files.
The reason for this is dh_clean finding and deleting all
autom4te.cache directories including the repositories copies in
..hg/. To detect this I took away the write permissions to the .hg/
directory and tried to build the source:
fakeroot debian/rules clean
dh_testdir
dh_testroot
dh_clean
rm: cannot remove
`./.hg/store/data/upstream/test/mpi/autom4te.cache/requests.i': Permission
denied
rm: cannot remove
`./.hg/store/data/upstream/test/mpi/autom4te.cache/traces.0.i': Permission
denied
....
dh_clean should not alter any files in .hg, .git, .svn, ... that are
repository metadata and not autom4te.cache files.
MfG
Goswin
-- System Information:
Debian Release: 5.0.3
APT prefers stable
APT policy: (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.20.11.domu (SMP w/4 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=UTF-8) (ignored: LC_ALL set to en_US.UTF8)
Shell: /bin/sh linked to /bin/bash
Versions of packages debhelper depends on:
ii binutils 2.18.1~cvs20080103-7 The GNU assembler, linker and bina
ii dpkg-dev 1.14.25a0.ql.1 Debian package development tools
ii file 4.26-1 Determines file type using "magic"
ii html2text 1.3.2a-5 advanced HTML to text converter
ii man-db 2.5.2-4 on-line manual pager
ii perl 5.10.0-19lenny2 Larry Wall's Practical Extraction
ii perl-base 5.10.0-19lenny2 minimal Perl system
ii po-debconf 1.0.15 manage translated Debconf template
debhelper recommends no packages.
Versions of packages debhelper suggests:
ii dh-make 0.46 tool that converts source archives
-- no debconf information
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]