Skip to content

Instantly share code, notes, and snippets.

@ozgurakgun
Last active July 10, 2016 18:19
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 ozgurakgun/123288528a6679ddf89d3637a45d099d to your computer and use it in GitHub Desktop.
Save ozgurakgun/123288528a6679ddf89d3637a45d099d to your computer and use it in GitHub Desktop.
reproducing QuickCheck #101
Name: reproduce
Build-type: Simple
Cabal-version: >= 1.20
Library
default-language : Haskell2010
build-depends : base
, pretty > 1.1.1.1
, QuickCheck == 2.8.2
$ ghc --version
The Glorious Glasgow Haskell Compilation System, version 7.8.4
$ cabal sandbox init
$ cabal install --dry-run
Resolving dependencies...
In order, the following would be installed (use -v for more details):
ghc-boot-th-8.0.1
pretty-1.1.3.4
primitive-0.6.1.0
random-1.1
template-haskell-2.11.0.0 <-- triggers a reinstall of template-haskell
tf-random-0.5
QuickCheck-2.8.2 <-- which does not work with QC
reproduce
$ cabal install
[snip]
Configuring QuickCheck-2.8.2...
Building QuickCheck-2.8.2...
Failed to install QuickCheck-2.8.2
Build log ( /scratch1/ozgur/repos/github/conjure/tmp/.cabal-sandbox/logs/QuickCheck-2.8.2.log ):
cabal: Entering directory '/tmp/cabal-tmp-34845/QuickCheck-2.8.2'
Configuring QuickCheck-2.8.2...
Building QuickCheck-2.8.2...
Preprocessing library QuickCheck-2.8.2...
[ 1 of 15] Compiling Test.QuickCheck.Random ( Test/QuickCheck/Random.hs, dist/dist-sandbox-33840116/build/Test/QuickCheck/Random.o )
[ 2 of 15] Compiling Test.QuickCheck.Exception ( Test/QuickCheck/Exception.hs, dist/dist-sandbox-33840116/build/Test/QuickCheck/Exception.o )
[ 3 of 15] Compiling Test.QuickCheck.Text ( Test/QuickCheck/Text.hs, dist/dist-sandbox-33840116/build/Test/QuickCheck/Text.o )
[ 4 of 15] Compiling Test.QuickCheck.State ( Test/QuickCheck/State.hs, dist/dist-sandbox-33840116/build/Test/QuickCheck/State.o )
[ 5 of 15] Compiling Test.QuickCheck.Gen ( Test/QuickCheck/Gen.hs, dist/dist-sandbox-33840116/build/Test/QuickCheck/Gen.o )
[ 6 of 15] Compiling Test.QuickCheck.Gen.Unsafe ( Test/QuickCheck/Gen/Unsafe.hs, dist/dist-sandbox-33840116/build/Test/QuickCheck/Gen/Unsafe.o )
[ 7 of 15] Compiling Test.QuickCheck.Arbitrary ( Test/QuickCheck/Arbitrary.hs, dist/dist-sandbox-33840116/build/Test/QuickCheck/Arbitrary.o )
Test/QuickCheck/Arbitrary.hs:304:10: Warning: Unrecognised pragma
Test/QuickCheck/Arbitrary.hs:307:10: Warning: Unrecognised pragma
[ 8 of 15] Compiling Test.QuickCheck.Modifiers ( Test/QuickCheck/Modifiers.hs, dist/dist-sandbox-33840116/build/Test/QuickCheck/Modifiers.o )
[ 9 of 15] Compiling Test.QuickCheck.Poly ( Test/QuickCheck/Poly.hs, dist/dist-sandbox-33840116/build/Test/QuickCheck/Poly.o )
[10 of 15] Compiling Test.QuickCheck.Function ( Test/QuickCheck/Function.hs, dist/dist-sandbox-33840116/build/Test/QuickCheck/Function.o )
[11 of 15] Compiling Test.QuickCheck.Property ( Test/QuickCheck/Property.hs, dist/dist-sandbox-33840116/build/Test/QuickCheck/Property.o )
[12 of 15] Compiling Test.QuickCheck.Test ( Test/QuickCheck/Test.hs, dist/dist-sandbox-33840116/build/Test/QuickCheck/Test.o )
[13 of 15] Compiling Test.QuickCheck.All ( Test/QuickCheck/All.hs, dist/dist-sandbox-33840116/build/Test/QuickCheck/All.o )
Test/QuickCheck/All.hs:91:11:
Constructor ‘ClassOpI’ should have 3 arguments, but has been given 4
In the pattern: ClassOpI _ ty _ _
In an equation for ‘infoType’: infoType (ClassOpI _ ty _ _) = ty
cabal: Leaving directory '/tmp/cabal-tmp-34845/QuickCheck-2.8.2'
cabal: Error: some packages failed to install:
QuickCheck-2.8.2 failed during the building phase. The exception was:
ExitFailure 1
reproduce depends on QuickCheck-2.8.2 which failed to install.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment