GNU logs - #34850, boring messages


Message sent to bug-guix@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#34850: ghc compiling error
Resent-From: mikadoZero <mikadozero@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-guix@HIDDEN
Resent-Date: Wed, 13 Mar 2019 22:32:01 +0000
Resent-Message-ID: <handler.34850.B.155251626719677 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: report 34850
X-GNU-PR-Package: guix
X-GNU-PR-Keywords: 
To: 34850 <at> debbugs.gnu.org
X-Debbugs-Original-To: bug-guix@HIDDEN
Received: via spool by submit <at> debbugs.gnu.org id=B.155251626719677
          (code B ref -1); Wed, 13 Mar 2019 22:32:01 +0000
Received: (at submit) by debbugs.gnu.org; 13 Mar 2019 22:31:07 +0000
Received: from localhost ([127.0.0.1]:42608 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1h4COw-00057I-J1
	for submit <at> debbugs.gnu.org; Wed, 13 Mar 2019 18:31:06 -0400
Received: from eggs.gnu.org ([209.51.188.92]:49463)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <mikadozero@HIDDEN>) id 1h4COt-00056l-PE
 for submit <at> debbugs.gnu.org; Wed, 13 Mar 2019 18:31:05 -0400
Received: from lists.gnu.org ([209.51.188.17]:36651)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <mikadozero@HIDDEN>)
 id 1h4COo-0005MK-LH
 for submit <at> debbugs.gnu.org; Wed, 13 Mar 2019 18:30:58 -0400
Received: from eggs.gnu.org ([209.51.188.92]:35614)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <mikadozero@HIDDEN>) id 1h4COn-0001Nz-SC
 for bug-guix@HIDDEN; Wed, 13 Mar 2019 18:30:58 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM,
 URIBL_BLOCKED autolearn=disabled version=3.3.2
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <mikadozero@HIDDEN>) id 1h4COm-0005LZ-DI
 for bug-guix@HIDDEN; Wed, 13 Mar 2019 18:30:57 -0400
Received: from forward104o.mail.yandex.net ([2a02:6b8:0:1a2d::607]:54912)
 by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <mikadozero@HIDDEN>)
 id 1h4COl-0005KS-Qg
 for bug-guix@HIDDEN; Wed, 13 Mar 2019 18:30:56 -0400
Received: from mxback15j.mail.yandex.net (mxback15j.mail.yandex.net
 [IPv6:2a02:6b8:0:1619::91])
 by forward104o.mail.yandex.net (Yandex) with ESMTP id 79EE19403FC
 for <bug-guix@HIDDEN>; Thu, 14 Mar 2019 01:30:51 +0300 (MSK)
Received: from smtp4j.mail.yandex.net (smtp4j.mail.yandex.net
 [2a02:6b8:0:1619::15:6])
 by mxback15j.mail.yandex.net (nwsmtp/Yandex) with ESMTP id pudRWMRqxR-Upr0gpuu;
 Thu, 14 Mar 2019 01:30:51 +0300
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.com; s=mail;
 t=1552516251; bh=nZ6PpzY06mzWLlFBmCjOmtr0WykxxF/XipO8WnTCzKk=;
 h=Subject:To:From:Date:Message-ID;
 b=st4fql0STgDjuAC22pPUvsvSXfePgHLZfSe+ezm/3RupjqkjRHot7hzE+h37tROJs
 PQWEVlAz1bVDiCPMvCkO/3b2/XL5uSSsaWRi+bxapCsqf74sSjQtzwAJ/h2zQJpXrr
 CCazWss+6sb4DIuCB16PYiucnt08X4e/1po/RuFI=
Authentication-Results: mxback15j.mail.yandex.net;
 dkim=pass header.i=@yandex.com
Received: by smtp4j.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id
 4TH7JD06qn-Uo1ON6bB; Thu, 14 Mar 2019 01:30:50 +0300
 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
 (Client certificate not present)
User-agent: mu4e 1.0; emacs 26.1
From: mikadoZero <mikadozero@HIDDEN>
Date: Wed, 13 Mar 2019 18:30:31 -0400
Message-ID: <va0ms8zc.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 2a02:6b8:0:1a2d::607
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Spam-Score: 1.0 (+)
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.0 (/)

