classpath
[Top][All Lists]
Advanced

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

[PATCH] automake doesn't allow for 100+ long paths in "dist" tarball


From: Grzegorz B. Prokopski
Subject: [PATCH] automake doesn't allow for 100+ long paths in "dist" tarball
Date: Fri, 19 Mar 2004 23:12:32 -0500

reopen 235395
reassign 235395 automake1.7
tag 235395 patch
thanks

While creating "dist" tarball tar is called with "chof" options.
The option "o" forces OLD archive format which only allows for
maximum of 100 chars in a path. 

This problem does not show up if one is using old-enough version of
tar, ex. from woody. As I learned from discussion with Tom Tromey,
the original author of automake, they used "o" option because it
was the only way to make gnu tar produce tarballs readable by other
tars.

The old gnu tar (ex. from Woody) misinterpreted this option and forced
--posix mode. In newer versions of gnu tar this has been fixed, but as
a sideffect - it broke usage of autotools for all software projects
that create "dist" tarballs with paths longer than 100 chars.

The "chof" options passed to tar come from
/usr/share/automake-1.7/am/distdir.am. The attached patch changes
"o" into "--posix". I have tested it and it fixed problem of
creating tarballs of GNU Classpath. It would be very important
to have this problem fixed before Sarge release.

HTH

                                Grzegorz B. Prokopski

PS: For reference see also #414 at
 http://sources.redhat.com/cgi-bin/gnatsweb.pl?database=automake

-- 
Grzegorz B. Prokopski <address@hidden>
Debian GNU/Linux      http://www.debian.org
SableVM - LGPLed JVM  http://www.sablevm.org
Why SableVM ?!?       http://devel.sablevm.org/wiki/WhySableVM

Attachment: posix-tar-automake-fix.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]