From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Bavier Subject: bug#31187: core-updates: url-fetch/tarbomb, url-fetch/zipbomb fail with "unbound variable: invoke" Date: Mon, 16 Apr 2018 20:54:39 -0500 Message-ID: <20180416205439.1644149e@centurylink.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; boundary="Sig_/tvEapbASjGevKgqjNPa0Yvb"; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:33282) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f8Fpq-0003vf-16 for bug-guix@gnu.org; Mon, 16 Apr 2018 21:55:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f8Fpm-0005sQ-2l for bug-guix@gnu.org; Mon, 16 Apr 2018 21:55:06 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:48608) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1f8Fpl-0005sC-VQ for bug-guix@gnu.org; Mon, 16 Apr 2018 21:55:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1f8Fpl-0000sw-Om for bug-guix@gnu.org; Mon, 16 Apr 2018 21:55:01 -0400 Sender: "Debbugs-submit" Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:33105) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f8FpW-0003r9-GH for bug-guix@gnu.org; Mon, 16 Apr 2018 21:54:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f8FpS-0005bt-K7 for bug-guix@gnu.org; Mon, 16 Apr 2018 21:54:46 -0400 Received: from mail.onyx.syn-alias.com ([206.152.134.66]:10719 helo=smtp.centurylink.net) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1f8FpS-0005ag-DU for bug-guix@gnu.org; Mon, 16 Apr 2018 21:54:42 -0400 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: 31187@debbugs.gnu.org --Sig_/tvEapbASjGevKgqjNPa0Yvb Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable In commit 20927c9331b493eaf94211ad9f8a5055e11b4588 url-fetch/tarbomb and url-fetch/zipbomb in guix/download.scm were switched to use 'invoke' instead of 'system*'. On core-updates this leads for me to an error when attempting to build the source for packages that use these fetch methods. For example, font-text-gyre: $ ./pre-inst-env guix build -S font-tex-gyre The following derivation will be built: /gnu/store/clxzrqzqbn182nrnkpabd8f4kqfw5bna-tg-2.005otf.zip.drv @ build-started /gnu/store/clxzrqzqbn182nrnkpabd8f4kqfw5bna-tg-2.005otf.zip= .drv - x86_64-linux /var/log/guix/drvs/cl//xzrqzqbn182nrnkpabd8f4kqfw5bna-t= g-2.005otf.zip.drv.bz2 Backtrace: 3 (primitive-load "/gnu/store/c1r3fzw5mdh9hqydm2ri2rbdsib?") In ice-9/eval.scm: 196:27 2 (_ #f) 223:20 1 (proc #) In unknown file: 0 (%resolve-variable (7 . invoke) #) ERROR: In procedure %resolve-variable: Unbound variable: invoke note: keeping build directory `/tmp/guix-build-tg-2.005otf.zip.drv-2' builder for `/gnu/store/clxzrqzqbn182nrnkpabd8f4kqfw5bna-tg-2.005otf.zip.dr= v' failed with exit code 1 @ build-failed /gnu/store/clxzrqzqbn182nrnkpabd8f4kqfw5bna-tg-2.005otf.zip.= drv - 1 builder for `/gnu/store/clxzrqzqbn182nrnkpabd8f4kqfw5bna-tg-2.005ot= f.zip.drv' failed with exit code 1 guix build: error: build failed: build of `/gnu/store/clxzrqzqbn182nrnkpabd= 8f4kqfw5bna-tg-2.005otf.zip.drv' failed $ If I revert that commit it succeeds. I suppose the (guix build utils) module needs to be imported into the builder. `~Eric --Sig_/tvEapbASjGevKgqjNPa0Yvb Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEoMXjUi7471xkzbfw/XPKxxnTJWYFAlrVU98ACgkQ/XPKxxnT JWbDYA/+IDuERluCBzT4uMKXt61SmVYfl/4agORtEp+YyKJxqv3eDaEM0MPkpdz4 CaV5D63mqs3tTmgNKFc3qAyZ0H0KOexrcOxiTCKlMgYRtMsLfHC3U8pKsU2XeNA6 FXxm+0xaD+IgKbxehv/Of3RfnyQoTea1fOldj2um+DBgbUscGrF1Jw5/CKTMGNJt cvk2TeVRs3nkuqteP+fDJT9EetfNu8TAoVUpi6/ezx564zDksDgJcPrQ0DKWtP9M 4VTd3jDAQRiZhBVlzTNCxYSzbsSbMpO8Rtvnw5B83rLTCIN6KuA9MH18viJ0Yh+t 3rq+YujXmcb3A5cMGk1XXc6qZMRMFVR2n4W8LWpejmlCwwptSwkfQxfppB6ziGHq iFI8sni6uPQ27dKL0B0Elgf1R8UAitlkjEpa4ZtNggnIh+niLKpuCDbfkzWk/+GA mSOBnfHv3bxyFrPlPh/Yvj4F6QXEYqH4s7fzCuSB7FD85kH3THSTGFCSlyJx9cDX 6adkCNfk+M0nMp++sX/fbAdwBqmNq5BBTispn3ETLwVnVpjGygHxPoYkaAJXC/p9 KKO5lBg1hwJlMtBTvhvY7EFAp8UJnfCj/IZdIj0f1I/Bf1JtBqpsxAnanYQXXv08 lwf7B8pasxopxc3OvnbjOzP1GlBM6GnJcIxY97CYzvwhuFiMJKo= =M6S+ -----END PGP SIGNATURE----- --Sig_/tvEapbASjGevKgqjNPa0Yvb--