From unknown Sun Jun 22 07:54:44 2025 X-Loop: help-debbugs@gnu.org Subject: bug#65460: ghc/ghci are broken Resent-From: Jonas Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 22 Aug 2023 22:59:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 65460 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 65460@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.169274509721838 (code B ref -1); Tue, 22 Aug 2023 22:59:02 +0000 Received: (at submit) by debbugs.gnu.org; 22 Aug 2023 22:58:17 +0000 Received: from localhost ([127.0.0.1]:60583 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qYaKH-0005g9-1E for submit@debbugs.gnu.org; Tue, 22 Aug 2023 18:58:17 -0400 Received: from lists.gnu.org ([2001:470:142::17]:54370) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qYaKF-0005fv-2f for submit@debbugs.gnu.org; Tue, 22 Aug 2023 18:58:15 -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 ) id 1qYaK5-0006ck-Fa for bug-guix@gnu.org; Tue, 22 Aug 2023 18:58:06 -0400 Received: from mail-4323.proton.ch ([185.70.43.23]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qYaK2-0000ub-3f for bug-guix@gnu.org; Tue, 22 Aug 2023 18:58:05 -0400 Date: Tue, 22 Aug 2023 22:57:37 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=moesys.no; s=protonmail; t=1692745071; x=1693004271; bh=AR25GAapbBcq6EULacf+jk3ZjrIygJohFjd5bvb6p24=; h=Date:To:From:Subject:Message-ID:Feedback-ID:From:To:Cc:Date: Subject:Reply-To:Feedback-ID:Message-ID:BIMI-Selector; b=B74HTRzVNp5cxs1LrDkRI5S6c719LSF+S5Z6eTbKnVQa9NH8H0RJlLDl/3OK+TMLi t5Z6jtaVJB4u5bNFFQrGEsPqd8Znshduz7z/KWvzdOtvs0Godf61Cy2e9rBs/m0A4c Ql5B9dyL8gJKiOHlSAQM2ZEJhwsIhZtGduZ8pIly3e1iQk53xPM+BEukvdLzsO2iOi YXVwo2exrYAFL41eVemdzTQmT2eHqSdgGj2x1Bb/MPotttkQaEjhmxbjziINCFtUkb 8xkWL4qfCD6225KFEmIWhKfbjIq5fcrJtjKAF04FTxkUzFBJSiza6Insov9sgdz/xx xr/D0t5i2KndA== From: Jonas Message-ID: Feedback-ID: 43086299:user:proton MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.70.43.23; envelope-from=jonas@moesys.no; helo=mail-4323.proton.ch X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 1.0 (+) 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 (/) Hi! Running ghci gives me: GHCi, version 9.2.5: https://www.haskell.org/ghc/=C2=A0 :? for help ghc: loadArchive: Not an archive:=20 `/gnu/store/kqb5pmdy950b53v4ga97qvhhdfqxv9rs-glibc-2.35-static/lib/libm.a' ghc: panic! (the 'impossible' happened) =C2=A0 (GHC version 9.2.5: =C2=A0=C2=A0 =C2=A0loadArchive=20 "/gnu/store/kqb5pmdy950b53v4ga97qvhhdfqxv9rs-glibc-2.35-static/lib/libm.a":= =20 failed Please report this as a GHC bug: https://www.haskell.org/ghc/reportabug And compiling a hello-world program with ghc gives me: [1 of 1] Compiling Main=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0 ( hello.hs, hello.o ) : error: =C2=A0=C2=A0=C2=A0 Warning: Couldn't figure out C compiler information! =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 Make sure you're using GNU gcc, or clang From unknown Sun Jun 22 07:54:44 2025 X-Loop: help-debbugs@gnu.org Subject: bug#65460: ghc/ghci are broken Resent-From: "(" Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 23 Aug 2023 05:17:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 65460 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Jonas Cc: 65460@debbugs.gnu.org X-Debbugs-Original-Cc: 65460@debbugs.gnu.org, bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.169276778128691 (code B ref -1); Wed, 23 Aug 2023 05:17:01 +0000 Received: (at submit) by debbugs.gnu.org; 23 Aug 2023 05:16:21 +0000 Received: from localhost ([127.0.0.1]:60831 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qYgE9-0007Sh-5l for submit@debbugs.gnu.org; Wed, 23 Aug 2023 01:16:21 -0400 Received: from lists.gnu.org ([2001:470:142::17]:46098) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qYgE8-0007SP-4g for submit@debbugs.gnu.org; Wed, 23 Aug 2023 01:16:20 -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 ) id 1qYgDs-0004rb-28 for bug-guix@gnu.org; Wed, 23 Aug 2023 01:16:06 -0400 Received: from layka.disroot.org ([178.21.23.139]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qYgDo-0000qB-Ee for bug-guix@gnu.org; Wed, 23 Aug 2023 01:16:03 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id D9A8D41332; Wed, 23 Aug 2023 07:15:56 +0200 (CEST) X-Virus-Scanned: SPAM Filter at disroot.org Received: from layka.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id KUkzTFY0bVpT; Wed, 23 Aug 2023 07:15:56 +0200 (CEST) References: DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1692767756; bh=GgAqqP9ucUzUb4JMJ+9JM+u8ZWOcS3uwwmsQ5/KtQxM=; h=References:From:To:Cc:Subject:Date:In-reply-to; b=PSzai+E7amcG/cFEjdGKu/UQIt6TfmBv0jq1znf935HkiHECBzuic/hkrG8YT74Fp 1lcfEpMu/oNl1qgl2ngaaZ5ofOSZiV4hJJyPoXltbggSPzN27/lOoirwA3XuYXzr6v V4mzmQqKAqDb0zL3o3uWULiKqNUAnprNwI/Hoskj1HdR8HQHSFK4zGSwHN8aK1QqoJ w5Zc4VX9P8Qm3j1WXcNZoyH1/mrItOOFx6UrmfExWJTrsN7BVKFTcJMENN1ga6TWUI QezNgVFhdEXlwTswBSIcUxlf1Q/sc52rsObKM5iQI3ARtO6xc+khPjaCsSraEJvuST s2EHtLnoE1AWA== From: "(" Date: Wed, 23 Aug 2023 06:14:50 +0100 In-reply-to: Message-ID: <87a5ui5ofr.fsf@disroot.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=178.21.23.139; envelope-from=paren@disroot.org; helo=layka.disroot.org X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.9 (/) 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.1 (/) Jonas via Bug reports for GNU Guix writes: > And compiling a hello-world program with ghc gives me: > > [1 of 1] Compiling Main=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0 ( hello.hs, hello.o ) > > : error: > =C2=A0=C2=A0=C2=A0 Warning: Couldn't figure out C compiler information! > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= Make sure you're using GNU gcc, or clang At the risk of stating an obvious thing that you've probably already tried; is `gcc-toolchain` available in the environment? -- ( From unknown Sun Jun 22 07:54:44 2025 X-Loop: help-debbugs@gnu.org Subject: bug#65460: ghc/ghci are broken Resent-From: Jonas Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 23 Aug 2023 10:40:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 65460 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: "(" Cc: 65460@debbugs.gnu.org X-Debbugs-Original-Cc: 65460@debbugs.gnu.org, bug-guix@gnu.org Received: via spool by 65460-submit@debbugs.gnu.org id=B65460.169278719517566 (code B ref 65460); Wed, 23 Aug 2023 10:40:01 +0000 Received: (at 65460) by debbugs.gnu.org; 23 Aug 2023 10:39:55 +0000 Received: from localhost ([127.0.0.1]:32890 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qYlHH-0004ZG-Gt for submit@debbugs.gnu.org; Wed, 23 Aug 2023 06:39:55 -0400 Received: from mail-4317.proton.ch ([185.70.43.17]:39335) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qYlHF-0004Z1-IH for 65460@debbugs.gnu.org; Wed, 23 Aug 2023 06:39:54 -0400 Date: Wed, 23 Aug 2023 10:39:03 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=moesys.no; s=protonmail; t=1692787183; x=1693046383; bh=pb7mzx9fEA1cDEV4wNMaVTDvOJzJUXqryFEmVAG/HB0=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector; b=jrIP/wcc1q+MQHzqYjASUq2NyAL1/Jo+SKc1ct3cnBnsUAGmPSr2dUb8quRNwfH5w CuR40dfxU2rWcwjRYyPygwAgHSAD0LWI9JWnYnSm1v/GiIuoE8vT2u5zA9YCWCyhC3 tUcaSZZQM7KkJFxIBf8tyY7xm7k/pHexjISG6+/h3wc4iAicU5y06tf46Hgy5EezIR Rx5xtkxzJmxuDxMpseth1a+c8hiFgALsCL7Rh3i4an8VOueB4/cHyOP3jwnTSSh3aI 6FF47JoooXzjnua17DDpF1M9oZHCqW3IIc0sFy+KuqtKsQtTNDUIli8Td34MyKC0XB UAXm4yzLoz3Hw== From: Jonas Message-ID: <9740da44-a75f-440b-8bea-7e1ad3beb926@moesys.no> In-Reply-To: <87a5ui5ofr.fsf@disroot.org> References: <87a5ui5ofr.fsf@disroot.org> Feedback-ID: 43086299:user:proton MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) 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 (-) Thanks! Adding gcc-toolchain to the profile fixed it, but shouldn't this=20 be automatically brought in by `guix install ghc`? This does still feels=20 like a bug to me, shouldn't gcc-toolchain be a part of ghcs native-inputs? sanoj@deimos ~/builds/hs-hello$ guix shell --container ghc -- ghc hello.hs Linking hello ... : error: =C2=A0=C2=A0=C2=A0 Warning: Couldn't figure out C compiler information! =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 Make sure you're using GNU gcc, or clang ghc: could not execute: gcc Den 8/23/23 07:14, skrev (: > Jonas via Bug reports for GNU Guix writes: >> And compiling a hello-world program with ghc gives me: >> >> [1 of 1] Compiling Main=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0 ( hello.hs, hello.o ) >> >> : error: >> =C2=A0=C2=A0=C2=A0 Warning: Couldn't figure out C compiler information= ! >> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0 Make sure you're using GNU gcc, or clang > At the risk of stating an obvious thing that you've probably already > tried; is `gcc-toolchain` available in the environment? > > -- ( From unknown Sun Jun 22 07:54:44 2025 X-Loop: help-debbugs@gnu.org Subject: bug#65460: ghc/ghci are broken Resent-From: Csepp Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 23 Aug 2023 14:44:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 65460 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Jonas Cc: 65460@debbugs.gnu.org, paren@disroot.org X-Debbugs-Original-Cc: 65460@debbugs.gnu.org, "\(" , bug-guix@gnu.org Received: via spool by 65460-submit@debbugs.gnu.org id=B65460.169280183823054 (code B ref 65460); Wed, 23 Aug 2023 14:44:02 +0000 Received: (at 65460) by debbugs.gnu.org; 23 Aug 2023 14:43:58 +0000 Received: from localhost ([127.0.0.1]:34864 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qYp5R-0005zl-Io for submit@debbugs.gnu.org; Wed, 23 Aug 2023 10:43:57 -0400 Received: from mx0.riseup.net ([198.252.153.6]:34448) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qYp5O-0005zP-7e for 65460@debbugs.gnu.org; Wed, 23 Aug 2023 10:43:56 -0400 Received: from fews02-sea.riseup.net (fews02-sea-pn.riseup.net [10.0.1.112]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mx0.riseup.net (Postfix) with ESMTPS id 4RW89F00M3z9t82; Wed, 23 Aug 2023 14:43:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1692801825; bh=XAu5AshPAKBjFl6wCP9beKnMmg77bActUfsQdLUcld4=; h=References:From:To:Cc:Subject:Date:In-reply-to:From; b=hFuA4Rdow31ii+uy7nh/PISurV0bssWGfzLJEt8GXdHC8ISusF/hUVE9q5UmFtJCX 2zWJPiNlbFY5cHklM2mQ6WRT+HUyXi1WEyL0zLbaHyIEkewFJVrUuW55ibfRa6GdaU LxFLp9Z4feD+/lUa8lMojJHqisZln4V7Fwba3yrA= X-Riseup-User-ID: B7D3D6021867F8365146C0EE7E215FF6FC788BD321D394A9DE888058DA4CCFBF Received: from [127.0.0.1] (localhost [127.0.0.1]) by fews02-sea.riseup.net (Postfix) with ESMTPSA id 4RW89D2MxQzFq03; Wed, 23 Aug 2023 14:43:43 +0000 (UTC) References: <87a5ui5ofr.fsf@disroot.org> <9740da44-a75f-440b-8bea-7e1ad3beb926@moesys.no> From: Csepp Date: Wed, 23 Aug 2023 16:42:43 +0200 In-reply-to: <9740da44-a75f-440b-8bea-7e1ad3beb926@moesys.no> Message-ID: <87il95ddk4.fsf@riseup.net> 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@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 (-) Jonas via Bug reports for GNU Guix writes: > Thanks! Adding gcc-toolchain to the profile fixed it, but shouldn't this= =20 > be automatically brought in by `guix install ghc`? This does still feels= =20 > like a bug to me, shouldn't gcc-toolchain be a part of ghcs native-inputs? > > sanoj@deimos ~/builds/hs-hello$ guix shell --container ghc -- ghc hello.hs > Linking hello ... > > : error: > =C2=A0=C2=A0=C2=A0 Warning: Couldn't figure out C compiler information! > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= Make sure you're using GNU gcc, or clang > ghc: could not execute: gcc > > Den 8/23/23 07:14, skrev (: >> Jonas via Bug reports for GNU Guix writes: >>> And compiling a hello-world program with ghc gives me: >>> >>> [1 of 1] Compiling Main=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0 ( hello.hs, hello.o ) >>> >>> : error: >>> =C2=A0=C2=A0=C2=A0 Warning: Couldn't figure out C compiler informatio= n! >>> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 Make sure you're using GNU gcc, or clang >> At the risk of stating an obvious thing that you've probably already >> tried; is `gcc-toolchain` available in the environment? >> >> -- ( I assume GHC can work with other toolchains, like Clang, so it's better to be explicit about what you want to use. From unknown Sun Jun 22 07:54:44 2025 X-Loop: help-debbugs@gnu.org Subject: bug#65460: ghc/ghci are broken Resent-From: Saku Laesvuori Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 23 Aug 2023 16:17:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 65460 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Csepp Cc: 65460@debbugs.gnu.org, paren@disroot.org, Jonas Received: via spool by 65460-submit@debbugs.gnu.org id=B65460.1692807385922 (code B ref 65460); Wed, 23 Aug 2023 16:17:01 +0000 Received: (at 65460) by debbugs.gnu.org; 23 Aug 2023 16:16:25 +0000 Received: from localhost ([127.0.0.1]:34969 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qYqWv-0000Eo-4b for submit@debbugs.gnu.org; Wed, 23 Aug 2023 12:16:25 -0400 Received: from vmi571514.contaboserver.net ([75.119.130.101]:54070 helo=mail.laesvuori.fi) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qYqWs-0000Ee-RC for 65460@debbugs.gnu.org; Wed, 23 Aug 2023 12:16:23 -0400 Received: from X-kone (88-113-24-127.elisa-laajakaista.fi [88.113.24.127]) by mail.laesvuori.fi (Postfix) with ESMTPSA id 39FE4340160; Wed, 23 Aug 2023 18:16:34 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=laesvuori.fi; s=mail; t=1692807394; bh=GxwF7VMSHXBMRVpd3FW7xaqkqB0bEVEwVr8ULzll7vk=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=iiTlW2zA+orRSmJupGHrTz9LzRCdLoHJseDNMWFme74bfjl9Fb8sHTtk6beLqJLyl u75uGR3wLJB4KhwWdmFsvyTSy9LnDGlCCqUnXw2bwRLBptg2/1tOQONQUbBqHUMShQ qiG8Fiv5Yl1TcyPjLfD3dMid63oqKCL1tukgmPkA= Date: Wed, 23 Aug 2023 19:16:14 +0300 From: Saku Laesvuori Message-ID: <20230823161614.zhc3cnjjipkqjfy7@X-kone> References: <87a5ui5ofr.fsf@disroot.org> <9740da44-a75f-440b-8bea-7e1ad3beb926@moesys.no> <87il95ddk4.fsf@riseup.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="v3vflegiay534bpy" Content-Disposition: inline In-Reply-To: <87il95ddk4.fsf@riseup.net> X-Spam-Score: -0.0 (/) 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 (-) --v3vflegiay534bpy Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable > > Thanks! Adding gcc-toolchain to the profile fixed it, but shouldn't thi= s=20 > > be automatically brought in by `guix install ghc`? This does still feel= s=20 > > like a bug to me, shouldn't gcc-toolchain be a part of ghcs native-inpu= ts? native-inputs are for buildtime inputs and here ghc needs a c toolchain at runtime to compile another haskell program so gcc-toolchain should be in "normal" inputs. > I assume GHC can work with other toolchains, like Clang, so it's better > to be explicit about what you want to use. I think it would still be good to have a c toolchain as an input. Guix packages are, if I understand correctly, supposed to work without having to explicitly install their dependencies. If someone wants to use a different c toolchain than the default, they can use a package transformation to change it. Maybe we could even have the current ghc as a hidden package and have the public package wrap the hidden ghc adding gcc-toolchain to it's environment, so that changing the c toolchain wouldn't require rebuilding ghc. --v3vflegiay534bpy Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEoMkZR3NPB29fCOn/JX0oSiodOjIFAmTmMM4ACgkQJX0oSiod OjJp6xAAo6JztgaiOHR+OILHY4AwBpwKu4tAVVYiEoALT4iC4Zmmdqc7kuv+xXMn whm2fBE/XgQyCRncBU6wVraK8ChsR1qH8jRBtGdhcNDMldgtQPqXgxq+AgZ52aPB eyR6WDF92txBJeD8ifDs7O2yYG5UVa1hTRFngYHitBSD8y5gRs9hIgd1mKGjrvA1 FSw6w5V8bHSN3PlZWK9vCta4Bh9JwbjTmAbEI6wRfBkiR6j+th3Lxf+GGpV2wJQ3 Z5d/eoXVdkWc+3fz7nL1cKw9VWWORj/6fkDLibyVDEzPPKRCerI9zjqx4vcaP7iO 7N5dnU3KCF/BU+LX2+D+KxjCT2QGLoh8MqXS49rPKVQR37MAq0XyUHCln7WAHXDZ mApkELYDO94+V9yPgaIBcjeBCuB7db4cjZ8dCeG7Cwi24nLz+RLoW4AOEyrsfYtR VR/jPFkBgew6yXb/ZhxKZdU6K4zWwdNKXj9+XRYqQ13TmSS/e7pTG+l0TmeiXGdJ 2/DZJJF9ooaoYuf3wVFIxTqwfrTpdJGxP2kzpY1w94tWjdE7yFnxxxkh7/n8ih7e m8IiE4iO3m7wwjsukzzgpPGQFMoPMbamLlBe6RujVZZAvGAalRyXBVqaoPZK4PyO CIQAu6rTKSZfvjTW0dw6q4XGIbgZTdcko20fzrUsZGTGhPDmAvU= =IYJM -----END PGP SIGNATURE----- --v3vflegiay534bpy-- From unknown Sun Jun 22 07:54:44 2025 X-Loop: help-debbugs@gnu.org Subject: bug#65460: ghc/ghci are broken Resent-From: "(" Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 24 Aug 2023 07:03:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 65460 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Jonas Cc: 65460@debbugs.gnu.org X-Debbugs-Original-Cc: 65460@debbugs.gnu.org, bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16928605693722 (code B ref -1); Thu, 24 Aug 2023 07:03:01 +0000 Received: (at submit) by debbugs.gnu.org; 24 Aug 2023 07:02:49 +0000 Received: from localhost ([127.0.0.1]:36017 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qZ4Mj-0000xy-81 for submit@debbugs.gnu.org; Thu, 24 Aug 2023 03:02:49 -0400 Received: from lists.gnu.org ([2001:470:142::17]:59488) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qZ4Mh-0000xj-2T for submit@debbugs.gnu.org; Thu, 24 Aug 2023 03:02:47 -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 ) id 1qZ4MV-0000mg-QG for bug-guix@gnu.org; Thu, 24 Aug 2023 03:02:35 -0400 Received: from layka.disroot.org ([178.21.23.139]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qZ4MT-0005XA-Q8 for bug-guix@gnu.org; Thu, 24 Aug 2023 03:02:35 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id C6D5940D62; Thu, 24 Aug 2023 09:02:32 +0200 (CEST) X-Virus-Scanned: SPAM Filter at disroot.org Received: from layka.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ufUZBgPWm3iJ; Thu, 24 Aug 2023 09:02:32 +0200 (CEST) References: <87a5ui5ofr.fsf@disroot.org> <9740da44-a75f-440b-8bea-7e1ad3beb926@moesys.no> DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1692860552; bh=2IKYH8JD3uBndYHqVJnhsd4QbOvvxkPOaTinFT9VPAA=; h=References:From:To:Cc:Subject:Date:In-reply-to; b=MWJ93A6B5/U+gKnb2U+RPrZ+pq2tcXi/WFJe1maqQe8KBcNxfwhxMTI8ch52LIUUn H1strIyPaZqVSYmEmGr1F/rh1kNMB/S8vzQi1ePhFrvVBuVG8FBQ5G1n0vMnmUUHnJ W/4zEazuOit/Repc76ZJULpJAPs+dziSXsW75pLszxOTCbnraeT0CnRjC4yicjSot7 vW1iqXnNvhu6F/Oxw5p8oYXONt3VmNa8gNg9T8wsUe0+ypF5rV8e5nhCDr+dWc60XS xxf/v3YDc1pYF1+V0elbPIb89cQRwU/7HJ9o8mDAyZUdRTk1AY0YfwjY6GgHx+Rf3o JG5OSMHqj+t+g== From: "(" Date: Thu, 24 Aug 2023 08:01:44 +0100 In-reply-to: <9740da44-a75f-440b-8bea-7e1ad3beb926@moesys.no> Message-ID: <87edjshqig.fsf@disroot.org> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=178.21.23.139; envelope-from=paren@disroot.org; helo=layka.disroot.org X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.9 (/) 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.1 (/) Jonas writes: > Thanks! Adding gcc-toolchain to the profile fixed it, but shouldn't this > be automatically brought in by `guix install ghc`? This does still feels > like a bug to me, shouldn't gcc-toolchain be a part of ghcs native-inputs? If this is to happen, it should be a regular input, and the strings containing the programs to invoke should be replaced with their full /gnu/store paths. -- ( From unknown Sun Jun 22 07:54:44 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Jonas Subject: bug#65460: closed (Re: bug#65460: ghc/ghci are broken) Message-ID: References: <87bkep8sm7.fsf@gmail.com> X-Gnu-PR-Message: they-closed 65460 X-Gnu-PR-Package: guix Reply-To: 65460@debbugs.gnu.org Date: Tue, 29 Aug 2023 21:09:01 +0000 Content-Type: multipart/mixed; boundary="----------=_1693343341-31565-1" This is a multi-part message in MIME format... ------------=_1693343341-31565-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #65460: ghc/ghci are broken which was filed against the guix package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 65460@debbugs.gnu.org. --=20 65460: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D65460 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1693343341-31565-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 65460-done) by debbugs.gnu.org; 29 Aug 2023 21:08:01 +0000 Received: from localhost ([127.0.0.1]:51710 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qb5wP-0008Bj-D3 for submit@debbugs.gnu.org; Tue, 29 Aug 2023 17:08:01 -0400 Received: from mail-qt1-x82f.google.com ([2607:f8b0:4864:20::82f]:61914) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qb5wM-0008BQ-Lp for 65460-done@debbugs.gnu.org; Tue, 29 Aug 2023 17:08:00 -0400 Received: by mail-qt1-x82f.google.com with SMTP id d75a77b69052e-4106b6aa94bso32959501cf.3 for <65460-done@debbugs.gnu.org>; Tue, 29 Aug 2023 14:07:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1693343266; x=1693948066; 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=N7YS3xaiVe8mYqnZf7aLb1Ca54yU8MBO2ay5LARvNnY=; b=oRoZLunnW/s99RCnpi0lNnNy4E9pnIUX2Oc9QadZemN2mVhopJDVkYbuLAhQiFa3+L bSvlJ9jyhIDP3HtUaiaY/FhrTpO7FAjiCzug0hOQMvUebH8+oki5gpo67x8dcl+UOl2p HVdn7nIQwayU+MXCSEIMElI5JKcDXcceXJyUNb6OT/nw68fCAiam63FrtLCaYOpxBaTm w8HCXjIaSfa99z+uKX92ze+XBqV+1QMZ45OljXaciGvfDNzO2Gur5fALiESbW5la8Plq tDyYlHWKYhycVywiwN565HOYgYUFohL0YPR/a3vTdXz4e0UdoaZS8qmkPdgPpisOGDna K0FQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1693343266; x=1693948066; 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=N7YS3xaiVe8mYqnZf7aLb1Ca54yU8MBO2ay5LARvNnY=; b=kB+zklg+uY1rJE8l4IWhFMgAmcs+kiSNnRVMYFEf6UXyEmTAyQo9Zvd5AT2AFgqU0p 2K8Voef+jUW+p0jOJUiZ/mAClmsueEvF7nr6hyLu+vL1Dne5VgM3fyaoVyOXB9OzRYkR U9gGuWXSW0ONesa72trlqlOyONvVk6hI9UgxvVMJaq19zCr1tLR+lY7OG8/9kuvGdQDx OIWos7TKgbMRKyk2/3ZaXvhyj9NSniubstNWkI1mFfzg/3sctt+mESYL89/K/Y7jIsVR O/A+Ct5QpY9QUx4m2Fz6eChcyu0n8y/4wsVjq0rZIRT/GVmSs9mzWoj1APRArZExuJu3 HCAQ== X-Gm-Message-State: AOJu0YznuqB52ggLqm02QCsby6rJcyHfFCkY9DFTM4s2NJHird4zj+KF iSIjX3wD8hxj740FRXO8jjs= X-Google-Smtp-Source: AGHT+IEAd9wnZcWaV7FtJoPIETdpR+T/JvmULaPTqV1T4EKuESAARMbXITI1Y7Mr1CpKG2vAsCkFVw== X-Received: by 2002:a05:622a:4:b0:40c:8f5d:1b3 with SMTP id x4-20020a05622a000400b0040c8f5d01b3mr207721qtw.41.1693343265943; Tue, 29 Aug 2023 14:07:45 -0700 (PDT) Received: from hurd (dsl-10-132-204.b2b2c.ca. [72.10.132.204]) by smtp.gmail.com with ESMTPSA id m16-20020ac86890000000b00403c1a19a2bsm3234056qtq.92.2023.08.29.14.07.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 29 Aug 2023 14:07:45 -0700 (PDT) From: Maxim Cournoyer To: Saku Laesvuori Subject: Re: bug#65460: ghc/ghci are broken References: <87a5ui5ofr.fsf@disroot.org> <9740da44-a75f-440b-8bea-7e1ad3beb926@moesys.no> <87il95ddk4.fsf@riseup.net> <20230823161614.zhc3cnjjipkqjfy7@X-kone> Date: Tue, 29 Aug 2023 17:07:44 -0400 In-Reply-To: <20230823161614.zhc3cnjjipkqjfy7@X-kone> (Saku Laesvuori's message of "Wed, 23 Aug 2023 19:16:14 +0300") Message-ID: <87bkep8sm7.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: 65460-done Cc: 65460-done@debbugs.gnu.org, paren@disroot.org, Csepp , Jonas 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, Saku Laesvuori writes: >> > Thanks! Adding gcc-toolchain to the profile fixed it, but shouldn't this >> > be automatically brought in by `guix install ghc`? This does still feels >> > like a bug to me, shouldn't gcc-toolchain be a part of ghcs native-inputs? > > native-inputs are for buildtime inputs and here ghc needs a c toolchain > at runtime to compile another haskell program so gcc-toolchain should be > in "normal" inputs. > >> I assume GHC can work with other toolchains, like Clang, so it's better >> to be explicit about what you want to use. > > I think it would still be good to have a c toolchain as an input. Guix > packages are, if I understand correctly, supposed to work without having > to explicitly install their dependencies. If someone wants to use a > different c toolchain than the default, they can use a package > transformation to change it. > > Maybe we could even have the current ghc as a hidden package and have > the public package wrap the hidden ghc adding gcc-toolchain to it's > environment, so that changing the c toolchain wouldn't require > rebuilding ghc. For building tools requiring a compiler, the current expectation across Guix packages is that the user provides the one it wants. Even if using GCC, you may want to use a different version, and rebuilding GHC just to do so is... expensive. I'm closing, but if you'd like this to be further discussed you could start a thread on guix-devel. -- Thanks, Maxim ------------=_1693343341-31565-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 22 Aug 2023 22:58:17 +0000 Received: from localhost ([127.0.0.1]:60583 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qYaKH-0005g9-1E for submit@debbugs.gnu.org; Tue, 22 Aug 2023 18:58:17 -0400 Received: from lists.gnu.org ([2001:470:142::17]:54370) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qYaKF-0005fv-2f for submit@debbugs.gnu.org; Tue, 22 Aug 2023 18:58:15 -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 ) id 1qYaK5-0006ck-Fa for bug-guix@gnu.org; Tue, 22 Aug 2023 18:58:06 -0400 Received: from mail-4323.proton.ch ([185.70.43.23]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qYaK2-0000ub-3f for bug-guix@gnu.org; Tue, 22 Aug 2023 18:58:05 -0400 Date: Tue, 22 Aug 2023 22:57:37 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=moesys.no; s=protonmail; t=1692745071; x=1693004271; bh=AR25GAapbBcq6EULacf+jk3ZjrIygJohFjd5bvb6p24=; h=Date:To:From:Subject:Message-ID:Feedback-ID:From:To:Cc:Date: Subject:Reply-To:Feedback-ID:Message-ID:BIMI-Selector; b=B74HTRzVNp5cxs1LrDkRI5S6c719LSF+S5Z6eTbKnVQa9NH8H0RJlLDl/3OK+TMLi t5Z6jtaVJB4u5bNFFQrGEsPqd8Znshduz7z/KWvzdOtvs0Godf61Cy2e9rBs/m0A4c Ql5B9dyL8gJKiOHlSAQM2ZEJhwsIhZtGduZ8pIly3e1iQk53xPM+BEukvdLzsO2iOi YXVwo2exrYAFL41eVemdzTQmT2eHqSdgGj2x1Bb/MPotttkQaEjhmxbjziINCFtUkb 8xkWL4qfCD6225KFEmIWhKfbjIq5fcrJtjKAF04FTxkUzFBJSiza6Insov9sgdz/xx xr/D0t5i2KndA== To: bug-guix@gnu.org From: Jonas Subject: ghc/ghci are broken Message-ID: Feedback-ID: 43086299:user:proton MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.70.43.23; envelope-from=jonas@moesys.no; helo=mail-4323.proton.ch X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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 (/) Hi! Running ghci gives me: GHCi, version 9.2.5: https://www.haskell.org/ghc/=C2=A0 :? for help ghc: loadArchive: Not an archive:=20 `/gnu/store/kqb5pmdy950b53v4ga97qvhhdfqxv9rs-glibc-2.35-static/lib/libm.a' ghc: panic! (the 'impossible' happened) =C2=A0 (GHC version 9.2.5: =C2=A0=C2=A0 =C2=A0loadArchive=20 "/gnu/store/kqb5pmdy950b53v4ga97qvhhdfqxv9rs-glibc-2.35-static/lib/libm.a":= =20 failed Please report this as a GHC bug: https://www.haskell.org/ghc/reportabug And compiling a hello-world program with ghc gives me: [1 of 1] Compiling Main=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0 ( hello.hs, hello.o ) : error: =C2=A0=C2=A0=C2=A0 Warning: Couldn't figure out C compiler information! =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 Make sure you're using GNU gcc, or clang ------------=_1693343341-31565-1-- From unknown Sun Jun 22 07:54:44 2025 X-Loop: help-debbugs@gnu.org Subject: bug#65460: ghc/ghci are broken Resent-From: Simon Tournier Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 05 Sep 2023 19:02:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 65460 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Maxim Cournoyer , Saku Laesvuori Cc: 65460-done@debbugs.gnu.org, paren@disroot.org, Csepp , Jonas Received: via spool by 65460-done@debbugs.gnu.org id=D65460.169394047614895 (code D ref 65460); Tue, 05 Sep 2023 19:02:02 +0000 Received: (at 65460-done) by debbugs.gnu.org; 5 Sep 2023 19:01:16 +0000 Received: from localhost ([127.0.0.1]:59285 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qdbIa-0003sB-GM for submit@debbugs.gnu.org; Tue, 05 Sep 2023 15:01:16 -0400 Received: from mail-lf1-x136.google.com ([2a00:1450:4864:20::136]:41348) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qdbIX-0003rk-HI for 65460-done@debbugs.gnu.org; Tue, 05 Sep 2023 15:01:14 -0400 Received: by mail-lf1-x136.google.com with SMTP id 2adb3069b0e04-4f13c41c957so670308e87.1 for <65460-done@debbugs.gnu.org>; Tue, 05 Sep 2023 12:01:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1693940467; x=1694545267; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:from:to:cc:subject:date:message-id :reply-to; bh=9LZVOo8V8yEV766IPidwdsm2Dcd8jUCwW3mnwr21qk4=; b=XuDeYijavWwvTxJpTj5Qns8wbI+VLBLbZGWDKIbI8xOpg/vHWUV9L1w01AAi3OhNZU y3+WaAVQnovEdWeiHDKz1rlVxyv/PJgij/thTPVbdEITSIw+vFD4ELEHFqQXJWkZV0ng S+6Wrpne+aaXdiXy1hT1MgN4KYm1uThnCRuIsZKI0Dz8Eb5uOOcTApRlmxlP7q67jctW vObMmcDkYwTOtz3OfnUsFSe9MWndplt76AM/pHu4q9wuzy6W6YKej0Mab3vLSe62bamn Mstd/20WyHg3tPaMvtA2bdHTfjmdg1q94Vw2bl+lpyjqNW5M2LQVuHCxHlAr3oVq/PV4 Wh/w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1693940467; x=1694545267; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=9LZVOo8V8yEV766IPidwdsm2Dcd8jUCwW3mnwr21qk4=; b=Lcno18f4Jm+lJOiu3nvNcso4OFQekCJXkT/knrcsfLDRyWOc3Qe2cDrN3z3HFmQyh2 naR63N0xiSShCXpj9Lt/2ma2xKK1cOMkTM3EQEqkVz8acPZ2ApgL4KndWaLtaKffQj4L FW4ouoqLHKyAe1jg0bvXtEyi7I2ILYZUIfNZKReu2meECV6DMtS/sgRILBIbn0vjSg2M ExDGuunxDkNAHXcuZ0MC4VGt88K75UkSPJDYA32M820IhEDZH+ooXQG2u+ZX/q04lc4d BlvhnyTxHyKKQUimWPus3A2F4JnEJ6X5vq+Lf0NByUik0I03VXR57Btce5YoGudXTR5N 4h5A== X-Gm-Message-State: AOJu0YzVKJ+1UaFlnSgo1GfTQ8PXyYRVA2eoU/vWpVgXc4o2So1Qumap krO+7SgGdKLe5ZxeGuecLpg= X-Google-Smtp-Source: AGHT+IHs/FjKUJc8ZFPYj8nlsTtX+O/H+pxwMQvNdnOChx7aQ5eigCQ3PDv8DVxi9SdHiPIufYNnPw== X-Received: by 2002:a05:6512:792:b0:501:b1c1:828f with SMTP id x18-20020a056512079200b00501b1c1828fmr4062050lfr.3.1693940466606; Tue, 05 Sep 2023 12:01:06 -0700 (PDT) Received: from lili ([2a01:e0a:59b:9120:65d2:2476:f637:db1e]) by smtp.gmail.com with ESMTPSA id a22-20020a05600c225600b003fefcbe7fa8sm17833090wmm.28.2023.09.05.12.01.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Sep 2023 12:01:06 -0700 (PDT) From: Simon Tournier In-Reply-To: <87bkep8sm7.fsf@gmail.com> References: <87a5ui5ofr.fsf@disroot.org> <9740da44-a75f-440b-8bea-7e1ad3beb926@moesys.no> <87il95ddk4.fsf@riseup.net> <20230823161614.zhc3cnjjipkqjfy7@X-kone> <87bkep8sm7.fsf@gmail.com> Date: Tue, 05 Sep 2023 19:42:34 +0200 Message-ID: <86o7igqzxx.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) 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 Maxim, On Tue, 29 Aug 2023 at 17:07, Maxim Cournoyer w= rote: > For building tools requiring a compiler, the current expectation across > Guix packages is that the user provides the one it wants. Even if using > GCC, you may want to use a different version, and rebuilding GHC just to > do so is... expensive. Well, I have a patch series somewhere on my disk that adds ghc-toolchain and hides ghc, similarly as gcc-toolchain. Somehow, I think that, =E2=80= =9Cguix shell ghc-toolchain=E2=80=9D should just work out-of-the-box. And the replacement of the C toolchain would be done with the package transformation with-c-toolchain. Bah, the series needs polishing=E2=80=A6 arf! Cheers, simon