You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@beehive.apache.org by "Michael Merz (JIRA)" <be...@incubator.apache.org> on 2004/11/19 00:54:24 UTC

[jira] Created: (BEEHIVE-91) build.xml's "build.dist.tgz" produces corrupt archive

build.xml's "build.dist.tgz" produces corrupt archive
-----------------------------------------------------

         Key: BEEHIVE-91
         URL: http://nagoya.apache.org/jira/browse/BEEHIVE-91
     Project: Beehive
        Type: Bug
  Components: Build  
    Versions: V1Alpha    
 Environment: Ant, tar
    Reporter: Michael Merz
 Assigned to: Michael Merz 
     Fix For: V1Beta


The distribution contains files with pathnames longer than 100 characters. In that case, the filenames must be archived in USTAR format, which isn't supported by Ant's tar-task by default (org.apache.tools.ant.taskdefs.Tar). "build.dist.zip" works fine.


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://nagoya.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


[jira] Resolved: (BEEHIVE-91) build.xml's "build.dist.tgz" produces corrupt archive

Posted by "Steve Hanson (JIRA)" <be...@incubator.apache.org>.
     [ http://nagoya.apache.org/jira/browse/BEEHIVE-91?page=history ]
     
Steve Hanson resolved BEEHIVE-91:
---------------------------------

     Assign To:     (was: Steve Hanson)
    Resolution: Fixed

I added the following section to "Setup and Installation"
==========================================================
Troubleshooting

I Can't Decompress the .tar.gz File

The .tar.gz distribution files are created using Ant's <tar> task (http://ant.apache.org/manual/CoreTasks/tar.html). This generates .tar files that can only be decompressed using a compatible tar utility.

Known compatible utilities include:

    * GNU tar 1.14 (http://www.gnu.org/software/tar/manual/html_mono/tar.html)
    * WinZip 8.0
    * Ant's <untar> task (http://ant.apache.org/manual/CoreTasks/unzip.html)




> build.xml's "build.dist.tgz" produces corrupt archive
> -----------------------------------------------------
>
>          Key: BEEHIVE-91
>          URL: http://nagoya.apache.org/jira/browse/BEEHIVE-91
>      Project: Beehive
>         Type: Bug
>   Components: Build
>     Versions: V1Alpha
>  Environment: Ant, tar
>     Reporter: Michael Merz
>      Fix For: V1Beta

>
> The distribution contains files with pathnames longer than 100 characters. In that case, the filenames must be archived in USTAR format, which isn't supported by Ant's tar-task by default (org.apache.tools.ant.taskdefs.Tar). "build.dist.zip" works fine.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://nagoya.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


[jira] Commented: (BEEHIVE-91) build.xml's "build.dist.tgz" produces corrupt archive

Posted by "Michael Merz (JIRA)" <be...@incubator.apache.org>.
     [ http://nagoya.apache.org/jira/browse/BEEHIVE-91?page=comments#action_55645 ]
     
Michael Merz commented on BEEHIVE-91:
-------------------------------------

build.xml uses Ant's tar task with the default value "warn" for the attribute "longfile". This generates .tar file for the distribution that can only be unzipped using Gnu's tools, particularly Gnu's tar utility. Currently, there is no standard approach to dealing with long pathnames, and besides omitting files with long pathnames, the Ant task only supports the "Gnu" way (which is probably also the most portable solution).
Thus, we should add a this dependency on the Gnu tools to the documentation, namely that the tar files must be untared with Gnu-tar or a compatible implementation.

> build.xml's "build.dist.tgz" produces corrupt archive
> -----------------------------------------------------
>
>          Key: BEEHIVE-91
>          URL: http://nagoya.apache.org/jira/browse/BEEHIVE-91
>      Project: Beehive
>         Type: Bug
>   Components: Build
>     Versions: V1Alpha
>  Environment: Ant, tar
>     Reporter: Michael Merz
>     Assignee: Michael Merz
>      Fix For: V1Beta

>
> The distribution contains files with pathnames longer than 100 characters. In that case, the filenames must be archived in USTAR format, which isn't supported by Ant's tar-task by default (org.apache.tools.ant.taskdefs.Tar). "build.dist.zip" works fine.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://nagoya.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


[jira] Closed: (BEEHIVE-91) build.xml's "build.dist.tgz" produces corrupt archive

Posted by "Julie Zhuo (JIRA)" <be...@incubator.apache.org>.
     [ http://issues.apache.org/jira/browse/BEEHIVE-91?page=all ]
     
Julie Zhuo closed BEEHIVE-91:
-----------------------------

    Assign To: Julie Zhuo  (was: Michael Merz)

Verified with m1rc2 distribution. The following is present in the Installation and Setup document.

Troubleshooting
I Can't Decompress the .tar.gz File 

Note: The .tar.gz distribution files are created using Ant's <tar> task (http://ant.apache.org/manual/CoreTasks/tar.html). This generates .tar files that can only be decompressed using a compatible tar utility.

Known compatible utilities include: 

GNU tar 1.14 (http://www.gnu.org/software/tar/manual/html_mono/tar.html) 
WinZip 8.0 
Ant's <untar> task (http://ant.apache.org/manual/CoreTasks/unzip.html) 


> build.xml's "build.dist.tgz" produces corrupt archive
> -----------------------------------------------------
>
>          Key: BEEHIVE-91
>          URL: http://issues.apache.org/jira/browse/BEEHIVE-91
>      Project: Beehive
>         Type: Bug
>   Components: Build
>     Versions: V1Alpha
>  Environment: Ant, tar
>     Reporter: Michael Merz
>     Assignee: Julie Zhuo
>      Fix For: V1Beta

>
> The distribution contains files with pathnames longer than 100 characters. In that case, the filenames must be archived in USTAR format, which isn't supported by Ant's tar-task by default (org.apache.tools.ant.taskdefs.Tar). "build.dist.zip" works fine.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Assigned: (BEEHIVE-91) build.xml's "build.dist.tgz" produces corrupt archive

Posted by "Steve Hanson (JIRA)" <be...@incubator.apache.org>.
     [ http://issues.apache.org/jira/browse/BEEHIVE-91?page=history ]

Steve Hanson reassigned BEEHIVE-91:
-----------------------------------

    Assign To: Michael Merz

> build.xml's "build.dist.tgz" produces corrupt archive
> -----------------------------------------------------
>
>          Key: BEEHIVE-91
>          URL: http://issues.apache.org/jira/browse/BEEHIVE-91
>      Project: Beehive
>         Type: Bug
>   Components: Build
>     Versions: V1Alpha
>  Environment: Ant, tar
>     Reporter: Michael Merz
>     Assignee: Michael Merz
>      Fix For: V1Beta

>
> The distribution contains files with pathnames longer than 100 characters. In that case, the filenames must be archived in USTAR format, which isn't supported by Ant's tar-task by default (org.apache.tools.ant.taskdefs.Tar). "build.dist.zip" works fine.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


[jira] Assigned: (BEEHIVE-91) build.xml's "build.dist.tgz" produces corrupt archive

Posted by "Michael Merz (JIRA)" <be...@incubator.apache.org>.
     [ http://nagoya.apache.org/jira/browse/BEEHIVE-91?page=history ]

Michael Merz reassigned BEEHIVE-91:
-----------------------------------

    Assign To: Steve Hanson  (was: Michael Merz)

Request for addition to documentation.

> build.xml's "build.dist.tgz" produces corrupt archive
> -----------------------------------------------------
>
>          Key: BEEHIVE-91
>          URL: http://nagoya.apache.org/jira/browse/BEEHIVE-91
>      Project: Beehive
>         Type: Bug
>   Components: Build
>     Versions: V1Alpha
>  Environment: Ant, tar
>     Reporter: Michael Merz
>     Assignee: Steve Hanson
>      Fix For: V1Beta

>
> The distribution contains files with pathnames longer than 100 characters. In that case, the filenames must be archived in USTAR format, which isn't supported by Ant's tar-task by default (org.apache.tools.ant.taskdefs.Tar). "build.dist.zip" works fine.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://nagoya.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira