From: ludo@gnu.org (Ludovic Courtès)
To: Andreas Enge <andreas@enge.fr>
Cc: bug-guix@gnu.org
Subject: Re: libsigsegv does not compile in core-updates
Date: Tue, 09 Apr 2013 14:18:48 +0200 [thread overview]
Message-ID: <87txnfaod3.fsf@gnu.org> (raw)
In-Reply-To: <201304082230.54961.andreas@enge.fr> (Andreas Enge's message of "Mon, 8 Apr 2013 22:30:54 +0200")
[-- Attachment #1: Type: text/plain, Size: 724 bytes --]
Hi!
Andreas Enge <andreas@enge.fr> skribis:
> Here is what is output:
[...]
> configure:3168: gcc conftest.c >&5
> ld: cannot find crt1.o: No such file or directory
> ld: cannot find crti.o: No such file or directory
> collect2: error: ld returned 1 exit status
> configure:3172: $? = 1
> configure:3210: result: no
>
> Does anyone else have the same problem? What could be happening?
Most likely my search path commit broke something. Can you check the
value of ‘LIBRARY_PATH’ at the beginning of the log file?
It should have /path/to/glibc-2.17/lib, but I guess it doesn’t.
Hmm, indeed ‘implicit-search-paths’ in gnu.scm is always empty.
I think this patch should fix it:
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: Type: text/x-patch, Size: 1435 bytes --]
diff --git a/guix/build-system/gnu.scm b/guix/build-system/gnu.scm
index d5ad1e3..bee8430 100644
--- a/guix/build-system/gnu.scm
+++ b/guix/build-system/gnu.scm
@@ -135,6 +135,13 @@ use `--strip-all' as the arguments to `strip'."
;; Store passed to STANDARD-INPUTS.
(make-parameter #f))
+(define (standard-packages)
+ "Return the list of standard packages used as implicit inputs."
+
+ ;; Resolve (gnu packages base) lazily to hide circular dependency.
+ (let ((distro (resolve-module '(gnu packages base))))
+ (module-ref distro '%final-inputs)))
+
(define standard-inputs
(memoize
(lambda (system)
@@ -148,9 +155,7 @@ System: GCC, GNU Make, Bash, Coreutils, etc."
(z
(error "invalid standard input" z)))
- ;; Resolve (gnu packages base) lazily to hide circular dependency.
- (let* ((distro (resolve-module '(gnu packages base)))
- (inputs (module-ref distro '%final-inputs)))
+ (let ((inputs (standard-packages)))
(append inputs
(append-map (match-lambda
((name package _ ...)
@@ -203,7 +208,7 @@ which could lead to gratuitous input divergence."
(package-native-search-paths p))
(_
'()))
- implicit-inputs)
+ (standard-packages))
'()))
(define builder
[-- Attachment #3: Type: text/plain, Size: 41 bytes --]
Can you confirm?
Thanks,
Ludo’.
next prev parent reply other threads:[~2013-04-09 12:19 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-04-08 20:30 libsigsegv does not compile in core-updates Andreas Enge
2013-04-09 12:18 ` Ludovic Courtès [this message]
2013-04-09 15:17 ` Andreas Enge
2013-04-09 17:02 ` 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=87txnfaod3.fsf@gnu.org \
--to=ludo@gnu.org \
--cc=andreas@enge.fr \
--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.