ekmett / bytes

Serialization primitives that work with both cereal and binary.
http://hackage.haskell.org/package/bytes
Other
22 stars 13 forks source link

Compilation failure on GHC 7.4 #17

Closed snoyberg closed 10 years ago

snoyberg commented 10 years ago

Full error message below. tl;dr: Data.Ord doesn't provide the Down newtype wrapper.

creating dist/build/autogen
creating dist/build
creating dist/build/autogen
Component build order: library
creating dist/build
creating dist/build/autogen
Building bytes-0.14...
Preprocessing library bytes-0.14...
Building library...
'/opt/ghc-7.4.2/bin/ghc' '--info'
'/opt/ghc-7.4.2/bin/ghc' '--info'
creating dist/build
/opt/ghc-7.4.2/bin/ghc --make -fbuilding-cabal-package -O -outputdir dist/build -odir dist/build -hidir dist/build -stubdir dist/build -i -idist/build -isrc -idist/build/autogen -Idist/build/autogen -Idist/build -optP-include -optPdist/build/autogen/cabal_macros.h -package-name bytes-0.14 -hide-all-packages -no-user-package-conf -package-conf /var/lib/jenkins/workspace/Stackage with GHC 7.4.2/stackage/sandbox/package-db -package-conf dist/package.conf.inplace -package-id base-4.5.1.0-66f22db3dfcd87541c9c7e50e7095d26 -package-id binary-0.5.1.0-1dd25e339bc04e2d8ca8103c35947bf6 -package-id bytestring-0.9.2.1-503e91bb155301fdb1956cb5c26ce6e9 -package-id cereal-0.4.0.1-1776021c218430a3f5480933e945f481 -package-id containers-0.4.2.1-75f143aa39a3e77a1ce2300025bdd8ce -package-id ghc-prim-0.2.0.0-7d3c2c69a5e8257a04b2c679c40e2fa7 -package-id mtl-2.1.2-02e701f9b1590ee88a0b5b0bd5d93a29 -package-id text-0.11.3.1-41f05eb413a8fa91f09d91d3051e4ae4 -package-id time-1.4-d61e2caaa0486655b4e141dc277ed49f -package-id transformers-0.3.0.0-8e66ecc7d4dae2b07b2b5406908c70e4 -package-id transformers-compat-0.1.1.1-aa42b3b342d5fb26f3bee24e1d9fe0d3 -package-id void-0.6.1-e9a931e30ce8da0833d33dd8285bd347 -XHaskell98 Data.Bytes.Get Data.Bytes.Put Data.Bytes.Serial Data.Bytes.Signed Data.Bytes.VarInt -Wall -fwarn-tabs -O2
[1 of 5] Compiling Data.Bytes.Signed ( src/Data/Bytes/Signed.hs, dist/build/Data/Bytes/Signed.o )
[2 of 5] Compiling Data.Bytes.VarInt ( src/Data/Bytes/VarInt.hs, dist/build/Data/Bytes/VarInt.o )
[3 of 5] Compiling Data.Bytes.Put   ( src/Data/Bytes/Put.hs, dist/build/Data/Bytes/Put.o )
[4 of 5] Compiling Data.Bytes.Get   ( src/Data/Bytes/Get.hs, dist/build/Data/Bytes/Get.o )
[5 of 5] Compiling Data.Bytes.Serial ( src/Data/Bytes/Serial.hs, dist/build/Data/Bytes/Serial.o )

src/Data/Bytes/Serial.hs:61:18:
    Module `Data.Ord' does not export `Down(..)'
snoyberg commented 10 years ago

Closing in favor of pull request #18.