[Sablevm-developer] [PATCH] automake doesn't allow for 100+ long paths in "dist" tarball
Brought to you by:
egagnon
From: Grzegorz B. P. <ga...@de...> - 2004-03-20 04:42:21
|
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 <ga...@de...> Debian GNU/Linux http://www.debian.org SableVM - LGPLed JVM http://www.sablevm.org Why SableVM ?!? http://devel.sablevm.org/wiki/WhySableVM |