GNU bug report logs - #32131
ghc fails to compile packages when installed into profile

Previous Next

Package: guix;

Reported by: Anonymous <mcrfan96 <at> cock.li>

Date: Thu, 12 Jul 2018 05:28:02 UTC

Severity: normal

Done: Simon Tournier <zimon.toutoune <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: "Hogenson, Raymond E (334H-Affiliate)" <mcrfan96 <at> cock.li>
To: Ludovic Court=C3=A8s <ludo <at> gnu.org>
Cc: 32131 <at> debbugs.gnu.org
Subject: bug#32131: ghc fails to compile packages when installed into profile
Date: Thu, 12 Jul 2018 09:20:08 -0700
On 7/12/18, 8:59 AM, "Ludovic Court=C3=A8s" <ludo <at> gnu.org> wrote:
> Hello,
>
> Anonymous <mcrfan96 <at> cock.li> skribis:
>
> [...]
>
> Indeed.  Does running:
>
>   guix package -i glibc binutils ld-wrapper
>
> help?

Actually, it does not. Doing that, I get the error

    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
    `gcc' failed in phase `Linker'. (Exit code: 1)

However, if I also set

    LIBRARY_PATH=<path to glibc>/lib

then compilation proceeds just fine. It seems like just bringing glibc
into the profile does not correctly set LIBRARY_PATH.






This bug report was last modified 1 year and 299 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.