From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-qc0-x22a.google.com ([2607:f8b0:400d:c01::22a]) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1YDxCq-0003hw-Am for ptxdist@pengutronix.de; Wed, 21 Jan 2015 16:28:32 +0100 Received: by mail-qc0-f170.google.com with SMTP id p6so11413493qcv.1 for ; Wed, 21 Jan 2015 07:28:26 -0800 (PST) From: jon@ringle.org Date: Wed, 21 Jan 2015 10:28:18 -0500 Message-Id: <1421854098-24389-1-git-send-email-jon@ringle.org> Subject: [ptxdist] [PATCH] make dist: tar --owner=0 --group=0 Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: ptxdist@pengutronix.de Cc: Jon Ringle From: Jon Ringle 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 --- Makefile.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.in b/Makefile.in index 64dc808..56ae407 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" -- 1.9.1 -- ptxdist mailing list ptxdist@pengutronix.de