GNU bug report logs -
#37366
ghci can't find System.IO
Previous Next
Reported by: P <pronaip <at> protonmail.com>
Date: Tue, 10 Sep 2019 09:51:02 UTC
Severity: normal
Done: Royce Strange <royball <at> disroot.org>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 37366 in the body.
You can then email your comments to 37366 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-guix <at> gnu.org
:
bug#37366
; Package
guix
.
(Tue, 10 Sep 2019 09:51:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
P <pronaip <at> protonmail.com>
:
New bug report received and forwarded. Copy sent to
bug-guix <at> gnu.org
.
(Tue, 10 Sep 2019 09:51:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
with the latest ghc (qhws2nyqmjansrnqf78mz87l74v01mfx-ghc-8.6.5) i cannot start 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
<interactive>:1:6: error:
Not in scope: ‘System.IO.hSetBuffering’
No module named ‘System.IO’ is imported.
<interactive>:1:30: error:
Not in scope: ‘System.IO.stdin’
No module named ‘System.IO’ is imported.
<interactive>:1:46: error:
Not in scope: data constructor ‘System.IO.NoBuffering’
No module named ‘System.IO’ is imported.
<interactive>:1:70: error:
Not in scope: ‘System.IO.hSetBuffering’
No module named ‘System.IO’ is imported.
<interactive>:1:94: error:
Not in scope: ‘System.IO.stdout’
No module named ‘System.IO’ is imported.
<interactive>:1:111: error:
Not in scope: data constructor ‘System.IO.NoBuffering’
No module named ‘System.IO’ is imported.
<interactive>:1:135: error:
Not in scope: ‘System.IO.hSetBuffering’
No module named ‘System.IO’ is imported.
<interactive>:1:159: error:
Not in scope: ‘System.IO.stderr’
No module named ‘System.IO’ is imported.
<interactive>:1:176: error:
Not in scope: data constructor ‘System.IO.NoBuffering’
No module named ‘System.IO’ is imported.
```
Reply sent
to
Royce Strange <royball <at> disroot.org>
:
You have taken responsibility.
(Thu, 11 Jun 2020 04:26:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
P <pronaip <at> protonmail.com>
:
bug acknowledged by developer.
(Thu, 11 Jun 2020 04:26:02 GMT)
Full text and
rfc822 format available.
Message #10 received at 37366-done <at> debbugs.gnu.org (full text, mbox):
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
<interactive>:1:6: error:
Not in scope: `System.IO.hSetBuffering'
No module named `System.IO' is imported.
<interactive>: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.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Thu, 09 Jul 2020 11:24:06 GMT)
Full text and
rfc822 format available.
This bug report was last modified 3 years and 305 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.