Hi,

On Wed, Apr 27, 2022 at 08:30:10PM +0200, Volker Schlecht wrote:
> > If people feel like helping, please build your own GHC and any ports
> > that you use and run them for real.
> 
> With your patches 0001 and 0006 applied, make build for lang/ghc fails for
> me with
> 
> Configuring ghc-9.2.2...
> Warning: 'include-dirs: ../rts/dist/build' is a relative path outside of the
> source tree. This will not work when generating a tarball with 'sdist'.
> Warning: 'include-dirs: ../rts/dist/build' directory does not exist.
> "/build/pobj/ghc-9.2.2/ghc-9.2.2/inplace/bin/ghc-pkg" update -v0 --force
> compiler/stage2/inplace-pkg-config
> "inplace/bin/ghc-cabal" check utils/haddock
> "inplace/bin/ghc-cabal" configure utils/haddock dist
> --with-ghc="/build/pobj/ghc-9.2.2/ghc-9.2.2/inplace/bin/ghc-stage1"
> --with-ghc-pkg="/build/pobj/ghc-9.2.2/ghc-9.2.2/inplace/bin/ghc-pkg" --flag
> in-ghc-tree --disable-library-for-ghci --disable-library-vanilla
> --disable-library-profiling --disable-shared
> --configure-option=CFLAGS="-Wall    -Wno-unknown-pragmas -iquote
> /build/pobj/ghc-9.2.2/ghc-9.2.2/utils/haddock" --configure-option=LDFLAGS="
> " --configure-option=CPPFLAGS="   " --gcc-options="-Wall
> -Wno-unknown-pragmas -iquote /build/pobj/ghc-9.2.2/ghc-9.2.2/utils/haddock
> " --configure-option=--with-iconv-includes="/usr/local/include"
> --configure-option=--with-iconv-libraries="/usr/local/lib"
> --configure-option=--with-gmp-includes="/usr/local/include"
> --configure-option=--with-gmp-libraries="/usr/local/lib"
> --configure-option=--with-gmp
> --configure-option=--host=x86_64-unknown-openbsd --with-gcc="cc"
> --with-ld="ld" --with-ar="ar"
> Configuring haddock-2.26.0...
> ghc-cabal: Encountered missing or private dependencies:
> xhtml >=3000.2 && <3000.3

Indeed, I get the same error. It looks like for whatever reason,
the xhml library isn't built before the build system starts to (try
to build) the stage2 compiler.

Ciao,
        Kili

Reply via email to