Skip to content

Instantly share code, notes, and snippets.

@freeman42x
Created August 19, 2019 02:42
Show Gist options
  • Save freeman42x/abf9f01bbc551b728365b78b2f25664a to your computer and use it in GitHub Desktop.
Save freeman42x/abf9f01bbc551b728365b78b2f25664a to your computer and use it in GitHub Desktop.
Network.BSD not exported
Progress 8/54
-- While building package network-bsd-2.8.0.0 using:
/home/neo/.stack/setup-exe-cache/x86_64-linux-nix/Cabal-simple_mPHDZzAJ_2.4.0.1_ghc-8.6.4 --builddir=.stack-work/dist/x86_64-linux-nix/Cabal-2.4.0.1 configure --with-ghc=/nix/store/gvshp9yvc6gql09r3cyryj2zgsnfk6br-ghc-8.6.4/bin/ghc --with-ghc-pkg=/nix/store/gvshp9yvc6gql09r3cyryj2zgsnfk6br-ghc-8.6.4/bin/ghc-pkg --user --package-db=clear --package-db=global --package-db=/home/neo/.stack/snapshots/x86_64-linux-nix/lts-13.19/8.6.4/pkgdb --package-db=/home/neo/Forks/lambdabot/.stack-work/install/x86_64-linux-nix/lts-13.19/8.6.4/pkgdb --libdir=/home/neo/Forks/lambdabot/.stack-work/install/x86_64-linux-nix/lts-13.19/8.6.4/lib --bindir=/home/neo/Forks/lambdabot/.stack-work/install/x86_64-linux-nix/lts-13.19/8.6.4/bin --datadir=/home/neo/Forks/lambdabot/.stack-work/install/x86_64-linux-nix/lts-13.19/8.6.4/share --libexecdir=/home/neo/Forks/lambdabot/.stack-work/install/x86_64-linux-nix/lts-13.19/8.6.4/libexec --sysconfdir=/home/neo/Forks/lambdabot/.stack-work/install/x86_64-linux-nix/lts-13.19/8.6.4/etc --docdir=/home/neo/Forks/lambdabot/.stack-work/install/x86_64-linux-nix/lts-13.19/8.6.4/doc/network-bsd-2.8.0.0 --htmldir=/home/neo/Forks/lambdabot/.stack-work/install/x86_64-linux-nix/lts-13.19/8.6.4/doc/network-bsd-2.8.0.0 --haddockdir=/home/neo/Forks/lambdabot/.stack-work/install/x86_64-linux-nix/lts-13.19/8.6.4/doc/network-bsd-2.8.0.0 --dependency=base=base-4.12.0.0 --dependency=network=network-3.1.0.1-3hHBpw17wpa9MleAlG8j6i --exact-configuration
Process exited with code: ExitFailure 1
Logs have been written to: /home/neo/Forks/lambdabot/.stack-work/logs/network-bsd-2.8.0.0.log
Configuring network-bsd-2.8.0.0...
Error:
Problem with module re-exports:
- The module 'Network.BSD'
is not exported by any suitable package.
It occurs in neither the 'exposed-modules' of this package,
nor any of its 'build-depends' dependencies.
In the stanza library
-- While building package socks-0.5.6 using:
/home/neo/.stack/setup-exe-cache/x86_64-linux-nix/Cabal-simple_mPHDZzAJ_2.4.0.1_ghc-8.6.4 --builddir=.stack-work/dist/x86_64-linux-nix/Cabal-2.4.0.1 build --ghc-options " -ddump-hi -ddump-to-file -fdiagnostics-color=always"
Process exited with code: ExitFailure 1
Logs have been written to: /home/neo/Forks/lambdabot/.stack-work/logs/socks-0.5.6.log
Configuring socks-0.5.6...
Preprocessing library for socks-0.5.6..
Building library for socks-0.5.6..
[1 of 7] Compiling Network.Socks5.Parse ( Network/Socks5/Parse.hs, .stack-work/dist/x86_64-linux-nix/Cabal-2.4.0.1/build/Network/Socks5/Parse.o )
[2 of 7] Compiling Network.Socks5.Types ( Network/Socks5/Types.hs, .stack-work/dist/x86_64-linux-nix/Cabal-2.4.0.1/build/Network/Socks5/Types.o )
[3 of 7] Compiling Network.Socks5.Conf ( Network/Socks5/Conf.hs, .stack-work/dist/x86_64-linux-nix/Cabal-2.4.0.1/build/Network/Socks5/Conf.o )
[4 of 7] Compiling Network.Socks5.Wire ( Network/Socks5/Wire.hs, .stack-work/dist/x86_64-linux-nix/Cabal-2.4.0.1/build/Network/Socks5/Wire.o )
/tmp/stack-a16318e727d2f43d/socks-0.5.6/Network/Socks5/Wire.hs:15:1: warning: [-Wunused-imports]
The import of ‘Control.Applicative’ is redundant
except perhaps to import instances from ‘Control.Applicative’
To import instances alone, use: import Control.Applicative()
|
15 | import Control.Applicative
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
/tmp/stack-a16318e727d2f43d/socks-0.5.6/Network/Socks5/Wire.hs:23:1: warning: [-Wunused-imports]
The import of ‘Network.Socks5.Parse’ is redundant
except perhaps to import instances from ‘Network.Socks5.Parse’
To import instances alone, use: import Network.Socks5.Parse()
|
23 | import Network.Socks5.Parse as P (anyByte, take)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[5 of 7] Compiling Network.Socks5.Command ( Network/Socks5/Command.hs, .stack-work/dist/x86_64-linux-nix/Cabal-2.4.0.1/build/Network/Socks5/Command.o )
/tmp/stack-a16318e727d2f43d/socks-0.5.6/Network/Socks5/Command.hs:25:1: warning: [-Wunused-imports]
The import of ‘Control.Applicative’ is redundant
except perhaps to import instances from ‘Control.Applicative’
To import instances alone, use: import Control.Applicative()
|
25 | import Control.Applicative
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
[6 of 7] Compiling Network.Socks5.Lowlevel ( Network/Socks5/Lowlevel.hs, .stack-work/dist/x86_64-linux-nix/Cabal-2.4.0.1/build/Network/Socks5/Lowlevel.o )
/tmp/stack-a16318e727d2f43d/socks-0.5.6/Network/Socks5/Lowlevel.hs:10:1: error:
Could not load module ‘Network.BSD’
It is a member of the hidden package ‘network-2.8.0.1’.
Perhaps you need to add ‘network’ to the build-depends in your .cabal file.
Use -v to see a list of the files searched for.
|
10 | import Network.BSD
| ^^^^^^^^^^^^^^^^^^
-- While building package hslogger-1.2.12 using:
/home/neo/.stack/setup-exe-cache/x86_64-linux-nix/Cabal-simple_mPHDZzAJ_2.4.0.1_ghc-8.6.4 --builddir=.stack-work/dist/x86_64-linux-nix/Cabal-2.4.0.1 build --ghc-options " -ddump-hi -ddump-to-file -fdiagnostics-color=always"
Process exited with code: ExitFailure 1
Logs have been written to: /home/neo/Forks/lambdabot/.stack-work/logs/hslogger-1.2.12.log
Configuring hslogger-1.2.12...
Preprocessing library for hslogger-1.2.12..
Building library for hslogger-1.2.12..
[1 of 8] Compiling System.Log ( src/System/Log.hs, .stack-work/dist/x86_64-linux-nix/Cabal-2.4.0.1/build/System/Log.o )
[2 of 8] Compiling System.Log.Formatter ( src/System/Log/Formatter.hs, .stack-work/dist/x86_64-linux-nix/Cabal-2.4.0.1/build/System/Log/Formatter.o )
[3 of 8] Compiling System.Log.Handler ( src/System/Log/Handler.hs, .stack-work/dist/x86_64-linux-nix/Cabal-2.4.0.1/build/System/Log/Handler.o )
[4 of 8] Compiling System.Log.Handler.Growl ( src/System/Log/Handler/Growl.hs, .stack-work/dist/x86_64-linux-nix/Cabal-2.4.0.1/build/System/Log/Handler/Growl.o )
/tmp/stack-a16318e727d2f43d/hslogger-1.2.12/src/System/Log/Handler/Growl.hs:21:1: error:
Could not load module ‘Network.BSD’
It is a member of the hidden package ‘network-2.8.0.1’.
Perhaps you need to add ‘network’ to the build-depends in your .cabal file.
Use -v to see a list of the files searched for.
|
21 | import Network.BSD
| ^^^^^^^^^^^^^^^^^^
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment