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 7
    • Issues 7
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
    • Iterations
  • Merge Requests 0
    • Merge Requests 0
  • Requirements
    • Requirements
    • List
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Security & Compliance
    • Security & Compliance
    • Dependency List
    • License Compliance
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Container Registry
  • 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
  • Csongor Kiss
  • GHCGHC
  • Issues
  • #13

Closed
Open
Opened Aug 29, 2020 by Ryan Scott@RyanGlScott

Can't build master branch

The master branch appears to be the most up-to-date place to try out the implementation of UnsaturatedTypeFamilies, as far as I can tell. Unfortunately, I am unable to get it building locally. After cherry-picking commit ghc/ghc@fddddbf4 to work around ghc/ghc#18620, I eventually run into this error:

"inplace/bin/ghc-stage1" -hisuf hi -osuf  o -hcsuf hc -static  -O0 -H64m -Wall   -Iincludes -Iincludes/dist -Iincludes/dist-derivedconstants/header -Iincludes/dist-ghcconstants/header   -this-unit-id ghc-8.11.0.20200828 -hide-all-packages -i -icompiler/. -icompiler/stage2/build -Icompiler/stage2/build -icompiler/stage2/build/./autogen -Icompiler/stage2/build/./autogen -Icompiler/. -Icompiler/../rts/dist/build -Icompiler/stage2 -Icompiler/stage2/build/. -Icompiler/stage2/build/../rts/dist/build -Icompiler/stage2/build/stage2   -optP-DHAVE_INTERNAL_INTERPRETER -optP-DCAN_LOAD_DLL -optP-Iincludes/dist-install/build -optP-include -optPcompiler/stage2/build/./autogen/cabal_macros.h -package-id array-0.5.4.0 -package-id base-4.15.0.0 -package-id binary-0.8.8.0 -package-id bytestring-0.10.10.0 -package-id containers-0.6.2.1 -package-id deepseq-1.4.4.0 -package-id directory-1.3.6.1 -package-id exceptions-0.10.4 -package-id filepath-1.4.2.1 -package-id ghc-boot-8.11.0.20200828 -package-id ghc-boot-th-8.11.0.20200828 -package-id ghc-heap-8.11.0.20200828 -package-id ghci-8.11.0.20200828 -package-id hpc-0.6.1.0 -package-id process-1.6.10.0 -package-id template-haskell-2.17.0.0 -package-id terminfo-0.4.1.4 -package-id time-1.9.3 -package-id transformers-0.5.6.2 -package-id unix-2.7.2.2 -Wall -Wno-name-shadowing -Wnoncanonical-monad-instances -Wnoncanonical-monoid-instances -this-unit-id ghc -XHaskell2010 -XNoImplicitPrelude -XBangPatterns -XScopedTypeVariables -optc-DTHREADED_RTS -Iincludes/dist-install/build -Rghc-timing -O0 -Wcpp-undef -Wincomplete-uni-patterns -Wincomplete-record-updates  -no-user-package-db -rtsopts       -Wnoncanonical-monad-instances  -outputdir compiler/stage2/build  -dynamic-too -c compiler/./GHC/Hs/Expr.hs -o compiler/stage2/build/GHC/Hs/Expr.o -dyno compiler/stage2/build/GHC/Hs/Expr.dyn_o

compiler/GHC/Hs/Expr.hs:2759:1: error:
    Identifier ‘pprSplice’ has conflicting definitions in the module
    and its hs-boot file
    Main module: pprSplice ::
                   forall (p :: Pass).
                   OutputableBndrId p =>
                   HsSplice (GhcPass p) -> SDoc
    Boot file:   pprSplice ::
                   forall (p :: Pass).
                   OutputableBndrId p =>
                   HsSplice (GhcPass p) -> SDoc
    The two types are different
     |
2759 | pprSplice (HsTypedSplice _ DollarSplice n e)
     | ^^^^^^^^^

Any ideas what might be causing this?

Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: kcsongor/ghc#13