From e0b5725e4c6df595a3fa6ce44ed1e71e4a8fa613 Mon Sep 17 00:00:00 2001 From: Stanislas FAYE Date: Thu, 18 Jan 2024 11:22:33 +0100 Subject: [PATCH] build: Change the tar format for generating tarballs to posix format (pax) 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. This commit changes the tar format from `ustar` to `pax` format which does not have such limitation and is aligned with future plan to switch to meson build system (which already uses the `pax` format). --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 0d98a01ac8..6d9aaa0a8e 100644 --- a/configure.ac +++ b/configure.ac @@ -21,7 +21,7 @@ AC_CONFIG_MACRO_DIR([m4]) AC_CONFIG_AUX_DIR([build-aux]) AC_REQUIRE_AUX_FILE([tap-driver.sh]) -AM_INIT_AUTOMAKE(1.12 foreign tar-ustar no-dist-gzip dist-xz -Wno-portability) dnl NB: Do not [quote] this parameter. +AM_INIT_AUTOMAKE(1.12 foreign tar-pax no-dist-gzip dist-xz -Wno-portability) dnl NB: Do not [quote] this parameter. AM_MAINTAINER_MODE([enable]) AM_SILENT_RULES([yes])