Return-Path: Delivered-To: apmail-ant-notifications-archive@locus.apache.org Received: (qmail 27135 invoked from network); 9 Jul 2008 15:49:26 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 9 Jul 2008 15:49:26 -0000 Received: (qmail 11865 invoked by uid 500); 9 Jul 2008 15:49:27 -0000 Delivered-To: apmail-ant-notifications-archive@ant.apache.org Received: (qmail 11847 invoked by uid 500); 9 Jul 2008 15:49:26 -0000 Mailing-List: contact notifications-help@ant.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ant.apache.org Delivered-To: mailing list notifications@ant.apache.org Received: (qmail 11838 invoked by uid 99); 9 Jul 2008 15:49:26 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Jul 2008 08:49:26 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Jul 2008 15:48:43 +0000 Received: by brutus.apache.org (Postfix, from userid 33) id B61C9234C15D; Wed, 9 Jul 2008 08:48:35 -0700 (PDT) From: bugzilla@apache.org To: notifications@ant.apache.org Subject: DO NOT REPLY [Bug 41924] Untar target does not handle long filenames in POSIX tar files X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: newchanged X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ant X-Bugzilla-Component: Core X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: bob@verysecurelinux.com X-Bugzilla-Status: NEW X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: notifications@ant.apache.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: CC In-Reply-To: Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Message-Id: <20080709154835.B61C9234C15D@brutus.apache.org> Date: Wed, 9 Jul 2008 08:48:35 -0700 (PDT) X-Virus-Checked: Checked by ClamAV on apache.org https://issues.apache.org/bugzilla/show_bug.cgi?id=41924 Bob Toxen changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bob@verysecurelinux.com --- Comment #8 from Bob Toxen 2008-07-09 08:48:34 PST --- Documenting a bug is not fixing it. I did not see the note that subtly pointed out that extracting ant with standard tar WILL FAIL. This caused me unnecessary wasted time. I have NEVER seen a GNU or other Free Software project tolerate such sloppyness, only Microsoft. Recommended fix #1: Shorten pathnames to 100 characters. Recommended fix #2: Use nested tar files with the "inside" tar archives having files relative to higher directories. In other words, for the file long1/long2/long3.java, have the main "top level" tar file have the file long1/long2/short.tar with short.tar having files relative to long1/long2, such as just long3.java. Then, as part of the build procedure do "cd long1/long2;tar -xf short.tar". Recommended fix #3 (and least desirable): Have the ./configure test for the existence of one of the long file names. If it does not exist (and maybe even test for the existence of the name truncated to 100 characters). If the long file name does not exist then the configure should fail with an explanation. This should be trivial to add. -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.