Your message dated Tue, 04 Aug 2009 22:08:17 +0000
with message-id <[email protected]>
and subject line Bug#188663: fixed in tar 1.22-2
has caused the Debian Bug report #188663,
regarding debhelper: dh_movefiles breaks some hard links thanks to tar
--remove-files
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
188663: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=188663
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: debhelper
Version: 4.0.2
Severity: normal
Tags: patch
On Thu, Apr 10, 2003 at 08:06:09PM +0200, Cyril Chaboisseau wrote:
> I'd like to report a very small bug in e2fsprogs which is rather a
> generic bug :
>
> there are 3 binaries that are exactly the same but not linked together
>
> $ ls -li /sbin/mkfs.ext* /sbin/mke2fs
> 10079 -rwxr-xr-x 2 root root 31020 2003-02-22 01:26
> /sbin/mke2fs
> 10079 -rwxr-xr-x 2 root root 31020 2003-02-22 01:26
> /sbin/mkfs.ext2
> 10085 -rwxr-xr-x 1 root root 31020 2003-02-22 01:26
> /sbin/mkfs.ext3
>
> there could be actually linked which would of course not to great disk
> space gain but still... (some CD-based Debian could at least benefit
> from that)
Hmm... this is very interesting. The files were correctly linked
together after the "make install DESTDIR=debian/tmp". The problem is
that dh_movefiles uses tar to move the files:
(cd debian/tmp >/dev/null ; tar --create --remove-files
--files-from=debian/movelist --file -) | (cd debian/e2fsprogs >/dev/null ;tar
xpf -)
Tar seems unable to preserve all hard links when the --remove-files
option is present. If dh_movefiles is modified so that the
--remove-files option is removed, and the files removed after the call
to tar using an "cat debian/movelist | xargs rm -f", then the hard
links are properly preserved.
I'll submit bug against debhelper pointing this out.
- Ted
--- /usr/bin/dh_movefiles.orig 2002-04-09 18:02:44.000000000 -0400
+++ /usr/bin/dh_movefiles 2003-04-12 00:38:14.000000000 -0400
@@ -130,7 +130,8 @@
}
my $pwd=`pwd`;
chomp $pwd;
- complex_doit("(cd $sourcedir >/dev/null ; tar --create
--remove-files --files-from=$pwd/debian/movelist --file -) | (cd $tmp
>/dev/null ;tar xpf -)");
+ complex_doit("(cd $sourcedir >/dev/null ; tar --create
--files-from=$pwd/debian/movelist --file -) | (cd $tmp >/dev/null ;tar xpf -)");
+ complex_doit("(cd $sourcedir >/dev/null ; cat
$pwd/debian/movelist | xargs rm -f)");
doit("rm","-f","debian/movelist");
}
}
-- System Information
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux think 2.4.21-pre5 #3 Thu Mar 13 06:01:00 EST 2003 i686
Locale: LANG=C, LC_CTYPE=
Versions of packages debhelper depends on:
ii binutils 2.13.90.0.10-1 The GNU assembler, linker and bina
ii coreutils [fileutils] 4.5.10-1 The GNU core utilities
ii debconf-utils 1.2.34 debconf utilities
ii dpkg-dev 1.10.9 Package building tools for Debian
ii file 3.40-1 Determines file type using "magic"
ii fileutils 4.5.10-1 The GNU file management utilities
ii html2text 1.3.1-1 An advanced HTML to text converter
ii perl 5.6.1-8.2 Larry Wall's Practical Extraction
--- End Message ---
--- Begin Message ---
Source: tar
Source-Version: 1.22-2
We believe that the bug you reported is fixed in the latest version of
tar, which is due to be installed in the Debian FTP archive:
tar_1.22-2.diff.gz
to pool/main/t/tar/tar_1.22-2.diff.gz
tar_1.22-2.dsc
to pool/main/t/tar/tar_1.22-2.dsc
tar_1.22-2_i386.deb
to pool/main/t/tar/tar_1.22-2_i386.deb
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Carl Worth <[email protected]> (supplier of updated tar package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.8
Date: Tue, 04 Aug 2009 12:07:06 -0700
Source: tar
Binary: tar
Architecture: source i386
Version: 1.22-2
Distribution: unstable
Urgency: low
Maintainer: Bdale Garbee <[email protected]>
Changed-By: Carl Worth <[email protected]>
Description:
tar - GNU version of the tar archiving utility
Closes: 188663 525818 535319
Changes:
tar (1.22-2) unstable; urgency=low
.
* Add Carl Worth as an uploader.
* Fix to allow parallel build (-j2), closes: #535319
* Don't close file stream before EOF, closes: #525818
* Preserve hard links with --remove-files, closes: #188663
Thanks to Ted T'so for the idea and Sergey Poznyakoff for
cleaning up my original implementation.
* Respect DEB_BUILD_OPTIONS=nocheck to conform with Policy 3.8.2
Checksums-Sha1:
24163c1e052e310c51232fe1f202b40cb3a318eb 971 tar_1.22-2.dsc
08f40955a77a640cd5bba57a823a29dc5e8a1562 18584 tar_1.22-2.diff.gz
642d961d9c98aaa859d697511dccbc8cae5ee292 830362 tar_1.22-2_i386.deb
Checksums-Sha256:
13e010e1dc39a3a614a1e4a63ee3621e28b110667271edead4f2b4d5944efddc 971
tar_1.22-2.dsc
ab26300424c280edf1d5445c97672cc5fd7242a3175b6973967e72bf7d422c04 18584
tar_1.22-2.diff.gz
07f0552d6152d5523ba523f2394972d8c37046404552c1839319c1b36e2edf30 830362
tar_1.22-2_i386.deb
Files:
11ef8d4959601dfeb53dce2c7a25a075 971 utils required tar_1.22-2.dsc
b0a4a1bd3a4f4ce6005f374e27ea2cd9 18584 utils required tar_1.22-2.diff.gz
97e9420c3d36ad7f811d88f931df49ec 830362 utils required tar_1.22-2_i386.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
iD8DBQFKeJY0ZKfAp/LPAagRApbGAJ4rCdh5yctfRdumBa3W6ZhUliIaZQCdF6W2
rcohHLToC7o4HWTMY4Rocow=
=q2QU
-----END PGP SIGNATURE-----
--- End Message ---