From: Nikita Karetnikov <nikita@karetnikov.org>
To: bug-guix@gnu.org
Subject: 'core-updates': FAIL: 'tests/builders.scm'
Date: Wed, 10 Apr 2013 23:30:47 +0400 [thread overview]
Message-ID: <87a9p6p4ig.fsf@karetnikov.org> (raw)
[-- Attachment #1: Type: text/plain, Size: 3773 bytes --]
'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 `libstore.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...
checking whether we are cross compiling... configure: error: in `/tmp/nix-build-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' failed with exit code 1
@ build-failed /nix/store/mxylnlpghy5sg3qx0hg09z8qhxwglqw8-hello-2.8.drv /nix/store/px9bh5a8w027aagacprkqlmcgz4hsxay-hello-2.8 1 builder for `/nix/store/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 = "/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 = "/nix/store/1rahaszl67nk59h14ylninrxxnm024dm-hello-2.8.drv"
scheme@(guile-user)> (define out (derivation-path->output-path build))
scheme@(guile-user)> out
$3 = "/nix/store/04k5ns4nqb6vbaf721zk2q4ha0znzwr2-hello-2.8"
scheme@(guile-user)> (build-derivations %store (list (pk 'hello-drv build)))
[...]
$4 = #t
(valid-path? %store out)
$5 = #t
(file-exists? (string-append out "/bin/hello"))
$6 = #t
And with 068cdcd07c59ab8228c7c5580f6fd162069e3999:
scheme@(guile-user)> tarball
$2 = "/nix/store/4sarkvs3g23p3yhzlc3sy224mgm9m586-hello-2.8.tar.gz.drv"
scheme@(guile-user)> build
$3 = "/nix/store/kknswgrq8cp9npp4clh8vjix108plbsh-hello-2.8.drv"
scheme@(guile-user)> out
$5 = "/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-build-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' failed 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 `(#<condition &nix-protocol-error [message: "build of `/nix/store/kknswgrq8cp9npp4clh8vjix108plbsh-hello-2.8.drv' failed" status: 100] a2ad228>)'.
Entering a new prompt. Type `,bt' for a backtrace or `,q' to continue.
scheme@(guile-user) [1]>
scheme@(guile-user)> (valid-path? %store out)
$4 = #f
scheme@(guile-user)> (file-exists? (string-append out "/bin/hello"))
$6 = #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
[-- Attachment #2: Type: application/pgp-signature, Size: 835 bytes --]
next reply other threads:[~2013-04-10 19:28 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-04-10 19:30 Nikita Karetnikov [this message]
2013-04-11 20:57 ` 'core-updates': FAIL: 'tests/builders.scm' Ludovic Courtès
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87a9p6p4ig.fsf@karetnikov.org \
--to=nikita@karetnikov.org \
--cc=bug-guix@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.