#4060: runhaskell Setup register fails with "internal error: unexpected package 
db
stack"
-------------------------------+--------------------------------------------
    Reporter:  mrothe          |       Owner:               
        Type:  bug             |      Status:  new          
    Priority:  normal          |   Component:  Compiler     
     Version:  6.12.2          |    Keywords:               
          Os:  Linux           |    Testcase:               
Architecture:  x86_64 (amd64)  |     Failure:  Runtime crash
-------------------------------+--------------------------------------------
 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?

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/4060>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to