*** setup configure Configuring list-extras-0.2.2... Dependency base -any: using base-4.2.0.2 Using Cabal-1.8.0.6 compiled by ghc-6.12 Using compiler: ghc-6.12.3 Using install prefix: /usr/local/tmp/archive/install Binaries installed in: /usr/local/tmp/archive/install/bin Libraries installed in: /usr/local/tmp/archive/install/lib/list-extras-0.2.2/ghc-6.12.3 Private binaries installed in: /usr/local/tmp/archive/install/libexec Data files installed in: /usr/local/tmp/archive/install/share/list-extras-0.2.2 Documentation installed in: /usr/local/tmp/archive/install/share/doc/list-extras-0.2.2 Using alex version 2.3.3 found on system at: /usr/bin/alex Using ar found on system at: /usr/bin/ar Using c2hs version 0.16.0 found on system at: /usr/local/bin/c2hs Using cpphs version 1.11 found on system at: /usr/local/bin/cpphs Using ffihugs found on system at: /usr/local/bin/ffihugs Using gcc version 4.4.5 found on system at: /usr/bin/gcc Using ghc version 6.12.3 found on system at: /usr/local/bin/ghc Using ghc-pkg version 6.12.3 found on system at: /usr/local/bin/ghc-pkg Using greencard found on system at: /usr/local/tmp/archive/install/bin/greencard Using haddock version 2.8.1 found on system at: /usr/local/bin/haddock Using happy version 1.17 found on system at: /usr/local/bin/happy No hmake found Using hsc2hs version 0.67 found on system at: /usr/local/bin/hsc2hs Using hscolour version 1.17 found on system at: /usr/local/bin/HsColour Using hugs found on system at: /usr/local/bin/hugs No jhc found Using ld found on system at: /usr/bin/ld No lhc found No lhc-pkg found No nhc98 found Using pkg-config version 0.25 found on system at: /usr/bin/pkg-config Using ranlib found on system at: /usr/bin/ranlib Using strip found on system at: /usr/bin/strip Using tar found on system at: /bin/tar *** setup build Creating dist/build (and its parents) Creating dist/build/autogen (and its parents) Preprocessing library list-extras-0.2.2... Building list-extras-0.2.2... Building library... Creating dist/build (and its parents) /usr/local/bin/ghc --make -package-name list-extras-0.2.2 -hide-all-packages -fbuilding-cabal-package -i -idist/build -i. -idist/build/autogen -Idist/build/autogen -Idist/build -optP-include -optPdist/build/autogen/cabal_macros.h -odir dist/build -hidir dist/build -stubdir dist/build -package-id base-4.2.0.2-10bdacb430274706a59728e237e2bfb3 -O Prelude.Listless Data.List.Extras Data.List.Extras.Argmax Data.List.Extras.LazyLength Data.List.Extras.Pair [1 of 5] Compiling Data.List.Extras.Argmax ( Data/List/Extras/Argmax.hs, dist/build/Data/List/Extras/Argmax.o ) [2 of 5] Compiling Data.List.Extras.Pair ( Data/List/Extras/Pair.hs, dist/build/Data/List/Extras/Pair.o ) [3 of 5] Compiling Data.List.Extras.LazyLength ( Data/List/Extras/LazyLength.hs, dist/build/Data/List/Extras/LazyLength.o ) Data.List.Extras.LazyLength:1:0: Orphan rule: "lengthCompare/compare" ALWAYS forall @ a @ a1 $dOrd :: Ord Int xs :: [a] ys :: [a1] compare @ Int $dOrd (length @ a xs) (length @ a1 ys) = lengthCompare @ a @ a1 xs ys Data.List.Extras.LazyLength:1:0: Orphan rule: "lengthCompare/(<)" ALWAYS forall @ a @ a1 $dOrd :: Ord Int xs :: [a] ys :: [a1] < @ Int $dOrd (length @ a xs) (length @ a1 ys) = == @ Ordering GHC.Base.$fEqOrdering (lengthCompare @ a @ a1 xs ys) ghc-prim:GHC.Ordering.LT Data.List.Extras.LazyLength:1:0: Orphan rule: "lengthCompare/(<=)" ALWAYS forall @ a @ a1 $dOrd :: Ord Int xs :: [a] ys :: [a1] <= @ Int $dOrd (length @ a xs) (length @ a1 ys) = /= @ Ordering GHC.Base.$fEqOrdering (lengthCompare @ a @ a1 xs ys) ghc-prim:GHC.Ordering.GT Data.List.Extras.LazyLength:1:0: Orphan rule: "lengthCompare/(/=)" ALWAYS forall @ a @ a1 $dEq :: Eq Int xs :: [a] ys :: [a1] /= @ Int $dEq (length @ a xs) (length @ a1 ys) = /= @ Ordering GHC.Base.$fEqOrdering (lengthCompare @ a @ a1 xs ys) ghc-prim:GHC.Ordering.EQ Data.List.Extras.LazyLength:1:0: Orphan rule: "lengthCompare/(==)" ALWAYS forall @ a @ a1 $dEq :: Eq Int xs :: [a] ys :: [a1] == @ Int $dEq (length @ a xs) (length @ a1 ys) = == @ Ordering GHC.Base.$fEqOrdering (lengthCompare @ a @ a1 xs ys) ghc-prim:GHC.Ordering.EQ Data.List.Extras.LazyLength:1:0: Orphan rule: "lengthCompare/(>=)" ALWAYS forall @ a @ a1 $dOrd :: Ord Int xs :: [a] ys :: [a1] >= @ Int $dOrd (length @ a xs) (length @ a1 ys) = /= @ Ordering GHC.Base.$fEqOrdering (lengthCompare @ a @ a1 xs ys) ghc-prim:GHC.Ordering.LT Data.List.Extras.LazyLength:1:0: Orphan rule: "lengthCompare/(>)" ALWAYS forall @ a @ a1 $dOrd :: Ord Int xs :: [a] ys :: [a1] > @ Int $dOrd (length @ a xs) (length @ a1 ys) = == @ Ordering GHC.Base.$fEqOrdering (lengthCompare @ a @ a1 xs ys) ghc-prim:GHC.Ordering.GT Data.List.Extras.LazyLength:1:0: Orphan rule: "lengthBound\compare" ALWAYS forall @ a $dOrd :: Ord Int n :: Int xs :: [a] compare @ Int $dOrd (length @ a xs) n = lengthBound @ Ordering @ a n (flip @ Int @ Int @ Ordering (compare @ Int $dOrd)) xs Data.List.Extras.LazyLength:1:0: Orphan rule: "lengthBound\(<)" ALWAYS forall @ a $dOrd :: Ord Int n :: Int xs :: [a] < @ Int $dOrd (length @ a xs) n = lengthBound @ Bool @ a n (> @ Int $dOrd) xs Data.List.Extras.LazyLength:1:0: Orphan rule: "lengthBound\(<=)" ALWAYS forall @ a $dOrd :: Ord Int n :: Int xs :: [a] <= @ Int $dOrd (length @ a xs) n = lengthBound @ Bool @ a n (>= @ Int $dOrd) xs Data.List.Extras.LazyLength:1:0: Orphan rule: "lengthBound\(/=)" ALWAYS forall @ a $dEq :: Eq Int n :: Int xs :: [a] /= @ Int $dEq (length @ a xs) n = lengthBound @ Bool @ a n (/= @ Int $dEq) xs Data.List.Extras.LazyLength:1:0: Orphan rule: "lengthBound\(==)" ALWAYS forall @ a $dEq :: Eq Int n :: Int xs :: [a] == @ Int $dEq (length @ a xs) n = lengthBound @ Bool @ a n (== @ Int $dEq) xs Data.List.Extras.LazyLength:1:0: Orphan rule: "lengthBound\(>=)" ALWAYS forall @ a $dOrd :: Ord Int n :: Int xs :: [a] >= @ Int $dOrd (length @ a xs) n = lengthBound @ Bool @ a n (<= @ Int $dOrd) xs Data.List.Extras.LazyLength:1:0: Orphan rule: "lengthBound\(>)" ALWAYS forall @ a $dOrd :: Ord Int n :: Int xs :: [a] > @ Int $dOrd (length @ a xs) n = lengthBound @ Bool @ a n (< @ Int $dOrd) xs Data.List.Extras.LazyLength:1:0: Orphan rule: "lengthBound/compare" ALWAYS forall @ a $dOrd :: Ord Int n :: Int xs :: [a] compare @ Int $dOrd n (length @ a xs) = lengthBound @ Ordering @ a n (compare @ Int $dOrd) xs Data.List.Extras.LazyLength:1:0: Orphan rule: "lengthBound/(<)" ALWAYS forall @ a $dOrd :: Ord Int n :: Int xs :: [a] < @ Int $dOrd n (length @ a xs) = lengthBound @ Bool @ a n (< @ Int $dOrd) xs Data.List.Extras.LazyLength:1:0: Orphan rule: "lengthBound/(<=)" ALWAYS forall @ a $dOrd :: Ord Int n :: Int xs :: [a] <= @ Int $dOrd n (length @ a xs) = lengthBound @ Bool @ a n (<= @ Int $dOrd) xs Data.List.Extras.LazyLength:1:0: Orphan rule: "lengthBound/(/=)" ALWAYS forall @ a $dEq :: Eq Int n :: Int xs :: [a] /= @ Int $dEq n (length @ a xs) = lengthBound @ Bool @ a n (/= @ Int $dEq) xs Data.List.Extras.LazyLength:1:0: Orphan rule: "lengthBound/(==)" ALWAYS forall @ a $dEq :: Eq Int n :: Int xs :: [a] == @ Int $dEq n (length @ a xs) = lengthBound @ Bool @ a n (== @ Int $dEq) xs Data.List.Extras.LazyLength:1:0: Orphan rule: "lengthBound/(>=)" ALWAYS forall @ a $dOrd :: Ord Int n :: Int xs :: [a] >= @ Int $dOrd n (length @ a xs) = lengthBound @ Bool @ a n (>= @ Int $dOrd) xs Data.List.Extras.LazyLength:1:0: Orphan rule: "lengthBound/(>)" ALWAYS forall @ a $dOrd :: Ord Int n :: Int xs :: [a] > @ Int $dOrd n (length @ a xs) = lengthBound @ Bool @ a n (> @ Int $dOrd) xs : Failing due to -Werror. *** Trying again with preferred-versions *** setup configure Configuring list-extras-0.2.2... Dependency base <4: using base-3.0.3.2 Using Cabal-1.8.0.6 compiled by ghc-6.12 Using compiler: ghc-6.12.3 Using install prefix: /usr/local/tmp/archive/install Binaries installed in: /usr/local/tmp/archive/install/bin Libraries installed in: /usr/local/tmp/archive/install/lib/list-extras-0.2.2/ghc-6.12.3 Private binaries installed in: /usr/local/tmp/archive/install/libexec Data files installed in: /usr/local/tmp/archive/install/share/list-extras-0.2.2 Documentation installed in: /usr/local/tmp/archive/install/share/doc/list-extras-0.2.2 Using alex version 2.3.3 found on system at: /usr/bin/alex Using ar found on system at: /usr/bin/ar Using c2hs version 0.16.0 found on system at: /usr/local/bin/c2hs Using cpphs version 1.11 found on system at: /usr/local/bin/cpphs Using ffihugs found on system at: /usr/local/bin/ffihugs Using gcc version 4.4.5 found on system at: /usr/bin/gcc Using ghc version 6.12.3 found on system at: /usr/local/bin/ghc Using ghc-pkg version 6.12.3 found on system at: /usr/local/bin/ghc-pkg Using greencard found on system at: /usr/local/tmp/archive/install/bin/greencard Using haddock version 2.8.1 found on system at: /usr/local/bin/haddock Using happy version 1.17 found on system at: /usr/local/bin/happy No hmake found Using hsc2hs version 0.67 found on system at: /usr/local/bin/hsc2hs Using hscolour version 1.17 found on system at: /usr/local/bin/HsColour Using hugs found on system at: /usr/local/bin/hugs No jhc found Using ld found on system at: /usr/bin/ld No lhc found No lhc-pkg found No nhc98 found Using pkg-config version 0.25 found on system at: /usr/bin/pkg-config Using ranlib found on system at: /usr/bin/ranlib Using strip found on system at: /usr/bin/strip Using tar found on system at: /bin/tar *** setup haddock Running Haddock for list-extras-0.2.2... /usr/local/bin/haddock --use-contents=/package/list-extras-0.2.2 --built-in-themes --ghc-version Creating dist/build (and its parents) Creating dist/build/autogen (and its parents) Preprocessing library list-extras-0.2.2... Running hscolour for list-extras-0.2.2... Creating dist/doc/html/list-extras (and its parents) Creating dist/doc/html/list-extras/src (and its parents) /usr/local/bin/HsColour -print-css -odist/doc/html/list-extras/src/hscolour.css /usr/local/bin/HsColour -css -anchor -odist/doc/html/list-extras/src/Prelude-Listless.html Prelude/Listless.hs /usr/local/bin/HsColour -css -anchor -odist/doc/html/list-extras/src/Data-List-Extras.html Data/List/Extras.hs /usr/local/bin/HsColour -css -anchor -odist/doc/html/list-extras/src/Data-List-Extras-Argmax.html Data/List/Extras/Argmax.hs /usr/local/bin/HsColour -css -anchor -odist/doc/html/list-extras/src/Data-List-Extras-LazyLength.html Data/List/Extras/LazyLength.hs /usr/local/bin/HsColour -css -anchor -odist/doc/html/list-extras/src/Data-List-Extras-Pair.html Data/List/Extras/Pair.hs Warning: The documentation for the following packages are not installed. No links will be generated to these packages: base-3.0.3.2, ffi-1.0, rts-1.0 /usr/local/bin/ghc --print-libdir copy Prelude/Listless.hs to dist/build/tmp22452/Prelude/Listless.hs copy Data/List/Extras.hs to dist/build/tmp22452/Data/List/Extras.hs copy Data/List/Extras/Argmax.hs to dist/build/tmp22452/Data/List/Extras/Argmax.hs copy Data/List/Extras/LazyLength.hs to dist/build/tmp22452/Data/List/Extras/LazyLength.hs copy Data/List/Extras/Pair.hs to dist/build/tmp22452/Data/List/Extras/Pair.hs Creating dist/doc/html/list-extras/ (and its parents) /usr/local/bin/haddock --use-contents=/package/list-extras-0.2.2 --built-in-themes --prologue=dist/doc/html/list-extras/haddock-prolog22452.txt --dump-interface=dist/doc/html/list-extras/list-extras.haddock --optghc=-package-name --optghc=list-extras-0.2.2 --source-module=src/%{MODULE/./-}.html --source-entity=src/%{MODULE/./-}.html#%{NAME} --verbosity=1 --html --read-interface=/packages/archive/base/4.2.0.2/doc/html,/usr/local/share/doc/ghc/html/libraries/base-4.2.0.2/base.haddock --read-interface=/packages/archive/ghc-prim/0.2.0.0/doc/html,/usr/local/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/ghc-prim.haddock --read-interface=/packages/archive/integer-gmp/0.2.0.1/doc/html,/usr/local/share/doc/ghc/html/libraries/integer-gmp-0.2.0.1/integer-gmp.haddock --read-interface=/packages/archive/syb/0.1.0.2/doc/html,/usr/local/share/doc/ghc/html/libraries/syb-0.1.0.2/syb.haddock --odir=dist/doc/html/list-extras/ --title=list-extras-0.2.2: Common not-so-common functions for lists --optghc=-hide-all-packages --optghc=-fbuilding-cabal-package --optghc=-i --optghc=-idist/build --optghc=-i. --optghc=-idist/build/autogen --optghc=-Idist/build/autogen --optghc=-Idist/build --optghc=-optP-include --optghc=-optPdist/build/autogen/cabal_macros.h --optghc=-odir --optghc=dist/build --optghc=-hidir --optghc=dist/build --optghc=-stubdir --optghc=dist/build --optghc=-package-id --optghc=base-3.0.3.2-260693a92016991a03206b5a55f6a411 --optghc=-O -B/usr/local/lib/ghc-6.12.3 dist/build/tmp22452/Prelude/Listless.hs dist/build/tmp22452/Data/List/Extras.hs dist/build/tmp22452/Data/List/Extras/Argmax.hs dist/build/tmp22452/Data/List/Extras/LazyLength.hs dist/build/tmp22452/Data/List/Extras/Pair.hs dist/build/tmp22452/Data/List/Extras/Argmax.hs:1:0: Warning: Module `Prelude' is deprecated: You are using the old package `base' version 3.x. Future GHC versions will not support base version 3.x. You should update your code to use the new base version 4.x. : Failing due to -Werror.