Skip to content

programatica fails to compile

-bash-3.00$ cabal install http://www.dfki.de/sks/hets/src-distribution/programatica-1.0.0.4.tar.gz
Downloading
http://www.dfki.de/sks/hets/src-distribution/programatica-1.0.0.4.tar.gz
Resolving dependencies...
Configuring programatica-1.0.0.4...
Building programatica-1.0.0.4...
Preprocessing library programatica-1.0.0.4...
[  1 of 223] Compiling TokenTags        ( base/pretty/TokenTags.hs, dist/build/TokenTags.o )

...

[141 of 223] Compiling DefinedNamesBase ( base/defs/DefinedNamesBase.hs, dist/build/DefinedNamesBase.o )

base/defs/DefinedNamesBase.hs:22:48:
    No instance for (AddName
                       (ghc-prim:GHC.Prim.Any *) (SyntaxRec.BaseDeclI i))
      arising from a use of `addNameRec'
    Possible fix:
      add an instance declaration for
      (AddName (ghc-prim:GHC.Prim.Any *) (SyntaxRec.BaseDeclI i))
    In the expression: addNameRec
    In an equation for `addName': addName = addNameRec
    In the instance declaration for `AddName i (HsDeclI i)'
cabal: Error: some packages failed to install:
programatica-1.0.0.4 failed during the building phase. The exception was:
ExitFailure 1
Trac metadata
Trac field Value
Version 7.6.1-rc1
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component Compiler
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information