`guix describe`
guix fd4c7a0
    repository URL: https://git.savannah.gnu.org/git/guix.git
    branch: master
    commit: fd4c7a098a508c1de7a8513c0f3d88d5a0df12e7

I have ghc in my system configuration file.  I have just done a pull and
reconfigure.

`which ghc`
/run/current-system/profile/bin/ghc

I created a one line hello world program:

```haskell
main = putStrLn "hello, world"
```

Then I tried to compile it with ghc.  I get this error.

`ghc Main`                      
[1 of 1] Compiling Main             ( Main.hs, Main.o )
gcc: error trying to exec 'as': execvp: No such file or directory
`gcc' failed in phase `Assembler'. (Exit code: 1)

I have tested compiling the same hello world program with the same ghc
command and it works fine on a none Guix System.




Message sent:


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: mikadoZero <mikadozero@HIDDEN>
Subject: bug#34850: Acknowledgement (ghc compiling error)
Message-ID: <handler.34850.B.155251626719677.ack <at> debbugs.gnu.org>
References: <va0ms8zc.fsf@HIDDEN>
X-Gnu-PR-Message: ack 34850
X-Gnu-PR-Package: guix
Reply-To: 34850 <at> debbugs.gnu.org
Date: Wed, 13 Mar 2019 22:32:02 +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 34850 <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
34850: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D34850
GNU Bug Tracking System
Contact help-debbugs@HIDDEN with problems


Message sent to bug-guix@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#34850: ghc compiling error
Resent-From: Tobias Geerinckx-Rice <me@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-guix@HIDDEN
Resent-Date: Wed, 13 Mar 2019 22:49:02 +0000
Resent-Message-ID: <handler.34850.B34850.155251731821319 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 34850
X-GNU-PR-Package: guix
X-GNU-PR-Keywords: 
To: mikadoZero <mikadozero@HIDDEN>
Cc: 34850 <at> debbugs.gnu.org
Received: via spool by 34850-submit <at> debbugs.gnu.org id=B34850.155251731821319
          (code B ref 34850); Wed, 13 Mar 2019 22:49:02 +0000
Received: (at 34850) by debbugs.gnu.org; 13 Mar 2019 22:48:38 +0000
Received: from localhost ([127.0.0.1]:42629 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1h4Cft-0005Xn-Un
	for submit <at> debbugs.gnu.org; Wed, 13 Mar 2019 18:48:38 -0400
Received: from tobias.gr ([80.241.217.52]:44266)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <me@HIDDEN>) id 1h4Cfs-0005Xc-0L
 for 34850 <at> debbugs.gnu.org; Wed, 13 Mar 2019 18:48:36 -0400
Received: by tobias.gr (OpenSMTPD) with ESMTP id 611e9ff8;
 Wed, 13 Mar 2019 22:48:34 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=tobias.gr; h=from:to:cc
 :subject:references:in-reply-to:date:message-id:mime-version
 :content-type:content-transfer-encoding; s=2018; i=me@HIDDEN;
 bh=hianoOqU1ZsF8iYtzD351ZQiAWppMniHC3uqS8tCg0k=; b=eNjPhlJpa1ie
 8umxBhx6KPOq0TnHC/m+BooSjIqAkLHQTIZTK5kJpP0EElNp3YGvhDix7CHanpUW
 1wgXxiaZZegttZJvpTFXvCnueIWDgjkdw0K2+l640m4RrLyJesLWpxSRMYfTwXM0
 H4QQ+JS4L5EkkOiRrawJnH+uq/YptjLc9Am9W7eZb8LxjflixS6+qJahds8dRmkv
 yX3uLWP98XjjT1UsBKhHtkL+kQJiE4Co3SCdrMeCQR0gacYiN1YqP+MLv+7W3fEL
 6OBc2+33QxdtPTm4EI9T2IsxfsACgwpm7vC7xCsmNjrCnL9Z+rKXVABu/UMIz70+
 dAeVMTP8QQ==
Received: by submission.tobias.gr (OpenSMTPD) with ESMTPSA id a5e10fb0
 (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO); 
 Wed, 13 Mar 2019 22:48:33 +0000 (UTC)
From: Tobias Geerinckx-Rice <me@HIDDEN>
References: <va0ms8zc.fsf@HIDDEN>
In-reply-to: <va0ms8zc.fsf@HIDDEN>
Date: Wed, 13 Mar 2019 23:48:33 +0100
Message-ID: <87tvg64chq.fsf@nckx>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: quoted-printable
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 (---)

