[GHC] #7728: ghc-pkg does not build

GHC cvs-ghc at haskell.org
Thu Feb 28 15:14:55 CET 2013


#7728: ghc-pkg does not build
--------------------------------+-------------------------------------------
Reporter:  jstolarek            |          Owner:                  
    Type:  bug                  |         Status:  new             
Priority:  normal               |      Component:  ghc-pkg         
 Version:  7.6.2                |       Keywords:                  
      Os:  Linux                |   Architecture:  Unknown/Multiple
 Failure:  Building GHC failed  |      Blockedby:                  
Blocking:                       |        Related:                  
--------------------------------+-------------------------------------------
 I am experiencing build errors with HEAD. Steps to reproduce:

 {{{
 git clone http://darcs.haskell.org/ghc.git ghc-working
 cd ghc-working/
 ./sync-all get
 perl boot
 ./configure
 make
 }}}

 Build process terminates with an error:

 {{{
 utils/ghc-pkg/Main.hs:881:3:
     No instance for (Bin.Binary (InstalledPackageInfo_ String))
       arising from a use of `writeBinaryFileAtomic'
     Possible fix:
       add an instance declaration for
       (Bin.Binary (InstalledPackageInfo_ String))
     In the first argument of `catchIO', namely
       `writeBinaryFileAtomic
          filename (map convertPackageInfoOut (packages db))'
 ...
 }}}

 I'm using GHC 7.6.2.20130129 for bootstrapping. I'm stuck with development
 because of this :/

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/7728>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler



More information about the ghc-tickets mailing list