GNU bug report logs - #42480
cabal-install/GHC fails to find libraries

Previous Next

Package: guix;

Reported by: John Soo <jsoo1 <at> asu.edu>

Date: Wed, 22 Jul 2020 18:46:02 UTC

Severity: normal

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

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 42480 in the body.
You can then email your comments to 42480 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#42480; Package guix. (Wed, 22 Jul 2020 18:46:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to John Soo <jsoo1 <at> asu.edu>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Wed, 22 Jul 2020 18:46:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: John Soo <jsoo1 <at> asu.edu>
To: bug-guix <at> gnu.org
Subject: cabal-install/GHC fails to find libraries
Date: Wed, 22 Jul 2020 11:45:06 -0700
Hi Guix,

I have a haskell project until recently compiled with the following:

env -u GHC_PACKAGE_PATH cabal new-build

Now it fails with the following:

ld: cannot find -lm
ld: cannot find -lpthread
ld: cannot find -lz
ld: cannot find -lrt
ld: cannot find -lutil
ld: cannot find -ldl
ld: cannot find -lpthread
ld: cannot find -lm
ld: cannot find -lrt
ld: cannot find -ldl
ld: cannot find -lpthread
ld: cannot find -lpthread
ld: cannot find -lpthread
ld: cannot find -lc

Could a graft be failing to update references to various libraries?

I really don't know what could be going on.

Thanks!

John




Information forwarded to bug-guix <at> gnu.org:
bug#42480; Package guix. (Wed, 22 Jul 2020 21:52:01 GMT) Full text and rfc822 format available.

Message #8 received at 42480 <at> debbugs.gnu.org (full text, mbox):

From: Ricardo Wurmus <rekado <at> elephly.net>
To: John Soo <jsoo1 <at> asu.edu>
Cc: 42480 <at> debbugs.gnu.org
Subject: Re: bug#42480: cabal-install/GHC fails to find libraries
Date: Wed, 22 Jul 2020 23:51:29 +0200
John Soo <jsoo1 <at> asu.edu> writes:

> I have a haskell project until recently compiled with the following:
>
> env -u GHC_PACKAGE_PATH cabal new-build
>
> Now it fails with the following: [ld errors]

Do you have “gcc-toolchain” installed?

-- 
Ricardo




Information forwarded to bug-guix <at> gnu.org:
bug#42480; Package guix. (Wed, 22 Jul 2020 23:44:02 GMT) Full text and rfc822 format available.

Message #11 received at 42480 <at> debbugs.gnu.org (full text, mbox):

From: John Soo <jsoo1 <at> asu.edu>
To: Ricardo Wurmus <rekado <at> elephly.net>
Cc: 42480 <at> debbugs.gnu.org
Subject: Re: bug#42480: cabal-install/GHC fails to find libraries
Date: Wed, 22 Jul 2020 16:43:40 -0700
Hi Ricardo,

I do have gcc-toolchain installed and I just realized that my project
compiles fine if I do not try to statically link.  I believe this can be
closed as dynamic linking works fine.  My mistake.  I did see the issue
regarding captured inputs to ghc. I am in favor of removing them. I
always must have gcc-toolchain installed when using ghc anyways.

Thanks again,

John




Reply sent to Simon Tournier <zimon.toutoune <at> gmail.com>:
You have taken responsibility. (Fri, 22 Sep 2023 16:47:03 GMT) Full text and rfc822 format available.

Notification sent to John Soo <jsoo1 <at> asu.edu>:
bug acknowledged by developer. (Fri, 22 Sep 2023 16:47:03 GMT) Full text and rfc822 format available.

Message #16 received at 42480-done <at> debbugs.gnu.org (full text, mbox):

From: Simon Tournier <zimon.toutoune <at> gmail.com>
To: John Soo <jsoo1 <at> asu.edu>
Cc: Ricardo Wurmus <rekado <at> elephly.net>, 42480-done <at> debbugs.gnu.org
Subject: Re: bug#42480: cabal-install/GHC fails to find libraries
Date: Fri, 22 Sep 2023 18:16:43 +0200
Hi

I think this old bug#42480,

    https://issues.guix.gnu.org/issue/42480

can be closed.

On Wed, 22 Jul 2020 at 16:43, John Soo <jsoo1 <at> asu.edu> wrote:

> I do have gcc-toolchain installed and I just realized that my project
> compiles fine if I do not try to statically link.  I believe this can be
> closed as dynamic linking works fine.  My mistake.  I did see the issue
> regarding captured inputs to ghc. I am in favor of removing them. I
> always must have gcc-toolchain installed when using ghc anyways.

Adding gcc-toolchain fixes the issue.

I am closing.  Let me know if I am missing something.


Cheers,
simon




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 21 Oct 2023 11:24:08 GMT) Full text and rfc822 format available.

This bug report was last modified 181 days ago.

Previous Next


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