Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 727620 - dev-haskell/tls-1.3.9 : Not in scope: type constructor or class Network.Socket
Summary: dev-haskell/tls-1.3.9 : Not in scope: type constructor or class Network.Socket
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo's Haskell Language team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-06-09 07:48 UTC by Toralf Förster
Modified: 2022-03-01 21:52 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,16.17 KB, text/plain)
2020-06-09 07:48 UTC, Toralf Förster
Details
dev-haskell:tls-1.3.9:20200609-045825.log (dev-haskell:tls-1.3.9:20200609-045825.log,9.07 KB, text/plain)
2020-06-09 07:48 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,52.33 KB, text/plain)
2020-06-09 07:48 UTC, Toralf Förster
Details
environment (environment,102.18 KB, text/plain)
2020-06-09 07:48 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,10.91 KB, application/x-bzip)
2020-06-09 07:48 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,25.71 KB, application/x-bzip)
2020-06-09 07:48 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2020-06-09 07:48:01 UTC
Network/TLS/Backend.hs:62:13: error:
    Not in scope: type constructor or class Network.Socket
    No module named Network is imported.

Network/TLS/Backend.hs:64:12: error:

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_gnome-libressl-20200607-160251

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-10.1.0 *
clang version 10.0.0 
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/10/bin
/usr/lib/llvm/10
10.0.0
Available Python interpreters, in order of preference:
  [1]   python3.7
  [2]   python3.9 (fallback)
  [3]   python3.8 (fallback)
  [4]   python2.7 (fallback)
The following VMs are available for generation-2:
*)	IcedTea JDK 3.16.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm

The Glorious Glasgow Haskell Compilation System, version 8.0.2

  timestamp(s) of HEAD at this tinderbox image:
/var/db/repos/gentoo	Tue 09 Jun 2020 04:05:25 AM UTC
/var/db/repos/libressl	Tue 02 Jun 2020 02:35:03 AM UTC

emerge -qpvO dev-haskell/tls
[ebuild  N    ] dev-haskell/tls-1.3.9  USE="compat -doc -hscolour -network -profile -test"
Comment 1 Toralf Förster gentoo-dev 2020-06-09 07:48:04 UTC
Created attachment 644080 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-06-09 07:48:07 UTC
Created attachment 644082 [details]
dev-haskell:tls-1.3.9:20200609-045825.log
Comment 3 Toralf Förster gentoo-dev 2020-06-09 07:48:10 UTC
Created attachment 644084 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2020-06-09 07:48:14 UTC
Created attachment 644086 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2020-06-09 07:48:17 UTC
Created attachment 644088 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-06-09 07:48:21 UTC
Created attachment 644090 [details]
temp.tbz2
Comment 7 Vincent de Phily 2022-03-01 21:52:04 UTC
Looks like enabling `network` fixes the problem, the ebuild should probably always enable it. Not sure what use is a TLS lib without network support anyway.

https://www.reddit.com/r/Gentoo/comments/t3x4fq/devhaskelltls_fails_to_compile/