mikadoZero,

mikadoZero wrote:
> `guix describe`
> guix fd4c7a0
>     repository URL: https://git.savannah.gnu.org/git/guix.git
>     branch: master
>     commit: fd4c7a098a508c1de7a8513c0f3d88d5a0df12e7
>
> I have ghc in my system configuration file.  I have just done a=20
> pull and
> reconfigure.
>
> `which ghc`
> /run/current-system/profile/bin/ghc
>
> I created a one line hello world program:
>
> ```haskell
> main =3D putStrLn "hello, world"
> ```
>
> Then I tried to compile it with ghc.  I get this error.
>
> `ghc Main`=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20
> [1 of 1] Compiling Main             ( Main.hs, Main.o )
> gcc: error trying to exec 'as': execvp: No such file or=20
> directory
> `gcc' failed in phase `Assembler'. (Exit code: 1)
>
> I have tested compiling the same hello world program with the=20
> same ghc
> command and it works fine on a none Guix System.

Does the other system have =E2=80=98as=E2=80=99 installed?  Install the=20
=E2=80=98gcc-toolchain=E2=80=99 package that provides it and try again.

Usually, this kind of error means that ghc needs to be patched to=20
invoke =E2=80=98as=E2=80=99 from an absolute file name instead of searching=
 $PATH.=20
There may have been good reasons not to do this (such as closure=20
size), or it might be an oversight.

Kind regards,

T G-R




Message sent to bug-guix@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#34850: ghc compiling error
Resent-From: mikadoZero <mikadozero@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-guix@HIDDEN
Resent-Date: Thu, 14 Mar 2019 01:29:02 +0000
Resent-Message-ID: <handler.34850.B34850.15525269084425 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 34850
X-GNU-PR-Package: guix
X-GNU-PR-Keywords: 
To: Tobias Geerinckx-Rice <me@HIDDEN>
Cc: 34850 <at> debbugs.gnu.org
Received: via spool by 34850-submit <at> debbugs.gnu.org id=B34850.15525269084425
          (code B ref 34850); Thu, 14 Mar 2019 01:29:02 +0000
Received: (at 34850) by debbugs.gnu.org; 14 Mar 2019 01:28:28 +0000
Received: from localhost ([127.0.0.1]:42655 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1h4FAa-00019J-Bu
	for submit <at> debbugs.gnu.org; Wed, 13 Mar 2019 21:28:28 -0400
Received: from forward106p.mail.yandex.net ([77.88.28.109]:36665)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <mikadozero@HIDDEN>) id 1h4FAW-000190-EY
 for 34850 <at> debbugs.gnu.org; Wed, 13 Mar 2019 21:28:26 -0400
Received: from mxback17j.mail.yandex.net (mxback17j.mail.yandex.net
 [IPv6:2a02:6b8:0:1619::93])
 by forward106p.mail.yandex.net (Yandex) with ESMTP id 65CC91C806A7;
 Thu, 14 Mar 2019 04:28:16 +0300 (MSK)
Received: from smtp3o.mail.yandex.net (smtp3o.mail.yandex.net
 [2a02:6b8:0:1a2d::27])
 by mxback17j.mail.yandex.net (nwsmtp/Yandex) with ESMTP id 9E1HAAGnhh-SGTCvL37;
 Thu, 14 Mar 2019 04:28:16 +0300
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.com; s=mail;
 t=1552526896; bh=m45wJhFkzdXCtJFk1RDYvlkJfwXYHckVbF2VQXEmNgI=;
 h=In-reply-to:Subject:Cc:To:From:Date:References:Message-ID;
 b=JaAw7AgVMZVz//+ycWjAUBCFB5bKvvpM16bNAxf4+eG8Z7GJG2Vl6iZrggGit3ZpC
 auZjW8FvlTtulYhYEu5d+LXlZ4iJYXze1NSpzFiGufSCtgc/xeNCQp8CyZyPRsyl3f
 dUudm5m8uRF7+7qnV00KzjUQELDn11O8Orw9HFyQ=
Authentication-Results: mxback17j.mail.yandex.net;
 dkim=pass header.i=@yandex.com
