2

I have created a TAR archive with our product using maven-assembly-plugin. The TAR archive is in the POSIX format. Our QA complains about PaxHeaders.X files when extracted.

Do the AIX (version AIX 7.1 TL5) and Solaris (version 10) vendors provide POSIX compatible TAR at all or are they relying only on 3rd party TAR implementations like BSD tar and GNU tar?

I don't want to fall back to ustar format unless I absolutely have to. I hope I don't have to.

UPDATE 1

I found that IBM offers RPMs for various GNU packages, including TAR, at https://www.ibm.com/support/pages/node/883796

UPDATE 2

The issue is that the tools our QA used are extracting the POSIX format tar with truncated file names. The PaxHeaders.X files are a side effect of how the POSIX tar format is structured and how it is interpreted by the old TARs.

10
  • 6
    pax is the POSIX command to extract tar archives. tar is not a POSIX command. May 30, 2023 at 8:36
  • AFAIK, both AIX 7.1 and Solaris 10 are EOL May 30, 2023 at 8:37
  • Ah sorry, looks like Solaris 10 is not longer eol as they've extended support to Jan 2025. May 30, 2023 at 8:40
  • @StéphaneChazelas Thank you. I tested it but it does not seem to work any better than stock AIX tar.
    – wilx
    May 30, 2023 at 10:38
  • 2
    It would help to see the exact error, the exact command you ran and a sample tar file that exhibits the problem. May 30, 2023 at 10:52

0

You must log in to answer this question.

Browse other questions tagged .