From unknown Tue Jun 17 01:48:10 2025 X-Loop: help-debbugs@gnu.org Subject: bug#37366: ghci can't find System.IO Resent-From: P Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 10 Sep 2019 09:51:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 37366 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 37366@debbugs.gnu.org X-Debbugs-Original-To: "bug-guix@gnu.org" Reply-To: P Received: via spool by submit@debbugs.gnu.org id=B.156810900625615 (code B ref -1); Tue, 10 Sep 2019 09:51:02 +0000 Received: (at submit) by debbugs.gnu.org; 10 Sep 2019 09:50:06 +0000 Received: from localhost ([127.0.0.1]:40947 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1i7cmk-0006f5-Iv for submit@debbugs.gnu.org; Tue, 10 Sep 2019 05:50:06 -0400 Received: from lists.gnu.org ([209.51.188.17]:53107) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1i7cmi-0006ew-Kv for submit@debbugs.gnu.org; Tue, 10 Sep 2019 05:50:04 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49608) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i7cmh-0004dn-61 for bug-guix@gnu.org; Tue, 10 Sep 2019 05:50:04 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: * X-Spam-Status: No, score=1.3 required=5.0 tests=BAYES_40,FREEMAIL_FROM, RCVD_IN_DNSWL_LOW,SPOOFED_FREEMAIL,URIBL_BLOCKED autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1i7cmf-0007VD-OH for bug-guix@gnu.org; Tue, 10 Sep 2019 05:50:02 -0400 Received: from mail-40133.protonmail.ch ([185.70.40.133]:13543) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1i7cmf-0007TQ-8w for bug-guix@gnu.org; Tue, 10 Sep 2019 05:50:01 -0400 Date: Tue, 10 Sep 2019 09:49:47 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=default; t=1568108995; bh=rvUbtbPcV34Lk8gcoDs9YCLwBpu3NtLWWAKVFNQFvF0=; h=Date:To:From:Reply-To:Subject:Feedback-ID:From; b=Ptcjx1+ofepz6qKELovgN3CmtPgETn634fsrhuSaVc37+Ji6IV3v9mrBe05KSXAtU 3CIS7fbwgd9kKcMC7WlVt/8EIYRiYeicEYy87uMboAysZLCEtHnP6RK8NvhO5TFrAU j5d9oufn5neGhU1acZb6rxplqB17GhGISkT1SRY8= From: P Message-ID: Feedback-ID: Zwf-AgKjGj7p61o7kGbWJBUHpipzTNxEbnwmq2vFFWU6VWtG3efTH1K380U1ZptvR7SP_Gj0c6oobGC7S4SuLw==:Ext:ProtonMail MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 185.70.40.133 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: -0.3 (/) with the latest ghc (qhws2nyqmjansrnqf78mz87l74v01mfx-ghc-8.6.5) i cannot s= tart ghci, due to the following error[1] I do not have any other Haskell package in my profile [1]: ``` GHCi, version 8.6.5: http://www.haskell.org/ghc/ :? for help :1:6: error: Not in scope: =E2=80=98System.IO.hSetBuffering=E2=80=99 No module named =E2=80=98System.IO=E2=80=99 is imported. :1:30: error: Not in scope: =E2=80=98System.IO.stdin=E2=80=99 No module named =E2=80=98System.IO=E2=80=99 is imported. :1:46: error: Not in scope: data constructor =E2=80=98System.IO.NoBuffering=E2=80= =99 No module named =E2=80=98System.IO=E2=80=99 is imported. :1:70: error: Not in scope: =E2=80=98System.IO.hSetBuffering=E2=80=99 No module named =E2=80=98System.IO=E2=80=99 is imported. :1:94: error: Not in scope: =E2=80=98System.IO.stdout=E2=80=99 No module named =E2=80=98System.IO=E2=80=99 is imported. :1:111: error: Not in scope: data constructor =E2=80=98System.IO.NoBuffering=E2=80= =99 No module named =E2=80=98System.IO=E2=80=99 is imported. :1:135: error: Not in scope: =E2=80=98System.IO.hSetBuffering=E2=80=99 No module named =E2=80=98System.IO=E2=80=99 is imported. :1:159: error: Not in scope: =E2=80=98System.IO.stderr=E2=80=99 No module named =E2=80=98System.IO=E2=80=99 is imported. :1:176: error: Not in scope: data constructor =E2=80=98System.IO.NoBuffering=E2=80= =99 No module named =E2=80=98System.IO=E2=80=99 is imported. ``` From unknown Tue Jun 17 01:48:10 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: P Subject: bug#37366: closed (ghci can't find System.IO) Message-ID: References: <874kriteiw.fsf@disroot.org> X-Gnu-PR-Message: they-closed 37366 X-Gnu-PR-Package: guix Reply-To: 37366@debbugs.gnu.org Date: Thu, 11 Jun 2020 04:26:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1591849562-980-1" This is a multi-part message in MIME format... ------------=_1591849562-980-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #37366: ghci can't find System.IO 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 37366@debbugs.gnu.org. --=20 37366: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D37366 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1591849562-980-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 37366-done) by debbugs.gnu.org; 11 Jun 2020 04:25:33 +0000 Received: from localhost ([127.0.0.1]:35771 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jjEmT-0000F6-3l for submit@debbugs.gnu.org; Thu, 11 Jun 2020 00:25:33 -0400 Received: from knopi.disroot.org ([178.21.23.139]:35500) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jjEmR-0000Ez-N9 for 37366-done@debbugs.gnu.org; Thu, 11 Jun 2020 00:25:32 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 14C7B55F48 for <37366-done@debbugs.gnu.org>; Thu, 11 Jun 2020 06:25:31 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at disroot.org Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id CWTYmGNhE8aJ for <37366-done@debbugs.gnu.org>; Thu, 11 Jun 2020 06:25:29 +0200 (CEST) From: Royce Strange DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1591849529; bh=E53jaVmJYwsR/ZFplC5J/1KibSkFkCZ6A96HNyBSZrE=; h=From:To:Subject:Date:In-Reply-To; b=Y6a7D8mz3AerbJm55HyoVT4hU5buKzCqkHhoage2FacPAvGvzmkbEoA4FObZhiswB 6TrRLKVfteJHgrOepZkgrGNTj+Y8f9aw8LAQUA1Z5WJQm2OuqQyquxFNwwmvRaJWIU uzf5H276hhtUVxLeWWb65oguVfV9pIH/n8NCO4EUQcvKwwlFi76EtS9toLaB8Oyb5W KpNfF/KowBL8Ru+2O/T56WwIHS+H/V+/CBcQFnieQfnx/Q+ZRGC+XuSVeq9ICWqobX 1MrzQHHJoFwQIMAxnOwwUbBCNuWB86U1rmYpd/1oKOtr0Sd7pjbtciMzVj1M/E1C4J 6iNQoSnh1z++A== To: 37366-done@debbugs.gnu.org Subject: ghci can't find System.IO Date: Wed, 10 Jun 2020 23:25:27 -0500 In-Reply-To: bug's message of "Thu\, 11 Jun 2020 04\:14\:08 +0000" Message-ID: <874kriteiw.fsf@disroot.org> Mime-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 37366-done 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 (-) Hello. Found the ghc reported to have issues: https://ci.guix.gnu.org/build/1567747/details Going back in time to the commit that corresponds with the ghc that was reported to be broken: ----- $ guix time-machine --commit=caa366ec230ccc42f5c8d90d36e8cac933053a81 \ -- environment --pure --ad-hoc ghc [env]$ ghci GHCi, version 8.6.5: http://www.haskell.org/ghc/ :? for help :1:6: error: Not in scope: `System.IO.hSetBuffering' No module named `System.IO' is imported. :1:30: error: Not in scope: `System.IO.stdin' No module named `System.IO' is imported. ... ... ----- It was indeed broken. I believe 83aa6562173e06e8fafd4857a2e708feabfe56f8 fixed this. Validating that ghci can actually start properly now with a current version of guix: ----- $ guix --version guix (GNU Guix) 2971ed57345ee4e00058efeaf27c6a0790fdc9dd $ guix environment --pure --ad-hoc ghc -- ghci GHCi, version 8.6.5: http://www.haskell.org/ghc/ :? for help Prelude> 1 + 2 3 ----- Going to go ahead and close. ------------=_1591849562-980-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 10 Sep 2019 09:50:06 +0000 Received: from localhost ([127.0.0.1]:40947 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1i7cmk-0006f5-Iv for submit@debbugs.gnu.org; Tue, 10 Sep 2019 05:50:06 -0400 Received: from lists.gnu.org ([209.51.188.17]:53107) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1i7cmi-0006ew-Kv for submit@debbugs.gnu.org; Tue, 10 Sep 2019 05:50:04 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49608) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i7cmh-0004dn-61 for bug-guix@gnu.org; Tue, 10 Sep 2019 05:50:04 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: * X-Spam-Status: No, score=1.3 required=5.0 tests=BAYES_40,FREEMAIL_FROM, RCVD_IN_DNSWL_LOW,SPOOFED_FREEMAIL,URIBL_BLOCKED autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1i7cmf-0007VD-OH for bug-guix@gnu.org; Tue, 10 Sep 2019 05:50:02 -0400 Received: from mail-40133.protonmail.ch ([185.70.40.133]:13543) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1i7cmf-0007TQ-8w for bug-guix@gnu.org; Tue, 10 Sep 2019 05:50:01 -0400 Date: Tue, 10 Sep 2019 09:49:47 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=default; t=1568108995; bh=rvUbtbPcV34Lk8gcoDs9YCLwBpu3NtLWWAKVFNQFvF0=; h=Date:To:From:Reply-To:Subject:Feedback-ID:From; b=Ptcjx1+ofepz6qKELovgN3CmtPgETn634fsrhuSaVc37+Ji6IV3v9mrBe05KSXAtU 3CIS7fbwgd9kKcMC7WlVt/8EIYRiYeicEYy87uMboAysZLCEtHnP6RK8NvhO5TFrAU j5d9oufn5neGhU1acZb6rxplqB17GhGISkT1SRY8= To: "bug-guix@gnu.org" From: P Subject: ghci can't find System.IO Message-ID: Feedback-ID: Zwf-AgKjGj7p61o7kGbWJBUHpipzTNxEbnwmq2vFFWU6VWtG3efTH1K380U1ZptvR7SP_Gj0c6oobGC7S4SuLw==:Ext:ProtonMail MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 185.70.40.133 X-Spam-Score: 0.7 (/) 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: , Reply-To: P Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.3 (/) with the latest ghc (qhws2nyqmjansrnqf78mz87l74v01mfx-ghc-8.6.5) i cannot s= tart ghci, due to the following error[1] I do not have any other Haskell package in my profile [1]: ``` GHCi, version 8.6.5: http://www.haskell.org/ghc/ :? for help :1:6: error: Not in scope: =E2=80=98System.IO.hSetBuffering=E2=80=99 No module named =E2=80=98System.IO=E2=80=99 is imported. :1:30: error: Not in scope: =E2=80=98System.IO.stdin=E2=80=99 No module named =E2=80=98System.IO=E2=80=99 is imported. :1:46: error: Not in scope: data constructor =E2=80=98System.IO.NoBuffering=E2=80= =99 No module named =E2=80=98System.IO=E2=80=99 is imported. :1:70: error: Not in scope: =E2=80=98System.IO.hSetBuffering=E2=80=99 No module named =E2=80=98System.IO=E2=80=99 is imported. :1:94: error: Not in scope: =E2=80=98System.IO.stdout=E2=80=99 No module named =E2=80=98System.IO=E2=80=99 is imported. :1:111: error: Not in scope: data constructor =E2=80=98System.IO.NoBuffering=E2=80= =99 No module named =E2=80=98System.IO=E2=80=99 is imported. :1:135: error: Not in scope: =E2=80=98System.IO.hSetBuffering=E2=80=99 No module named =E2=80=98System.IO=E2=80=99 is imported. :1:159: error: Not in scope: =E2=80=98System.IO.stderr=E2=80=99 No module named =E2=80=98System.IO=E2=80=99 is imported. :1:176: error: Not in scope: data constructor =E2=80=98System.IO.NoBuffering=E2=80= =99 No module named =E2=80=98System.IO=E2=80=99 is imported. ``` ------------=_1591849562-980-1--