Skip to content

Instantly share code, notes, and snippets.

@jdiez17
Created December 31, 2014 15:52
Show Gist options
  • Save jdiez17/688594d5ba1f98310062 to your computer and use it in GitHub Desktop.
Save jdiez17/688594d5ba1f98310062 to your computer and use it in GitHub Desktop.
Step 6 : RUN su run; cabal install QuickCheck
---> Running in 8911cac2a285
Resolving dependencies...
Downloading primitive-0.5.4.0...
Downloading random-1.1...
Configuring primitive-0.5.4.0...
Configuring random-1.1...
Building primitive-0.5.4.0...
Building random-1.1...
Installed primitive-0.5.4.0
Installed random-1.1
Downloading tf-random-0.5...
Configuring tf-random-0.5...
Building tf-random-0.5...
Failed to install tf-random-0.5
Build log ( //.cabal/logs/tf-random-0.5.log ):
Configuring tf-random-0.5...
Building tf-random-0.5...
Preprocessing library 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: Warning:
In the use of `bitSize' (imported from Data.Bits):
Deprecated: "Use 'bitSizeMaybe' or 'finiteBitSize' instead"
[3 of 4] Compiling System.Random.TF.Instances ( src/System/Random/TF/Instances.hs, dist/build/System/Random/TF/Instances.o )
[4 of 4] Compiling System.Random.TF ( src/System/Random/TF.hs, dist/build/System/Random/TF.o )
In-place registering tf-random-0.5...
Creating package registration file: /tmp/pkgConf-tf-random-08.5
cabal: Error: some packages failed to install:
QuickCheck-2.7.6 depends on tf-random-0.5 which failed to install.
tf-random-0.5 failed during the final install step. The exception was:
/tmp/pkgConf-tf-random-08.5: hGetContents: invalid argument (invalid byte
sequence)
2014/12/31 15:52:30 The command [/bin/sh -c su run; cabal install QuickCheck] returned a non-zero code:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment