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,270
    • Issues 4,270
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
    • Iterations
  • Merge Requests 413
    • Merge Requests 413
  • 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
  • #4060

Closed
Open
Opened May 11, 2010 by mrothe@trac-mrothe

runhaskell Setup register fails with "internal error: unexpected package db stack"

I built 6.12.2 using the already installed (and working) ghc-6.12.1. I built ghc-6.12.2 using the same procedure as 6.12.1, so it's unlikely to be caused by build procedure changes. If I try to compile packages using the new version everything works fine until I try to generate the register.sh script:

$ tar xf zlib-0.5.2.0.tar.gz
$ runhaskell Setup configure --prefix=/usr --libdir=/usr/lib64 \
    --docdir=/usr/share/doc/zlib-0.5.2.0 \
    --htmldir=/usr/share/doc/zlib-0.5.2.0/html \
    --with-compiler=ghc-6.12.2 --enable-shared \
    --disable-executable-stripping --global --verbose \
    --disable-library-profiling
$ runhaskell Setup build
$ runhaskell Setup copy --destdir=$PWD/install-root/
$ runhaskell Setup register --global --gen-script
Creating package registration script: register.sh
Setup: internal error: unexpected package db stack

This happens with every package I tried to far. Could someone help me narrow this problem down?

Trac metadata
Trac field Value
Version 6.12.2
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component Compiler
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
Assignee
Assign to
6.12.3
Milestone
6.12.3
Assign milestone
Time tracking
None
Due date
None
Reference: ghc/ghc#4060