From 744c9aa837266f5a8da07f4181590cbae9e7feb8 Mon Sep 17 00:00:00 2001 From: Jon Ringle Date: Wed, 21 Jan 2015 10:28:18 -0500 Subject: make dist: tar --owner=0 --group=0 I have PowerBroker installed on my Ubuntu so that my machine is part of our corporate Active Directory. A side effect of that is that the UID/GID values are quite large and tar doesn't like it: preparing PTXdist environment ... done tar xf "ptxdist-2015.01.0_GP.tar" echo -n "2015.01.0_GP" > "ptxdist-2015.01.0_GP/.tarball-version" cd "ptxdist-2015.01.0_GP" && ./autogen.sh tar -rf "ptxdist-2015.01.0_GP.tar" \ "ptxdist-2015.01.0_GP/configure" \ "ptxdist-2015.01.0_GP/.tarball-version" tar: value 1432897037 out of uid_t range 0..2097151 tar: value 1432897037 out of uid_t range 0..2097151 tar: Exiting with failure status due to previous errors make: *** [dist] Error 2 The git archive produces a tar archive with UID/GID of 0/0, so it seems reasonable that the extra files being append should also be 0/0. Signed-off-by: Jon Ringle Signed-off-by: Michael Olbrich --- Makefile.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Makefile.in') diff --git a/Makefile.in b/Makefile.in index 64dc80874..56ae407ee 100644 --- a/Makefile.in +++ b/Makefile.in @@ -116,7 +116,7 @@ dist: dirty-check echo -n "${version}" > "${project}/.tarball-version" cd "$(project)" && ./autogen.sh - tar -rf "${project}.tar" \ + tar --owner=0 --group=0 -rf "${project}.tar" \ "${project}/configure" \ "${project}/.tarball-version" bzip2 "${project}.tar" -- cgit v1.2.3