[ANNOUNCE] GHC 9.4.8 is now available

Viktor Dukhovni ietf-dane at dukhovni.org
Fri Nov 10 21:22:54 UTC 2023


On Fri, Nov 10, 2023 at 09:23:11PM +0530, Zubin Duggal wrote:

> The GHC developers are happy to announce the availability of GHC 9.4.8. Binary
> distributions, source distributions, and documentation are available on the
> [release page](/download_ghc_9_4_8.html).
> 

Many thanks.  I am, however, having a problem building 9.4.8 from source
on Fedora 36, with GHC 9.4.6 as the compiler, and cabal-install
3.10.1.0.  The diagnostic output (some paths made relative to reduce
clutter) is:

    ...
    | Configure package 'haskeline'
    | Run Ghc LinkHs Stage1: _build/stage1/libraries/process/build/c/cbits/posix/runProcess.dyn_o (and 8 more) => _build/stage1/libraries/process/build/libHSprocess-1.6.18.0-ghc9.4.8.so
    | ContextData oracle: resolving data for 'hpc-bin' (Stage1, dyn)...
    # _build/stage1/utils/hpc/setup-config
    | Configure package 'hpc-bin'
    | Package 'hpc-bin' configuration flags: configure --distdir _build/stage1/utils/hpc --cabal-file utils/hpc/hpc-bin.cabal --ipid $pkg-$version --prefix ${pkgroot}/.. --htmldir ${pkgroot}/../../doc/html/libraries/hpc-bin-0.69 --with-ghc=_build/stage0/bin/ghc --ghc-option=-no-global-package-db --ghc-option=-package-db=_build/stage1/lib/package.conf.d --with-ghc-pkg=_build/stage0/bin/ghc-pkg --ghc-pkg-option=--global-package-db=_build/stage1/lib/package.conf.d --enable-library-vanilla --enable-library-profiling --disable-library-for-ghci --enable-shared --with-gcc=/usr/bin/cc --with-ld=ld.gold --with-ar=/bin/ar --with-alex=/bin/alex --with-happy=/bin/happy --configure-option=CFLAGS=-iquote utils/hpc --configure-option=LDFLAGS=-fuse-ld=gold --gcc-options=-iquote utils/hpc -fuse-ld=gold --configure-option=--with-gmp-includes=/usr/include --configure-option=--with-gmp-libraries=/usr/lib64 --configure-option=--host=x86_64-unknown-linux --configure-option=--with-cc=/usr/bin/cc --ghc-option=-ghcversion-file=rts/include/ghcversion.h --ghc-option=-ghcversion-file=rts/include/ghcversion.h --flags=-build-tool-depends -v0
    # cabal-configure (for _build/stage1/utils/hpc/setup-config)
    Error: hadrian: Encountered missing or private dependencies:
    hpc >=0.6.2 && <0.8

    Error when running Shake build system:
      at want, called at src/Main.hs:124:44 in main:Main
    * Depends on: binary-dist-dir
      at need, called at src/Rules/BinaryDist.hs:130:9 in main:Rules.BinaryDist
    * Depends on: _build/stage1/bin/hpc
      at apply1, called at src/Development/Shake/Internal/Rules/Oracle.hs:159:32 in shake-0.19.7-0a34884117d1c1ae051fb71ab291372738b4fe99639c85970f08dbdf7c0632db:Development.Shake.Internal.Rules.Oracle
    * Depends on: OracleQ (ContextDataKey (Context {stage = Stage1, package = Package {pkgType = Program, pkgName = "hpc-bin", pkgPath = "utils/hpc"}, way = dyn}))
      at need, called at src/Hadrian/Oracles/Cabal/Rules.hs:54:9 in main:Hadrian.Oracles.Cabal.Rules
    * Depends on: _build/stage1/utils/hpc/setup-config
    * Raised the exception:
    ExitFailure 1

-- 
    Viktor.


More information about the ghc-devs mailing list