From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nikita Karetnikov Subject: 'core-updates': FAIL: 'tests/builders.scm' Date: Wed, 10 Apr 2013 23:30:47 +0400 Message-ID: <87a9p6p4ig.fsf@karetnikov.org> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([208.118.235.92]:44125) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UQ0gt-0004qJ-2D for bug-guix@gnu.org; Wed, 10 Apr 2013 15:28:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UQ0gq-0005IO-5u for bug-guix@gnu.org; Wed, 10 Apr 2013 15:28:18 -0400 Received: from [2a01:7e00::f03c:91ff:fedf:181] (port=36411 helo=cooksoni.karetnikov.org) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UQ0gp-0005IH-Tm for bug-guix@gnu.org; Wed, 10 Apr 2013 15:28:16 -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-bounces+gcggb-bug-guix=m.gmane.org@gnu.org To: bug-guix@gnu.org --=-=-= Content-Transfer-Encoding: quoted-printable 'tests/builders.scm' fails in the 'core-updates' branch. "Most likely my search path commit broke something." [1] So I tried: # git pull && git reset --hard 5cfdb4bcac145abb4f6ce29aaf8fd46504e9e0a9 HEAD is now at 5cfdb4b build: Pass the appropriate flags when building `lib= store.a'. 'make check' didn't return any errors. Then: # git pull && git reset --hard a18eda2747fa2eb962e3288066d2b1a679589ed3 HEAD is now at a18eda2 packages: Add `native-search-paths' field and honor = it. 'make check' returned: FAIL: tests/builders.scm # ./pre-inst-env guile scheme@(guile-user)> ,use (tests builders) [...] checking for C compiler default output file name... a.out checking for suffix of executables...=20 checking whether we are cross compiling... configure: error: in `/tmp/nix-b= uild-hello-2.8.drv-1/hello-2.8': configure: error: cannot run C compiled programs. If you meant to cross compile, use `--host'. See `config.log' for more details phase `configure' failed after 2 seconds builder for `/nix/store/mxylnlpghy5sg3qx0hg09z8qhxwglqw8-hello-2.8.drv' fai= led with exit code 1 @ build-failed /nix/store/mxylnlpghy5sg3qx0hg09z8qhxwglqw8-hello-2.8.drv /n= ix/store/px9bh5a8w027aagacprkqlmcgz4hsxay-hello-2.8 1 builder for `/nix/sto= re/mxylnlpghy5sg3qx0hg09z8qhxwglqw8-hello-2.8.drv' failed with exit code 1 [...] FAIL gnu-build # of expected passes 2 # of unexpected failures 1 I tried to investigate. Here is what I got with 5cfdb4bcac145abb4f6ce29aaf8fd46504e9e0a9: scheme@(guile-user)> (define tarball (url-fetch %store url 'sha256 hash #:guile %bootstrap-guile)) scheme@(guile-user)> tarball $1 =3D "/nix/store/nvksdc1z4gcabwyv0zb497pdypryan1d-hello-2.8.tar.gz.drv" (define build (gnu-build %store "hello-2.8" tarball %bootstrap-inputs #:implicit-inputs? #f #:guile %bootstrap-guile)) scheme@(guile-user)> build $2 =3D "/nix/store/1rahaszl67nk59h14ylninrxxnm024dm-hello-2.8.drv" scheme@(guile-user)> (define out (derivation-path->output-path build)) scheme@(guile-user)> out $3 =3D "/nix/store/04k5ns4nqb6vbaf721zk2q4ha0znzwr2-hello-2.8" scheme@(guile-user)> (build-derivations %store (list (pk 'hello-drv build))) [...] $4 =3D #t (valid-path? %store out) $5 =3D #t (file-exists? (string-append out "/bin/hello")) $6 =3D #t And with 068cdcd07c59ab8228c7c5580f6fd162069e3999: scheme@(guile-user)> tarball $2 =3D "/nix/store/4sarkvs3g23p3yhzlc3sy224mgm9m586-hello-2.8.tar.gz.drv" scheme@(guile-user)> build $3 =3D "/nix/store/kknswgrq8cp9npp4clh8vjix108plbsh-hello-2.8.drv" scheme@(guile-user)> out $5 =3D "/nix/store/px9bh5a8w027aagacprkqlmcgz4hsxay-hello-2.8" Then: (build-derivations %store (list (pk 'hello-drv build))) [...] checking whether we are cross compiling... configure: error: in `/tmp/nix-b= uild-hello-2.8.drv-1/hello-2.8': configure: error: cannot run C compiled programs. If you meant to cross compile, use `--host'. See `config.log' for more details phase `configure' failed after 1 seconds builder for `/nix/store/kknswgrq8cp9npp4clh8vjix108plbsh-hello-2.8.drv' fai= led with exit code 1 guix/store.scm:616:0: In procedure build-derivations: guix/store.scm:616:0: Throw to key `srfi-34' with args `(#)'. Entering a new prompt. Type `,bt' for a backtrace or `,q' to continue. scheme@(guile-user) [1]>=20 scheme@(guile-user)> (valid-path? %store out) $4 =3D #f scheme@(guile-user)> (file-exists? (string-append out "/bin/hello")) $6 =3D #f Note that I was able to build 'hello' via 'guix build'. [1] https://lists.gnu.org/archive/html/bug-guix/2013-04/msg00043.html --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iQIcBAEBAgAGBQJRZb3xAAoJEM+IQzI9IQ38QK4P/2Ylx66TIiLBqbNYJdrSyOuw 7HmIUI3/cdTI8Lz2/A1O5n4yBOgPYivJu8A74znsVbt+YyX5ui+q9Cd93sYj4E+i +9J+eFmfEUm0EEEKwrnthoADKE/opBmA+nEcQG1oQ2f7Iz6SoOeEdzu188VR+xt2 15Dq0NI1UVNSi/qSaXF4FiW0Jl8hrKkuZFvGBSLh9q0kq3EBxtZFzOOc3agQiWYR m2y25jNiZz8x10D8tmbV2cV40MzH7lbZq0zt1BcDUCaMl1KHVLkZT0eQPFkItAiP lIHm/mXPSEUWjfT+NuUykXnGI5h32zuO/FeksYnD6GHcwCqEmHkgFMa2FWJ/r9ec RHBIkqpAbtheTLiDLradKvDLn4KSs1zkpqV0O5V6uQcXiD1Y84qq1ylHGicUGYLn 0lZqt1oxezQz7QbXY8Cq0/MbEDo9/6TZnKS8tElK41+dqxNeASFoB9Crumlz5Dfo LoIMdGk5zzwvivM8+QlGsfMj7LHVSFSzyKGEm03z+16vZylASoyAR9/NUGCbdue5 MuUFYvO4oViSph3DJy9E5SqFu6wlhN4cTEbV/ctxPemlTYlRd14AAPOd5D2LvG0U 7Lb8xQd5gy1dRvakYVpJzchiqwwfOj8L6bzEV9ouk4+ji6XzidERLYOwkjip+b5T BlwaLvhCRT0er4LUaYFT =sDoo -----END PGP SIGNATURE----- --=-=-=--