pa-ba / compdata

Haskell library implementing "Data Types a la Carte"
http://hackage.haskell.org/package/compdata
Other
89 stars 27 forks source link

Failure building test suite #4

Closed snoyberg closed 8 years ago

snoyberg commented 9 years ago

This may be a GHC bug, not certain. Steps I took:

  1. cabal unpack compdata-0.9
  2. cabal install --only-dependencies
  3. cabal clean
  4. cabal configure
  5. cabal build
  6. cabal configure --enable-tests
  7. cabal build

I got the output:

$ cabal build
Building compdata-0.9...
Preprocessing library compdata-0.9...
[ 8 of 59] Compiling Data.Comp.Derive.Utils ( src/Data/Comp/Derive/Utils.hs, dist/build/Data/Comp/Derive/Utils.o ) [dist/build/autogen/cabal_macros.h changed]
[39 of 59] Compiling Data.Comp.Algebra ( src/Data/Comp/Algebra.hs, dist/build/Data/Comp/Algebra.o ) [dist/build/autogen/cabal_macros.h changed]
[40 of 59] Compiling Data.Comp.Annotation ( src/Data/Comp/Annotation.hs, dist/build/Data/Comp/Annotation.o ) [Data.Comp.Algebra changed]
[41 of 59] Compiling Data.Comp.Sum    ( src/Data/Comp/Sum.hs, dist/build/Data/Comp/Sum.o ) [Data.Comp.Algebra changed]
[42 of 59] Compiling Data.Comp.Generic ( src/Data/Comp/Generic.hs, dist/build/Data/Comp/Generic.o ) [Data.Comp.Algebra changed]
[45 of 59] Compiling Data.Comp.Thunk  ( src/Data/Comp/Thunk.hs, dist/build/Data/Comp/Thunk.o ) [Data.Comp.Sum changed]
The interface for ‘compdata-0.9:Data.Comp.Ops’
Declaration for fromInr1:
  Iface type variable out of scope:  k
Cannot continue after interface file error
emilaxelsson commented 9 years ago

I'm able to reproduce the error on my machine.

bergmark commented 8 years ago

This seems to have been resolved.