From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id OHcMHLsmxl/FZQAA0tVLHw (envelope-from ) for ; Tue, 01 Dec 2020 11:19:23 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id 0HPbF7smxl+vBgAA1q6Kng (envelope-from ) for ; Tue, 01 Dec 2020 11:19:23 +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 92F0794023A for ; Tue, 1 Dec 2020 11:19:22 +0000 (UTC) Received: from localhost ([::1]:43542 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kk3gm-000824-Be for larch@yhetil.org; Tue, 01 Dec 2020 06:19:20 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:54450) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kk3gX-00081k-ST for bug-guix@gnu.org; Tue, 01 Dec 2020 06:19:05 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:46529) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kk3gV-0002aU-5V for bug-guix@gnu.org; Tue, 01 Dec 2020 06:19:04 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kk3gV-00034B-1x for bug-guix@gnu.org; Tue, 01 Dec 2020 06:19:03 -0500 Subject: bug#44989: GHC@8.6.5 can't find errno.h Resent-From: raingloom Original-Sender: "Debbugs-submit" Resent-To: bug-guix@gnu.org Resent-Date: Tue, 01 Dec 2020 11:19:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 44989 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 44989@debbugs.gnu.org, 44989-done@debbugs.gnu.org Mail-Followup-To: 44989@debbugs.gnu.org, raingloom@riseup.net, raingloom@riseup.net Received: via spool by 44989-done@debbugs.gnu.org id=D44989.160682149111709 (code D ref 44989); Tue, 01 Dec 2020 11:19:02 +0000 Received: (at 44989-done) by debbugs.gnu.org; 1 Dec 2020 11:18:11 +0000 Received: from localhost ([127.0.0.1]:58070 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kk3fe-00032l-Q4 for submit@debbugs.gnu.org; Tue, 01 Dec 2020 06:18:11 -0500 Received: from mx1.riseup.net ([198.252.153.129]:49484) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kk3fc-00032Y-70; Tue, 01 Dec 2020 06:18:08 -0500 Received: from bell.riseup.net (bell-pn.riseup.net [10.0.1.178]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client CN "*.riseup.net", Issuer "Sectigo RSA Domain Validation Secure Server CA" (not verified)) by mx1.riseup.net (Postfix) with ESMTPS id 4ClfjC4YLKzFfKN; Tue, 1 Dec 2020 03:18:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1606821487; bh=cd9z+dqCrTaNO+FsMbLzEeLXFPVhrDvYaKX7tAaAPZ8=; h=Date:From:To:Subject:In-Reply-To:References:From; b=KFXlegpPE8ahsSCpl9QSgtLVaBNEheITvlPsdAK+XHbUd3oxTXJ7Q46DTR/kXnDYp 5OAYS1qcSRHJpI/YzTBHdFoifMg2HndRgqhmxOmwyT/nxaMwdmmYbcWw0yb55pcVFA TZ01WRSK5Xh8cs8k/aVyMYc/YLidAWCKla/YzvS4= X-Riseup-User-ID: 13E2AB461892FF94ACE4740D306D877E4D52619C0E13F689079FA5BFC459AA21 Received: from [127.0.0.1] (localhost [127.0.0.1]) by bell.riseup.net (Postfix) with ESMTPSA id 4ClfjB6F70zJqyB; Tue, 1 Dec 2020 03:18:06 -0800 (PST) Date: Tue, 1 Dec 2020 12:18:03 +0100 From: raingloom Message-ID: <20201201121804.1ce9fec5@riseup.net> In-Reply-To: <20201201105455.46619d7b@riseup.net> References: <20201201105455.46619d7b@riseup.net> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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 X-Migadu-Spam-Score: -1.19 Authentication-Results: aspmx1.migadu.com; dkim=fail (headers rsa verify failed) header.d=riseup.net header.s=squak header.b=KFXlegpP; dmarc=fail reason="SPF not aligned (relaxed)" header.from=riseup.net (policy=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: 92F0794023A X-Spam-Score: -1.19 X-Migadu-Scanner: ns3122888.ip-94-23-21.eu X-TUID: E/PmqaFuIymU On Tue, 1 Dec 2020 10:54:55 +0100 raingloom wrote: > Haven't had a chance to try with latest version, because there is no > substitute yet. > It's a very basic Haskell file, only imports are Data.List and > System.IO. GHCI works. > > I'm pretty sure I didn't need to add any other packages to my profile > when I last used GHC, but maybe things have changed since then or I'm > misremembering, or I usde to have just the right assortment of > packages. > > error: > ``` > ghc -o sol1 sol1.hs > Linking sol1 ... > In file included from > /gnu/store/fa6wj5bxkj5ll1d7292a70knmyl7a0cr-glibc-2.31/include/errno.h:28, > from > /gnu/store/55c0m16dwnmmp3pah1hqx1941niwi6x4-ghc-8.6.5/lib/ghc-8.6.5/include/rts/OSThreads.h:28, > from > /gnu/store/55c0m16dwnmmp3pah1hqx1941niwi6x4-ghc-8.6.5/lib/ghc-8.6.5/include/Rts.h:168, > > from /tmp/ghc1915_0/ghc_1.c:1:0: error: > > /gnu/store/fa6wj5bxkj5ll1d7292a70knmyl7a0cr-glibc-2.31/include/bits/errno.h:26:11: > error: fatal error: linux/errno.h: No such file or directory > 26 | # include > | ^~~~~~~~~~~~~~~ > | > 26 | # include > | ^ > compilation terminated. > `gcc' failed in phase `C Compiler'. (Exit code: 1) > ``` > > manifest: > ``` > ;; This file was automatically generated and is for internal use only. > ;; It cannot be passed to the '--manifest' option. > > (manifest > (version 3) > (packages > (("ghc" > "8.6.5" > "out" > "/gnu/store/55c0m16dwnmmp3pah1hqx1941niwi6x4-ghc-8.6.5" > (propagated-inputs ()) > (search-paths > (("GHC_PACKAGE_PATH" > ("lib/ghc-8.6.5") > ":" > directory > ".*\\.conf\\.d$"))) > (properties)) > ("racket-minimal" > "7.9" > "out" > "/gnu/store/sy5k16y2cgdk2f8dq0if8vxs48xlgnfh-racket-minimal-7.9" > (propagated-inputs ()) > (search-paths ()) > (properties)) > ("gcc-toolchain" > "10.2.0" > "out" > "/gnu/store/pknm43xsza6nlc7bn27djip8fis92akd-gcc-toolchain-10.2.0" > (propagated-inputs ()) > (search-paths > (("C_INCLUDE_PATH" ("include") ":" directory #f) > ("CPLUS_INCLUDE_PATH" > ("include/c++" "include") > ":" > directory > #f) > ("LIBRARY_PATH" ("lib" "lib64") ":" directory #f) > ("GUIX_LOCPATH" ("lib/locale") ":" directory #f))) > (properties)) > ("chez-scheme" > "9.5.2" > "out" > "/gnu/store/abaa0mw2pss8ad0a7dazjwgrynim3yg5-chez-scheme-9.5.2" > (propagated-inputs ()) > (search-paths > (("CHEZSCHEMELIBDIRS" > ("lib/csv9.5.2-site") > ":" > directory > #f))) > (properties)) > ("rlwrap" > "0.43" > "out" > "/gnu/store/7q500p5srzg8hx56z63fr0myc2h7fzxh-rlwrap-0.43" > (propagated-inputs ()) > (search-paths ()) > (properties)) > ("idris2" > "0.2.1-1.a5a5d89" > "out" > "/gnu/store/z0nx9yr279wsx6nba2ssidhi449h0m4z-idris2-0.2.1-1.a5a5d89" > (propagated-inputs ()) > (search-paths ()) > (properties))))) > ``` Nevermind, my expectations for the profile's /etc/profile were incorrect. Looks like I don't have to re-source it for new commands, but I do for... well, whatever kind of dependency this was.