Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
GHC
GHC
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 4,262
    • Issues 4,262
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
    • Iterations
  • Merge Requests 419
    • Merge Requests 419
  • Requirements
    • Requirements
    • List
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Security & Compliance
    • Security & Compliance
    • Dependency List
    • License Compliance
  • Operations
    • Operations
    • Incidents
    • Environments
  • Analytics
    • Analytics
    • CI / CD
    • Code Review
    • Insights
    • Issue
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Glasgow Haskell Compiler
  • GHCGHC
  • Issues
  • #7147

Closed
Open
Opened Aug 14, 2012 by C Maeder@trac-maeder

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
Assignee
Assign to
7.6.1
Milestone
7.6.1
Assign milestone
Time tracking
None
Due date
None
Reference: ghc/ghc#7147