From unknown Fri Jun 20 07:19:23 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#34850 <34850@debbugs.gnu.org> To: bug#34850 <34850@debbugs.gnu.org> Subject: Status: ghc compiling error Reply-To: bug#34850 <34850@debbugs.gnu.org> Date: Fri, 20 Jun 2025 14:19:23 +0000 retitle 34850 ghc compiling error reassign 34850 guix submitter 34850 mikadoZero severity 34850 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Wed Mar 13 18:31:06 2019 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 ) id 1h4COw-00057I-J1 for submit@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 ) id 1h4COt-00056l-PE for submit@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 ) id 1h4COo-0005MK-LH for submit@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 ) id 1h4COn-0001Nz-SC for bug-guix@gnu.org; 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 ) id 1h4COm-0005LZ-DI for bug-guix@gnu.org; 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 ) id 1h4COl-0005KS-Qg for bug-guix@gnu.org; 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 ; 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 To: bug-guix@gnu.org Subject: ghc compiling error Date: Wed, 13 Mar 2019 18:30:31 -0400 Message-ID: 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-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" 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. From debbugs-submit-bounces@debbugs.gnu.org Wed Mar 13 18:48:38 2019 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 ) id 1h4Cft-0005Xn-Un for submit@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 ) id 1h4Cfs-0005Xc-0L for 34850@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@tobias.gr; 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 To: mikadoZero Subject: Re: bug#34850: ghc compiling error References: In-reply-to: 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-Debbugs-Envelope-To: 34850 Cc: 34850@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" 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 From debbugs-submit-bounces@debbugs.gnu.org Wed Mar 13 21:28:28 2019 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 ) id 1h4FAa-00019J-Bu for submit@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 ) id 1h4FAW-000190-EY for 34850@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: <87tvg64chq.fsf@nckx> User-agent: mu4e 1.0; emacs 26.1 From: mikadoZero To: Tobias Geerinckx-Rice Subject: Re: bug#34850: ghc compiling error In-reply-to: <87tvg64chq.fsf@nckx> Date: Wed, 13 Mar 2019 21:27:54 -0400 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 34850 Cc: 34850@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" 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 | ^ 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? From debbugs-submit-bounces@debbugs.gnu.org Fri Sep 22 12:45:59 2023 Received: (at 34850) by debbugs.gnu.org; 22 Sep 2023 16:45:59 +0000 Received: from localhost ([127.0.0.1]:37222 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qjjHz-0006Nm-Ct for submit@debbugs.gnu.org; Fri, 22 Sep 2023 12:45:59 -0400 Received: from mail-wm1-x333.google.com ([2a00:1450:4864:20::333]:38161) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qjjHt-0006Mt-GV for 34850@debbugs.gnu.org; Fri, 22 Sep 2023 12:45:57 -0400 Received: by mail-wm1-x333.google.com with SMTP id 5b1f17b1804b1-4047ef37f55so7641975e9.1 for <34850@debbugs.gnu.org>; Fri, 22 Sep 2023 09:45:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1695401137; x=1696005937; darn=debbugs.gnu.org; h=mime-version:user-agent:message-id:in-reply-to:date:references :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=bRCYY/zaosWy2Xa3riZuXFhWEOonLQfeDS7UQOV1P+k=; b=lznwp9ROuYhKodwCETwPCDV3fDesyz3NGAKiBzwcAIUq1/D/fdueF1b6NiFehuo6Es QRnC0a2bm13k+ianUcvNBwHWmXHQLkgPg2+QHQsMlo01M+ZyOenyt/8/g2MaOktZAlzP pijunnBrJru0mlF2f7ZcH4SYcFxMXG4nkivX0LjMQccPzJHo4zzRbEVUmWJIoPWu/2Bp NeCzuFk47Ir+cczts67h30W/ESx+6WgknBVELN92skH3oxAHQm5w+VaXk078ttGQkfBz n0lvGfDFJuLFkoReC5UQttnMZsuKQM0mYhjsYMpYdyIzFMqto4DLui7X36fYryXZzVYx opAg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695401137; x=1696005937; h=mime-version:user-agent:message-id:in-reply-to:date:references :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=bRCYY/zaosWy2Xa3riZuXFhWEOonLQfeDS7UQOV1P+k=; b=dO4vzdOTlJAVp10qwGDGGWUO6t2jlw6v1QXiwec/J3Tr9tJfI8NCEg37TQxpwHwq/U snDUSTJsAgoG4c5Zg3sGBNx6Co6I59+54r5s6nByUijqeCsEMvsfskY0SA6Q+zPo8cqu mAt3bcNofp1c+ROd0HtYkseZ9WesZnqMuNIPwJ0Ae1agTzOSk2tvskP3nlITYRBlVPwV x/luKfXAL7bk3I2/S7n9iBiVI+mTD9hMWiCxkHB1Eab6E3hBYmL5+jluCcH35osMkHBK Fj5huIp+wBlBT4HhF/gdNBb8Av1NguO71URbCowX/O9z4D+vMBF3sKPwPzXpQr8jJPqZ odEQ== X-Gm-Message-State: AOJu0YyKSL5m8L8Ii0IvGXQR2m6onaZsm8bmsErCZx3q7XL8dWPmQ4qX gf1qQonUmun5jz5Yn6Y4FUgw3FJw65o= X-Google-Smtp-Source: AGHT+IGVJOBNFNYRLRspsBEb+VcACHS966q1dTZR8wD+1p12QpRU0YqwPOtsjzBOYmmeIavi0mdgbQ== X-Received: by 2002:a05:600c:358d:b0:3fe:d46a:ef4b with SMTP id p13-20020a05600c358d00b003fed46aef4bmr8249850wmq.1.1695401136576; Fri, 22 Sep 2023 09:45:36 -0700 (PDT) Received: from pfiuh07 ([193.48.40.241]) by smtp.gmail.com with ESMTPSA id n6-20020a1c7206000000b003fe4ca8decdsm7962856wmc.31.2023.09.22.09.45.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Sep 2023 09:45:36 -0700 (PDT) From: Simon Tournier To: mikadoZero Subject: Re: bug#34850: ghc compiling error References: <87tvg64chq.fsf@nckx> Date: Fri, 22 Sep 2023 18:09:53 +0200 In-Reply-To: (mikadozero@yandex.com's message of "Wed, 13 Mar 2019 21:27:54 -0400") Message-ID: <87bkdu8a0e.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 34850 Cc: Tobias Geerinckx-Rice , 34850@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hi, It is about this old bug #34850 [1]. 1: https://issues.guix.gnu.org/issue/34850 On Wed, 13 Mar 2019 at 21:27, mikadoZero wrote: >>> `guix describe` >>> guix fd4c7a0 >>> repository URL: https://git.savannah.gnu.org/git/guix.git >>> branch: master >>> commit: fd4c7a098a508c1de7a8513c0f3d88d5a0df12e7 [...] >>> ```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) Using recent Guix, I get: --8<---------------cut here---------------start------------->8--- $ guix describe Generation 28 Sep 06 2023 14:54:50 (current) guix 6113e05 repository URL: https://git.savannah.gnu.org/git/guix.git commit: 6113e0529d61df7425f64e30a6bf77f7cfdfe5a5 $ echo 'main = putStrLn "hello, world"' > foo.hs $ cat foo.hs main = putStrLn "hello, world" $ guix shell -C ghc gcc-toolchain -- ghc foo.hs [1 of 1] Compiling Main ( foo.hs, foo.o ) Linking foo ... $ ./foo hello, world --8<---------------cut here---------------end--------------->8--- Can we close this bug report? Do you still have that issue? Cheers, simon From debbugs-submit-bounces@debbugs.gnu.org Fri Sep 22 12:48:09 2023 Received: (at 34850-done) by debbugs.gnu.org; 22 Sep 2023 16:48:10 +0000 Received: from localhost ([127.0.0.1]:37245 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qjjK5-0006VV-J8 for submit@debbugs.gnu.org; Fri, 22 Sep 2023 12:48:09 -0400 Received: from mail-wm1-x32a.google.com ([2a00:1450:4864:20::32a]:41318) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qjjK2-0006UP-8o for 34850-done@debbugs.gnu.org; Fri, 22 Sep 2023 12:48:07 -0400 Received: by mail-wm1-x32a.google.com with SMTP id 5b1f17b1804b1-405101a02bcso8121725e9.1 for <34850-done@debbugs.gnu.org>; Fri, 22 Sep 2023 09:47:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1695401270; x=1696006070; darn=debbugs.gnu.org; h=mime-version:user-agent:message-id:in-reply-to:date:references :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=2gyXba//sKqM5G5uNprF54GsusOV8LvszGKfMyaA27Q=; b=cjMt5N73bMOfx5Ij7riNEOXj4vqNvEWtgFo+d9JBAEJdg8ie8jEDqq1Zc96DP8pIXB pPGNvyouHMPaim8+eAJah4qShbKTefG+KTDY7t0tlN9vfl8ef0azn7dh9CSb4DrGK3qh nwRraN3Dv8IiH5dQ5USSI4ZVKbNlA09fuDRCiL3Tb5qdv4uG9ieHGEcKi9RHJ712kQ/J a70XzLHMEHYlt5Nwz49p5IiG+mF735K2zY2UHR542zu9apZEiKhnYoNJ0FyKwxsspxdc Q5ldfDCX2L3glPZyFnnhrJqvHWMyDa1JtGzy1Z6eLT0iPIxxe56WCJ9NPTpHZ/EEJfDj DKEQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695401270; x=1696006070; h=mime-version:user-agent:message-id:in-reply-to:date:references :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=2gyXba//sKqM5G5uNprF54GsusOV8LvszGKfMyaA27Q=; b=MWIxxxTpONpTn/n28gXgpjwGTAjJWMPDO1Z5Zkq566IVcZEIZZYo3BVRjV0y4yY+iX ojLn7xw3HtWTwkfDmpp5nWJts7bMbVWVql2RcOkhgcy2V4nZZkWKG6/KJJk9eUqEZYF5 0zcyhCFhdZK2tvYnQLV3VLnXnIpWy3lHxUsKqwlo/OmF7IMNaN/epP551sWlfdDzcWbl 3ySy8p/fwwRvZ0AVWTXVfYEhIoaBbJJMY6K2DK5kRkEogrCcR5qSt8mUdIiy85IE6UWM Eyz4u62QAPeOt8GYNcv02xCXW9iXSFuNqnPLjub3NAM2IoiYXVe6xpEdsUdEyFDCBXcZ bEmg== X-Gm-Message-State: AOJu0Yw0gI30KzOSkwhgjkICFOh+rY1yEeneNVIbg0ftJzqSNbJLJCmM Tgfxy0LFZa7cza+8rXZmI3gBLSNZjRI= X-Google-Smtp-Source: AGHT+IEjHE+3Cg/bI5xdY9V9dnl5RyoBGSW+5gF9cFm8kULlvtZh2RVxR0Fh1UhN+hSQTBNMRPyIBw== X-Received: by 2002:adf:fd01:0:b0:319:7624:4c88 with SMTP id e1-20020adffd01000000b0031976244c88mr280205wrr.0.1695401269625; Fri, 22 Sep 2023 09:47:49 -0700 (PDT) Received: from pfiuh07 ([193.48.40.241]) by smtp.gmail.com with ESMTPSA id b12-20020a5d634c000000b0031ad2f9269dsm4868159wrw.40.2023.09.22.09.47.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Sep 2023 09:47:49 -0700 (PDT) From: Simon Tournier To: mikadoZero Subject: Re: bug#34850: ghc compiling error References: <87tvg64chq.fsf@nckx> <87bkdu8a0e.fsf@gmail.com> Date: Fri, 22 Sep 2023 18:47:47 +0200 In-Reply-To: <87bkdu8a0e.fsf@gmail.com> (Simon Tournier's message of "Fri, 22 Sep 2023 18:09:53 +0200") Message-ID: <87sf766tos.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 34850-done Cc: 34850-done@debbugs.gnu.org, Tobias Geerinckx-Rice X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Re, On Fri, 22 Sep 2023 at 18:09, Simon Tournier wrote: > Can we close this bug report? I get back: --8<---------------cut here---------------start------------->8--- Address not found Your message wasn't delivered to mikadozero@yandex.com because the address couldn't be found or is unable to receive email. The response from the remote server was: --8<---------------cut here---------------end--------------->8--- Therefore, closing. Cheers, simon From unknown Fri Jun 20 07:19:23 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sat, 21 Oct 2023 11:24:07 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator