Skip to content

Instantly share code, notes, and snippets.

@alunduil
Created March 26, 2020 03:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save alunduil/f99d0a27f96803c602d040fd6ba17edf to your computer and use it in GitHub Desktop.
Save alunduil/f99d0a27f96803c602d040fd6ba17edf to your computer and use it in GitHub Desktop.
stdin
+ '[' -e Makefile ']'
+ '[' -e zfs-replicate.cabal ']'
+ hlint src test
No hints
+ cabal v2-clean
+ cabal v2-configure -O0 --enable-tests --enable-benchmarks
'cabal.project.local' file already exists. Now overwriting it.
Resolving dependencies...
Build profile: -w ghc-8.6.5 -O0
In order, the following would be built (use -v for more details):
- call-stack-0.2.0 (lib) (requires build)
- hspec-discover-2.7.1 (lib) (requires build)
- optparse-applicative-0.15.1.0 (lib) (requires build)
- setenv-0.1.1.3 (lib) (requires build)
- splitmix-0.0.4 (lib) (requires build)
- tf-random-0.5 (lib) (requires build)
- HUnit-1.6.0.0 (lib) (requires build)
- hspec-discover-2.7.1 (exe:hspec-discover) (requires build)
- zfs-replicate-0.2.0.0 (exe:zfs-replicate) (first run)
- QuickCheck-2.13.2 (lib) (requires build)
- hspec-expectations-0.8.2 (lib) (requires build)
- quickcheck-io-0.2.0 (lib) (requires build)
- hspec-core-2.7.1 (lib) (requires build)
- hspec-2.7.1 (lib) (requires build)
- zfs-replicate-0.2.0.0 (test:zfs-replicate-tests) (first run)
+ cabal v2-build -j --ghc-options=-Werror
Resolving dependencies...
Build profile: -w ghc-8.6.5 -O0
In order, the following will be built (use -v for more details):
- call-stack-0.2.0 (lib) (requires build)
- optparse-applicative-0.15.1.0 (lib) (requires build)
- setenv-0.1.1.3 (lib) (requires build)
- splitmix-0.0.4 (lib) (requires build)
- tf-random-0.5 (lib) (requires build)
- HUnit-1.6.0.0 (lib) (requires build)
- zfs-replicate-0.2.0.0 (exe:zfs-replicate) (first run)
- QuickCheck-2.13.2 (lib) (requires build)
- hspec-expectations-0.8.2 (lib) (requires build)
- quickcheck-io-0.2.0 (lib) (requires build)
- hspec-core-2.7.1 (lib) (requires build)
- hspec-2.7.1 (lib) (requires build)
- zfs-replicate-0.2.0.0 (test:zfs-replicate-tests) (first run)
Starting call-stack-0.2.0 (lib)
Starting setenv-0.1.1.3 (lib)
Starting optparse-applicative-0.15.1.0 (lib)
Starting tf-random-0.5 (lib)
Starting splitmix-0.0.4 (lib)
Building splitmix-0.0.4 (lib)
Building call-stack-0.2.0 (lib)
Building optparse-applicative-0.15.1.0 (lib)
Building setenv-0.1.1.3 (lib)
Building tf-random-0.5 (lib)
Failed to build call-stack-0.2.0.
Build log (
/home/alunduil/.cabal/logs/ghc-8.6.5/call-stack-0.2.0-c18d993a8474e49ed94fb9121adbcdc3da711908b1d0012dad6a01d98a869d1e.log
):
Configuring library for call-stack-0.2.0..
Preprocessing library for call-stack-0.2.0..
Building library for call-stack-0.2.0..
[1 of 3] Compiling Data.SrcLoc ( src/Data/SrcLoc.hs, dist/build/Data/SrcLoc.o )
[2 of 3] Compiling Data.CallStack ( src/Data/CallStack.hs, dist/build/Data/CallStack.o )
[3 of 3] Compiling Paths_call_stack ( dist/build/autogen/Paths_call_stack.hs, dist/build/Paths_call_stack.o )
cabal: The program 'ar' is required but it could not be found.
Failed to build optparse-applicative-0.15.1.0.
Build log (
/home/alunduil/.cabal/logs/ghc-8.6.5/optparse-applicative-0.15.1.0-6e332104f71c561b3ca73103b44be00d410a7d8decc09bfb92484f08c8788980.log
):
Configuring library for optparse-applicative-0.15.1.0..
Preprocessing library for optparse-applicative-0.15.1.0..
Building library for optparse-applicative-0.15.1.0..
[ 1 of 16] Compiling Options.Applicative.Help.Levenshtein ( src/Options/Applicative/Help/Levenshtein.hs, dist/build/Options/Applicative/Help/Levenshtein.o )
[ 2 of 16] Compiling Options.Applicative.Help.Pretty ( src/Options/Applicative/Help/Pretty.hs, dist/build/Options/Applicative/Help/Pretty.o )
[ 3 of 16] Compiling Options.Applicative.Help.Chunk ( src/Options/Applicative/Help/Chunk.hs, dist/build/Options/Applicative/Help/Chunk.o )
[ 4 of 16] Compiling Options.Applicative.Help.Types ( src/Options/Applicative/Help/Types.hs, dist/build/Options/Applicative/Help/Types.o )
[ 5 of 16] Compiling Options.Applicative.Types ( src/Options/Applicative/Types.hs, dist/build/Options/Applicative/Types.o )
[ 6 of 16] Compiling Options.Applicative.Internal ( src/Options/Applicative/Internal.hs, dist/build/Options/Applicative/Internal.o )
[ 7 of 16] Compiling Options.Applicative.Common ( src/Options/Applicative/Common.hs, dist/build/Options/Applicative/Common.o )
[ 8 of 16] Compiling Options.Applicative.Help.Core ( src/Options/Applicative/Help/Core.hs, dist/build/Options/Applicative/Help/Core.o )
[ 9 of 16] Compiling Options.Applicative.Help ( src/Options/Applicative/Help.hs, dist/build/Options/Applicative/Help.o )
[10 of 16] Compiling Options.Applicative.Builder.Internal ( src/Options/Applicative/Builder/Internal.hs, dist/build/Options/Applicative/Builder/Internal.o )
[11 of 16] Compiling Options.Applicative.Builder.Completer ( src/Options/Applicative/Builder/Completer.hs, dist/build/Options/Applicative/Builder/Completer.o )
[12 of 16] Compiling Options.Applicative.Builder ( src/Options/Applicative/Builder.hs, dist/build/Options/Applicative/Builder.o )
src/Options/Applicative/Builder.hs:107:1: error: [-Wunused-imports, -Werror=unused-imports]
The import of ‘Data.Semigroup’ is redundant
except perhaps to import instances from ‘Data.Semigroup’
To import instances alone, use: import Data.Semigroup()
|
107 | import Data.Semigroup hiding (option)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Failed to build setenv-0.1.1.3.
Build log (
/home/alunduil/.cabal/logs/ghc-8.6.5/setenv-0.1.1.3-2ed48ca4824d55698b2d56f13c5fea8cd87eb234ab1abe58f13ddb14505addc3.log
):
Configuring library for setenv-0.1.1.3..
Preprocessing library for setenv-0.1.1.3..
Building library for setenv-0.1.1.3..
[1 of 1] Compiling System.SetEnv ( src/System/SetEnv.hs, dist/build/System/SetEnv.o )
cabal: The program 'ar' is required but it could not be found.
Failed to build splitmix-0.0.4.
Build log (
/home/alunduil/.cabal/logs/ghc-8.6.5/splitmix-0.0.4-89558f6b74ae5d59b74da04246450b06f6a5515462416aa1deaf3e276b838373.log
):
Configuring library for splitmix-0.0.4..
Preprocessing library for splitmix-0.0.4..
Building library for splitmix-0.0.4..
[1 of 3] Compiling Data.Bits.Compat ( src-compat/Data/Bits/Compat.hs, dist/build/Data/Bits/Compat.o )
[2 of 3] Compiling System.Random.SplitMix ( src/System/Random/SplitMix.hs, dist/build/System/Random/SplitMix.o )
[3 of 3] Compiling System.Random.SplitMix32 ( src/System/Random/SplitMix32.hs, dist/build/System/Random/SplitMix32.o )
cabal: The program 'ar' is required but it could not be found.
Failed to build tf-random-0.5.
Build log (
/home/alunduil/.cabal/logs/ghc-8.6.5/tf-random-0.5-2fab5199f02893051f50bd5c4a746b4e4a25db3e0c3ca027d97aa61c2adc413f.log
):
Configuring library for tf-random-0.5..
Preprocessing library for tf-random-0.5..
Building library for tf-random-0.5..
[1 of 4] Compiling System.Random.TF.Gen ( src/System/Random/TF/Gen.hs, dist/build/System/Random/TF/Gen.o )
[2 of 4] Compiling System.Random.TF.Init ( src/System/Random/TF/Init.hs, dist/build/System/Random/TF/Init.o )
src/System/Random/TF/Init.hs:94:5: error: [-Wdeprecations, -Werror=deprecations]
In the use of ‘bitSize’ (imported from Data.Bits):
Deprecated: "Use 'bitSizeMaybe' or 'finiteBitSize' instead"
|
94 | | bitSize n > 64 = error "mkTFGen: case where size of Int > 64 not implemented"
| ^^^^^^^
cabal: Failed to build call-stack-0.2.0 (which is required by
test:zfs-replicate-tests from zfs-replicate-0.2.0.0). See the build log above
for details.
Failed to build optparse-applicative-0.15.1.0 (which is required by
exe:zfs-replicate from zfs-replicate-0.2.0.0). See the build log above for
details.
Failed to build setenv-0.1.1.3 (which is required by test:zfs-replicate-tests
from zfs-replicate-0.2.0.0). See the build log above for details.
Failed to build splitmix-0.0.4 (which is required by test:zfs-replicate-tests
from zfs-replicate-0.2.0.0). See the build log above for details.
Failed to build tf-random-0.5 (which is required by test:zfs-replicate-tests
from zfs-replicate-0.2.0.0). See the build log above for details.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment