From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id wBBJMbOia2HnQwAAgWs5BA (envelope-from ) for ; Sun, 17 Oct 2021 06:12:35 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id +BLwLLOia2G9DAAAB5/wlQ (envelope-from ) for ; Sun, 17 Oct 2021 04:12:35 +0000 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 0720BCEA9 for ; Sun, 17 Oct 2021 06:12:35 +0200 (CEST) Received: from localhost ([::1]:40272 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mbxXG-0001hg-4f for larch@yhetil.org; Sun, 17 Oct 2021 00:12:34 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43456) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mbxWk-0001hW-FO for bug-guix@gnu.org; Sun, 17 Oct 2021 00:12:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:60028) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mbxWk-0006u9-6W for bug-guix@gnu.org; Sun, 17 Oct 2021 00:12:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mbxWj-0005zA-Tg for bug-guix@gnu.org; Sun, 17 Oct 2021 00:12:01 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#51213: ghci missing reference to gcc Resent-From: Jack Hill Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sun, 17 Oct 2021 04:12:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51213 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 51213@debbugs.gnu.org Received: via spool by 51213-submit@debbugs.gnu.org id=B51213.163444387222951 (code B ref 51213); Sun, 17 Oct 2021 04:12:01 +0000 Received: (at 51213) by debbugs.gnu.org; 17 Oct 2021 04:11:12 +0000 Received: from localhost ([127.0.0.1]:43341 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mbxVw-0005y7-3G for submit@debbugs.gnu.org; Sun, 17 Oct 2021 00:11:12 -0400 Received: from minsky.hcoop.net ([104.248.1.95]:54742) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mbxVt-0005xs-2t for 51213@debbugs.gnu.org; Sun, 17 Oct 2021 00:11:10 -0400 Received: from marsh.hcoop.net ([45.55.52.66]) by minsky.hcoop.net with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mbxVn-0007eh-Ju for 51213@debbugs.gnu.org; Sun, 17 Oct 2021 00:11:03 -0400 Date: Sun, 17 Oct 2021 00:11:03 -0400 (EDT) From: Jack Hill X-X-Sender: jackhill@marsh.hcoop.net In-Reply-To: Message-ID: References: User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed 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: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1634443955; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: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; bh=3xUYxCqeZ17H1+yP04grPsqCzYnlBH3zJvSusz7gyi4=; b=hhIjSFnbw6tlOQ5rzPbIrgMOBHR4AP2TeKCvIFwOsa6zomcpsxRnMPWz/yquACWD/OaX/H l6B10fRlZgnGp1pT0Y9aPaXBqhM9eQ4Wd2/hElUsulUA7SH1oWIlVSRtw0BLIIYEfdj2vN VMpT5Ykh5x8clkWcdlR47y0IlCMJ3+3LhurfGL74kdD9gjMdGb6r0nlQApdkNkW/op0V7E wWqibNZPOLnS9sezhiaZTI8+taKMmUQyJXfLeqMLY8H+CD8mUhTOogf6O8Wox4mluZlQ8j yBs6iADmA3JE7XnvLnY6C4RUvlrcZnezXw23YyY6d4ff+PSi1CHEffneJyIlyA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1634443955; a=rsa-sha256; cv=none; b=pVAKsTz/YRDeYT/dc1YmUl/ZQvATZs6uNothc8JI5ko33NkGbTCjKbYCt9urLCMZx5oA1V +UQYEMVB9AEUr/jkFPX5C8SIVd/wNsVdJ+tOtIrlQhqca5H3HdEgL4Mh3M/jZPzSBoeCkE XbrSe9lfaNgxN7ulaR4EAWeC3M9PwgR7C1wFuAQ6sLge9oOCt1SWm5QKxp5lee+dypkFFP 0F5+CelT6LdNu/YMyvstWxgLFyk/4ReQdR/D50UFWKLYAm0d6CAd5pPiKavGHPZN/Vfukt ucHpW8mVdhgS4QDv58P1Gu+rSnwzi4jRx2EQHuUKHRs/aY/Atnk49hYrX40RhQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Spam-Score: -2.42 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Queue-Id: 0720BCEA9 X-Spam-Score: -2.42 X-Migadu-Scanner: scn0.migadu.com X-TUID: EMFJGmRqbvzx On Thu, 14 Oct 2021, Jack Hill wrote: > Hi Guix, > > Using Guix 5fafb6e792c1e18ec223f0c7fb350d0c9b962a45, running ghci in an > environment can't find gcc: Some more observations about this problem. It only occurs with our two newest GHC packages (8.10.7 and 8.8.4), previous releases start ghci and perform light usage fine. However, all releases fail to build executables without gcc-toolchain in the path: ``` jackhill@alperton /tmp [env]$ ghc hello.hs [1 of 1] Compiling Main ( hello.hs, hello.o ) : error: Warning: Couldn't figure out C compiler information! Make sure you're using GNU gcc, or clang ghc: could not execute: gcc jackhill@alperton /tmp [env]$ ghc --version The Glorious Glasgow Haskell Compilation System, version 8.10.7 ``` Interestingly, clang-toolchain can be substituted for gcc-toolchain to get a working ghci, but with 8.10.7, compiling with gcc still doesn't work, but ghc 7.10.2 find clang-toolchain to be satisfactory. Best, Jack