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

#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

#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: --------------------------------+------------------------------------------- Comment(by jstolarek): After spending a few more hours on this I suspect that the problem might be caused by two versions of `binary` package installed on my system. If so then of course this is not a bug in GHC, but I'm yet to verify this. So is there a way to tell the build system to use one particular version of binary package? Hiding the package using `ghc-pkg hide` does not work and removing any of these two versions will break a lot of installed packages - I'd like to avoid that. -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/7728#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#7728: ghc-pkg does not build ---------------------------------+------------------------------------------ Reporter: jstolarek | Owner: Type: bug | Status: closed Priority: normal | Component: ghc-pkg Version: 7.6.2 | Resolution: worksforme Keywords: | Os: Linux Architecture: Unknown/Multiple | Failure: Building GHC failed Blockedby: | Blocking: Related: | ---------------------------------+------------------------------------------ Changes (by jstolarek): * status: new => closed * resolution: => worksforme -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/7728#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
participants (1)
-
GHC