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

Re: waste of time (Re: file path length in .deb package.)



Hi Bart,

On Thu, Apr 3, 2008 at 8:13 AM, Bart Martens <bartm@debian.org> wrote:
> On Wed, 2008-04-02 at 20:43 +0200, Mathieu Malaterre wrote:
>  > On Wed, Apr 2, 2008 at 6:35 PM, Bart Martens <bartm@debian.org> wrote:
>  > >
>  > >
>  > >  On Wed, 2008-04-02 at 17:46 +0200, Mathieu Malaterre wrote:
>  > >  > Hi there,
>  > >  >
>  > >  >   After reading the documentation of 'man deb' I cannot see any
>  > >  > reference to any arbitrary length for filename in a deb package. For
>  > >  > instance I have filepath (including sub directories) that reach ~100
>  > >  > characters. the tar format completely support that, but I am having
>  > >  > some weird issue on my debian etch amd64 box. I have created a package
>  > >  > where all files with long filepaths simply don't get installed (while
>  > >  > being accessible using ar xvf + tar xvfz data.tgz).
>  > >  >
>  > >  >   Let me know if this is a known issue.
>  > >
>  > >  Please consult the "Debian bug tracking system".
>  >
>  > wow ! Thanks, may I ask what you did during the 1s you spare not
>  > copy/pasting the bug number.
>
>  I don't know any relevant bug number.
>
>  > You're loosing everyone time:
>  > - mine (obviously)
>  > - yours in answering such a lame response
>  > - anyone else that will find my post after a google search
>
>  Please don't blame me for any waste of time on debian-devel.  My reply
>  to you was a private e-mail, meant to suggest you to consult the bts to
>  see whether your problem is a known issue.

Please accept my apologies, I kindda got very upset when I realized
this issue (real problem for me right now).

I'll open a bug report. Meanwhile you can test this package, which
contains two files: do_not_install_me.txt and install_me.txt.

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

See the differences:

$ 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

$ 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



Thanks,
-- 
Mathieu


Reply to: