You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "bmarwell (via GitHub)" <gi...@apache.org> on 2025/12/12 13:18:13 UTC

[I] Maven 4.0.0-SNAPSHOT tar distribution: Minor problems unpacking on AIX only [maven]

bmarwell opened a new issue, #11546:
URL: https://github.com/apache/maven/issues/11546

   ### Affected version
   
   4.0.0-SNAPSHOT
   
   ### Bug description
   
   On AIX only: 
   
   ```
   # tar xf ../apache-maven-4.0.0-SNAPSHOT-bin.tar.gz
   tar: directory checksum error (0 != 73174)
   ```
   
   But when using GNU tar from the AIX OSS toolbox:
   
   ```
   # /opt/freeware/bin/tar xf ../apache-maven-4.0.0-SNAPSHOT-bin.tar.gz; echo $?
   0
   ```
   
   Found on the interweb: 
   
   * https://www.linuxquestions.org/questions/aix-43/0511-169-extracting-tar-file-a-directory-checksum-error-on-media-787196/
   * https://www.ibm.com/support/pages/aix-tar-command-not-able-uncompress-ci0i7mlop601-media-package
   
   Citation from the IBM link:
   
   > AIX TAR doesn't uncompress files with long names
   
   So if we have those, let's just ignore AIX's problems and fast-forward into 2025.
   However, if we do not have long filenames, this should have worked.
   
   I can tell you from working with AIX, AIX tar always has been problematic, so do not put too much effort into this issue.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@maven.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Maven 4.0.0-SNAPSHOT tar distribution: Minor problems unpacking on AIX only [maven]

Posted by "rmannibucau (via GitHub)" <gi...@apache.org>.
rmannibucau commented on issue #11546:
URL: https://github.com/apache/maven/issues/11546#issuecomment-4012518362

   @bmarwell assumption that tar is aligned on linux/mac behavior sounds quite low to me so not sure we should expect it actually 🤔 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@maven.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Maven 4.0.0-SNAPSHOT tar distribution: Minor problems unpacking on AIX only [maven]

Posted by "rmannibucau (via GitHub)" <gi...@apache.org>.
rmannibucau commented on issue #11546:
URL: https://github.com/apache/maven/issues/11546#issuecomment-4012428325

   @bmarwell why not using the zip on AIX?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@maven.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Maven 4.0.0-SNAPSHOT tar distribution: Minor problems unpacking on AIX only [maven]

Posted by "bmarwell (via GitHub)" <gi...@apache.org>.
bmarwell commented on issue #11546:
URL: https://github.com/apache/maven/issues/11546#issuecomment-4012493194

   Yes. But I'd expect it to work nonetheless 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@maven.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Maven 4.0.0-SNAPSHOT tar distribution: Minor problems unpacking on AIX only [maven]

Posted by "gnodet (via GitHub)" <gi...@apache.org>.
gnodet commented on issue #11546:
URL: https://github.com/apache/maven/issues/11546#issuecomment-4777838824

   Investigation confirms this is an AIX platform limitation, not a Maven bug.
   
   The Maven binary tar.gz is a standards-compliant POSIX ustar archive (no filenames exceed 99 chars). AIX's native `/usr/bin/tar` has known issues with valid POSIX archives (IBM documented limitation). GNU tar (`/opt/freeware/bin/tar`) handles it correctly.
   
   **Workarounds:** Use GNU tar on AIX, or use the `.zip` distribution instead.
   
   Not a Maven regression — not blocking RC-6.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@maven.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Maven 4.0.0-SNAPSHOT tar distribution: Minor problems unpacking on AIX only [maven]

Posted by "gnodet (via GitHub)" <gi...@apache.org>.
gnodet closed issue #11546: Maven 4.0.0-SNAPSHOT tar distribution: Minor problems unpacking on AIX only
URL: https://github.com/apache/maven/issues/11546


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@maven.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org