Package: dpkg
Version: 1.13.25
Severity: grave
Justification: renders package unusable


long file path (>100 characters) do not get installed. 
Steps to reproduce:

$ wget http://gdcm.sourceforge.net/thingies/debpackage-0.0.0-Linux-x86_64.deb

$ dpkg -c debpackage-0.0.0-Linux-x86_64.deb
drwxr-xr-x mmalaterre/mmalaterre 0 2008-04-03 11:31 ./tmp/
drwxr-xr-x mmalaterre/mmalaterre 0 2008-04-03 11:31 ./tmp/very/
drwxr-xr-x mmalaterre/mmalaterre 0 2008-04-03 11:31 ./tmp/very/long/
drwxr-xr-x mmalaterre/mmalaterre 0 2008-04-03 11:31 ./tmp/very/long/pathname/
drwxr-xr-x mmalaterre/mmalaterre 0 2008-04-03 11:31 
./tmp/very/long/pathname/foobar/
drwxr-xr-x mmalaterre/mmalaterre 0 2008-04-03 11:31 
./tmp/very/long/pathname/foobar/hello_world/
drwxr-xr-x mmalaterre/mmalaterre 0 2008-04-03 11:31 
./tmp/very/long/pathname/foobar/hello_world/toreproduceabugindpkg/
drwxr-xr-x mmalaterre/mmalaterre 0 2008-04-03 11:31 
./tmp/very/long/pathname/foobar/hello_world/toreproduceabugindpkg/pleaseconsider/
drwxr-xr-x mmalaterre/mmalaterre 0 2008-04-03 11:31 
./tmp/very/long/pathname/foobar/hello_world/toreproduceabugindpkg/pleaseconsider/123/
-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-03 11:28 
./tmp/very/long/pathname/foobar/hello_world/toreproduceabugindpkg/pleaseconsider/123/install_me.txt

while after installation:

$ sudo dpkg -i debpackage-0.0.0-Linux-x86_64.deb
Selecting previously deselected package debpackage.
(Reading database ... 147313 files and directories currently installed.)
Unpacking debpackage (from .../debpackage-0.0.0-Linux-x86_64.deb) ...
Setting up debpackage (0.0.0) ...
$ find /tmp/very
/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_me.txt

You can see that install_me.txt get installed but a filename just slightly 
longer do not.

Thanks
-Mathieu

-- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-6-amd64
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)

Versions of packages dpkg depends on:
ii  coreutils                     5.97-5.3   The GNU core utilities
ii  libc6                         2.7-6      GNU C Library: Shared libraries

dpkg recommends no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to