From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chris Marusich Subject: bug#30824: x86_64-linux: tests/packages.scm fails: could not find bootstrap binary Date: Thu, 15 Mar 2018 05:27:37 +0100 Message-ID: <87o9jqm092.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:42260) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ewKUl-000642-6D for bug-guix@gnu.org; Thu, 15 Mar 2018 00:28:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ewKUk-0008Rz-2H for bug-guix@gnu.org; Thu, 15 Mar 2018 00:28:03 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:54243) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ewKUj-0008Rr-VI for bug-guix@gnu.org; Thu, 15 Mar 2018 00:28:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ewKUj-0001WY-QB for bug-guix@gnu.org; Thu, 15 Mar 2018 00:28:01 -0400 Sender: "Debbugs-submit" Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:42211) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ewKUU-00062m-5l for bug-guix@gnu.org; Thu, 15 Mar 2018 00:27:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ewKUT-0008Jt-8Y for bug-guix@gnu.org; Thu, 15 Mar 2018 00:27:46 -0400 Received: from mail-pf0-x236.google.com ([2607:f8b0:400e:c00::236]:36348) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ewKUT-0008Jb-13 for bug-guix@gnu.org; Thu, 15 Mar 2018 00:27:45 -0400 Received: by mail-pf0-x236.google.com with SMTP id 68so2392055pfx.3 for ; Wed, 14 Mar 2018 21:27:44 -0700 (PDT) Received: from garuda.local ([2601:602:9d02:4725:6495:ba21:1ebe:620a]) by smtp.gmail.com with ESMTPSA id l19sm6852683pgc.47.2018.03.14.21.27.41 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 14 Mar 2018 21:27:42 -0700 (PDT) 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: 30824@debbugs.gnu.org --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable This is on x86_64-linux, GuixSD. Using commit b4bf95162777b9db3c681292942895ea308e701e, running "make check TESTS=3Dtests/packages.scm" in an environment built by "guix environment =2D-pure guix" fails. I am using "guix (GNU Guix) e2d0cf033eb894fa8c786d0bf039fc54685d5559", which is pretty recent (1 week or so ago). There is one failure, and it is this: =2D-8<---------------cut here---------------start------------->8--- test-name: package-source-derivation, snippet location: /home/marusich/guix-wip-docker/tests/packages.scm:378 source: + (test-equal + "package-source-derivation, snippet" + "OK" + (let* ((file (search-bootstrap-binary + (match (%current-system) + ("armhf-linux" "guile-2.0.11.tar.xz") + ("aarch64-linux" "guile-2.0.14.tar.xz") + (_ "guile-2.0.9.tar.xz")) + (%current-system))) + (sha256 (call-with-input-file file port-sha256)) + (fetch (lambda* (url hash-algo hash #:optional name #:key system) + (pk 'fetch url hash-algo hash name system) + (interned-file url))) + (source + (bootstrap-origin + (origin + (method fetch) + (uri file) + (sha256 sha256) + (patch-inputs + `(("tar" ,%bootstrap-coreutils&co) + ("xz" ,%bootstrap-coreutils&co) + ("patch" ,%bootstrap-coreutils&co))) + (patch-guile %bootstrap-guile) + (modules '((guix build utils))) + (snippet + '(begin + (chmod "." 511) + (symlink "guile" "guile-rocks") + (copy-recursively + "../share/guile/2.0/scripts" + "scripts") + (chmod ".." 511)))))) + (package + (package + (inherit (dummy-package "with-snippet")) + (source source) + (build-system trivial-build-system) + (inputs + `(("tar" + ,(search-bootstrap-binary "tar" (%current-system))) + ("xz" + ,(search-bootstrap-binary "xz" (%current-system))))) + (arguments + `(#:guile + ,%bootstrap-guile + #:builder + (let ((tar (assoc-ref %build-inputs "tar")) + (xz (assoc-ref %build-inputs "xz")) + (source (assoc-ref %build-inputs "source"))) + (and (zero? (system* + tar + "xvf" + source + "--use-compress-program" + xz)) + (string=3D? "guile" (readlink "bin/guile-rocks")) + (file-exists? "bin/scripts/compile.scm") + (let ((out (assoc-ref %outputs "out"))) + (call-with-output-file + out + (lambda (p) (display "OK" p)))))))))) + (drv (package-derivation %store package)) + (out (derivation->output-path drv))) + (and (build-derivations + %store + (list (pk 'snippet-drv drv))) + (call-with-input-file out get-string-all)))) expected-value: "OK" actual-value: #f actual-error: + (srfi-34 + #) result: FAIL =2D-8<---------------cut here---------------end--------------->8--- =2D-=20 Chris --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEy/WXVcvn5+/vGD+x3UCaFdgiRp0FAlqp9joACgkQ3UCaFdgi Rp324w/+P11y/We9sG1+254Gg4+ncp8Dho6aS8wumuFb64vdRnWPq1GxqXxXJTNY FTgHVvQT95OTvz0RTNhbiZW0aJccBMD2pm+Sg5wWZsiVIbq/v60u75GUcyC5m69/ N3CcoUZ+YIPORFZH+rfPiWz8JNZ9C8PAe+KRu2NMjBe4UOmme/f9Xbydx/HqZJ9h OuIKLpe3Er9gDBhs8dCuo/5ZkQg6MjGm2Alj59LylPaII2qKIEBbjQZyxS+F7D4d odwdjZWXjEJsuU0v8X4ifMfR9QJvSOhBW7L/jl2iWf9Y4Xs3na2LKhby+vkeu19o kphchjGRpW/SzS8vpCEevEnW4xNaKHm3cqJKO2EJusZjWG13e2IZACu/iwtwL+EX S0xBeJuLSUI1p7MHUo7juFf7M9w9Gb9P13KpZhaMCjuQR+6HsGT7KX8tvum4z/GO C0QZ0takl0PCyoQbnwt1pW1lEwXOHByoJcUEF2gE77jMKGZDH2dBQVgUSCJh6gyb R89yYrOSsqfvEeN+Erz2IrFGJE39jBXRNV5pFyeJKVoVV//taKaqHWpqyhSl2ZPj BtpGHV43K8Mdi170wLdmraySU1+uKSKspMW2r1hArZ196cMQEyYEOcmhJ5LXd3oX LH6VHEuuMljQCqvZi04E5MOWt+1EB4mN/az60QnshdEftlJsens= =L+wY -----END PGP SIGNATURE----- --=-=-=--