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"
Created attachment 644080 [details] emerge-info.txt
Created attachment 644082 [details] dev-haskell:tls-1.3.9:20200609-045825.log
Created attachment 644084 [details] emerge-history.txt
Created attachment 644086 [details] environment
Created attachment 644088 [details] etc.portage.tbz2
Created attachment 644090 [details] temp.tbz2
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/