From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Subject: bug#27943: tar complains about too-long names (guix release) Date: Tue, 28 Nov 2017 15:26:03 +0100 Message-ID: <87shcyzdhg.fsf@gnu.org> References: <20170804092212.77f65fef@scratchpost.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:41905) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eJgqq-0007Z8-9g for bug-guix@gnu.org; Tue, 28 Nov 2017 09:27:13 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eJgqk-0000XD-Ik for bug-guix@gnu.org; Tue, 28 Nov 2017 09:27:08 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:53215) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eJgqk-0000X8-Et for bug-guix@gnu.org; Tue, 28 Nov 2017 09:27:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1eJgqk-0006A5-5l for bug-guix@gnu.org; Tue, 28 Nov 2017 09:27:02 -0500 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <20170804092212.77f65fef@scratchpost.org> (Danny Milosavljevic's message of "Fri, 4 Aug 2017 09:22:12 +0200") List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Danny Milosavljevic Cc: 27943@debbugs.gnu.org Hi Danny, Danny Milosavljevic skribis: > guix $ make release > ... || chmod -R a+r "guix-0.13.0.1849-cf189-dirty" > tardir=3Dguix-0.13.0.1849-cf189-dirty && ${TAR-tar} chof - "$tardir" | GZ= IP=3D--best gzip -c >guix-0.13.0.1849-cf189-dirty.tar.gz > gzip: warning: GZIP environment variable is deprecated; use an alias or s= cript > tar: guix-0.13.0.1849-cf189-dirty/gnu/packages/patches/ghc-dont-pass-link= er-flags-via-response-files.patch: file name is too long (max 99); not dump= ed > tar: guix-0.13.0.1849-cf189-dirty/gnu/packages/patches/libevent-2.0-evbuf= fer-add-use-last-with-datap.patch: file name is too long (max 99); not dump= ed > tar: guix-0.13.0.1849-cf189-dirty/gnu/packages/patches/python-genshi-stri= pping-of-unsafe-script-tags.patch: file name is too long (max 99); not dump= ed > tar: guix-0.13.0.1849-cf189-dirty/gnu/packages/patches/python2-pygobject-= 2-gi-info-type-error-domain.patch: file name is too long (max 99); not dump= ed > tar: guix-0.13.0.1849-cf189-dirty/gnu/packages/patches/t1lib-CVE-2011-155= 2+CVE-2011-1553+CVE-2011-1554.patch: file name is too long (max 99); not du= mped > tar: Exiting with failure status due to previous errors > make[1]: Leaving directory '/home/dannym/src/guix-master/guix' =E2=80=9Cmake dist=E2=80=9D works fine for me with tar 1.29: --8<---------------cut here---------------start------------->8--- || chmod -R a+r "guix-0.13.0.3626-da9b8" tardir=3Dguix-0.13.0.3626-da9b8 && ${TAR-tar} chof - "$tardir" | eval GZIP= =3D gzip --best -c >guix-0.13.0.3626-da9b8.tar.gz make[1]: Leaving directory '/home/ludo/src/guix' --8<---------------cut here---------------end--------------->8--- Actually, =E2=80=9Cguix-0.13.0.1849-cf189-dirty/gnu/packages/patches/ghc-dont-pass-li= nker-flags-via-response-files.patch=E2=80=9D is 101-character long, so without the =E2=80=9C-dirty=E2=80=9D prefix as ab= ove, we=E2=80=99re doing OK. :-) Anyway, commit eef01cfe8eac8dee8ecf727e4ca459ae065e15ea augments the =E2=80=98patch-file-names=E2=80=99 linter to catch this issue. There=E2=80=99s one problematic case left, which is t1lib, but I volunteered Efraim to split the big CVE patch in several ones. :-) Thanks, Ludo=E2=80=99.