Wednesday, April 27, 2022

Re: ghc-9.2.2 upgrade (and many dependent ports)

> 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

gmake[1]: *** [utils/haddock/ghc.mk:21:
utils/haddock/dist/package-data.mk] Error 1
gmake: *** [Makefile:126: all] Error 2

Did I miss something essential?

No comments:

Post a Comment