Skip to content

Failed to build RPM from SRPM because of large UID and old tar command #12540

Closed
@acgoldma

Description

@acgoldma

Thank you for taking the time to submit an issue!

Background information

What version of Open MPI are you using? (e.g., v4.1.6, v5.0.1, git branch name and hash, etc.)

Any version of Open MPI may have this issue (have seen it with SRPMs from 4.1.5 and 5.0.2)

Describe how Open MPI was installed (e.g., from a source/distribution tarball, from a git clone, from an operating system distribution package, etc.)

Open MPI was built from SRPM

If you are building/installing from a git clone, please copy-n-paste the output from git submodule status.

N/A

Please describe the system on which you are running

  • Operating system/version: RHEL 9.2
  • Computer hardware: Intel x86_64 SKX CPU
  • Network type: N/A

Details of the problem

The default tar format does not support UIDs larger than 20 bits (tar-ustar).
Should switch to tar-pax to use current POSIX tar which has more support.
https://www.gnu.org/software/tar/manual/html_node/Formats.html#Formats

pax has been the POISX standard since 2001 (ustar is the POSIX.1-1988).

AM_INIT_AUTOMAKE([foreign dist-bzip2 subdir-objects no-define 1.13.4 tar-ustar])

Should be a simple fix, but needs to be validated on more nodes then I can.

  # Init automake
  #
- AM_INIT_AUTOMAKE([foreign dist-bzip2 subdir-objects no-define 1.13.4 tar-ustar])
+ AM_INIT_AUTOMAKE([foreign dist-bzip2 subdir-objects no-define 1.13.4 tar-pax])

May need to be replicated to 3rd-party libs.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions