ghc and ghc2 does not build on FreeBSD-14-RC3
- Reply: Gleb Popov : "Re: ghc and ghc2 does not build on FreeBSD-14-RC3"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 02 Nov 2023 10:33:02 UTC
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 => _build/stage1/utils/haddock/build/Main.o | Run Ghc LinkHs Stage1: _build/stage1/utils/haddock/build/Main.dyn_o (and 50 more) => _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 => _build/bindist/ghc-9.2.8-x86_64-portbld-freebsd/bin/ghc-9.2.8 | Copy file: _build/stage1/bin/ghc-pkg => _build/bindist/ghc-9.2.8-x86_64-portbld-freebsd/bin/ghc-pkg-9.2.8 | Copy file: _build/stage1/bin/hp2ps => _build/bindist/ghc-9.2.8-x86_64-portbld-freebsd/bin/hp2ps-ghc-9.2.8 | Copy file: _build/stage1/bin/hsc2hs => _build/bindist/ghc-9.2.8-x86_64-portbld-freebsd/bin/hsc2hs-ghc-9.2.8 | Copy file: _build/stage1/lib/bin/unlit => _build/bindist/ghc-9.2.8-x86_64-portbld-freebsd/bin/unlit-ghc-9.2.8 | Copy file: _build/stage1/bin/haddock => _build/bindist/ghc-9.2.8-x86_64-portbld-freebsd/bin/haddock-ghc-9.2.8 | Copy file: _build/stage1/bin/hpc => _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 => _build/bindist/ghc-9.2.8-x86_64-portbld-freebsd/bin/ghc-iserv-dyn-ghc-9.2.8 | Copy file: _build/stage1/bin/runghc => _build/bindist/ghc-9.2.8-x86_64-portbld-freebsd/bin/runghc-9.2.8 | Copy file: _build/stage1/lib/bin/ghc-iserv => _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 => _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 => _build/bindist/ghc-9.2.8-x86_64-portbld-freebsd/bin/ghc-iserv-dyn-ghc-9.2.8 | Copy directory: _build/stage1/lib => _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 => _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 =>> Cleaning up wrkdir ===> 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 !!!