From debbugs-submit-bounces@debbugs.gnu.org Tue Dec 01 06:12:41 2020 Received: (at submit) by debbugs.gnu.org; 1 Dec 2020 11:12:41 +0000 Received: from localhost ([127.0.0.1]:58054 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kk3aL-0002te-73 for submit@debbugs.gnu.org; Tue, 01 Dec 2020 06:12:41 -0500 Received: from lists.gnu.org ([209.51.188.17]:39906) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kk3aJ-0002tX-AH for submit@debbugs.gnu.org; Tue, 01 Dec 2020 06:12:39 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:52664) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kk3aJ-0006AS-5N for bug-guix@gnu.org; Tue, 01 Dec 2020 06:12:39 -0500 Received: from mx1.riseup.net ([198.252.153.129]:38808) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kk3aH-0008NB-1K for bug-guix@gnu.org; Tue, 01 Dec 2020 06:12:38 -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 4ClfZn5JnBzFmg0 for ; Tue, 1 Dec 2020 03:12:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1606821153; bh=b6FgAFAt93eplLEiwEmBL+CecMfDd3E+/zO5QTd1xCM=; h=Date:From:To:Subject:From; b=X+65mKT8sPhoUQuntpripxbNdI1FAI0IAifbi9+z8xWGzWIDlPAirNp4tfXCfViml vW5PIVRTcSv3o68Q2DLWImd0NiaqgOM2AKl1kBfuTk3GGSHAc09wsCuW+Vwq5E7c/K 4DUIYGmvPcgoVLOjhtd7DdNfdSh4/U01ZbWOBm2k= X-Riseup-User-ID: D8EADBF1561B08E70C8473C93754AFA5ED7E98477C0580A5358F0930F46EA1CE Received: from [127.0.0.1] (localhost [127.0.0.1]) by bell.riseup.net (Postfix) with ESMTPSA id 4ClfZl2KH0zJnB9 for ; Tue, 1 Dec 2020 03:12:26 -0800 (PST) Date: Tue, 1 Dec 2020 10:54:55 +0100 From: raingloom To: Guix Bugs Subject: GHC@8.6.5 can't find errno.h Message-ID: <20201201105455.46619d7b@riseup.net> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Received-SPF: pass client-ip=198.252.153.129; envelope-from=raingloom@riseup.net; helo=mx1.riseup.net X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=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.4 (-) 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: -2.4 (--) 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))))) ``` From debbugs-submit-bounces@debbugs.gnu.org Tue Dec 01 06:18:11 2020 Received: (at 44989) by debbugs.gnu.org; 1 Dec 2020 11:18:11 +0000 Received: from localhost ([127.0.0.1]:58072 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kk3ff-00032n-5u 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 To: 44989@debbugs.gnu.org, 44989-done@debbugs.gnu.org Subject: Re: GHC@8.6.5 can't find errno.h 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-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 44989 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 (-) 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. From unknown Sat Jun 21 10:43:44 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Tue, 29 Dec 2020 12:24:13 +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