From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:36946) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cu5bO-0003r6-V6 for guix-patches@gnu.org; Fri, 31 Mar 2017 19:05:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cu5bL-0003T9-0X for guix-patches@gnu.org; Fri, 31 Mar 2017 19:05:06 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:56686) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cu5bK-0003T5-U5 for guix-patches@gnu.org; Fri, 31 Mar 2017 19:05:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1cu5bK-000061-Kz for guix-patches@gnu.org; Fri, 31 Mar 2017 19:05:02 -0400 Subject: bug#26316: Enable threaded compression of source tarballs Resent-Message-ID: Date: Fri, 31 Mar 2017 19:04:13 -0400 From: Leo Famulari Message-ID: <20170331230413.GB9642@jasmine> References: <20170330221715.GA10357@jasmine> <87efxd5n3r.fsf@openmailbox.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="Yylu36WmvOXNoKYn" Content-Disposition: inline In-Reply-To: <87efxd5n3r.fsf@openmailbox.org> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: Kei Kebreau Cc: 26316@debbugs.gnu.org --Yylu36WmvOXNoKYn Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Mar 31, 2017 at 02:15:36PM -0400, Kei Kebreau wrote: > Leo Famulari writes: > > Subject: [PATCH] packages: Enable threaded compression of source tarbal= ls. > > - "cvfa" #$output > > + "cvf" #$output > > + ;; The bootstrap xz does not sup= port > > + ;; threaded compression (introdu= ced in > > + ;; 5.2.0), but it ignores the ex= tra flag. > > + (string-append "--use-compress-p= rogram=3D" > > + #+xz "/bin/xz --t= hreads=3D0") One question I have is about the removal of 'cvfa'. Here is the relevant documentation: -a, --auto-compress Use archive suffix to determine the compression program. AFAICT, we only build XZ archives, so it's okay to remove 'a' and hard-code the use of xz. Is that correct? > > ;; avoid non-determinism in the = archive > > "--mtime=3D@0" > > "--owner=3Droot:0" >=20 > LGTM. Thanks! This does mean rebuilding the world, so we'd need to save it for the next core-updates cycle. --Yylu36WmvOXNoKYn Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEsFFZSPHn08G5gDigJkb6MLrKfwgFAlje4G0ACgkQJkb6MLrK fwicNQ//aBgblz9wl1jiLnjh78oDncpHRm5NjjoVW8HtMXJmiMQj/Ynp02vmLV/S gZFz2SjwRDNiEEWaJQ2lXPYvpVtlz27wEas1+WahkmNUFDr/IqpAiYYj9qf9vaA5 mup3n627krMRJ1CVBd4PTCeCkdB5Au/Zc0cISq6oD7GUkyGMo4cz9BuuO5Mm6WN3 Rcuq6lm03SvX9unFOdHf5eYre4vGVGcNuSp0dWKKidK8JpeaaIEpe8GQrEp/QgUM sX5nJYt02nPVA3d6KmlZ18OzxkafZdw94X1wXCMy4Ral1ilyOt/9XvCazfHKr7vv upPprjMWueBXW6iGPJEP0VoqR22drZfjiYKhjN1NKPdmuX/a08Egz9JfeQOe1ssp a0KvVjqo/HhVNEhIXuZdlzmaU6UyAMbm5GHUw3QIXKOrYpgaZdFCyKNh+s/WnHsa wnl5vQMdolEGHNcV+foJGGxIl2ePy8MWYt+F+K6+bcEJ6RTEx9Q+BARmJcEQYrWa nPcdlC3Z7gdP/fpiRFtEDbvbIotbqjOPVLcui5uv68WJHM2N2XWZnq5BsyqEuNcf 6Q1blRHn/yp+CSKbDhRZO6/mgUlvHiEOn5i0ZCueX0yNW2HHv3+2oNtoiCxmnHhr pGT4cF6wtFdhn+exONnTs/4wOJ1xUlrUIxWy/ocu+GxnDOxxB4g= =UKB9 -----END PGP SIGNATURE----- --Yylu36WmvOXNoKYn--