From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id eF/FFw3i5WQIKgEASxT56A (envelope-from ) for ; Wed, 23 Aug 2023 12:40:13 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id eBg/Fw3i5WQCKQEAauVa8A (envelope-from ) for ; Wed, 23 Aug 2023 12:40:13 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id BECE26A271 for ; Wed, 23 Aug 2023 12:40:12 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=moesys.no header.s=protonmail header.b="jrIP/wcc"; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1692787213; a=rsa-sha256; cv=none; b=qWQgI6FYgysvq4R3YHYLMhtUt2MV9TCoLUPIItoDPPua+3Q3ahMdWcuFLyQOp9ba8vQ/+Q HvlgQ3A/T0uVfBdsdiciV34lqjF44Og0ny/a4cTsPwjLfzUAvB8VyaEjvPiRqYIxwKaGYA rgqZ4rHaPDPWJMaAJvv90VWC2PX2J8jIuzGPVsHH72KsG2ctdaLdXUJTjqx9PQVmwpO6/P KCcSuD8in9SKG0+PeLFA4FMcGOa05vK72UIVBdNXCSPJwOGXsBSFPI+NiWKGh+apAC7min HgKdSFbiKG8fNoFYwVw+oLmwJ7PsTtcL0y2AZN8cWs+B1kL3tFDcG/DvMzCI3A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=moesys.no header.s=protonmail header.b="jrIP/wcc"; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1692787213; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=pb7mzx9fEA1cDEV4wNMaVTDvOJzJUXqryFEmVAG/HB0=; b=FS61OgVydSZBwX8sH13yt46EjHGfk5IkIah9SI1sHaq4Ox2bvfjtaOF1W3OGeCG/PPiHyD OwW554yTlvmsS4oca2UIaiAXmpImsgFo5bOeiCDt8sy0IlsZJbjKkiVuElWpl8DE/asLcK y5CVROyqpWGzbhMsz8UjkgjWFwlQe6vEgTyYLz8QyD07l8VgXbcBRFBmJ00ttl88d1DzaF KXKf/tgzkds+bgh1FDvb1qU05QnpnJUsyi9OY+lTemEdU+C4KfW72BjmJiulNtGqR0DvSJ SrMI7fMfbic1OSwLasa8TMPlyb5XHtyKGztLuc0r6Ku79b8wppXuz6hKnc2IMA== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qYlHP-0002wI-Ad; Wed, 23 Aug 2023 06:40:03 -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 1qYlHM-0002sK-M6 for bug-guix@gnu.org; Wed, 23 Aug 2023 06:40:00 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qYlHK-0004Mp-Gw for bug-guix@gnu.org; Wed, 23 Aug 2023 06:40:00 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qYlHN-0004Ze-KM for bug-guix@gnu.org; Wed, 23 Aug 2023 06:40:01 -0400 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== 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-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: Jonas From: Jonas via Bug reports for GNU Guix Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: bug-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Scanner: mx0.migadu.com X-Spam-Score: -6.71 X-Migadu-Queue-Id: BECE26A271 X-Migadu-Spam-Score: -6.71 X-TUID: Q2dY0qnf8UD4 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? > > -- (