Hi,

I've been unable to build nofib recently: precisely, "make boot" in
the nofib directory fails with an error about not being able to parse
libraries/bootstrapping.conf.

I've tracked this down to my bootstrapping.conf not containing the
"PackageName" prefix before an actual package name string, which is
not what ParsePkgConf.y expects. However, inplace-datadir/package.conf
/does/ contain this prefix.

Even if I modify ParsePackageConf to accept both forms of the
directive, it still fails when booting nofib like so:

"""
$ /Users/mbolingbroke/Programming/Checkouts/ghc.sat/ghc/stage1-inplace/ghc
  -M -optdep-f -optdep.depend  -osuf o -package-conf
/Users/mbolingbroke/Programming/Checkouts/ghc.sat/libraries/bootstrapping.conf
   -package-conf
/Users/mbolingbroke/Programming/Checkouts/ghc.sat/libraries/bootstrapping.conf
-H64m -O -fasm -W -fno-warn-unused-matches -fwarn-unused-imports -O
-Rghc-timing -H32m -hisuf hi Main.hs -v3

<no location info>:
    Warning: -optdep-f is deprecated: Use -dep-makefile instead
Glasgow Haskell Compiler, Version 6.9.20080807, for Haskell 98, stage
1 booted by GHC version 6.8.2
Using package config file:
/Users/mbolingbroke/Programming/Checkouts/ghc.sat/inplace-datadir/../inplace-datadir/package.conf
Using package config file:
/Users/mbolingbroke/Programming/Checkouts/ghc.sat/libraries/bootstrapping.conf
Using package config file:
/Users/mbolingbroke/Programming/Checkouts/ghc.sat/libraries/bootstrapping.conf
wired-in package ghc-prim mapped to ghc-prim-0.1
wired-in package integer mapped to integer-0.1
wired-in package base mapped to base-3.0
wired-in package rts mapped to rts-1.0
wired-in package haskell98 mapped to haskell98-1.0.1
wired-in package template-haskell mapped to template-haskell-2.2
wired-in package dph-seq[""] not found.
wired-in package dph-par[""] not found.
wired-in package ndp["-seq","-par"] not found.
package ghc-6.9 will be ignored due to missing or recursive dependencies:
  Cabal-1.5.2 array-0.1.0.0 base-3.0.1.0 bytestring-0.9.0.1
containers-0.1.0.1 directory-1.0.0.0 filepath-1.1.0.0
haskell98-1.0.1.0 hpc-0.5.0.0 old-time-1.0.0.0 process-1.0.0.0
unix-2.3.0.0
package hpc-0.5 will be ignored due to missing or recursive dependencies:
  base-3.0.1.0 containers-0.1.0.1 directory-1.0.0.0 old-time-1.0.0.0
package Cabal-1.5.2 will be ignored due to missing or recursive dependencies:
  array-0.1.0.0 base-3.0.1.0 containers-0.1.0.1 directory-1.0.0.0
filepath-1.1.0.0 old-time-1.0.0.0 pretty-1.0.0.0 process-1.0.0.0
package filepath-1.1 will be ignored due to missing or recursive dependencies:
  base-3.0.1.0
package haskell98 will be ignored due to missing or recursive dependencies:
  directory-1.0 process-1.0.1
package process-1.0.1 will be ignored due to missing or recursive dependencies:
  directory-1.0 filepath-1.1 unix-2.2
package unix-2.2 will be ignored due to missing or recursive dependencies:
  directory-1.0
package directory-1.0 will be ignored due to missing or recursive dependencies:
  filepath-1.1
Hsc static flags: -static
Created temporary directory:
/var/folders/4j/4jTZECFrFIyDlJjF8ivIeE+++TI/-Tmp-//ghc15452_0
*** Chasing dependencies:
Chasing modules from: Main.hs

Main.hs:19:7:
    Could not find module `System':
      locations searched:
        System.hs
        System.lhs
"""

If my local environment matters at all, it looks like this:
"""
$ ghc-pkg list
/usr/local/lib/ghc-6.8.2/package.conf:
    (Cabal-1.2.3.0), Cabal-1.5.1, Finance-Quote-Yahoo-0.4.1,
    GLUT-2.1.1.1, HTTP-3001.0.4, HTTP-Simple-0.1, HUnit-1.2.0.0,
    OpenAL-1.3.1.1, QuickCheck-1.1.0.0, array-0.1.0.0, base-3.0.1.0,
    binary-0.4.1, bytestring-0.9.0.1, cgi-3001.1.5.1,
    containers-0.1.0.1, directory-1.0.0.0, fgl-5.4.1.1,
    filepath-1.1.0.0, (ghc-6.8.2), haddock-2.1.0, haskell-src-1.0.1.1,
    haskell98-1.0.1.0, hpc-0.5.0.0, html-1.0.1.1, hxt-7.4, mtl-1.1.0.0,
    network-2.1.0.0, old-locale-1.0.0.0, old-time-1.0.0.0,
    packedstring-0.1.0.0, parallel-1.0.0.0, parsec-2.1.0.0,
    plugins-1.0, plugins-1.1, pretty-1.0.0.0, process-1.0.0.0,
    random-1.0.0.0, readline-1.0.1.0, regex-base-0.72.0.1,
    regex-compat-0.71.0.1, regex-posix-0.72.0.2, rts-1.0, stm-2.1.1.0,
    template-haskell-2.2.0.0, time-1.1.2.0, unix-2.3.0.0,
    xhtml-3000.0.2.1, zlib-0.4.0.4
/Users/mbolingbroke/.ghc/i386-darwin-6.8.2/package.conf:
    (Cabal-1.4.0.0), GLUT-2.1.1.1, HDBC-1.1.4, MaybeT-0.1.1,
    MonadRandom-0.1.1, OpenGL-2.2.1.1, Stream-0.2.3, arrows-0.4,
    category-extras-0.53.4, haddock-2.1.0
"""

I assume the problem is related to the recent build system / base
library changes? I'd really appreciate any advice on how I can get
nofib running again.

Cheers!
Max

_______________________________________________
Cvs-ghc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-ghc

Reply via email to