X-Loop: help-debbugs@HIDDEN
Subject: bug#63728: GHC cannot find lrt
Resent-From: Antero Mejr <antero@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-guix@HIDDEN
Resent-Date: Thu, 25 May 2023 22:26:01 +0000
Resent-Message-ID: <handler.63728.B.16850535534530 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: report 63728
X-GNU-PR-Package: guix
X-GNU-PR-Keywords:
To: 63728 <at> debbugs.gnu.org
X-Debbugs-Original-To: bug-guix@HIDDEN
Received: via spool by submit <at> debbugs.gnu.org id=B.16850535534530
(code B ref -1); Thu, 25 May 2023 22:26:01 +0000
Received: (at submit) by debbugs.gnu.org; 25 May 2023 22:25:53 +0000
Received: from localhost ([127.0.0.1]:48336 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1q2JP7-0001B0-3M
for submit <at> debbugs.gnu.org; Thu, 25 May 2023 18:25:53 -0400
Received: from lists.gnu.org ([209.51.188.17]:35644)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <antero@HIDDEN>) id 1q2JP5-0001Aq-7S
for submit <at> debbugs.gnu.org; Thu, 25 May 2023 18:25:51 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10])
by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.90_1) (envelope-from <antero@HIDDEN>)
id 1q2JP5-0006Ee-0l
for bug-guix@HIDDEN; Thu, 25 May 2023 18:25:51 -0400
Received: from mout-p-103.mailbox.org ([80.241.56.161])
by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256)
(Exim 4.90_1) (envelope-from <antero@HIDDEN>)
id 1q2JOv-0005Kv-QX
for bug-guix@HIDDEN; Thu, 25 May 2023 18:25:50 -0400
Received: from smtp2.mailbox.org (smtp2.mailbox.org
[IPv6:2001:67c:2050:b231:465::2])
(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest
SHA256) (No client certificate requested)
by mout-p-103.mailbox.org (Postfix) with ESMTPS id 4QS2gd1fv4z9sQD
for <bug-guix@HIDDEN>; Fri, 26 May 2023 00:25:33 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mailbox.org;
s=mail20150812; t=1685053533;
h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
to:to:cc:mime-version:mime-version:content-type:content-type;
bh=hZDEA8HsTdhP/Mfr2FIVQx5FFawUfmsA+koKV1Z1gpM=;
b=ME31uz8cnlGtTNA53coEY88uukjkctaDYUaCMgpjvr3K0Z74703nH5aY0QIbldoNdb1dxL
2shqKFXUMr3RBrycxRbghUne2shC4fEDhsaH3CdkcGbLUK3wBjZKwmfLe8tgiebjk5znPw
7N/bowYss+Bid9xA+gx+GYk8Pwi5Tqu5I84+T5MvGPUfwz9I4MvhKidkubJu+22+Ryw1T+
d1I4/vVj8RNLHRWfVWpZ9NCiB7i8BZV1nwfKI9DGSaaOSf2s6mG6jIXVbisKxETd2Y0/s5
PST+0Zq4hoHKcWzfVc8ObNamO6BmmajO0QSgw6ou+hrxKH16nuyir5dDCCmlOQ==
From: Antero Mejr <antero@HIDDEN>
Date: Thu, 25 May 2023 22:25:29 +0000
Message-ID: <877cswaw12.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-MBO-RS-META: 3s8j8d3tekyqmcfw99ftskrm3itc3snh
X-MBO-RS-ID: 2a651faa96d614b5fe7
Received-SPF: pass client-ip=80.241.56.161; envelope-from=antero@HIDDEN;
helo=mout-p-103.mailbox.org
X-Spam_score_int: -27
X-Spam_score: -2.8
X-Spam_bar: --
X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1,
RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, T_SCC_BODY_TEXT_LINE=-0.01,
T_SPF_TEMPERROR=0.01 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.3 (-)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.3 (--)
Attempting to build a trivial Haskell program using ghc fails, as the
linker cannot find the rt library:
```
~ $ ghc -O2 test.hs
Linking test ...
/home/a/.guix-profile/bin/ld: cannot find -lrt: No such file or directory
collect2: error: ld returned 1 exit status
`gcc' failed in phase `Linker'. (Exit code: 1)
```
Glibc and gcc-toolchain are installed in the profile, and
~/.guix-profile/lib/librt.so.1 exists.
Maybe this is related to this new bug, or the recent core-updates merge?
https://issues.guix.gnu.org/63238
Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) Content-Type: text/plain; charset=utf-8 X-Loop: help-debbugs@HIDDEN From: help-debbugs@HIDDEN (GNU bug Tracking System) To: Antero Mejr <antero@HIDDEN> Subject: bug#63728: Acknowledgement (GHC cannot find lrt) Message-ID: <handler.63728.B.16850535534530.ack <at> debbugs.gnu.org> References: <877cswaw12.fsf@HIDDEN> X-Gnu-PR-Message: ack 63728 X-Gnu-PR-Package: guix Reply-To: 63728 <at> debbugs.gnu.org Date: Thu, 25 May 2023 22:26:01 +0000 Thank you for filing a new bug report with debbugs.gnu.org. This is an automatically generated reply to let you know your message has been received. Your message is being forwarded to the package maintainers and other interested parties for their attention; they will reply in due course. Your message has been sent to the package maintainer(s): bug-guix@HIDDEN If you wish to submit further information on this problem, please send it to 63728 <at> debbugs.gnu.org. Please do not send mail to help-debbugs@HIDDEN unless you wish to report a problem with the Bug-tracking system. --=20 63728: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D63728 GNU Bug Tracking System Contact help-debbugs@HIDDEN with problems
X-Loop: help-debbugs@HIDDEN
Subject: bug#63728: GHC cannot find lrt
Resent-From: Mekeor Melire <mekeor@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-guix@HIDDEN
Resent-Date: Fri, 26 May 2023 09:20:01 +0000
Resent-Message-ID: <handler.63728.B63728.168509280014008 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 63728
X-GNU-PR-Package: guix
X-GNU-PR-Keywords:
To: Antero Mejr <antero@HIDDEN>
Cc: 63728 <at> debbugs.gnu.org
Received: via spool by 63728-submit <at> debbugs.gnu.org id=B63728.168509280014008
(code B ref 63728); Fri, 26 May 2023 09:20:01 +0000
Received: (at 63728) by debbugs.gnu.org; 26 May 2023 09:20:00 +0000
Received: from localhost ([127.0.0.1]:48812 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1q2Tc5-0003dp-Ay
for submit <at> debbugs.gnu.org; Fri, 26 May 2023 05:20:00 -0400
Received: from mout02.posteo.de ([185.67.36.66]:43229)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <mekeor@HIDDEN>) id 1q2Tc2-0003dY-ME
for 63728 <at> debbugs.gnu.org; Fri, 26 May 2023 05:19:56 -0400
Received: from submission (posteo.de [185.67.36.169])
by mout02.posteo.de (Postfix) with ESMTPS id 0EFD6240101
for <63728 <at> debbugs.gnu.org>; Fri, 26 May 2023 11:19:47 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.de; s=2017;
t=1685092788; bh=QqT2+waG2S4k/ktnlLpx3GMdXTgHP2RV5QDVoNLerCE=;
h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:From;
b=O/CiGPT1THtkznuJSwSKfiNa5amngfpoq1jDf3W1DU9kvoPA78TrmixBC4j/iEhRt
AkUchZlB7V0tfKpzICjkGaDce56M8r+YdVEFNnpZsQW2JJsdEPfwF6cepFVseSX8TF
/R0IxSK8Z+3ZWzyevNjkXqSffPwBol9d83MncjAobfJN06Kn4lQrNS3dp9rt7Vefs8
oZtpwndzsAIMStRjkAPj+9SBVNyLg5G0splIxuUgolC2EDUBzIifwlus/kDTNofcs9
ZNUWfWnLGbXmxzaiH8o3z44fapDs1mSA5F7Ebx35G/ZqJWjv2WkbZkclOexYry4WIO
d+r17yU00/CtQ==
Received: from customer (localhost [127.0.0.1])
by submission (posteo.de) with ESMTPSA id 4QSKBW2b1qz6tvx;
Fri, 26 May 2023 11:19:47 +0200 (CEST)
References: <877cswaw12.fsf@HIDDEN>
From: Mekeor Melire <mekeor@HIDDEN>
Date: Fri, 26 May 2023 09:17:55 +0000
In-reply-to: <877cswaw12.fsf@HIDDEN>
Message-ID: <87zg5rpi0b.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; format=flowed
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)
2023-05-25 22:25 bug-guix@HIDDEN:
> Attempting to build a trivial Haskell program using ghc fails,
> as the linker cannot find the rt library:
Does installing gcc-toolchain:static help as a work-around?
X-Loop: help-debbugs@HIDDEN
Subject: bug#63728: GHC cannot find lrt
Resent-From: Mekeor Melire <mekeor@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-guix@HIDDEN
Resent-Date: Fri, 26 May 2023 09:24:01 +0000
Resent-Message-ID: <handler.63728.B63728.168509300914473 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 63728
X-GNU-PR-Package: guix
X-GNU-PR-Keywords:
To: Antero Mejr <antero@HIDDEN>
Cc: 63728 <at> debbugs.gnu.org
Received: via spool by 63728-submit <at> debbugs.gnu.org id=B63728.168509300914473
(code B ref 63728); Fri, 26 May 2023 09:24:01 +0000
Received: (at 63728) by debbugs.gnu.org; 26 May 2023 09:23:29 +0000
Received: from localhost ([127.0.0.1]:48826 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1q2TfV-0003lN-Cc
for submit <at> debbugs.gnu.org; Fri, 26 May 2023 05:23:29 -0400
Received: from mout01.posteo.de ([185.67.36.65]:37965)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <mekeor@HIDDEN>) id 1q2TfU-0003l8-0M
for 63728 <at> debbugs.gnu.org; Fri, 26 May 2023 05:23:28 -0400
Received: from submission (posteo.de [185.67.36.169])
by mout01.posteo.de (Postfix) with ESMTPS id 22D3E240029
for <63728 <at> debbugs.gnu.org>; Fri, 26 May 2023 11:23:22 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.de; s=2017;
t=1685093002; bh=WAlHsxzGQy0juBXC0Xy9g22P6EMn5SpUzRgYQJdkVsg=;
h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:From;
b=pxt79B/Om0+pPc1cntfV9Bshe0MKFrtZ3AVouHQZdsJCEHxMlfZGuYjUrJjr3mKUH
/C72HEwY8CDvTzPoO9riNrKBN08+2ZdSGUo3a/PMupPY+uDzW38wsiXTqweTvEfwAu
Xh3ZIT4224mQU/0ZEgAYP/gQZXBVo5t2pwMB4UPWLoyhwp9PyS05jW6p54Qp8QBv2H
T/l6meIMpY24yQUamEZ+3mMN96EmjMzoC62KfG1nFlvcy2zQhXZ0s7cL53BoWQw9vH
zZsYyibnMs4mlhv2Ku7g8LT/ElImXbrk3CXYMuocomrZBIG7V7IGgUBf9iiMw9Ga1W
ibND1e6mYTg2g==
Received: from customer (localhost [127.0.0.1])
by submission (posteo.de) with ESMTPSA id 4QSKGd3qMSz6tvl;
Fri, 26 May 2023 11:23:21 +0200 (CEST)
References: <877cswaw12.fsf@HIDDEN>
From: Mekeor Melire <mekeor@HIDDEN>
Date: Fri, 26 May 2023 09:21:02 +0000
In-reply-to: <877cswaw12.fsf@HIDDEN>
Message-ID: <87v8gfphu9.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; format=flowed
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)
2023-05-25 22:25 bug-guix@HIDDEN:
> Attempting to build a trivial Haskell program using ghc fails,
> as the linker cannot find the rt library:
>
> ```
> ~ $ ghc -O2 test.hs
> Linking test ...
> /home/a/.guix-profile/bin/ld: cannot find -lrt: No such file or
> directory
> collect2: error: ld returned 1 exit status
> `gcc' failed in phase `Linker'. (Exit code: 1)
> ```
>
> Glibc and gcc-toolchain are installed in the profile, and
> ~/.guix-profile/lib/librt.so.1 exists.
>
> Maybe this is related to this new bug, or the recent
> core-updates merge? https://issues.guix.gnu.org/63238
There is also this bug I had reported:
https://issues.guix.gnu.org/63258
I suggest to merge this bug (63728) and the bug I just linked
(63258). What do you think?
X-Loop: help-debbugs@HIDDEN
Subject: bug#63728: (no subject)
References: <877cswaw12.fsf@HIDDEN>
In-Reply-To: <877cswaw12.fsf@HIDDEN>
Resent-From: Antero Mejr <antero@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-guix@HIDDEN
Resent-Date: Fri, 26 May 2023 15:17:02 +0000
Resent-Message-ID: <handler.63728.B63728.168511419317487 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 63728
X-GNU-PR-Package: guix
X-GNU-PR-Keywords:
To: control <at> debbugs.gnu.org
Cc: 63728 <at> debbugs.gnu.org
Received: via spool by 63728-submit <at> debbugs.gnu.org id=B63728.168511419317487
(code B ref 63728); Fri, 26 May 2023 15:17:02 +0000
Received: (at 63728) by debbugs.gnu.org; 26 May 2023 15:16:33 +0000
Received: from localhost ([127.0.0.1]:50568 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1q2ZBA-0004Xy-Ry
for submit <at> debbugs.gnu.org; Fri, 26 May 2023 11:16:33 -0400
Received: from mout-p-103.mailbox.org ([80.241.56.161]:60370)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <antero@HIDDEN>)
id 1q2ZB8-0004Xc-Qo; Fri, 26 May 2023 11:16:31 -0400
Received: from smtp102.mailbox.org (smtp102.mailbox.org [10.196.197.102])
(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest
SHA256) (No client certificate requested)
by mout-p-103.mailbox.org (Postfix) with ESMTPS id 4QST5t75J0z9scc;
Fri, 26 May 2023 17:16:18 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mailbox.org;
s=mail20150812; t=1685114179;
h=from:from:reply-to:subject:date:date:message-id:message-id:to:to:
cc:cc:mime-version:mime-version:content-type:content-type;
bh=9ac1OzpsdKAn0/maR7mtRablPBrFAFLldIlKqTynZd0=;
b=mnfu00Sa5aHOCoD5EMHdStM4empSoSg1u3mMjjv2P89rCjq160BjTIDPIld1VeuPUawOUP
d8el7wfTxcrjcJ/XlDvtFfzpBLDYmFDYr5KkrbVeiTM4lMJk1EEeU1T5R1DLFe+v+jm8P6
Qp/FRHNHlFQVY/O3pTPXZXReKgBChzD+6kKMmikWW/fIIhqbiCIecyxtoB2iaw7YiL05vB
cehOpxXEdECCv8nY8AQ0xHCdmZdL13J63rVwMBbQann7/77Nd1TUhuUJpyG1D99EX+GR+0
WLmHN3aL+/V+NgMVqVIObqoZqmBeJU3r4K5s4P3U/cLdhJgm4u0TUuoR8rvgMA==
From: Antero Mejr <antero@HIDDEN>
Date: Fri, 26 May 2023 15:16:16 +0000
Message-ID: <87lehbw2bj.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-MBO-RS-META: jkbciz88iqrtjt6s6y577uaiezwcomx7
X-MBO-RS-ID: 4ae1992c1f218f116e6
X-Spam-Score: 1.3 (+)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org",
has NOT identified this incoming email as spam. The original
message has been attached to this so you can view it or label
similar future email. If you have any questions, see
the administrator of that system for details.
Content preview: merge 63258 63728
Content analysis details: (1.3 points, 10.0 required)
pts rule name description
---- ---------------------- --------------------------------------------------
0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record
-0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at https://www.dnswl.org/,
low trust [80.241.56.161 listed in list.dnswl.org]
-0.0 SPF_PASS SPF: sender matches SPF record
1.8 MISSING_SUBJECT Missing Subject: header
0.2 NO_SUBJECT Extra score for no subject
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 0.3 (/)
merge 63258 63728
Received: (at control) by debbugs.gnu.org; 26 May 2023 15:16:33 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Fri May 26 11:16:33 2023 Received: from localhost ([127.0.0.1]:50570 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1q2ZBB-0004Y0-30 for submit <at> debbugs.gnu.org; Fri, 26 May 2023 11:16:33 -0400 Received: from mout-p-103.mailbox.org ([80.241.56.161]:60370) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <antero@HIDDEN>) id 1q2ZB8-0004Xc-Qo; Fri, 26 May 2023 11:16:31 -0400 Received: from smtp102.mailbox.org (smtp102.mailbox.org [10.196.197.102]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-103.mailbox.org (Postfix) with ESMTPS id 4QST5t75J0z9scc; Fri, 26 May 2023 17:16:18 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mailbox.org; s=mail20150812; t=1685114179; h=from:from:reply-to:subject:date:date:message-id:message-id:to:to: cc:cc:mime-version:mime-version:content-type:content-type; bh=9ac1OzpsdKAn0/maR7mtRablPBrFAFLldIlKqTynZd0=; b=mnfu00Sa5aHOCoD5EMHdStM4empSoSg1u3mMjjv2P89rCjq160BjTIDPIld1VeuPUawOUP d8el7wfTxcrjcJ/XlDvtFfzpBLDYmFDYr5KkrbVeiTM4lMJk1EEeU1T5R1DLFe+v+jm8P6 Qp/FRHNHlFQVY/O3pTPXZXReKgBChzD+6kKMmikWW/fIIhqbiCIecyxtoB2iaw7YiL05vB cehOpxXEdECCv8nY8AQ0xHCdmZdL13J63rVwMBbQann7/77Nd1TUhuUJpyG1D99EX+GR+0 WLmHN3aL+/V+NgMVqVIObqoZqmBeJU3r4K5s4P3U/cLdhJgm4u0TUuoR8rvgMA== From: Antero Mejr <antero@HIDDEN> To: control <at> debbugs.gnu.org Date: Fri, 26 May 2023 15:16:16 +0000 Message-ID: <87lehbw2bj.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain X-MBO-RS-META: jkbciz88iqrtjt6s6y577uaiezwcomx7 X-MBO-RS-ID: 4ae1992c1f218f116e6 X-Spam-Score: 1.3 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: merge 63258 63728 Content analysis details: (1.3 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at https://www.dnswl.org/, low trust [80.241.56.161 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 1.8 MISSING_SUBJECT Missing Subject: header 0.2 NO_SUBJECT Extra score for no subject X-Debbugs-Envelope-To: control Cc: 63728 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: 0.3 (/) merge 63258 63728
X-Loop: help-debbugs@HIDDEN
Subject: bug#63728: GHC cannot find lrt
Resent-From: Antero Mejr <antero@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-guix@HIDDEN
Resent-Date: Fri, 26 May 2023 15:45:02 +0000
Resent-Message-ID: <handler.63728.B63728.168511588529959 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 63728
X-GNU-PR-Package: guix
X-GNU-PR-Keywords:
To: Mekeor Melire <mekeor@HIDDEN>
Cc: 63728 <at> debbugs.gnu.org
Received: via spool by 63728-submit <at> debbugs.gnu.org id=B63728.168511588529959
(code B ref 63728); Fri, 26 May 2023 15:45:02 +0000
Received: (at 63728) by debbugs.gnu.org; 26 May 2023 15:44:45 +0000
Received: from localhost ([127.0.0.1]:50600 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1q2ZcT-0007n8-6V
for submit <at> debbugs.gnu.org; Fri, 26 May 2023 11:44:45 -0400
Received: from mout-p-102.mailbox.org ([80.241.56.152]:54580)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <antero@HIDDEN>) id 1q2ZcQ-0007ms-Hx
for 63728 <at> debbugs.gnu.org; Fri, 26 May 2023 11:44:43 -0400
Received: from smtp1.mailbox.org (smtp1.mailbox.org [10.196.197.1])
(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest
SHA256) (No client certificate requested)
by mout-p-102.mailbox.org (Postfix) with ESMTPS id 4QSTkQ1nwqz9sW7;
Fri, 26 May 2023 17:44:30 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mailbox.org;
s=mail20150812; t=1685115870;
h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
to:to:cc:cc:mime-version:mime-version:content-type:content-type:
in-reply-to:in-reply-to:references:references;
bh=hCVC1jfi1GiV9xlgqbOJsw6eav/CLmeMfgIoVvg8NbA=;
b=VQBt4yPibNbsQKdqHe+rLbNrXbfVqQhhmjJzyDbvugNlWXLNHIuuZPFgWwY9SYk06U263Z
eGNBo5IZsjWPCfS/9oMjda5gwrAoSznWwAd6Zjqj+JqsDuihLUhw9RximfajO3LlxSJfMT
x/2hRelSotyLYjFpWZdIn0Y5ks+5LmUmEoi6oB1KmIytvdrTHqMk0/9I4w74z6SJ1eWjeQ
JRCcwPECGFyBT1AI+nu5rpjkP3Mcb9RfNQut+yymEYgB1IpLhzIcmUHV0xNOZZeOuAFQ2C
rLL70/yObuFUgKwJ74VX5pu/Wtn6O5EUtdtSefONGPiOwOsFHh+kp8oaiYNu2w==
From: Antero Mejr <antero@HIDDEN>
In-Reply-To: <87zg5rpi0b.fsf@HIDDEN> (Mekeor Melire's message of "Fri, 26
May 2023 09:17:55 +0000")
References: <877cswaw12.fsf@HIDDEN> <87zg5rpi0b.fsf@HIDDEN>
Date: Fri, 26 May 2023 15:44:26 +0000
Message-ID: <87edn3w10l.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-MBO-RS-ID: bb3f6087f9e426219f1
X-MBO-RS-META: 4wgh48fet31qi3x8oye1batdfse8k9ri
X-Spam-Score: -0.7 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)
Mekeor Melire <mekeor@HIDDEN> writes:
> 2023-05-25 22:25 bug-guix@HIDDEN:
>
>> Attempting to build a trivial Haskell program using ghc fails, as the linker
>> cannot find the rt library:
>
> Does installing gcc-toolchain:static help as a work-around?
I merged this bug with #63258.
The gcc-toolchain:static workaround fixes the rt problem, but now the
binaries aren't linked to libgmp and libffi, even though gmp and libffi
packages are installed in the profile:
--8<---------------cut here---------------start------------->8---
~$ ghc -O2 test.hs
~$ ldd ./test
linux-vdso.so.1 (0x00007ffe0956f000)
libgmp.so.10 => not found
libc.so.6 => /gnu/store/gsjczqir1wbz8p770zndrpw4rnppmxi3-glibc-2.35/lib/libc.so.6 (0x00007fbe27e3f000)
libm.so.6 => /gnu/store/gsjczqir1wbz8p770zndrpw4rnppmxi3-glibc-2.35/lib/libm.so.6 (0x00007fbe27d62000)
libffi.so.8 => not found
libgcc_s.so.1 => /gnu/store/qcg59v4yg239jj1k0xvqqqkqv6l8q6ll-gcc-12.2.0-lib/lib/libgcc_s.so.1 (0x00007fbe27d41000)
/gnu/store/gsjczqir1wbz8p770zndrpw4rnppmxi3-glibc-2.35/lib/ld-linux-x86-64.so.2 => /gnu/store/ip9mj1pwymxi1yq32zbhwp3n3bycy6yi-glibc-2.35/lib/ld-linux-x86-64.so.2 (0x00007fbe2803d000)
--8<---------------cut here---------------end--------------->8---
Maybe there should be a ghc-toolchain package that has libgmp and
libffi as inputs, and makes sure GHC links them correctly?
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.