Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 Nov 2023 11:33:02 +0100
From:      Palle Girgensohn <girgen@FreeBSD.org>
To:        "haskell@freebsd.org" <haskell@FreeBSD.org>
Subject:   ghc and ghc2 does not build on FreeBSD-14-RC3
Message-ID:  <EFA34C90-ED46-43BB-A95F-E76FA135FAC7@FreeBSD.org>

next in thread | raw e-mail | index | archive | help
Hi!

Just a note that I get build errors for both ghc and ghc2 in FreeBSD-14. =
I assume that pkg-fallout already nagged you about this. Do you have any =
ideas how to fix it?

Best regards,
Palle


| Run Ghc CompileHs Stage1: utils/haddock/driver/Main.hs =3D> =
_build/stage1/utils/haddock/build/Main.o
| Run Ghc LinkHs Stage1: _build/stage1/utils/haddock/build/Main.dyn_o =
(and 50 more) =3D> _build/stage1/bin/haddock
=
/-------------------------------------------------------------------------=
-\
| Successfully built program 'haddock' (Stage1).                         =
  |
| Executable: _build/stage1/bin/haddock                                  =
  |
| Program synopsis: A documentation-generation tool for Haskell =
libraries. |
=
\-------------------------------------------------------------------------=
-/
| Create directory _build/bindist/ghc-9.2.8-x86_64-portbld-freebsd
| Create directory _build/bindist/ghc-9.2.8-x86_64-portbld-freebsd/bin
| Create directory _build/bindist/ghc-9.2.8-x86_64-portbld-freebsd/lib
| Copy file: _build/stage1/bin/ghc =3D> =
_build/bindist/ghc-9.2.8-x86_64-portbld-freebsd/bin/ghc-9.2.8
| Copy file: _build/stage1/bin/ghc-pkg =3D> =
_build/bindist/ghc-9.2.8-x86_64-portbld-freebsd/bin/ghc-pkg-9.2.8
| Copy file: _build/stage1/bin/hp2ps =3D> =
_build/bindist/ghc-9.2.8-x86_64-portbld-freebsd/bin/hp2ps-ghc-9.2.8
| Copy file: _build/stage1/bin/hsc2hs =3D> =
_build/bindist/ghc-9.2.8-x86_64-portbld-freebsd/bin/hsc2hs-ghc-9.2.8
| Copy file: _build/stage1/lib/bin/unlit =3D> =
_build/bindist/ghc-9.2.8-x86_64-portbld-freebsd/bin/unlit-ghc-9.2.8
| Copy file: _build/stage1/bin/haddock =3D> =
_build/bindist/ghc-9.2.8-x86_64-portbld-freebsd/bin/haddock-ghc-9.2.8
| Copy file: _build/stage1/bin/hpc =3D> =
_build/bindist/ghc-9.2.8-x86_64-portbld-freebsd/bin/hpc-ghc-9.2.8
| Copy file: _build/stage1/lib/bin/ghc-iserv-dyn =3D> =
_build/bindist/ghc-9.2.8-x86_64-portbld-freebsd/bin/ghc-iserv-dyn-ghc-9.2.=
8
| Copy file: _build/stage1/bin/runghc =3D> =
_build/bindist/ghc-9.2.8-x86_64-portbld-freebsd/bin/runghc-9.2.8
| Copy file: _build/stage1/lib/bin/ghc-iserv =3D> =
_build/bindist/ghc-9.2.8-x86_64-portbld-freebsd/bin/ghc-iserv-ghc-9.2.8
| Copy file: _build/stage1/lib/bin/ghc-iserv-prof =3D> =
_build/bindist/ghc-9.2.8-x86_64-portbld-freebsd/bin/ghc-iserv-prof-ghc-9.2=
.8
| Copy file: _build/stage1/lib/bin/ghc-iserv-dyn =3D> =
_build/bindist/ghc-9.2.8-x86_64-portbld-freebsd/bin/ghc-iserv-dyn-ghc-9.2.=
8
| Copy directory: _build/stage1/lib =3D> =
_build/bindist/ghc-9.2.8-x86_64-portbld-freebsd
| Copy directory: =
_build/stage1/lib/x86_64-freebsd-ghc-9.2.8/rts-1.0.2/include =3D> =
_build/bindist/ghc-9.2.8-x86_64-portbld-freebsd
# ghc-pkg (for binary-dist-dir)
Error when running Shake build system:
  at want, called at src/Main.hs:104:30 in main:Main
* Depends on: binary-dist-dir
  at cmd_, called at src/Rules/BinaryDist.hs:204:9 in =
main:Rules.BinaryDist
* Raised the exception:
Development.Shake.cmd, system command failed
Command line: =
_build/bindist/ghc-9.2.8-x86_64-portbld-freebsd/bin/ghc-pkg recache
Exit code: -12
Stderr:



*** Error code 1

Stop.
make: stopped in /usr/ports/lang/ghc92
=3D>> Cleaning up wrkdir
=3D=3D=3D>  Cleaning for ghc92-9.2.8
build of lang/ghc92 | ghc92-9.2.8 ended at Thu Nov  2 08:03:00 CET 2023
build time: 03:16:06
!!! build failure encountered !!!




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?EFA34C90-ED46-43BB-A95F-E76FA135FAC7>