Hi Sven, Thanks a bunch for tracking the issue down ! I am making some progress. See the new debian package (still not quite there yet):
http://gdcm.sourceforge.net/thingies/debpackage-0.0.2-Linux-x86_64.deb After installation I am getting: $ dpkg -L debpackage /tmp /tmp/very /tmp/very/long /tmp/very/long/pathname /tmp/very/long/pathname/foobar /tmp/very/long/pathname/foobar/hello_world /tmp/very/long/pathname/foobar/hello_world/toreproduceabugindpkg /tmp/very/long/pathname/foobar/hello_world/toreproduceabugindpkg/pleaseconsider /tmp/very/long/pathname/foobar/hello_world/toreproduceabugindpkg/pleaseconsider/123 /tmp/very/long/pathname/foobar/hello_world/toreproduceabugindpkg/pleaseconsider/123/install_me1.txt /tmp/very/long/pathname/foobar/hello_world/toreproduceabugindpkg/pleaseconsider/123/do_not_install_me.txt,.+ /tmp/very/long/pathname/foobar/hello_world/toreproduceabugindpkg/pleaseconsider/123/install_me112.txtnsq /tmp/very/long/pathname/foobar/hello_world/toreproduceabugindpkg/pleaseconsider/123/install_me11.txt /tmp/very/long/pathname/foobar/hello_world/toreproduceabugindpkg/pleaseconsider/123/install_m.txt /tmp/very/long/pathname/foobar/hello_world/toreproduceabugindpkg/pleaseconsider/123/install_me1123.txt /tmp/very/long/pathname/foobar/hello_world/toreproduceabugindpkg/pleaseconsider/123/install_me.txt You can clearly see that there are some garbage at the end of the filepath, while this is not reported by dpkg -c: $ dpkg -c debpackage-0.0.2-Linux-x86_64.deb drwxr-xr-x mmalaterre/mmalaterre 0 2008-04-17 12:23 ./tmp/ drwxr-xr-x mmalaterre/mmalaterre 0 2008-04-17 12:23 ./tmp/very/ drwxr-xr-x mmalaterre/mmalaterre 0 2008-04-17 12:23 ./tmp/very/long/ drwxr-xr-x mmalaterre/mmalaterre 0 2008-04-17 12:23 ./tmp/very/long/pathname/ drwxr-xr-x mmalaterre/mmalaterre 0 2008-04-17 12:23 ./tmp/very/long/pathname/foobar/ drwxr-xr-x mmalaterre/mmalaterre 0 2008-04-17 12:23 ./tmp/very/long/pathname/foobar/hello_world/ drwxr-xr-x mmalaterre/mmalaterre 0 2008-04-17 12:23 ./tmp/very/long/pathname/foobar/hello_world/toreproduceabugindpkg/ drwxr-xr-x mmalaterre/mmalaterre 0 2008-04-17 12:23 ./tmp/very/long/pathname/foobar/hello_world/toreproduceabugindpkg/pleaseconsider/ drwxr-xr-x mmalaterre/mmalaterre 0 2008-04-17 12:23 ./tmp/very/long/pathname/foobar/hello_world/toreproduceabugindpkg/pleaseconsider/123/ -rw-r--r-- mmalaterre/mmalaterre 0 2008-04-17 12:10 ./tmp/very/long/pathname/foobar/hello_world/toreproduceabugindpkg/pleaseconsider/123/install_me1.txt -rw-r--r-- mmalaterre/mmalaterre 0 2008-04-03 11:28 ./tmp/very/long/pathname/foobar/hello_world/toreproduceabugindpkg/pleaseconsider/123/do_not_install_me.txt -rw-r--r-- mmalaterre/mmalaterre 0 2008-04-17 12:10 ./tmp/very/long/pathname/foobar/hello_world/toreproduceabugindpkg/pleaseconsider/123/install_me112.txt -rw-r--r-- mmalaterre/mmalaterre 0 2008-04-17 12:10 ./tmp/very/long/pathname/foobar/hello_world/toreproduceabugindpkg/pleaseconsider/123/install_me11.txt -rw-r--r-- mmalaterre/mmalaterre 0 2008-04-17 12:10 ./tmp/very/long/pathname/foobar/hello_world/toreproduceabugindpkg/pleaseconsider/123/install_m.txt -rw-r--r-- mmalaterre/mmalaterre 0 2008-04-17 12:10 ./tmp/very/long/pathname/foobar/hello_world/toreproduceabugindpkg/pleaseconsider/123/install_me1123.txt -rw-r--r-- mmalaterre/mmalaterre 0 2008-04-03 11:28 ./tmp/very/long/pathname/foobar/hello_world/toreproduceabugindpkg/pleaseconsider/123/install_me.txt See my comments interlaced: On Wed, Apr 16, 2008 at 10:51 PM, Sven Joachim <[EMAIL PROTECTED]> wrote: > On 2008-04-08 12:35 +0200, Raphael Hertzog wrote: > > > On Thu, 03 Apr 2008, Mathieu Malaterre wrote: > >> long file path (>100 characters) do not get installed. > > > > For reference, while browsing the history I found this commit: > > > > commit 3252594427f5285ab4091a6beca2adaa5082a883 > > Author: Wichert Akkerman <[EMAIL PROTECTED]> > > Date: Thu Oct 21 13:36:28 1999 +0000 > > > > Add support for GNU tar extension for long filenames > > Unfortunately this commit only deals with tar archives in (old) GNU > format, not with POSIX tar archives (which were only described later in > POSIX.1-2001, according to the GNU tar info docs). > > > > So it might have been supported once... > > It still is, actually. I took the steps to extract and uncompress the > data.tar from Mathieu's archive, and file reports it as "POSIX tar > archive". However, tar currently does not create POSIX archives by > default; when I repacked the data.tar, file said "POSIX tar archive > (GNU)". Then I reassembled the .deb with ar, and dpkg installed it > correctly. It is attached for reference. > > Mathieu, how did you create the deb? Do you have TAR_OPTIONS set so > that tar creates POSIX archives? So for record I am using CMake & its debian package plugin. The real issue is that by default 'cmake -E tar cvfz' will create POSIX (non TAR_GNU) tarball, unless you are runnning cmake on cygwin (??). > > > that said it hasn't caused troubles in > > several releases, so it's not really RC anyway. Downgrading to important so > > that it doesn't get in the way of testing migration or anything else. > > > > Would be nice to have it fixed for lenny though. > > Especially as tar will switch to creating POSIX archives by default some > day. We should also try to assure that dpkg-deb creates GNU tar > archives until the dpkg in the stable Debian release supports POSIX tar > archives with filenames > 99 characters. > > There are files with that long (> 100 characters) names in the archive; > to see some of them, download and unzip (e.g.) Contents-i386.gz and run > the following script on it to sort it by line length (needs several 100 > Megabyte RAM; beware!): > > --8<---------------cut here---------------start------------->8--- > #!/usr/bin/perl > my @lines = <>; > print reverse sort { length($a) <=> length($b) } @lines; > --8<---------------cut here---------------end--------------->8--- > > Pipe this through head -n 1000 or something like that and enjoy. > > Cheers, > Sven > > > Regards and thanks again for your help ! -- Mathieu -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