Received: by smtp3o.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id
 W7fG9DVSVB-SEp4W8Jm; Thu, 14 Mar 2019 04:28:14 +0300
 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
 (Client certificate not present)
References: <va0ms8zc.fsf@HIDDEN> <87tvg64chq.fsf@nckx>
User-agent: mu4e 1.0; emacs 26.1
From: mikadoZero <mikadozero@HIDDEN>
In-reply-to: <87tvg64chq.fsf@nckx>
Date: Wed, 13 Mar 2019 21:27:54 -0400
Message-ID: <tvg6s0rp.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
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 (-)


Tobias Geerinckx-Rice writes:

> mikadoZero,
>
> mikadoZero wrote:
>> `guix describe`
>> guix fd4c7a0
>>     repository URL: https://git.savannah.gnu.org/git/guix.git
>>     branch: master
>>     commit: fd4c7a098a508c1de7a8513c0f3d88d5a0df12e7
>>
>> I have ghc in my system configuration file.  I have just done a pull
>> and
>> reconfigure.
>>
>> `which ghc`
>> /run/current-system/profile/bin/ghc
>>
>> I created a one line hello world program:
>>
>> ```haskell
>> main =3D putStrLn "hello, world"
>> ```
>>
>> Then I tried to compile it with ghc.  I get this error.
>>
>> `ghc Main`                      [1 of 1] Compiling Main
>> ( Main.hs, Main.o )
>> gcc: error trying to exec 'as': execvp: No such file or directory
>> `gcc' failed in phase `Assembler'. (Exit code: 1)
>>
>> I have tested compiling the same hello world program with the same
>> ghc
>> command and it works fine on a none Guix System.
>
> Does the other system have =E2=80=98as=E2=80=99 installed?  Install the
> =E2=80=98gcc-toolchain=E2=80=99 package that provides it and try again.
>
> Usually, this kind of error means that ghc needs to be patched to
> invoke =E2=80=98as=E2=80=99 from an absolute file name instead of searchi=
ng
> $PATH. There may have been good reasons not to do this (such as
> closure size), or it might be an oversight.
>
> Kind regards,
>
> T G-R

Thank you for the suggestion to install `gcc-toolchain`.  It addresses
that error.  The next error I ran into was:

[1 of 1] Compiling Main             ( Main.hs, Main.o )
Linking Main ...

In file included from /gnu/store/h90vnqw0nwd0hhm1l5dgxsdrigddfmq4-glibc-2.2=
8/include
/errno.h:28:0: error:=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
    0,
                     from /gnu/store/8v1sn5ns7r5n02aip0b0ypyyzb2y1i1a-ghc-8=
.4.3/lib/
ghc-8.4.3/include/rts/OSThreads.h:28,=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20
                     from /gnu/store/8v1sn5ns7r5n02aip0b0ypyyzb2y1i1a-ghc-8=
.4.3/lib/
ghc-8.4.3/include/Rts.h:168,=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
                     from /tmp/ghc29485_0/ghc_4.c:1:

/gnu/store/h90vnqw0nwd0hhm1l5dgxsdrigddfmq4-glibc-2.28/include/bits/errno.h=
:26:26: e
rror:=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20
     fatal error: linux/errno.h: No such file or directory
   |
26 | # include <linux/errno.h>
   |                          ^
compilation terminated.
`gcc' failed in phase `C Compiler'. (Exit code: 1)


First I tried adding glibc to my system configuration and reconfiguration.
That did not work.

This is what got it to work.

* Create a user manifest that includes ghc, gcc-toolchain, glibc
* Run `guix package --manifest=3Dmanifest.scm`
* Add exports from package output to .zprofile
* `source .zprofile`

# Questions

I used package search to search for `as`.  I could not find it.  Thanks
to the tip from Tobias Geerinckx-Rice I know it is in `gcc-toolchain`.
But when I look at `gcc-toolchain` there is no mention of `as` the
program in the synopsis, description or dependencies.  Is there a better
way to search for a program that is part of a larger package like this?

ghc, gcc-toolchain and glibc needed to be in a user manifest.  When does
a package need to be in a user manifest for it to work?

gcc-toolchain and glibc in a user manifest where required as
dependencies for ghc.  Should this be noted in the ghc package
description?





Last modified: Mon, 25 Nov 2019 12:00:02 UTC

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