Skip to content

build: Change the tar format for generating tarballs to posix format (pax)


Change the tar format used for generating tarballs to pax interchange format defined by POSIX 1003.1-2001.


The ustar format that is used to generate NM tarballs only supports a 21-bit uid/gid causing the make dist command (or similar commands involving tar archive creation) fails for users with high UIDs. Changing the tar format from ustar to pax format would fix this problem as it does not have such limitation and is aligned with future plan to switch to meson build system (which already uses the pax format).


Please read before opening the merge request. In particular, check that:

  • the subject for all commits is concise and explicative
  • the message for all commits explains the reason for the change
  • the source is properly formatted
  • any relevant documentation is up to date
  • you have added unit tests if applicable
Edited by Stanislas Faye

Merge request reports