=> Bootstrap dependency digest>=20211023: found digest-20220214 => Checksum BLAKE2s OK for ghc-9.10.1-src.tar.xz => Checksum SHA512 OK for ghc-9.10.1-src.tar.xz => Checksum BLAKE2s OK for ghc-9.8.2-boot-hadrian-ghc910.tar.gz => Checksum SHA512 OK for ghc-9.8.2-boot-hadrian-ghc910.tar.gz => Checksum BLAKE2s OK for ghc-9.8.2-boot-x86_64-unknown-netbsd.tar.xz => Checksum SHA512 OK for ghc-9.8.2-boot-x86_64-unknown-netbsd.tar.xz ===> Installing dependencies for ghc-9.10.1nb1 ========================================================================== The supported build options for ghc are: doc llvm The currently selected options are: doc You can select which build options to use by setting PKG_DEFAULT_OPTIONS or the following variable. Its current value is shown: PKG_OPTIONS.ghc (not defined) ========================================================================== ========================================================================== The following variables will affect the build process of this package, ghc-9.10.1nb1. Their current value is shown below: * CURSES_DEFAULT = curses * PYTHON_VERSION_DEFAULT = 312 Based on these variables, the following variables have been set: * CURSES_TYPE = curses * PYPACKAGE = python312 You may want to abort the process now with CTRL-C and change the value of variables in the first group before continuing. Be sure to run `/usr/bin/make clean' after the changes. ========================================================================== => Tool dependency py312-sphinx-[0-9]*: found py312-sphinx-8.1.3 => Tool dependency python312>=3.12: found python312-3.12.8nb2 => Tool dependency libtool-base>=2.4.2nb9: found libtool-base-2.4.7nb1 => Tool dependency mktools-[0-9]*: found mktools-20220614 => Tool dependency autoconf>=2.50: found autoconf-2.72 => Tool dependency gmake>=3.81: found gmake-4.4.1 => Tool dependency gtar-base>=1.13.25: found gtar-base-1.35 => Tool dependency cwrappers>=20150314: found cwrappers-20220403 => Tool dependency checkperms>=1.1: found checkperms-1.12 => Full dependency gmp>=5.0.1: found gmp-6.3.0 => Full dependency libffi>=3.4.2nb3: found libffi-3.4.6 ===> Skipping vulnerability checks. WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'. ===> Overriding tools for ghc-9.10.1nb1 ===> Extracting for ghc-9.10.1nb1 => Substituting "ghc-wrapper-sh" in mk/install_script.sh ===> Patching for ghc-9.10.1nb1 => Applying pkgsrc patches for ghc-9.10.1nb1 => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/lang/ghc910/patches/patch-compiler_GHC_SysTools_Process.hs => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/lang/ghc910/patches/patch-compiler_GHC_SysTools_Process.hs Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-compiler_GHC_SysTools_Process.hs,v 1.1 2025/01/29 13:21:53 pho Exp $ | |This is more like pkgsrc-specific than an upstream issue. Don't use |"response file", the @FILE syntax while invoking CC or LD. Our tool |wrappers don't look into response files, and therefore can't detect |mistakes like depending on Cabal packages that aren't declared as pkgsrc |dependency. | |Note that this patch would break GHC if we didn't have its $ORIGIN use |eliminated because our wrappers hate relative rpaths. | |--- compiler/GHC/SysTools/Process.hs.orig 2024-05-10 05:05:48.000000000 +0000 |+++ compiler/GHC/SysTools/Process.hs -------------------------- Patching file compiler/GHC/SysTools/Process.hs using Plan A... Hunk #1 succeeded at 159. Hunk #2 succeeded at 198. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/lang/ghc910/patches/patch-configure.ac => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/lang/ghc910/patches/patch-configure.ac Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-configure.ac,v 1.1 2025/01/29 13:21:53 pho Exp $ | |Hunk #0: | Disable DTrace support on solaris2. | XXX: But why? | |--- configure.ac.orig 2022-12-23 16:19:02.000000000 +0000 |+++ configure.ac -------------------------- Patching file configure.ac using Plan A... Hunk #1 succeeded at 753 (offset -47 lines). done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/lang/ghc910/patches/patch-hadrian_bindist_Makefile => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/lang/ghc910/patches/patch-hadrian_bindist_Makefile Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-hadrian_bindist_Makefile,v 1.1 2025/01/29 13:21:53 pho Exp $ | |Don't run `ghc-pkg recache' while installing a binary distribution. See |also "do-install" in Makefile. This is pkgsrc-specific. | |--- hadrian/bindist/Makefile.orig 2024-05-10 05:05:49.000000000 +0000 |+++ hadrian/bindist/Makefile -------------------------- Patching file hadrian/bindist/Makefile using Plan A... Hunk #1 succeeded at 243. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/lang/ghc910/patches/patch-hadrian_bootstrap_bootstrap.py => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/lang/ghc910/patches/patch-hadrian_bootstrap_bootstrap.py Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-hadrian_bootstrap_bootstrap.py,v 1.1 2025/01/29 13:21:53 pho Exp $ | |Hunk #0, #1: | bootstrap.py assumes that GHC always has a threaded RTS but our | bootkits don't. It is debatable at least as to whether this should be | upstreamed. | | We also need to patch some packages to bootstrap hadrian. Those patch | files are in ${FILESDIR}. | |Hunk #1-#7: | Support --jobs=N for parallel compilation. This makes bootstrapping | hadrian a lot faster. | https://gitlab.haskell.org/ghc/ghc/-/merge_requests/12610 | |--- hadrian/bootstrap/bootstrap.py.orig 2024-02-22 20:59:45.000000000 +0000 |+++ hadrian/bootstrap/bootstrap.py -------------------------- Patching file hadrian/bootstrap/bootstrap.py using Plan A... Hunk #1 succeeded at 25. Hunk #2 succeeded at 185 (offset 4 lines). Hunk #3 succeeded at 230 (offset 4 lines). Hunk #4 succeeded at 252 (offset 4 lines). Hunk #5 succeeded at 267 (offset 4 lines). Hunk #6 succeeded at 277 (offset 4 lines). Hunk #7 succeeded at 403 (offset 4 lines). Hunk #8 succeeded at 511 (offset 4 lines). done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/lang/ghc910/patches/patch-hadrian_bootstrap_src_Main.hs => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/lang/ghc910/patches/patch-hadrian_bootstrap_src_Main.hs Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-hadrian_bootstrap_src_Main.hs,v 1.1 2025/01/29 13:21:53 pho Exp $ | |Fix build with cabal-install-parsers >= 0.6. This doesn't affect normal |builds. It's only for creating Hadrian bootstrap source archives. | |https://gitlab.haskell.org/ghc/ghc/-/merge_requests/11546 | |--- hadrian/bootstrap/src/Main.hs.orig 2023-09-21 11:30:31.000000000 +0000 |+++ hadrian/bootstrap/src/Main.hs -------------------------- Patching file hadrian/bootstrap/src/Main.hs using Plan A... Hunk #1 succeeded at 1. Hunk #2 succeeded at 87. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/lang/ghc910/patches/patch-hadrian_src_Builder.hs => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/lang/ghc910/patches/patch-hadrian_src_Builder.hs Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-hadrian_src_Builder.hs,v 1.1 2025/01/29 13:21:53 pho Exp $ | |This is pkgsrc-specific. We build haddock as a dynamically-linked |executable but it doesn't contain an rpath to our not-yet-installed shared |libraries. This is usually not a problem because Hadrian embeds relative |rpaths (i.e. $ORIGIN) in dynamically-linked objects but we patch Hadrian |not to do that. | |--- hadrian/src/Builder.hs.orig 2024-05-10 05:05:49.000000000 +0000 |+++ hadrian/src/Builder.hs -------------------------- Patching file hadrian/src/Builder.hs using Plan A... Hunk #1 succeeded at 28. Hunk #2 succeeded at 350. Hunk #3 succeeded at 386. Hunk #4 succeeded at 402. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/lang/ghc910/patches/patch-hadrian_src_Rules_BinaryDist.hs => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/lang/ghc910/patches/patch-hadrian_src_Rules_BinaryDist.hs Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-hadrian_src_Rules_BinaryDist.hs,v 1.1 2025/01/29 13:21:53 pho Exp $ | |Hunk #0, #1, #3: | Distinguish bootstrapping bindists from regular ones. This is | pkgsrc-specific. | |Hunk #2: | Do not run `ghc-pkg recache' while creating a binary distribution. We | don't want a package cache to be installed because we do it in our | INSTALL script. Also it's not possible to run ghc-pkg in the first | place without setting LD_LIBRARY_PATH since we don't build relocatable | executables. This is pkgsrc-specific. | |Hunk #4: | We want our bootkits to be as small as possible, even though `xz -9e' | is very slow and consumes about 680 MiB of memory. This is | pkgsrc-specific. | |--- hadrian/src/Rules/BinaryDist.hs.orig 2024-05-10 05:05:49.000000000 +0000 |+++ hadrian/src/Rules/BinaryDist.hs -------------------------- Patching file hadrian/src/Rules/BinaryDist.hs using Plan A... Hunk #1 succeeded at 115. Hunk #2 succeeded at 154. Hunk #3 succeeded at 232. Hunk #4 succeeded at 308. Hunk #5 succeeded at 377. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/lang/ghc910/patches/patch-hadrian_src_Rules_Documentation.hs => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/lang/ghc910/patches/patch-hadrian_src_Rules_Documentation.hs Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-hadrian_src_Rules_Documentation.hs,v 1.1 2025/01/29 13:21:53 pho Exp $ | |Hunk #0, #2, #3: | Do not assume the current locale is *.UTF-8. It isn't the case in | pkgsrc. | | TODO: Upstream this | |Hunk #1: | This is pkgsrc-specific. ${WRKSRC}/docs/users_guide/compare-flags.py | needs to invoke GHC we just built, which is impossible in our case | because it has an absolute DT_RPATH to a library which hasn't been | installed yet. But this script is only useful during the development of | GHC so it's not worth running. | | Obviously not eligible for upstreaming. | |--- hadrian/src/Rules/Documentation.hs.orig 2025-01-27 18:06:59.665271497 +0000 |+++ hadrian/src/Rules/Documentation.hs -------------------------- Patching file hadrian/src/Rules/Documentation.hs using Plan A... Hunk #1 succeeded at 11. Hunk #2 succeeded at 138. Hunk #3 succeeded at 147. Hunk #4 succeeded at 172. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/lang/ghc910/patches/patch-hadrian_src_Settings_Builders_Cabal.hs => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/lang/ghc910/patches/patch-hadrian_src_Settings_Builders_Cabal.hs Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-hadrian_src_Settings_Builders_Cabal.hs,v 1.1 2025/01/29 13:21:53 pho Exp $ | |Under no circumstances we should build static GHCi objects because: | | 1. The only case they need to be built is when we build GHC | statically. We only do it for bootkits but not for regular | builds. Bootkits don't need GHCi, so there's no point building them. | | 2. We can't build them on Solaris when -fsplit-sections is enabled, which | we enable. Solaris LD doesn't support linker scripts. Nothing fancy, | like merging split sections back to their original form, can be done | with that exotic linker. | |This is more like pkgsrc-specific than a genuine defect of the upstream |code, so don't upstream this. There should ideally be a switch, such as |"ghciLibraries :: Bool" in Flavour.Type.Flavour to support our use case, |but... do anyone aside of pkgsrc want it? | |--- hadrian/src/Settings/Builders/Cabal.hs.orig 2025-01-27 01:04:45.571870819 +0000 |+++ hadrian/src/Settings/Builders/Cabal.hs -------------------------- Patching file hadrian/src/Settings/Builders/Cabal.hs using Plan A... Hunk #1 succeeded at 140 (offset -3 lines). done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/lang/ghc910/patches/patch-hadrian_src_Settings_Builders_Ghc.hs => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/lang/ghc910/patches/patch-hadrian_src_Settings_Builders_Ghc.hs Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-hadrian_src_Settings_Builders_Ghc.hs,v 1.1 2025/01/29 13:21:53 pho Exp $ | |Don't use rpaths relative to $ORIGIN. Use the final installation path. This |is pkgsrc-specific. | |--- hadrian/src/Settings/Builders/Ghc.hs.orig 2022-12-23 16:19:02.000000000 +0000 |+++ hadrian/src/Settings/Builders/Ghc.hs -------------------------- Patching file hadrian/src/Settings/Builders/Ghc.hs using Plan A... Hunk #1 succeeded at 5. Hunk #2 succeeded at 96 (offset -9 lines). Hunk #3 succeeded at 113 (offset -9 lines). Hunk #4 succeeded at 127 (offset -9 lines). done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/lang/ghc910/patches/patch-hadrian_src_Settings_Packages.hs => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/lang/ghc910/patches/patch-hadrian_src_Settings_Packages.hs Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-hadrian_src_Settings_Packages.hs,v 1.1 2025/01/29 13:21:53 pho Exp $ | |Hunk #0, #2: | Don't assume we always build the threaded RTS. We can't upstream this | until they adopt this change to Haddock: | https://github.com/haskell/haddock/commit/75a94e010fb5b0236c670d22b04f5472397dc15d | |Hunk #1: | Remove tool dependency on alex from Cabal-syntax. We can only upstream | this after patch-libraries_Cabal_Cabal-syntax_Cabal-syntax.cabal is | merged, and the upstream of GHC adopts the change. | |--- hadrian/src/Settings/Packages.hs.orig 2024-05-10 05:05:49.000000000 +0000 |+++ hadrian/src/Settings/Packages.hs -------------------------- Patching file hadrian/src/Settings/Packages.hs using Plan A... Hunk #1 succeeded at 34. Hunk #2 succeeded at 53. Hunk #3 succeeded at 182. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/lang/ghc910/patches/patch-libraries_Cabal_Cabal-syntax_Cabal-syntax.cabal => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/lang/ghc910/patches/patch-libraries_Cabal_Cabal-syntax_Cabal-syntax.cabal Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-libraries_Cabal_Cabal-syntax_Cabal-syntax.cabal,v 1.1 2025/01/29 13:21:53 pho Exp $ | |Add a way to remove tool dependency on alex, otherwise it cannot be built |without having devel/alex preinstalled, which is impossible because |devel/alex cannot be built without GHC. | |TODO: Upstream this. | |--- libraries/Cabal/Cabal-syntax/Cabal-syntax.cabal.orig 2025-01-11 14:49:32.211381314 +0000 |+++ libraries/Cabal/Cabal-syntax/Cabal-syntax.cabal -------------------------- Patching file libraries/Cabal/Cabal-syntax/Cabal-syntax.cabal using Plan A... Hunk #1 succeeded at 23. Hunk #2 succeeded at 63. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/lang/ghc910/patches/patch-libraries_Cabal_Cabal_src_Distribution_Simple_GHC.hs => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/lang/ghc910/patches/patch-libraries_Cabal_Cabal_src_Distribution_Simple_GHC.hs Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-libraries_Cabal_Cabal_src_Distribution_Simple_GHC.hs,v 1.1 2025/01/29 15:28:29 pho Exp $ | |Install Cabal packages built with ./Setup into |"$PREFIX/lib/{arch}-ghc-{version}" but not |"$PREFIX/lib/{arch}-ghc-{version}-inplace". The suffix "-inplace" stems |from "Project Unit Id" found in the result of "ghc --info", which comes |from generateConfigHs in "${WRKSRC}/hadrian/src/Rules/Generate.hs". | |It isn't fundamentally bad, that is, Cabal packages would have no problem |having the suffix in the installation path. However, it's very bad in our |case because it breaks every single PLIST file of pkgsrc Haskell |packages. pho@ believes this is an upstream bug: Cabal should have no |fundamental reason to inherit the ABI tag of the ghc-as-a-library |package. Or at least it shouldn't treat "inplace" as a genuine ABI tag that |needs inheriting. "inplace" is a dummy tag after all. | |TODO: Report this to Cabal folks. pho@ doesn't know how to fix this |properly. This is only a workaround that potentially has downsides. | |--- libraries/Cabal/Cabal/src/Distribution/Simple/GHC.hs.orig 2025-01-29 14:28:52.172116521 +0000 |+++ libraries/Cabal/Cabal/src/Distribution/Simple/GHC.hs -------------------------- Patching file libraries/Cabal/Cabal/src/Distribution/Simple/GHC.hs using Plan A... Hunk #1 succeeded at 240. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/lang/ghc910/patches/patch-libraries_Cabal_Cabal_src_Distribution_Simple_GHC_Build_Link.hs => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/lang/ghc910/patches/patch-libraries_Cabal_Cabal_src_Distribution_Simple_GHC_Build_Link.hs Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-libraries_Cabal_Cabal_src_Distribution_Simple_GHC_Build_Link.hs,v 1.1 2025/01/29 13:21:53 pho Exp $ | |Hunk #0, #1, #2: Revert the change introduced in | https://github.com/haskell/cabal/issues/1660 | | Do not use @rpath on Darwin, instead use the final destination path as a | library install name. This is pkgsrc-specific. | | See also https://github.com/haskell/cabal/pull/7076 And | https://github.com/haskell/cabal/issues/7339 | |Hunk #2: Enable Cabal's rpath overriding functionality on all the platforms | known to use ELF. | | When a Cabal package which defines both a library and an executable to be | built, GHC by default embeds an rpath to the *build* directory into the | executable. This may sound like a bug in GHC but is actually not, because | GHC doesn't know the fact that the said library is going to be installed | elsewhere. To overcome this issue, Cabal has a functionality to disable | the default rpath handling of GHC and construct the correct set of | rpaths... but only on certain platforms for some reason. | | Pull request: https://github.com/haskell/cabal/pull/7382 | |--- libraries/Cabal/Cabal/src/Distribution/Simple/GHC/Build/Link.hs.orig 2025-01-09 10:49:52.488968546 +0000 |+++ libraries/Cabal/Cabal/src/Distribution/Simple/GHC/Build/Link.hs -------------------------- Patching file libraries/Cabal/Cabal/src/Distribution/Simple/GHC/Build/Link.hs using Plan A... Hunk #1 succeeded at 213. Hunk #2 succeeded at 302. Hunk #3 succeeded at 503. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/lang/ghc910/patches/patch-libraries_Cabal_Cabal_src_Distribution_Simple_Register.hs => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/lang/ghc910/patches/patch-libraries_Cabal_Cabal_src_Distribution_Simple_Register.hs Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-libraries_Cabal_Cabal_src_Distribution_Simple_Register.hs,v 1.1 2025/01/29 13:21:53 pho Exp $ | |Fix a long-standing Cabal bug: when a package to be built contains a |library that has no Haskell modules, "./Setup register" tries to register |the library with fields "haddock-interfaces:" and "haddock-html:" pointing |at non-existent files or directories, and "ghc-pkg register" warns about |them. | |wiz@ asked me three times about these suspicious yet harmless warnings and |I kept telling him to just ignore them. I was lazy (as always) and |repeatedly said something like "oh yeah I'll fix it some time in the |future" but now the future has finally come! (pho@) | |https://github.com/haskell/cabal/pull/9997 | |--- libraries/Cabal/Cabal/src/Distribution/Simple/Register.hs.orig 2024-05-10 05:07:46.000000000 +0000 |+++ libraries/Cabal/Cabal/src/Distribution/Simple/Register.hs -------------------------- Patching file libraries/Cabal/Cabal/src/Distribution/Simple/Register.hs using Plan A... Hunk #1 succeeded at 541. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/lang/ghc910/patches/patch-libraries_base_src_System_CPUTime_Posix_Times.hsc => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/lang/ghc910/patches/patch-libraries_base_src_System_CPUTime_Posix_Times.hsc Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-libraries_base_src_System_CPUTime_Posix_Times.hsc,v 1.1 2025/01/29 13:21:53 pho Exp $ | |Use the correct symbol by going through the C header as opposed to directly |referencing a symbol in libc. | |--- libraries/base/src/System/CPUTime/Posix/Times.hsc.orig 2025-01-09 08:51:54.813962596 +0000 |+++ libraries/base/src/System/CPUTime/Posix/Times.hsc -------------------------- Patching file libraries/base/src/System/CPUTime/Posix/Times.hsc using Plan A... Hunk #1 succeeded at 30. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/lang/ghc910/patches/patch-libraries_ghc-internal_configure.ac => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/lang/ghc910/patches/patch-libraries_ghc-internal_configure.ac Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-libraries_ghc-internal_configure.ac,v 1.1 2025/01/29 13:21:53 pho Exp $ | |Ensure libiconv can be found at runtime. | |XXX: I don't think this is needed because rpath flags are handled by |Cabal. LDFLAGS is not used anyway. (pho@) | |--- libraries/ghc-internal/configure.ac.orig 2025-01-09 09:07:59.514895966 +0000 |+++ libraries/ghc-internal/configure.ac -------------------------- Patching file libraries/ghc-internal/configure.ac using Plan A... Hunk #1 succeeded at 126. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/lang/ghc910/patches/patch-libraries_ghc-internal_src_GHC_Internal_Event_KQueue.hsc => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/lang/ghc910/patches/patch-libraries_ghc-internal_src_GHC_Internal_Event_KQueue.hsc Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-libraries_ghc-internal_src_GHC_Internal_Event_KQueue.hsc,v 1.1 2025/01/29 13:21:53 pho Exp $ | |Use the correct symbol by going through the C header as opposed to directly |referencing a symbol in libc. | |--- libraries/ghc-internal/src/GHC/Internal/Event/KQueue.hsc.orig 2025-01-09 08:41:34.532911672 +0000 |+++ libraries/ghc-internal/src/GHC/Internal/Event/KQueue.hsc -------------------------- Patching file libraries/ghc-internal/src/GHC/Internal/Event/KQueue.hsc using Plan A... Hunk #1 succeeded at 299. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/lang/ghc910/patches/patch-libraries_ghc-internal_src_GHC_Internal_System_Environment.hs => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/lang/ghc910/patches/patch-libraries_ghc-internal_src_GHC_Internal_System_Environment.hs Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-libraries_ghc-internal_src_GHC_Internal_System_Environment.hs,v 1.1 2025/01/29 13:21:53 pho Exp $ | |Use the correct symbol by going through the C header as opposed to directly |referencing a symbol in libc. | |--- libraries/ghc-internal/src/GHC/Internal/System/Environment.hs.orig 2025-01-09 08:57:57.755161331 +0000 |+++ libraries/ghc-internal/src/GHC/Internal/System/Environment.hs -------------------------- Patching file libraries/ghc-internal/src/GHC/Internal/System/Environment.hs using Plan A... Hunk #1 succeeded at 1. Hunk #2 succeeded at 268. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/lang/ghc910/patches/patch-libraries_ghc-internal_src_GHC_Internal_System_Environment_Blank.hsc => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/lang/ghc910/patches/patch-libraries_ghc-internal_src_GHC_Internal_System_Environment_Blank.hsc Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-libraries_ghc-internal_src_GHC_Internal_System_Environment_Blank.hsc,v 1.1 2025/01/29 13:21:53 pho Exp $ | |Use the correct symbol by going through the C header as opposed to directly |referencing a symbol in libc. | |--- libraries/ghc-internal/src/GHC/Internal/System/Environment/Blank.hsc.orig 2025-01-09 09:01:08.402455355 +0000 |+++ libraries/ghc-internal/src/GHC/Internal/System/Environment/Blank.hsc -------------------------- Patching file libraries/ghc-internal/src/GHC/Internal/System/Environment/Blank.hsc using Plan A... Hunk #1 succeeded at 211. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/lang/ghc910/patches/patch-libraries_terminfo_configure.ac => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/lang/ghc910/patches/patch-libraries_terminfo_configure.ac Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-libraries_terminfo_configure.ac,v 1.1 2025/01/29 13:21:53 pho Exp $ | |Don't use "==" as it's a Bash-ism: |https://github.com/judah/terminfo/commit/09fe6ebe02d439c507c0bad6e500c9212f56e8e3 | |--- libraries/terminfo/configure.ac.orig 2023-10-23 02:48:49.253512773 +0000 |+++ libraries/terminfo/configure.ac -------------------------- Patching file libraries/terminfo/configure.ac using Plan A... Hunk #1 succeeded at 18. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/lang/ghc910/patches/patch-libraries_text_cbits_measure__off.c => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/lang/ghc910/patches/patch-libraries_text_cbits_measure__off.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-libraries_text_cbits_measure__off.c,v 1.1 2025/01/29 13:21:54 pho Exp $ | |Workaround for http://gnats.netbsd.org/58379 | |We really need to disable the AVX-512 code path, otherwise we end up |producing non-working binary. Patching it away is better than | | CFLAGS+= -D__STDC_NO_ATOMICS__ | |because AVX-512 being disabled is only a side effect of the macro being |defined. When the upstream code changes we can be promptly notified by the |patch not applying cleanly. | |--- libraries/text/cbits/measure_off.c.orig 2025-01-08 14:36:12.967927622 +0000 |+++ libraries/text/cbits/measure_off.c -------------------------- Patching file libraries/text/cbits/measure_off.c using Plan A... Hunk #1 succeeded at 13. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/lang/ghc910/patches/patch-libraries_time_lib_Data_Time_Clock_Internal_CTimespec.hsc => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/lang/ghc910/patches/patch-libraries_time_lib_Data_Time_Clock_Internal_CTimespec.hsc Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-libraries_time_lib_Data_Time_Clock_Internal_CTimespec.hsc,v 1.1 2025/01/29 13:21:54 pho Exp $ | |Suppress linker warnings about compatibility symbols. | |--- libraries/time/lib/Data/Time/Clock/Internal/CTimespec.hsc.orig 2020-01-04 02:21:30.506303962 +0000 |+++ libraries/time/lib/Data/Time/Clock/Internal/CTimespec.hsc -------------------------- Patching file libraries/time/lib/Data/Time/Clock/Internal/CTimespec.hsc using Plan A... Hunk #1 succeeded at 3 (offset 2 lines). Hunk #2 succeeded at 26 (offset -4 lines). done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/lang/ghc910/patches/patch-libraries_time_lib_Data_Time_Clock_Internal_CTimeval.hs => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/lang/ghc910/patches/patch-libraries_time_lib_Data_Time_Clock_Internal_CTimeval.hs Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-libraries_time_lib_Data_Time_Clock_Internal_CTimeval.hs,v 1.1 2025/01/29 13:21:54 pho Exp $ | |Suppress linker warnings about compatibility syscall wrappers by using |"capi" instead of "ccall". In Haskell FFI, "ccall" is actually an |interface to C ABI rather than C API. That is, GHC generates direct |references to the symbol even if it's actually defined as a cpp macro |or something like that, because GHC knows nothing about those macros |in foreign headers. Hence the following warnings: | | .../libHStime-1.4.0.1.a(CTimeval.o): In function `s1Kp_info': | (.text+0x2f): warning: warning: reference to compatibility | gettimeofday(); include to generate correct reference | |In other words, you can safely use "ccall" only when you are sure the |symbol you want to import is actually a symbol in the ABI sense, which |is not always the case for the POSIX API. | |--- libraries/time/lib/Data/Time/Clock/Internal/CTimeval.hs.orig 2021-10-28 20:42:10.000000000 +0000 |+++ libraries/time/lib/Data/Time/Clock/Internal/CTimeval.hs -------------------------- Patching file libraries/time/lib/Data/Time/Clock/Internal/CTimeval.hs using Plan A... Hunk #1 succeeded at 2 (offset 1 line). Hunk #2 succeeded at 23 (offset 1 line). done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/lang/ghc910/patches/patch-libraries_unix_System_Posix_Env.hsc => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/lang/ghc910/patches/patch-libraries_unix_System_Posix_Env.hsc Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-libraries_unix_System_Posix_Env.hsc,v 1.1 2025/01/29 13:21:54 pho Exp $ | |Suppress linker warnings about compatibility symbols by using "capi" |instead of "ccall". | |--- libraries/unix/System/Posix/Env.hsc.orig 2023-09-21 11:31:41.000000000 +0000 |+++ libraries/unix/System/Posix/Env.hsc -------------------------- Patching file libraries/unix/System/Posix/Env.hsc using Plan A... Hunk #1 succeeded at 120 (offset -21 lines). done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/lang/ghc910/patches/patch-libraries_unix_System_Posix_Env_ByteString.hsc => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/lang/ghc910/patches/patch-libraries_unix_System_Posix_Env_ByteString.hsc Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-libraries_unix_System_Posix_Env_ByteString.hsc,v 1.1 2025/01/29 13:21:54 pho Exp $ | |Suppress linker warnings about compatibility symbols by using "capi" |instead of "ccall". | |--- libraries/unix/System/Posix/Env/ByteString.hsc.orig 2022-12-23 16:19:54.000000000 +0000 |+++ libraries/unix/System/Posix/Env/ByteString.hsc -------------------------- Patching file libraries/unix/System/Posix/Env/ByteString.hsc using Plan A... Hunk #1 succeeded at 137 (offset -16 lines). done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/lang/ghc910/patches/patch-libraries_unix_System_Posix_Env_PosixString.hsc => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/lang/ghc910/patches/patch-libraries_unix_System_Posix_Env_PosixString.hsc Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-libraries_unix_System_Posix_Env_PosixString.hsc,v 1.1 2025/01/29 13:21:54 pho Exp $ | |Suppress linker warnings about compatibility symbols by using "capi" |instead of "ccall". | |--- libraries/unix/System/Posix/Env/PosixString.hsc.orig 2023-10-23 10:24:23.010158238 +0000 |+++ libraries/unix/System/Posix/Env/PosixString.hsc -------------------------- Patching file libraries/unix/System/Posix/Env/PosixString.hsc using Plan A... Hunk #1 succeeded at 135 (offset -11 lines). done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/lang/ghc910/patches/patch-libraries_unix_System_Posix_Signals.hsc => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/lang/ghc910/patches/patch-libraries_unix_System_Posix_Signals.hsc Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-libraries_unix_System_Posix_Signals.hsc,v 1.1 2025/01/29 13:21:54 pho Exp $ | |Suppress linker warnings about compatibility symbols. | |--- libraries/unix/System/Posix/Signals.hsc.orig 2023-09-21 11:31:41.000000000 +0000 |+++ libraries/unix/System/Posix/Signals.hsc -------------------------- Patching file libraries/unix/System/Posix/Signals.hsc using Plan A... Hunk #1 succeeded at 858 (offset 10 lines). Hunk #2 succeeded at 870 (offset 10 lines). done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/lang/ghc910/patches/patch-libraries_unix_System_Posix_User.hsc => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/lang/ghc910/patches/patch-libraries_unix_System_Posix_User.hsc Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-libraries_unix_System_Posix_User.hsc,v 1.1 2025/01/29 13:21:54 pho Exp $ | |Suppress linker warnings about compatibility symbols by using "capi" |instead of "ccall". | |--- libraries/unix/System/Posix/User.hsc.orig 2023-10-23 10:26:54.941601450 +0000 |+++ libraries/unix/System/Posix/User.hsc -------------------------- Patching file libraries/unix/System/Posix/User.hsc using Plan A... Hunk #1 succeeded at 605. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/lang/ghc910/patches/patch-libraries_unix_System_Posix_User_ByteString.hsc => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/lang/ghc910/patches/patch-libraries_unix_System_Posix_User_ByteString.hsc Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-libraries_unix_System_Posix_User_ByteString.hsc,v 1.1 2025/01/29 13:21:54 pho Exp $ | |Suppress linker warnings about compatibility symbols by using "capi" |instead of "ccall". | |--- libraries/unix/System/Posix/User/ByteString.hsc.orig 2023-10-24 03:45:34.747217813 +0000 |+++ libraries/unix/System/Posix/User/ByteString.hsc -------------------------- Patching file libraries/unix/System/Posix/User/ByteString.hsc using Plan A... Hunk #1 succeeded at 522. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/lang/ghc910/patches/patch-m4_fptools__set__haskell__platform__vars.m4 => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/lang/ghc910/patches/patch-m4_fptools__set__haskell__platform__vars.m4 Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-m4_fptools__set__haskell__platform__vars.m4,v 1.1 2025/01/29 13:21:54 pho Exp $ | |Pretend the toolchain doesn't support .note.GNU-stack on NetBSD. This is a |temporary workaround and shouldn't live forever. See: |https://mail-index.netbsd.org/tech-toolchain/2023/01/15/msg004188.html | |--- m4/fptools_set_haskell_platform_vars.m4.orig 2023-01-15 14:19:38.638967614 +0000 |+++ m4/fptools_set_haskell_platform_vars.m4 -------------------------- Patching file m4/fptools_set_haskell_platform_vars.m4 using Plan A... Hunk #1 succeeded at 193 (offset 13 lines). Hunk #2 succeeded at 224 (offset 13 lines). done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/lang/ghc910/patches/patch-rts_rts.cabal => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/lang/ghc910/patches/patch-rts_rts.cabal Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-rts_rts.cabal,v 1.1 2025/01/29 13:21:54 pho Exp $ | |Fix build on Illumos where ld(1) dislikes undefined symbols in executables just like MacOS X. | |https://gitlab.haskell.org/ghc/ghc/-/merge_requests/12613 | |--- rts/rts.cabal.orig 2025-01-09 09:14:35.671178262 +0000 |+++ rts/rts.cabal -------------------------- Patching file rts/rts.cabal using Plan A... Hunk #1 succeeded at 335. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/lang/ghc910/patches/patch-utils_haddock_driver_Main.hs => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/lang/ghc910/patches/patch-utils_haddock_driver_Main.hs Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-utils_haddock_driver_Main.hs,v 1.1 2025/01/29 13:21:54 pho Exp $ | |Workaround for haddock dying when the locale isn't "*.UTF-8". Of course |this isn't a real fix. Haddock is very fragile when it comes to locale |setting, and fixing it properly would be seriously a lot of work. | |--- utils/haddock/driver/Main.hs.orig 2020-07-28 17:05:24.000000000 +0000 |+++ utils/haddock/driver/Main.hs -------------------------- Patching file utils/haddock/driver/Main.hs using Plan A... Hunk #1 succeeded at 1. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/lang/ghc910/patches/patch-utils_haddock_haddock.cabal => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/lang/ghc910/patches/patch-utils_haddock_haddock.cabal Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-utils_haddock_haddock.cabal,v 1.1 2025/01/29 13:21:54 pho Exp $ | |Don't assume we always build the threaded RTS. | |Pull request: |https://github.com/haskell/haddock/pull/1575 | |--- utils/haddock/haddock.cabal.orig 2023-01-11 07:37:47.265320221 +0000 |+++ utils/haddock/haddock.cabal -------------------------- Patching file utils/haddock/haddock.cabal using Plan A... Hunk #1 succeeded at 59. done ===> Regenerating configuration scripts for ghc-9.10.1nb1 configure.ac:422: warning: The macro 'AC_PROG_CC_C99' is obsolete. configure.ac:422: You should run autoupdate. ./lib/autoconf/c.m4:1662: AC_PROG_CC_C99 is expanded from... m4/fp_set_cflags_c99.m4:7: FP_SET_CFLAGS_C99 is expanded from... configure.ac:422: the top level configure.ac:423: warning: The macro 'AC_PROG_CC_C99' is obsolete. configure.ac:423: You should run autoupdate. ./lib/autoconf/c.m4:1662: AC_PROG_CC_C99 is expanded from... m4/fp_set_cflags_c99.m4:7: FP_SET_CFLAGS_C99 is expanded from... configure.ac:423: the top level configure.ac:424: warning: The macro 'AC_PROG_CC_C99' is obsolete. configure.ac:424: You should run autoupdate. ./lib/autoconf/c.m4:1662: AC_PROG_CC_C99 is expanded from... m4/fp_set_cflags_c99.m4:7: FP_SET_CFLAGS_C99 is expanded from... configure.ac:424: the top level configure.ac:425: warning: The macro 'AC_PROG_CC_C99' is obsolete. configure.ac:425: You should run autoupdate. ./lib/autoconf/c.m4:1662: AC_PROG_CC_C99 is expanded from... m4/fp_set_cflags_c99.m4:7: FP_SET_CFLAGS_C99 is expanded from... configure.ac:425: the top level configure.ac:962: warning: AC_C_BIGENDIAN should be used with AC_CONFIG_HEADERS configure.ac:9: warning: The macro 'AC_HELP_STRING' is obsolete. configure.ac:9: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... ./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from... configure.ac:9: the top level ===> Creating toolchain wrappers for ghc-9.10.1nb1 ===> Configuring for ghc-9.10.1nb1 ===> Extracting bootstrapping compiler for ghc-9.10.1nb1 ===> Preparing bootstrapping compiler for ghc-9.10.1nb1 configure: WARNING: unrecognized options: --with-curses-libraries, --with-gmp-includes, --with-gmp-libraries, --with-iconv-includes, --with-iconv-libraries, --with-ffi-includes, --with-ffi-libraries, --with-bindist-prefix, --with-system-libffi checking build system type... x86_64-unknown-netbsd9.3 checking host system type... x86_64-unknown-netbsd9.3 checking target system type... x86_64-unknown-netbsd9.3 build platform inferred as: x86_64-unknown-netbsd host platform inferred as: x86_64-unknown-netbsd target platform inferred as: x86_64-unknown-netbsd configure: GHC build : x86_64-unknown-netbsd configure: GHC host : x86_64-unknown-netbsd configure: GHC target : x86_64-unknown-netbsd checking for path to top of build tree... /tmp/lang/ghc910/work/bootkit-dist/ghc-9.8.2-boot-x86_64-unknown-netbsd checking for a BSD-compatible install... /tmp/lang/ghc910/work/.tools/bin/install -c checking whether ln -s works... yes checking for gsed... sed checking for python3... /usr/pkg/bin/python3.12 checking for gfind... no checking for find... /tmp/lang/ghc910/work/.tools/bin/find checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether the compiler supports GNU C... yes checking whether gcc accepts -g... yes checking for gcc option to enable C11 features... none needed checking whether the compiler supports GNU C++... yes checking whether c++ accepts -g... yes checking for c++ option to enable C++11 features... none needed checking how to run the C preprocessor... gcc -E checking for -ld... ld checking for ld.gold object merging bug (binutils 22266)... checking whether ld is GNU ld... YES checking whether ld understands -no_compact_unwind... yes checking whether ld understands -filelist... no checking whether ld supports -single_module... no checking for -strip... no checking for strip... strip checking for gawk... /usr/bin/awk no configure: We only support llvm 11 upto 16 (non-inclusive) (no version found). no configure: We only support llvm 11 upto 16 (non-inclusive) (no version found). checking version of gcc... checking version of gcc... 7.5.0 7.5.0 checking whether CC supports -no-pie... yes checking whether CC supports flags passed by GHC when compiling via C... yes checking Setting up CFLAGS, LDFLAGS, IGNORE_LINKER_LD_FLAGS and CPPFLAGS... done checking Setting up CONF_CC_OPTS_STAGE0, CONF_GCC_LINKER_OPTS_STAGE0, CONF_LD_LINKER_OPTS_STAGE0 and CONF_CPP_OPTS_STAGE0... done checking Setting up CONF_CC_OPTS_STAGE1, CONF_GCC_LINKER_OPTS_STAGE1, CONF_LD_LINKER_OPTS_STAGE1 and CONF_CPP_OPTS_STAGE1... done checking Setting up CONF_CC_OPTS_STAGE2, CONF_GCC_LINKER_OPTS_STAGE2, CONF_LD_LINKER_OPTS_STAGE2 and CONF_CPP_OPTS_STAGE2... done checking whether ld supports response files... yes checking C++ standard library flavour... libstdc++ checking for linkage against 'stdc++'... success checking for -otool... no checking for otool... no checking for -install_name_tool... no checking for install_name_tool... no checking for .subsections_via_symbols... no checking whether your assembler supports .ident directive... yes checking whether gcc supports --target... no checking whether gcc supports --target... no checking whether gcc supports -Qunused-arguments... no checking whether gcc supports -Qunused-arguments... no checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking size of void *... 8 checking whether byte ordering is bigendian... no checking for -ar... no checking for ar... ar checking whether ar is GNU ar... yes checking for ar arguments... q checking whether ar supports @file... yes checking whether ar supports -L... ar: conftest.a: No such file or directory no checking for ranlib... ranlib configure: creating ./config.status config.status: creating mk/system-cxx-std-lib-1.0.conf config.status: creating config.mk config.status: creating mk/hsc2hs configure: WARNING: unrecognized options: --with-curses-libraries, --with-gmp-includes, --with-gmp-libraries, --with-iconv-includes, --with-iconv-libraries, --with-ffi-includes, --with-ffi-libraries, --with-bindist-prefix, --with-system-libffi **************************************************** Configuration done, ready to 'make install' (see README and INSTALL files for more info.) **************************************************** Copying binaries to /tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/bin /tmp/lang/ghc910/work/.tools/bin/install -c -m 755 -d "/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/bin" for i in ./bin/ghc ./bin/ghc-9.8.2 ./bin/ghc-iserv ./bin/ghc-iserv-ghc-9.8.2 ./bin/ghc-pkg ./bin/ghc-pkg-9.8.2 ./bin/haddock ./bin/haddock-ghc-9.8.2 ./bin/hp2ps ./bin/hp2ps-ghc-9.8.2 ./bin/hpc ./bin/hpc-ghc-9.8.2 ./bin/hsc2hs ./bin/hsc2hs-ghc-9.8.2 ./bin/runghc ./bin/runghc-9.8.2 ./bin/runhaskell ./bin/runhaskell-9.8.2 ./bin/unlit ./bin/unlit-ghc-9.8.2; do \ if test -L "$i"; then \ cp -RP "$i" "/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/bin"; \ else \ /tmp/lang/ghc910/work/.tools/bin/install -c -m 755 "$i" "/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/bin"; \ fi; \ done # Work around #17418 on Darwin if [ -e "" ]; then \ "" -c -r "/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/bin"; \ fi Copying hsc2hs wrapper cp mk/hsc2hs wrappers/hsc2hs-ghc-9.8.2 Installing wrapper scripts /tmp/lang/ghc910/work/.tools/bin/install -c -m 755 -d "/tmp/lang/ghc910/work/.tools/bin" for p in `cd wrappers; /tmp/lang/ghc910/work/.tools/bin/find . ! -type d`; do \ mk/install_script.sh "$p" "//tmp/lang/ghc910/work/.tools/bin/$p" "/tmp/lang/ghc910/work/.tools/bin" "/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/bin" "/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/bin/$p" "/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib" "/tmp/lang/ghc910/work/.tools/share/doc/ghc-9.8.2" "/tmp/lang/ghc910/work/.tools/include"; \ done Installing ./ghc-9.8.2 -> //tmp/lang/ghc910/work/.tools/bin/./ghc-9.8.2 Installing ./ghc -> //tmp/lang/ghc910/work/.tools/bin/./ghc Installing ./ghci-9.8.2 -> //tmp/lang/ghc910/work/.tools/bin/./ghci-9.8.2 Installing ./ghci -> //tmp/lang/ghc910/work/.tools/bin/./ghci Installing ./ghc-pkg-9.8.2 -> //tmp/lang/ghc910/work/.tools/bin/./ghc-pkg-9.8.2 Installing ./ghc-pkg -> //tmp/lang/ghc910/work/.tools/bin/./ghc-pkg Installing ./hp2ps-ghc-9.8.2 -> //tmp/lang/ghc910/work/.tools/bin/./hp2ps-ghc-9.8.2 Installing ./hp2ps -> //tmp/lang/ghc910/work/.tools/bin/./hp2ps Installing ./hsc2hs-ghc-9.8.2 -> //tmp/lang/ghc910/work/.tools/bin/./hsc2hs-ghc-9.8.2 Installing ./hsc2hs -> //tmp/lang/ghc910/work/.tools/bin/./hsc2hs Installing ./haddock-ghc-9.8.2 -> //tmp/lang/ghc910/work/.tools/bin/./haddock-ghc-9.8.2 Installing ./haddock -> //tmp/lang/ghc910/work/.tools/bin/./haddock Installing ./hpc-ghc-9.8.2 -> //tmp/lang/ghc910/work/.tools/bin/./hpc-ghc-9.8.2 Installing ./hpc -> //tmp/lang/ghc910/work/.tools/bin/./hpc Installing ./runghc-9.8.2 -> //tmp/lang/ghc910/work/.tools/bin/./runghc-9.8.2 Installing ./runghc -> //tmp/lang/ghc910/work/.tools/bin/./runghc Installing ./runhaskell-9.8.2 -> //tmp/lang/ghc910/work/.tools/bin/./runhaskell-9.8.2 Installing ./runhaskell -> //tmp/lang/ghc910/work/.tools/bin/./runhaskell Copying libraries to /tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib /tmp/lang/ghc910/work/.tools/bin/install -c -m 755 -d "/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib" # Work around #17418 on Darwin if [ -e "" ]; then \ "" -c -r "/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib"; \ fi if [ -f manpage/ghc.1 ]; then \ /tmp/lang/ghc910/work/.tools/bin/install -c -m 755 -d "/tmp/lang/ghc910/work/.tools/share/man"; \ /tmp/lang/ghc910/work/.tools/bin/install -c -m 755 -d "/tmp/lang/ghc910/work/.tools/share/man/man1"; \ /tmp/lang/ghc910/work/.tools/bin/install -c -m 644 manpage/ghc.1 "/tmp/lang/ghc910/work/.tools/share/man/man1"; \ fi Copying docs to /tmp/lang/ghc910/work/.tools/share/doc/ghc-9.8.2 /tmp/lang/ghc910/work/.tools/bin/install -c -m 755 -d "/tmp/lang/ghc910/work/.tools/share/doc/ghc-9.8.2" if [ -d doc ]; then \ cd doc; /tmp/lang/ghc910/work/.tools/bin/find . -type f -exec sh -c \ '/tmp/lang/ghc910/work/.tools/bin/install -c -m 755 -d "/tmp/lang/ghc910/work/.tools/share/doc/ghc-9.8.2/`dirname $1`" && /tmp/lang/ghc910/work/.tools/bin/install -c -m 644 "$1" "/tmp/lang/ghc910/work/.tools/share/doc/ghc-9.8.2/`dirname $1`"' \ sh '{}' ';'; \ fi if [ -d docs-utils ]; then \ /tmp/lang/ghc910/work/.tools/bin/install -c -m 755 -d "/tmp/lang/ghc910/work/.tools/share/doc/ghc-9.8.2/html/libraries/"; \ /tmp/lang/ghc910/work/.tools/bin/install -c -m 644 docs-utils/prologue.txt "/tmp/lang/ghc910/work/.tools/share/doc/ghc-9.8.2/html/libraries/"; \ /tmp/lang/ghc910/work/.tools/bin/install -c -m 755 docs-utils/gen_contents_index "/tmp/lang/ghc910/work/.tools/share/doc/ghc-9.8.2/html/libraries/"; \ fi Installing C++ standard library virtual package /tmp/lang/ghc910/work/.tools/bin/install -c -m 644 mk/system-cxx-std-lib-1.0.conf "/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d" Updating the package DB # to the doc files. cat '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/rts-1.0.2.conf' | sed 's|haddock-interfaces.*|haddock-interfaces: "${pkgroot}/../../../share/doc/ghc-9.8.2/html/libraries/rts-1.0.2/rts-1.0.2.conf.haddock"|' | sed 's|haddock-html.*|haddock-html: "${pkgroot}/../../../share/doc/ghc-9.8.2/html/libraries/rts-1.0.2"|' | sed 's| ${pkgroot}/../../doc/html/.*||' > '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/rts-1.0.2.conf.copy' # The rts package doesn't actually supply haddocks, so we stop advertising them # altogether. ((echo "rts-1.0.2.conf" | grep rts) && (cat '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/rts-1.0.2.conf.copy' | sed 's|haddock-.*||' > '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/rts-1.0.2.conf.copy.copy')) || (cat '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/rts-1.0.2.conf.copy' > '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/rts-1.0.2.conf.copy.copy') rts-1.0.2.conf # We finally replace the original file. mv '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/rts-1.0.2.conf.copy.copy' '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/rts-1.0.2.conf' # Fix the mode, in case umask is set chmod 644 '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/rts-1.0.2.conf' # to the doc files. cat '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/system-cxx-std-lib-1.0.conf' | sed 's|haddock-interfaces.*|haddock-interfaces: "${pkgroot}/../../../share/doc/ghc-9.8.2/html/libraries/system-cxx-std-lib-1.0/system-cxx-std-lib-1.0.conf.haddock"|' | sed 's|haddock-html.*|haddock-html: "${pkgroot}/../../../share/doc/ghc-9.8.2/html/libraries/system-cxx-std-lib-1.0"|' | sed 's| ${pkgroot}/../../doc/html/.*||' > '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/system-cxx-std-lib-1.0.conf.copy' # The rts package doesn't actually supply haddocks, so we stop advertising them # altogether. ((echo "system-cxx-std-lib-1.0.conf" | grep rts) && (cat '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/system-cxx-std-lib-1.0.conf.copy' | sed 's|haddock-.*||' > '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/system-cxx-std-lib-1.0.conf.copy.copy')) || (cat '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/system-cxx-std-lib-1.0.conf.copy' > '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/system-cxx-std-lib-1.0.conf.copy.copy') # We finally replace the original file. mv '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/system-cxx-std-lib-1.0.conf.copy.copy' '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/system-cxx-std-lib-1.0.conf' # Fix the mode, in case umask is set chmod 644 '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/system-cxx-std-lib-1.0.conf' # to the doc files. cat '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/ghc-boot-th-9.8.2-inplace.conf' | sed 's|haddock-interfaces.*|haddock-interfaces: "${pkgroot}/../../../share/doc/ghc-9.8.2/html/libraries/ghc-boot-th-9.8.2-inplace/ghc-boot-th.haddock"|' | sed 's|haddock-html.*|haddock-html: "${pkgroot}/../../../share/doc/ghc-9.8.2/html/libraries/ghc-boot-th-9.8.2-inplace"|' | sed 's| ${pkgroot}/../../doc/html/.*||' > '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/ghc-boot-th-9.8.2-inplace.conf.copy' # The rts package doesn't actually supply haddocks, so we stop advertising them # altogether. ((echo "ghc-boot-th" | grep rts) && (cat '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/ghc-boot-th-9.8.2-inplace.conf.copy' | sed 's|haddock-.*||' > '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/ghc-boot-th-9.8.2-inplace.conf.copy.copy')) || (cat '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/ghc-boot-th-9.8.2-inplace.conf.copy' > '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/ghc-boot-th-9.8.2-inplace.conf.copy.copy') # We finally replace the original file. mv '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/ghc-boot-th-9.8.2-inplace.conf.copy.copy' '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/ghc-boot-th-9.8.2-inplace.conf' # Fix the mode, in case umask is set chmod 644 '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/ghc-boot-th-9.8.2-inplace.conf' # to the doc files. cat '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/integer-gmp-1.1-inplace.conf' | sed 's|haddock-interfaces.*|haddock-interfaces: "${pkgroot}/../../../share/doc/ghc-9.8.2/html/libraries/integer-gmp-1.1-inplace/integer-gmp.haddock"|' | sed 's|haddock-html.*|haddock-html: "${pkgroot}/../../../share/doc/ghc-9.8.2/html/libraries/integer-gmp-1.1-inplace"|' | sed 's| ${pkgroot}/../../doc/html/.*||' > '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/integer-gmp-1.1-inplace.conf.copy' # The rts package doesn't actually supply haddocks, so we stop advertising them # altogether. ((echo "integer-gmp" | grep rts) && (cat '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/integer-gmp-1.1-inplace.conf.copy' | sed 's|haddock-.*||' > '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/integer-gmp-1.1-inplace.conf.copy.copy')) || (cat '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/integer-gmp-1.1-inplace.conf.copy' > '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/integer-gmp-1.1-inplace.conf.copy.copy') # We finally replace the original file. mv '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/integer-gmp-1.1-inplace.conf.copy.copy' '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/integer-gmp-1.1-inplace.conf' # Fix the mode, in case umask is set chmod 644 '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/integer-gmp-1.1-inplace.conf' # to the doc files. cat '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/ghc-prim-0.11.0-inplace.conf' | sed 's|haddock-interfaces.*|haddock-interfaces: "${pkgroot}/../../../share/doc/ghc-9.8.2/html/libraries/ghc-prim-0.11.0-inplace/ghc-prim.haddock"|' | sed 's|haddock-html.*|haddock-html: "${pkgroot}/../../../share/doc/ghc-9.8.2/html/libraries/ghc-prim-0.11.0-inplace"|' | sed 's| ${pkgroot}/../../doc/html/.*||' > '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/ghc-prim-0.11.0-inplace.conf.copy' # The rts package doesn't actually supply haddocks, so we stop advertising them # altogether. ((echo "ghc-prim" | grep rts) && (cat '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/ghc-prim-0.11.0-inplace.conf.copy' | sed 's|haddock-.*||' > '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/ghc-prim-0.11.0-inplace.conf.copy.copy')) || (cat '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/ghc-prim-0.11.0-inplace.conf.copy' > '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/ghc-prim-0.11.0-inplace.conf.copy.copy') # We finally replace the original file. mv '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/ghc-prim-0.11.0-inplace.conf.copy.copy' '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/ghc-prim-0.11.0-inplace.conf' # Fix the mode, in case umask is set chmod 644 '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/ghc-prim-0.11.0-inplace.conf' # to the doc files. cat '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/ghc-bignum-1.3-inplace.conf' | sed 's|haddock-interfaces.*|haddock-interfaces: "${pkgroot}/../../../share/doc/ghc-9.8.2/html/libraries/ghc-bignum-1.3-inplace/ghc-bignum.haddock"|' | sed 's|haddock-html.*|haddock-html: "${pkgroot}/../../../share/doc/ghc-9.8.2/html/libraries/ghc-bignum-1.3-inplace"|' | sed 's| ${pkgroot}/../../doc/html/.*||' > '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/ghc-bignum-1.3-inplace.conf.copy' # The rts package doesn't actually supply haddocks, so we stop advertising them # altogether. ((echo "ghc-bignum" | grep rts) && (cat '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/ghc-bignum-1.3-inplace.conf.copy' | sed 's|haddock-.*||' > '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/ghc-bignum-1.3-inplace.conf.copy.copy')) || (cat '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/ghc-bignum-1.3-inplace.conf.copy' > '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/ghc-bignum-1.3-inplace.conf.copy.copy') # We finally replace the original file. mv '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/ghc-bignum-1.3-inplace.conf.copy.copy' '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/ghc-bignum-1.3-inplace.conf' # Fix the mode, in case umask is set chmod 644 '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/ghc-bignum-1.3-inplace.conf' # to the doc files. cat '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/base-4.19.1.0-inplace.conf' | sed 's|haddock-interfaces.*|haddock-interfaces: "${pkgroot}/../../../share/doc/ghc-9.8.2/html/libraries/base-4.19.1.0-inplace/base.haddock"|' | sed 's|haddock-html.*|haddock-html: "${pkgroot}/../../../share/doc/ghc-9.8.2/html/libraries/base-4.19.1.0-inplace"|' | sed 's| ${pkgroot}/../../doc/html/.*||' > '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/base-4.19.1.0-inplace.conf.copy' # The rts package doesn't actually supply haddocks, so we stop advertising them # altogether. ((echo "base" | grep rts) && (cat '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/base-4.19.1.0-inplace.conf.copy' | sed 's|haddock-.*||' > '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/base-4.19.1.0-inplace.conf.copy.copy')) || (cat '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/base-4.19.1.0-inplace.conf.copy' > '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/base-4.19.1.0-inplace.conf.copy.copy') # We finally replace the original file. mv '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/base-4.19.1.0-inplace.conf.copy.copy' '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/base-4.19.1.0-inplace.conf' # Fix the mode, in case umask is set chmod 644 '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/base-4.19.1.0-inplace.conf' # to the doc files. cat '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/array-0.5.6.0-inplace.conf' | sed 's|haddock-interfaces.*|haddock-interfaces: "${pkgroot}/../../../share/doc/ghc-9.8.2/html/libraries/array-0.5.6.0-inplace/array.haddock"|' | sed 's|haddock-html.*|haddock-html: "${pkgroot}/../../../share/doc/ghc-9.8.2/html/libraries/array-0.5.6.0-inplace"|' | sed 's| ${pkgroot}/../../doc/html/.*||' > '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/array-0.5.6.0-inplace.conf.copy' # The rts package doesn't actually supply haddocks, so we stop advertising them # altogether. ((echo "array" | grep rts) && (cat '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/array-0.5.6.0-inplace.conf.copy' | sed 's|haddock-.*||' > '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/array-0.5.6.0-inplace.conf.copy.copy')) || (cat '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/array-0.5.6.0-inplace.conf.copy' > '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/array-0.5.6.0-inplace.conf.copy.copy') # We finally replace the original file. mv '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/array-0.5.6.0-inplace.conf.copy.copy' '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/array-0.5.6.0-inplace.conf' # Fix the mode, in case umask is set chmod 644 '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/array-0.5.6.0-inplace.conf' # to the doc files. cat '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/terminfo-0.4.1.6-inplace.conf' | sed 's|haddock-interfaces.*|haddock-interfaces: "${pkgroot}/../../../share/doc/ghc-9.8.2/html/libraries/terminfo-0.4.1.6-inplace/terminfo.haddock"|' | sed 's|haddock-html.*|haddock-html: "${pkgroot}/../../../share/doc/ghc-9.8.2/html/libraries/terminfo-0.4.1.6-inplace"|' | sed 's| ${pkgroot}/../../doc/html/.*||' > '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/terminfo-0.4.1.6-inplace.conf.copy' # The rts package doesn't actually supply haddocks, so we stop advertising them # altogether. ((echo "terminfo" | grep rts) && (cat '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/terminfo-0.4.1.6-inplace.conf.copy' | sed 's|haddock-.*||' > '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/terminfo-0.4.1.6-inplace.conf.copy.copy')) || (cat '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/terminfo-0.4.1.6-inplace.conf.copy' > '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/terminfo-0.4.1.6-inplace.conf.copy.copy') # We finally replace the original file. mv '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/terminfo-0.4.1.6-inplace.conf.copy.copy' '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/terminfo-0.4.1.6-inplace.conf' # Fix the mode, in case umask is set chmod 644 '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/terminfo-0.4.1.6-inplace.conf' # to the doc files. cat '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/transformers-0.6.1.0-inplace.conf' | sed 's|haddock-interfaces.*|haddock-interfaces: "${pkgroot}/../../../share/doc/ghc-9.8.2/html/libraries/transformers-0.6.1.0-inplace/transformers.haddock"|' | sed 's|haddock-html.*|haddock-html: "${pkgroot}/../../../share/doc/ghc-9.8.2/html/libraries/transformers-0.6.1.0-inplace"|' | sed 's| ${pkgroot}/../../doc/html/.*||' > '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/transformers-0.6.1.0-inplace.conf.copy' # The rts package doesn't actually supply haddocks, so we stop advertising them # altogether. ((echo "transformers" | grep rts) && (cat '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/transformers-0.6.1.0-inplace.conf.copy' | sed 's|haddock-.*||' > '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/transformers-0.6.1.0-inplace.conf.copy.copy')) || (cat '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/transformers-0.6.1.0-inplace.conf.copy' > '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/transformers-0.6.1.0-inplace.conf.copy.copy') # We finally replace the original file. mv '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/transformers-0.6.1.0-inplace.conf.copy.copy' '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/transformers-0.6.1.0-inplace.conf' # Fix the mode, in case umask is set chmod 644 '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/transformers-0.6.1.0-inplace.conf' # to the doc files. cat '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/xhtml-3000.2.2.1-inplace.conf' | sed 's|haddock-interfaces.*|haddock-interfaces: "${pkgroot}/../../../share/doc/ghc-9.8.2/html/libraries/xhtml-3000.2.2.1-inplace/xhtml.haddock"|' | sed 's|haddock-html.*|haddock-html: "${pkgroot}/../../../share/doc/ghc-9.8.2/html/libraries/xhtml-3000.2.2.1-inplace"|' | sed 's| ${pkgroot}/../../doc/html/.*||' > '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/xhtml-3000.2.2.1-inplace.conf.copy' # The rts package doesn't actually supply haddocks, so we stop advertising them # altogether. ((echo "xhtml" | grep rts) && (cat '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/xhtml-3000.2.2.1-inplace.conf.copy' | sed 's|haddock-.*||' > '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/xhtml-3000.2.2.1-inplace.conf.copy.copy')) || (cat '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/xhtml-3000.2.2.1-inplace.conf.copy' > '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/xhtml-3000.2.2.1-inplace.conf.copy.copy') # We finally replace the original file. mv '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/xhtml-3000.2.2.1-inplace.conf.copy.copy' '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/xhtml-3000.2.2.1-inplace.conf' # Fix the mode, in case umask is set chmod 644 '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/xhtml-3000.2.2.1-inplace.conf' # to the doc files. cat '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/template-haskell-2.21.0.0-inplace.conf' | sed 's|haddock-interfaces.*|haddock-interfaces: "${pkgroot}/../../../share/doc/ghc-9.8.2/html/libraries/template-haskell-2.21.0.0-inplace/template-haskell.haddock"|' | sed 's|haddock-html.*|haddock-html: "${pkgroot}/../../../share/doc/ghc-9.8.2/html/libraries/template-haskell-2.21.0.0-inplace"|' | sed 's| ${pkgroot}/../../doc/html/.*||' > '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/template-haskell-2.21.0.0-inplace.conf.copy' # The rts package doesn't actually supply haddocks, so we stop advertising them # altogether. ((echo "template-haskell" | grep rts) && (cat '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/template-haskell-2.21.0.0-inplace.conf.copy' | sed 's|haddock-.*||' > '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/template-haskell-2.21.0.0-inplace.conf.copy.copy')) || (cat '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/template-haskell-2.21.0.0-inplace.conf.copy' > '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/template-haskell-2.21.0.0-inplace.conf.copy.copy') # We finally replace the original file. mv '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/template-haskell-2.21.0.0-inplace.conf.copy.copy' '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/template-haskell-2.21.0.0-inplace.conf' # Fix the mode, in case umask is set chmod 644 '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/template-haskell-2.21.0.0-inplace.conf' # to the doc files. cat '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/deepseq-1.5.0.0-inplace.conf' | sed 's|haddock-interfaces.*|haddock-interfaces: "${pkgroot}/../../../share/doc/ghc-9.8.2/html/libraries/deepseq-1.5.0.0-inplace/deepseq.haddock"|' | sed 's|haddock-html.*|haddock-html: "${pkgroot}/../../../share/doc/ghc-9.8.2/html/libraries/deepseq-1.5.0.0-inplace"|' | sed 's| ${pkgroot}/../../doc/html/.*||' > '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/deepseq-1.5.0.0-inplace.conf.copy' # The rts package doesn't actually supply haddocks, so we stop advertising them # altogether. ((echo "deepseq" | grep rts) && (cat '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/deepseq-1.5.0.0-inplace.conf.copy' | sed 's|haddock-.*||' > '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/deepseq-1.5.0.0-inplace.conf.copy.copy')) || (cat '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/deepseq-1.5.0.0-inplace.conf.copy' > '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/deepseq-1.5.0.0-inplace.conf.copy.copy') # We finally replace the original file. mv '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/deepseq-1.5.0.0-inplace.conf.copy.copy' '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/deepseq-1.5.0.0-inplace.conf' # Fix the mode, in case umask is set chmod 644 '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/deepseq-1.5.0.0-inplace.conf' # to the doc files. cat '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/stm-2.5.2.1-inplace.conf' | sed 's|haddock-interfaces.*|haddock-interfaces: "${pkgroot}/../../../share/doc/ghc-9.8.2/html/libraries/stm-2.5.2.1-inplace/stm.haddock"|' | sed 's|haddock-html.*|haddock-html: "${pkgroot}/../../../share/doc/ghc-9.8.2/html/libraries/stm-2.5.2.1-inplace"|' | sed 's| ${pkgroot}/../../doc/html/.*||' > '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/stm-2.5.2.1-inplace.conf.copy' # The rts package doesn't actually supply haddocks, so we stop advertising them # altogether. ((echo "stm" | grep rts) && (cat '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/stm-2.5.2.1-inplace.conf.copy' | sed 's|haddock-.*||' > '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/stm-2.5.2.1-inplace.conf.copy.copy')) || (cat '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/stm-2.5.2.1-inplace.conf.copy' > '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/stm-2.5.2.1-inplace.conf.copy.copy') # We finally replace the original file. mv '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/stm-2.5.2.1-inplace.conf.copy.copy' '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/stm-2.5.2.1-inplace.conf' # Fix the mode, in case umask is set chmod 644 '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/stm-2.5.2.1-inplace.conf' # to the doc files. cat '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/mtl-2.3.1-inplace.conf' | sed 's|haddock-interfaces.*|haddock-interfaces: "${pkgroot}/../../../share/doc/ghc-9.8.2/html/libraries/mtl-2.3.1-inplace/mtl.haddock"|' | sed 's|haddock-html.*|haddock-html: "${pkgroot}/../../../share/doc/ghc-9.8.2/html/libraries/mtl-2.3.1-inplace"|' | sed 's| ${pkgroot}/../../doc/html/.*||' > '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/mtl-2.3.1-inplace.conf.copy' # The rts package doesn't actually supply haddocks, so we stop advertising them # altogether. ((echo "mtl" | grep rts) && (cat '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/mtl-2.3.1-inplace.conf.copy' | sed 's|haddock-.*||' > '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/mtl-2.3.1-inplace.conf.copy.copy')) || (cat '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/mtl-2.3.1-inplace.conf.copy' > '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/mtl-2.3.1-inplace.conf.copy.copy') # We finally replace the original file. mv '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/mtl-2.3.1-inplace.conf.copy.copy' '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/mtl-2.3.1-inplace.conf' # Fix the mode, in case umask is set chmod 644 '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/mtl-2.3.1-inplace.conf' # to the doc files. cat '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/pretty-1.1.3.6-inplace.conf' | sed 's|haddock-interfaces.*|haddock-interfaces: "${pkgroot}/../../../share/doc/ghc-9.8.2/html/libraries/pretty-1.1.3.6-inplace/pretty.haddock"|' | sed 's|haddock-html.*|haddock-html: "${pkgroot}/../../../share/doc/ghc-9.8.2/html/libraries/pretty-1.1.3.6-inplace"|' | sed 's| ${pkgroot}/../../doc/html/.*||' > '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/pretty-1.1.3.6-inplace.conf.copy' # The rts package doesn't actually supply haddocks, so we stop advertising them # altogether. ((echo "pretty" | grep rts) && (cat '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/pretty-1.1.3.6-inplace.conf.copy' | sed 's|haddock-.*||' > '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/pretty-1.1.3.6-inplace.conf.copy.copy')) || (cat '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/pretty-1.1.3.6-inplace.conf.copy' > '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/pretty-1.1.3.6-inplace.conf.copy.copy') # We finally replace the original file. mv '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/pretty-1.1.3.6-inplace.conf.copy.copy' '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/pretty-1.1.3.6-inplace.conf' # Fix the mode, in case umask is set chmod 644 '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/pretty-1.1.3.6-inplace.conf' # to the doc files. cat '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/time-1.12.2-inplace.conf' | sed 's|haddock-interfaces.*|haddock-interfaces: "${pkgroot}/../../../share/doc/ghc-9.8.2/html/libraries/time-1.12.2-inplace/time.haddock"|' | sed 's|haddock-html.*|haddock-html: "${pkgroot}/../../../share/doc/ghc-9.8.2/html/libraries/time-1.12.2-inplace"|' | sed 's| ${pkgroot}/../../doc/html/.*||' > '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/time-1.12.2-inplace.conf.copy' # The rts package doesn't actually supply haddocks, so we stop advertising them # altogether. ((echo "time" | grep rts) && (cat '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/time-1.12.2-inplace.conf.copy' | sed 's|haddock-.*||' > '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/time-1.12.2-inplace.conf.copy.copy')) || (cat '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/time-1.12.2-inplace.conf.copy' > '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/time-1.12.2-inplace.conf.copy.copy') # We finally replace the original file. mv '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/time-1.12.2-inplace.conf.copy.copy' '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/time-1.12.2-inplace.conf' # Fix the mode, in case umask is set chmod 644 '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/time-1.12.2-inplace.conf' # to the doc files. cat '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/semaphore-compat-1.0.0-inplace.conf' | sed 's|haddock-interfaces.*|haddock-interfaces: "${pkgroot}/../../../share/doc/ghc-9.8.2/html/libraries/semaphore-compat-1.0.0-inplace/semaphore-compat.haddock"|' | sed 's|haddock-html.*|haddock-html: "${pkgroot}/../../../share/doc/ghc-9.8.2/html/libraries/semaphore-compat-1.0.0-inplace"|' | sed 's| ${pkgroot}/../../doc/html/.*||' > '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/semaphore-compat-1.0.0-inplace.conf.copy' # The rts package doesn't actually supply haddocks, so we stop advertising them # altogether. ((echo "semaphore-compat" | grep rts) && (cat '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/semaphore-compat-1.0.0-inplace.conf.copy' | sed 's|haddock-.*||' > '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/semaphore-compat-1.0.0-inplace.conf.copy.copy')) || (cat '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/semaphore-compat-1.0.0-inplace.conf.copy' > '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/semaphore-compat-1.0.0-inplace.conf.copy.copy') # We finally replace the original file. mv '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/semaphore-compat-1.0.0-inplace.conf.copy.copy' '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/semaphore-compat-1.0.0-inplace.conf' # Fix the mode, in case umask is set chmod 644 '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/semaphore-compat-1.0.0-inplace.conf' # to the doc files. cat '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/exceptions-0.10.7-inplace.conf' | sed 's|haddock-interfaces.*|haddock-interfaces: "${pkgroot}/../../../share/doc/ghc-9.8.2/html/libraries/exceptions-0.10.7-inplace/exceptions.haddock"|' | sed 's|haddock-html.*|haddock-html: "${pkgroot}/../../../share/doc/ghc-9.8.2/html/libraries/exceptions-0.10.7-inplace"|' | sed 's| ${pkgroot}/../../doc/html/.*||' > '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/exceptions-0.10.7-inplace.conf.copy' # The rts package doesn't actually supply haddocks, so we stop advertising them # altogether. ((echo "exceptions" | grep rts) && (cat '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/exceptions-0.10.7-inplace.conf.copy' | sed 's|haddock-.*||' > '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/exceptions-0.10.7-inplace.conf.copy.copy')) || (cat '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/exceptions-0.10.7-inplace.conf.copy' > '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/exceptions-0.10.7-inplace.conf.copy.copy') # We finally replace the original file. mv '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/exceptions-0.10.7-inplace.conf.copy.copy' '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/exceptions-0.10.7-inplace.conf' # Fix the mode, in case umask is set chmod 644 '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/exceptions-0.10.7-inplace.conf' # to the doc files. cat '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/bytestring-0.12.1.0-inplace.conf' | sed 's|haddock-interfaces.*|haddock-interfaces: "${pkgroot}/../../../share/doc/ghc-9.8.2/html/libraries/bytestring-0.12.1.0-inplace/bytestring.haddock"|' | sed 's|haddock-html.*|haddock-html: "${pkgroot}/../../../share/doc/ghc-9.8.2/html/libraries/bytestring-0.12.1.0-inplace"|' | sed 's| ${pkgroot}/../../doc/html/.*||' > '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/bytestring-0.12.1.0-inplace.conf.copy' # The rts package doesn't actually supply haddocks, so we stop advertising them # altogether. ((echo "bytestring" | grep rts) && (cat '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/bytestring-0.12.1.0-inplace.conf.copy' | sed 's|haddock-.*||' > '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/bytestring-0.12.1.0-inplace.conf.copy.copy')) || (cat '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/bytestring-0.12.1.0-inplace.conf.copy' > '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/bytestring-0.12.1.0-inplace.conf.copy.copy') # We finally replace the original file. mv '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/bytestring-0.12.1.0-inplace.conf.copy.copy' '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/bytestring-0.12.1.0-inplace.conf' # Fix the mode, in case umask is set chmod 644 '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/bytestring-0.12.1.0-inplace.conf' # to the doc files. cat '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/containers-0.6.8-inplace.conf' | sed 's|haddock-interfaces.*|haddock-interfaces: "${pkgroot}/../../../share/doc/ghc-9.8.2/html/libraries/containers-0.6.8-inplace/containers.haddock"|' | sed 's|haddock-html.*|haddock-html: "${pkgroot}/../../../share/doc/ghc-9.8.2/html/libraries/containers-0.6.8-inplace"|' | sed 's| ${pkgroot}/../../doc/html/.*||' > '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/containers-0.6.8-inplace.conf.copy' # The rts package doesn't actually supply haddocks, so we stop advertising them # altogether. ((echo "containers" | grep rts) && (cat '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/containers-0.6.8-inplace.conf.copy' | sed 's|haddock-.*||' > '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/containers-0.6.8-inplace.conf.copy.copy')) || (cat '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/containers-0.6.8-inplace.conf.copy' > '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/containers-0.6.8-inplace.conf.copy.copy') # We finally replace the original file. mv '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/containers-0.6.8-inplace.conf.copy.copy' '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/containers-0.6.8-inplace.conf' # Fix the mode, in case umask is set chmod 644 '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/containers-0.6.8-inplace.conf' # to the doc files. cat '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/ghc-compact-0.1.0.0-inplace.conf' | sed 's|haddock-interfaces.*|haddock-interfaces: "${pkgroot}/../../../share/doc/ghc-9.8.2/html/libraries/ghc-compact-0.1.0.0-inplace/ghc-compact.haddock"|' | sed 's|haddock-html.*|haddock-html: "${pkgroot}/../../../share/doc/ghc-9.8.2/html/libraries/ghc-compact-0.1.0.0-inplace"|' | sed 's| ${pkgroot}/../../doc/html/.*||' > '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/ghc-compact-0.1.0.0-inplace.conf.copy' # The rts package doesn't actually supply haddocks, so we stop advertising them # altogether. ((echo "ghc-compact" | grep rts) && (cat '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/ghc-compact-0.1.0.0-inplace.conf.copy' | sed 's|haddock-.*||' > '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/ghc-compact-0.1.0.0-inplace.conf.copy.copy')) || (cat '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/ghc-compact-0.1.0.0-inplace.conf.copy' > '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/ghc-compact-0.1.0.0-inplace.conf.copy.copy') # We finally replace the original file. mv '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/ghc-compact-0.1.0.0-inplace.conf.copy.copy' '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/ghc-compact-0.1.0.0-inplace.conf' # Fix the mode, in case umask is set chmod 644 '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/ghc-compact-0.1.0.0-inplace.conf' # to the doc files. cat '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/filepath-1.4.200.1-inplace.conf' | sed 's|haddock-interfaces.*|haddock-interfaces: "${pkgroot}/../../../share/doc/ghc-9.8.2/html/libraries/filepath-1.4.200.1-inplace/filepath.haddock"|' | sed 's|haddock-html.*|haddock-html: "${pkgroot}/../../../share/doc/ghc-9.8.2/html/libraries/filepath-1.4.200.1-inplace"|' | sed 's| ${pkgroot}/../../doc/html/.*||' > '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/filepath-1.4.200.1-inplace.conf.copy' # The rts package doesn't actually supply haddocks, so we stop advertising them # altogether. ((echo "filepath" | grep rts) && (cat '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/filepath-1.4.200.1-inplace.conf.copy' | sed 's|haddock-.*||' > '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/filepath-1.4.200.1-inplace.conf.copy.copy')) || (cat '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/filepath-1.4.200.1-inplace.conf.copy' > '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/filepath-1.4.200.1-inplace.conf.copy.copy') # We finally replace the original file. mv '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/filepath-1.4.200.1-inplace.conf.copy.copy' '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/filepath-1.4.200.1-inplace.conf' # Fix the mode, in case umask is set chmod 644 '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/filepath-1.4.200.1-inplace.conf' # to the doc files. cat '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/text-2.1.1-inplace.conf' | sed 's|haddock-interfaces.*|haddock-interfaces: "${pkgroot}/../../../share/doc/ghc-9.8.2/html/libraries/text-2.1.1-inplace/text.haddock"|' | sed 's|haddock-html.*|haddock-html: "${pkgroot}/../../../share/doc/ghc-9.8.2/html/libraries/text-2.1.1-inplace"|' | sed 's| ${pkgroot}/../../doc/html/.*||' > '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/text-2.1.1-inplace.conf.copy' # The rts package doesn't actually supply haddocks, so we stop advertising them # altogether. ((echo "text" | grep rts) && (cat '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/text-2.1.1-inplace.conf.copy' | sed 's|haddock-.*||' > '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/text-2.1.1-inplace.conf.copy.copy')) || (cat '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/text-2.1.1-inplace.conf.copy' > '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/text-2.1.1-inplace.conf.copy.copy') # We finally replace the original file. mv '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/text-2.1.1-inplace.conf.copy.copy' '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/text-2.1.1-inplace.conf' # Fix the mode, in case umask is set chmod 644 '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/text-2.1.1-inplace.conf' # to the doc files. cat '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/binary-0.8.9.1-inplace.conf' | sed 's|haddock-interfaces.*|haddock-interfaces: "${pkgroot}/../../../share/doc/ghc-9.8.2/html/libraries/binary-0.8.9.1-inplace/binary.haddock"|' | sed 's|haddock-html.*|haddock-html: "${pkgroot}/../../../share/doc/ghc-9.8.2/html/libraries/binary-0.8.9.1-inplace"|' | sed 's| ${pkgroot}/../../doc/html/.*||' > '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/binary-0.8.9.1-inplace.conf.copy' # The rts package doesn't actually supply haddocks, so we stop advertising them # altogether. ((echo "binary" | grep rts) && (cat '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/binary-0.8.9.1-inplace.conf.copy' | sed 's|haddock-.*||' > '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/binary-0.8.9.1-inplace.conf.copy.copy')) || (cat '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/binary-0.8.9.1-inplace.conf.copy' > '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/binary-0.8.9.1-inplace.conf.copy.copy') # We finally replace the original file. mv '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/binary-0.8.9.1-inplace.conf.copy.copy' '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/binary-0.8.9.1-inplace.conf' # Fix the mode, in case umask is set chmod 644 '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/binary-0.8.9.1-inplace.conf' # to the doc files. cat '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/ghc-heap-9.8.2-inplace.conf' | sed 's|haddock-interfaces.*|haddock-interfaces: "${pkgroot}/../../../share/doc/ghc-9.8.2/html/libraries/ghc-heap-9.8.2-inplace/ghc-heap.haddock"|' | sed 's|haddock-html.*|haddock-html: "${pkgroot}/../../../share/doc/ghc-9.8.2/html/libraries/ghc-heap-9.8.2-inplace"|' | sed 's| ${pkgroot}/../../doc/html/.*||' > '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/ghc-heap-9.8.2-inplace.conf.copy' # The rts package doesn't actually supply haddocks, so we stop advertising them # altogether. ((echo "ghc-heap" | grep rts) && (cat '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/ghc-heap-9.8.2-inplace.conf.copy' | sed 's|haddock-.*||' > '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/ghc-heap-9.8.2-inplace.conf.copy.copy')) || (cat '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/ghc-heap-9.8.2-inplace.conf.copy' > '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/ghc-heap-9.8.2-inplace.conf.copy.copy') # We finally replace the original file. mv '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/ghc-heap-9.8.2-inplace.conf.copy.copy' '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/ghc-heap-9.8.2-inplace.conf' # Fix the mode, in case umask is set chmod 644 '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/ghc-heap-9.8.2-inplace.conf' # to the doc files. cat '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/unix-2.8.4.0-inplace.conf' | sed 's|haddock-interfaces.*|haddock-interfaces: "${pkgroot}/../../../share/doc/ghc-9.8.2/html/libraries/unix-2.8.4.0-inplace/unix.haddock"|' | sed 's|haddock-html.*|haddock-html: "${pkgroot}/../../../share/doc/ghc-9.8.2/html/libraries/unix-2.8.4.0-inplace"|' | sed 's| ${pkgroot}/../../doc/html/.*||' > '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/unix-2.8.4.0-inplace.conf.copy' # The rts package doesn't actually supply haddocks, so we stop advertising them # altogether. ((echo "unix" | grep rts) && (cat '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/unix-2.8.4.0-inplace.conf.copy' | sed 's|haddock-.*||' > '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/unix-2.8.4.0-inplace.conf.copy.copy')) || (cat '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/unix-2.8.4.0-inplace.conf.copy' > '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/unix-2.8.4.0-inplace.conf.copy.copy') # We finally replace the original file. mv '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/unix-2.8.4.0-inplace.conf.copy.copy' '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/unix-2.8.4.0-inplace.conf' # Fix the mode, in case umask is set chmod 644 '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/unix-2.8.4.0-inplace.conf' # to the doc files. cat '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/process-1.6.18.0-inplace.conf' | sed 's|haddock-interfaces.*|haddock-interfaces: "${pkgroot}/../../../share/doc/ghc-9.8.2/html/libraries/process-1.6.18.0-inplace/process.haddock"|' | sed 's|haddock-html.*|haddock-html: "${pkgroot}/../../../share/doc/ghc-9.8.2/html/libraries/process-1.6.18.0-inplace"|' | sed 's| ${pkgroot}/../../doc/html/.*||' > '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/process-1.6.18.0-inplace.conf.copy' # The rts package doesn't actually supply haddocks, so we stop advertising them # altogether. ((echo "process" | grep rts) && (cat '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/process-1.6.18.0-inplace.conf.copy' | sed 's|haddock-.*||' > '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/process-1.6.18.0-inplace.conf.copy.copy')) || (cat '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/process-1.6.18.0-inplace.conf.copy' > '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/process-1.6.18.0-inplace.conf.copy.copy') # We finally replace the original file. mv '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/process-1.6.18.0-inplace.conf.copy.copy' '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/process-1.6.18.0-inplace.conf' # Fix the mode, in case umask is set chmod 644 '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/process-1.6.18.0-inplace.conf' # to the doc files. cat '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/directory-1.3.8.1-inplace.conf' | sed 's|haddock-interfaces.*|haddock-interfaces: "${pkgroot}/../../../share/doc/ghc-9.8.2/html/libraries/directory-1.3.8.1-inplace/directory.haddock"|' | sed 's|haddock-html.*|haddock-html: "${pkgroot}/../../../share/doc/ghc-9.8.2/html/libraries/directory-1.3.8.1-inplace"|' | sed 's| ${pkgroot}/../../doc/html/.*||' > '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/directory-1.3.8.1-inplace.conf.copy' # The rts package doesn't actually supply haddocks, so we stop advertising them # altogether. ((echo "directory" | grep rts) && (cat '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/directory-1.3.8.1-inplace.conf.copy' | sed 's|haddock-.*||' > '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/directory-1.3.8.1-inplace.conf.copy.copy')) || (cat '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/directory-1.3.8.1-inplace.conf.copy' > '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/directory-1.3.8.1-inplace.conf.copy.copy') # We finally replace the original file. mv '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/directory-1.3.8.1-inplace.conf.copy.copy' '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/directory-1.3.8.1-inplace.conf' # Fix the mode, in case umask is set chmod 644 '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/directory-1.3.8.1-inplace.conf' # to the doc files. cat '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/parsec-3.1.17.0-inplace.conf' | sed 's|haddock-interfaces.*|haddock-interfaces: "${pkgroot}/../../../share/doc/ghc-9.8.2/html/libraries/parsec-3.1.17.0-inplace/parsec.haddock"|' | sed 's|haddock-html.*|haddock-html: "${pkgroot}/../../../share/doc/ghc-9.8.2/html/libraries/parsec-3.1.17.0-inplace"|' | sed 's| ${pkgroot}/../../doc/html/.*||' > '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/parsec-3.1.17.0-inplace.conf.copy' # The rts package doesn't actually supply haddocks, so we stop advertising them # altogether. ((echo "parsec" | grep rts) && (cat '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/parsec-3.1.17.0-inplace.conf.copy' | sed 's|haddock-.*||' > '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/parsec-3.1.17.0-inplace.conf.copy.copy')) || (cat '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/parsec-3.1.17.0-inplace.conf.copy' > '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/parsec-3.1.17.0-inplace.conf.copy.copy') # We finally replace the original file. mv '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/parsec-3.1.17.0-inplace.conf.copy.copy' '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/parsec-3.1.17.0-inplace.conf' # Fix the mode, in case umask is set chmod 644 '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/parsec-3.1.17.0-inplace.conf' # to the doc files. cat '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/hpc-0.7.0.0-inplace.conf' | sed 's|haddock-interfaces.*|haddock-interfaces: "${pkgroot}/../../../share/doc/ghc-9.8.2/html/libraries/hpc-0.7.0.0-inplace/hpc.haddock"|' | sed 's|haddock-html.*|haddock-html: "${pkgroot}/../../../share/doc/ghc-9.8.2/html/libraries/hpc-0.7.0.0-inplace"|' | sed 's| ${pkgroot}/../../doc/html/.*||' > '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/hpc-0.7.0.0-inplace.conf.copy' # The rts package doesn't actually supply haddocks, so we stop advertising them # altogether. ((echo "hpc" | grep rts) && (cat '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/hpc-0.7.0.0-inplace.conf.copy' | sed 's|haddock-.*||' > '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/hpc-0.7.0.0-inplace.conf.copy.copy')) || (cat '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/hpc-0.7.0.0-inplace.conf.copy' > '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/hpc-0.7.0.0-inplace.conf.copy.copy') # We finally replace the original file. mv '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/hpc-0.7.0.0-inplace.conf.copy.copy' '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/hpc-0.7.0.0-inplace.conf' # Fix the mode, in case umask is set chmod 644 '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/hpc-0.7.0.0-inplace.conf' # to the doc files. cat '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/Cabal-syntax-3.10.2.0-inplace.conf' | sed 's|haddock-interfaces.*|haddock-interfaces: "${pkgroot}/../../../share/doc/ghc-9.8.2/html/libraries/Cabal-syntax-3.10.2.0-inplace/Cabal-syntax.haddock"|' | sed 's|haddock-html.*|haddock-html: "${pkgroot}/../../../share/doc/ghc-9.8.2/html/libraries/Cabal-syntax-3.10.2.0-inplace"|' | sed 's| ${pkgroot}/../../doc/html/.*||' > '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/Cabal-syntax-3.10.2.0-inplace.conf.copy' # The rts package doesn't actually supply haddocks, so we stop advertising them # altogether. ((echo "Cabal-syntax" | grep rts) && (cat '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/Cabal-syntax-3.10.2.0-inplace.conf.copy' | sed 's|haddock-.*||' > '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/Cabal-syntax-3.10.2.0-inplace.conf.copy.copy')) || (cat '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/Cabal-syntax-3.10.2.0-inplace.conf.copy' > '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/Cabal-syntax-3.10.2.0-inplace.conf.copy.copy') # We finally replace the original file. mv '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/Cabal-syntax-3.10.2.0-inplace.conf.copy.copy' '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/Cabal-syntax-3.10.2.0-inplace.conf' # Fix the mode, in case umask is set chmod 644 '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/Cabal-syntax-3.10.2.0-inplace.conf' # to the doc files. cat '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/ghc-boot-9.8.2-inplace.conf' | sed 's|haddock-interfaces.*|haddock-interfaces: "${pkgroot}/../../../share/doc/ghc-9.8.2/html/libraries/ghc-boot-9.8.2-inplace/ghc-boot.haddock"|' | sed 's|haddock-html.*|haddock-html: "${pkgroot}/../../../share/doc/ghc-9.8.2/html/libraries/ghc-boot-9.8.2-inplace"|' | sed 's| ${pkgroot}/../../doc/html/.*||' > '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/ghc-boot-9.8.2-inplace.conf.copy' # The rts package doesn't actually supply haddocks, so we stop advertising them # altogether. ((echo "ghc-boot" | grep rts) && (cat '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/ghc-boot-9.8.2-inplace.conf.copy' | sed 's|haddock-.*||' > '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/ghc-boot-9.8.2-inplace.conf.copy.copy')) || (cat '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/ghc-boot-9.8.2-inplace.conf.copy' > '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/ghc-boot-9.8.2-inplace.conf.copy.copy') # We finally replace the original file. mv '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/ghc-boot-9.8.2-inplace.conf.copy.copy' '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/ghc-boot-9.8.2-inplace.conf' # Fix the mode, in case umask is set chmod 644 '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/ghc-boot-9.8.2-inplace.conf' # to the doc files. cat '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/ghci-9.8.2-inplace.conf' | sed 's|haddock-interfaces.*|haddock-interfaces: "${pkgroot}/../../../share/doc/ghc-9.8.2/html/libraries/ghci-9.8.2-inplace/ghci.haddock"|' | sed 's|haddock-html.*|haddock-html: "${pkgroot}/../../../share/doc/ghc-9.8.2/html/libraries/ghci-9.8.2-inplace"|' | sed 's| ${pkgroot}/../../doc/html/.*||' > '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/ghci-9.8.2-inplace.conf.copy' # The rts package doesn't actually supply haddocks, so we stop advertising them # altogether. ((echo "ghci" | grep rts) && (cat '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/ghci-9.8.2-inplace.conf.copy' | sed 's|haddock-.*||' > '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/ghci-9.8.2-inplace.conf.copy.copy')) || (cat '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/ghci-9.8.2-inplace.conf.copy' > '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/ghci-9.8.2-inplace.conf.copy.copy') # We finally replace the original file. mv '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/ghci-9.8.2-inplace.conf.copy.copy' '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/ghci-9.8.2-inplace.conf' # Fix the mode, in case umask is set chmod 644 '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/ghci-9.8.2-inplace.conf' # to the doc files. cat '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/haskeline-0.8.2.1-inplace.conf' | sed 's|haddock-interfaces.*|haddock-interfaces: "${pkgroot}/../../../share/doc/ghc-9.8.2/html/libraries/haskeline-0.8.2.1-inplace/haskeline.haddock"|' | sed 's|haddock-html.*|haddock-html: "${pkgroot}/../../../share/doc/ghc-9.8.2/html/libraries/haskeline-0.8.2.1-inplace"|' | sed 's| ${pkgroot}/../../doc/html/.*||' > '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/haskeline-0.8.2.1-inplace.conf.copy' # The rts package doesn't actually supply haddocks, so we stop advertising them # altogether. ((echo "haskeline" | grep rts) && (cat '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/haskeline-0.8.2.1-inplace.conf.copy' | sed 's|haddock-.*||' > '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/haskeline-0.8.2.1-inplace.conf.copy.copy')) || (cat '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/haskeline-0.8.2.1-inplace.conf.copy' > '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/haskeline-0.8.2.1-inplace.conf.copy.copy') # We finally replace the original file. mv '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/haskeline-0.8.2.1-inplace.conf.copy.copy' '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/haskeline-0.8.2.1-inplace.conf' # Fix the mode, in case umask is set chmod 644 '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/haskeline-0.8.2.1-inplace.conf' # to the doc files. cat '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/Cabal-3.10.2.0-inplace.conf' | sed 's|haddock-interfaces.*|haddock-interfaces: "${pkgroot}/../../../share/doc/ghc-9.8.2/html/libraries/Cabal-3.10.2.0-inplace/Cabal.haddock"|' | sed 's|haddock-html.*|haddock-html: "${pkgroot}/../../../share/doc/ghc-9.8.2/html/libraries/Cabal-3.10.2.0-inplace"|' | sed 's| ${pkgroot}/../../doc/html/.*||' > '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/Cabal-3.10.2.0-inplace.conf.copy' # The rts package doesn't actually supply haddocks, so we stop advertising them # altogether. ((echo "Cabal" | grep rts) && (cat '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/Cabal-3.10.2.0-inplace.conf.copy' | sed 's|haddock-.*||' > '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/Cabal-3.10.2.0-inplace.conf.copy.copy')) || (cat '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/Cabal-3.10.2.0-inplace.conf.copy' > '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/Cabal-3.10.2.0-inplace.conf.copy.copy') # We finally replace the original file. mv '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/Cabal-3.10.2.0-inplace.conf.copy.copy' '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/Cabal-3.10.2.0-inplace.conf' # Fix the mode, in case umask is set chmod 644 '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/Cabal-3.10.2.0-inplace.conf' # to the doc files. cat '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/ghc-9.8.2-inplace.conf' | sed 's|haddock-interfaces.*|haddock-interfaces: "${pkgroot}/../../../share/doc/ghc-9.8.2/html/libraries/ghc-9.8.2-inplace/ghc.haddock"|' | sed 's|haddock-html.*|haddock-html: "${pkgroot}/../../../share/doc/ghc-9.8.2/html/libraries/ghc-9.8.2-inplace"|' | sed 's| ${pkgroot}/../../doc/html/.*||' > '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/ghc-9.8.2-inplace.conf.copy' # The rts package doesn't actually supply haddocks, so we stop advertising them # altogether. ((echo "ghc" | grep rts) && (cat '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/ghc-9.8.2-inplace.conf.copy' | sed 's|haddock-.*||' > '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/ghc-9.8.2-inplace.conf.copy.copy')) || (cat '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/ghc-9.8.2-inplace.conf.copy' > '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/ghc-9.8.2-inplace.conf.copy.copy') # We finally replace the original file. mv '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/ghc-9.8.2-inplace.conf.copy.copy' '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/ghc-9.8.2-inplace.conf' # Fix the mode, in case umask is set chmod 644 '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/ghc-9.8.2-inplace.conf' '/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/bin/ghc-pkg' --global-package-db "/tmp/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d" recache Copying data to share /tmp/lang/ghc910/work/.tools/bin/install -c -m 755 -d "/tmp/lang/ghc910/work/.tools/share" cd share; /tmp/lang/ghc910/work/.tools/bin/find . -type f -exec sh -c \ '/tmp/lang/ghc910/work/.tools/bin/install -c -m 755 -d "/tmp/lang/ghc910/work/.tools/share/`dirname $1`" && \ /tmp/lang/ghc910/work/.tools/bin/install -c -m 644 "$1" "/tmp/lang/ghc910/work/.tools/share/`dirname $1`"' \ sh '{}' ';'; => Modifying GNU configure scripts to avoid --recheck => Replacing config-guess with pkgsrc versions => Replacing config-sub with pkgsrc versions => Replacing install-sh with pkgsrc version => Checking for portability problems in extracted files checking for gfind... no checking for find... /tmp/lang/ghc910/work/.tools/bin/find checking for sort... /tmp/lang/ghc910/work/.tools/bin/sort checking for GHC Git commit id... given 6d779c0fab30c39475aef50d39064ed67ce839d7 checking for ghc... /tmp/lang/ghc910/work/.tools/bin/ghc checking version of ghc... 9.8.2 checking build system type... x86_64-unknown-netbsd9.3 checking host system type... x86_64-unknown-netbsd9.3 checking target system type... x86_64-unknown-netbsd9.3 build platform inferred as: x86_64-unknown-netbsd host platform inferred as: x86_64-unknown-netbsd target platform inferred as: x86_64-unknown-netbsd configure: GHC build : x86_64-unknown-netbsd configure: GHC host : x86_64-unknown-netbsd configure: GHC target : x86_64-unknown-netbsd checking for sh... /tmp/lang/ghc910/work/.tools/bin/sh checking whether target supports a registerised ABI... yes checking whether target supports tables next to code... yes checking for path to top of build tree... /tmp/lang/ghc910/work/ghc-9.10.1 checking for gcc... /tmp/lang/ghc910/work/.cwrapper/bin/gcc checking for g++... /tmp/lang/ghc910/work/.cwrapper/bin/g++ checking for nm... /usr/bin/nm checking for ar... /usr/bin/ar checking for ranlib... /usr/bin/ranlib checking for objdump... /usr/bin/objdump checking for windres... no checking for genlib... no checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether the compiler supports GNU C... yes checking whether /tmp/lang/ghc910/work/.cwrapper/bin/gcc accepts -g... yes checking for /tmp/lang/ghc910/work/.cwrapper/bin/gcc option to enable C11 features... none needed checking whether the compiler supports GNU C++... yes checking whether /tmp/lang/ghc910/work/.cwrapper/bin/g++ accepts -g... yes checking for /tmp/lang/ghc910/work/.cwrapper/bin/g++ option to enable C++11 features... none needed checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for wchar.h... yes checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking whether _XOPEN_SOURCE should be defined... no checking for -ld... ld checking for -nm... /usr/bin/nm configure: Setting cmd checking for ld.gold object merging bug (binutils 22266)... configure: Checking whether /tmp/lang/ghc910/work/.cwrapper/bin/ld can merge objects checking whether ld is GNU ld... YES checking whether ld understands -no_compact_unwind... no checking whether ld understands -filelist... no checking whether ld supports -single_module... no checking for -nm... (cached) /usr/bin/nm checking for ranlib... /usr/bin/ranlib checking for -strip... no checking for strip... strip checking for -otool... no checking for otool... no checking for -install_name_tool... no checking for install_name_tool... no checking for gawk... /usr/bin/awk no configure: We only support llvm 13 upto 16 (non-inclusive) (no version found). no configure: We only support llvm 13 upto 16 (non-inclusive) (no version found). checking for clang-15... no checking for clang-15.0... no checking for clang15... no checking for clang-14... no checking for clang-14.0... no checking for clang14... no checking for clang-13... no checking for clang-13.0... no checking for clang13... no checking for clang... clang no configure: We only support llvm 13 upto 16 (non-inclusive) (no version found). configure: Creating links for headers shared by the RTS and compiler configure: done. configure: Creating links for in-tree file handling routines configure: Routines in place. Packages can now be build normally. configure: Creating links for ghci wrapper configure: done. checking whether #! works in shell scripts... yes checking version of gcc... checking version of gcc... 7.5.0 7.5.0 checking whether CC supports flags passed by GHC when compiling via C... yes checking whether C compiler supports __atomic_ builtins... yes checking whether -latomic is needed for sub-word-sized atomic operations... no checking whether -latomic is needed for 64-bit atomic operations... no checking whether C compiler has an LLVM back end... no checking Setting up CFLAGS, LDFLAGS, IGNORE_LINKER_LD_FLAGS and CPPFLAGS... done checking Setting up CONF_CC_OPTS_STAGE0, CONF_GCC_LINKER_OPTS_STAGE0, CONF_LD_LINKER_OPTS_STAGE0 and CONF_CPP_OPTS_STAGE0... done checking Setting up CONF_CC_OPTS_STAGE1, CONF_GCC_LINKER_OPTS_STAGE1, CONF_LD_LINKER_OPTS_STAGE1 and CONF_CPP_OPTS_STAGE1... done checking Setting up CONF_CC_OPTS_STAGE2, CONF_GCC_LINKER_OPTS_STAGE2, CONF_LD_LINKER_OPTS_STAGE2 and CONF_CPP_OPTS_STAGE2... done checking whether ld supports response files... yes checking whether gcc supports --target... no checking whether /tmp/lang/ghc910/work/.cwrapper/bin/gcc supports --target... no checking whether /tmp/lang/ghc910/work/.cwrapper/bin/gcc supports --target... no checking whether /tmp/lang/ghc910/work/.cwrapper/bin/gcc used as a linker understands --target... gcc: error: unrecognized command line option '--target=x86_64-unknown-netbsd' no checking whether /tmp/lang/ghc910/work/.cwrapper/bin/gcc used as a linker understands --target... gcc: error: unrecognized command line option '--target=x86_64-unknown-netbsd' no checking whether /tmp/lang/ghc910/work/.cwrapper/bin/gcc used as a linker understands --target... gcc: error: unrecognized command line option '--target=x86_64-unknown-netbsd' no checking whether CC supports -no-pie... yes checking whether gcc supports -Qunused-arguments... no checking whether /tmp/lang/ghc910/work/.cwrapper/bin/gcc supports -Qunused-arguments... no checking whether /tmp/lang/ghc910/work/.cwrapper/bin/gcc supports -Qunused-arguments... no checking C++ standard library flavour... libstdc++ checking for linkage against 'stdc++'... success checking for .subsections_via_symbols... no checking whether your assembler supports .ident directive... yes checking for a working context diff... diff -U 1 checking for a BSD-compatible install... /usr/bin/install -c -o pbulk -g wheel checking whether /usr/bin/ar is GNU ar... yes checking for ar arguments... q checking whether /usr/bin/ar supports @file... yes checking whether /usr/bin/ar supports -L... /usr/bin/ar: conftest.a: No such file or directory no checking for ranlib... (cached) /usr/bin/ranlib checking whether ln -s works... yes checking for gsed... no checking for sed... /tmp/lang/ghc910/work/.tools/bin/sed checking for time... /usr/bin/time checking for gnutar... no checking for gtar... /tmp/lang/ghc910/work/.tools/bin/gtar checking for autoreconf... /tmp/lang/ghc910/work/.tools/bin/autoreconf checking for dtrace... no checking for HsColour... (cached) no checking for sphinx-build... /usr/pkg/bin/sphinx-build-3.12 checking for version of sphinx-build... 8.1.3 checking for xelatex... no checking for makeindex... no checking for git... no checking for makeinfo... /tmp/lang/ghc910/work/.tools/bin/makeinfo checking for cabal... no checking for python3... /usr/pkg/bin/python3.12 checking for ghc-pkg matching /tmp/lang/ghc910/work/.tools/bin/ghc... /tmp/lang/ghc910/work/.tools/bin/ghc-pkg checking for happy... (cached) no checking for version of happy... checking for alex... (cached) no checking for version of alex... checking size of void *... 8 checking whether byte ordering is bigendian... no checking for atan in -lm... yes checking for ffi_call in -lffi... yes checking for ffi.h... yes checking for dlopen in -ldl... no checking for nlist in -lelf... yes checking leading underscore in symbol names... no checking for clock_gettime in -lrt... yes checking whether -lpthread is needed for pthreads... checking for pthread_create... no checking for pthread_create in -lpthread... yes yes checking whether to use libffi for adjustors... no checking for numa.h... no checking for numaif.h... no Execute: sh config.sub x86_64-unknown-netbsd Normalised triple: x86_64-unknown-netbsd ~> x86_64-unknown-netbsd checking for C compiler... Entering: checking for C compiler found for C compiler: Cc {ccProgram = Program { prgPath = "/tmp/lang/ghc910/work/.cwrapper/bin/gcc" , prgFlags = [] }} checking for C compiler... Entering: checking for C compiler found for C compiler: Cc {ccProgram = Program { prgPath = "/tmp/lang/ghc910/work/.cwrapper/bin/gcc" , prgFlags = [] }} checking for -Qunused-arguments support... Entering: checking for -Qunused-arguments support Execute: /tmp/lang/ghc910/work/.cwrapper/bin/gcc -Qunused-arguments -c -o /tmp/tmp0/test.o /tmp/tmp0/test.o.c Command failed: /tmp/lang/ghc910/work/.cwrapper/bin/gcc -Qunused-arguments -c -o /tmp/tmp0/test.o /tmp/tmp0/test.o.c Exited with code 1 found for -Qunused-arguments support: Cc {ccProgram = Program { prgPath = "/tmp/lang/ghc910/work/.cwrapper/bin/gcc" , prgFlags = [] }} checking whether Cc supports --target... Entering: checking whether Cc supports --target Execute: /tmp/lang/ghc910/work/.cwrapper/bin/gcc -Werror --target=x86_64-unknown-netbsd -c -o /tmp/tmp0/test.o /tmp/tmp0/test.o.c Command failed: /tmp/lang/ghc910/work/.cwrapper/bin/gcc -Werror --target=x86_64-unknown-netbsd -c -o /tmp/tmp0/test.o /tmp/tmp0/test.o.c Exited with code 1 found whether Cc supports --target: Cc {ccProgram = Program { prgPath = "/tmp/lang/ghc910/work/.cwrapper/bin/gcc" , prgFlags = [] }} checking whether Cc works... Entering: checking whether Cc works Execute: /tmp/lang/ghc910/work/.cwrapper/bin/gcc -c -o /tmp/tmp0/test.o /tmp/tmp0/test.o.c found whether Cc works: () checking for C99 support... Entering: checking for C99 support Execute: /tmp/lang/ghc910/work/.cwrapper/bin/gcc -c -o /tmp/tmp0/test.o /tmp/tmp0/test.o.c found for C99 support: Cc {ccProgram = Program { prgPath = "/tmp/lang/ghc910/work/.cwrapper/bin/gcc" , prgFlags = [] }} checking whether cc supports extra via-c flags... Entering: checking whether cc supports extra via-c flags Execute: /tmp/lang/ghc910/work/.cwrapper/bin/gcc -c -fwrapv -fno-builtin -Werror -x c -o /tmp/tmp0/test.o /tmp/tmp0/test.c found whether cc supports extra via-c flags: () checking for C++ compiler... Entering: checking for C++ compiler x86_64-unknown-netbsd-g++ not found in search path x86_64-unknown-netbsd-clang++ not found in search path x86_64-unknown-netbsd-c++ not found in search path checking whether C++ supports --target... Entering: checking whether C++ supports --target Execute: /tmp/lang/ghc910/work/.cwrapper/bin/g++ -Werror --target=x86_64-unknown-netbsd -c -o /tmp/tmp0/test.o /tmp/tmp0/test.o.cpp Command failed: /tmp/lang/ghc910/work/.cwrapper/bin/g++ -Werror --target=x86_64-unknown-netbsd -c -o /tmp/tmp0/test.o /tmp/tmp0/test.o.cpp Exited with code 1 found whether C++ supports --target: Cxx {cxxProgram = Program { prgPath = "/tmp/lang/ghc910/work/.cwrapper/bin/g++" , prgFlags = [] }} Execute: /tmp/lang/ghc910/work/.cwrapper/bin/g++ -c -o /tmp/tmp0/test.o /tmp/tmp0/test.o.cpp found for C++ compiler: Cxx {cxxProgram = Program { prgPath = "/tmp/lang/ghc910/work/.cwrapper/bin/g++" , prgFlags = [] }} checking for C preprocessor... Entering: checking for C preprocessor Failed to find C preprocessor. Looked for one of [] in the system search path. Failed to find C preprocessor. Looked for one of [] in the system search path. checking for C99 support... Entering: checking for C99 support Execute: /tmp/lang/ghc910/work/.cwrapper/bin/gcc -c -o /tmp/tmp0/test.o /tmp/tmp0/test.o.c found for C99 support: Cc {ccProgram = Program { prgPath = "/tmp/lang/ghc910/work/.cwrapper/bin/gcc" , prgFlags = [] }} found for C preprocessor: Cpp {cppProgram = Program { prgPath = "/tmp/lang/ghc910/work/.cwrapper/bin/gcc" , prgFlags = ["-E"] }} checking for Haskell C preprocessor... Entering: checking for Haskell C preprocessor Failed to find Haskell C preprocessor. Looked for one of [] in the system search path. Failed to find Haskell C preprocessor. Looked for one of [] in the system search path. Execute: /tmp/lang/ghc910/work/.cwrapper/bin/gcc -E -x c /tmp/tmp0/tmp.c -dM -E Execute: /tmp/lang/ghc910/work/.cwrapper/bin/gcc -E -v found for Haskell C preprocessor: HsCpp {hsCppProgram = Program { prgPath = "/tmp/lang/ghc910/work/.cwrapper/bin/gcc" , prgFlags = ["-E","-undef","-traditional"] }} checking for 'readelf'... Entering: checking for 'readelf' x86_64-unknown-netbsd-readelf not found in search path found for 'readelf': Readelf {readelfProgram = Program { prgPath = "/usr/bin/readelf" , prgFlags = [] }} checking for C compiler for linking command... Entering: checking for C compiler for linking command checking whether cc linker supports --target... Entering: checking whether cc linker supports --target Execute: /tmp/lang/ghc910/work/.cwrapper/bin/gcc -c -o /tmp/tmp0/test.o /tmp/tmp0/test.o.c Execute: /tmp/lang/ghc910/work/.cwrapper/bin/gcc -c -o /tmp/tmp0/main.o /tmp/tmp0/main.o.c Execute: /tmp/lang/ghc910/work/.cwrapper/bin/gcc -Werror --target=x86_64-unknown-netbsd -Werror -o /tmp/tmp0/test /tmp/tmp0/test.o /tmp/tmp0/main.o Command failed: /tmp/lang/ghc910/work/.cwrapper/bin/gcc -Werror --target=x86_64-unknown-netbsd -Werror -o /tmp/tmp0/test /tmp/tmp0/test.o /tmp/tmp0/main.o Exited with code 1 found whether cc linker supports --target: Program { prgPath = "/tmp/lang/ghc910/work/.cwrapper/bin/gcc" , prgFlags = [] } checking whether the cc linker supports -no-pie... Entering: checking whether the cc linker supports -no-pie Execute: /tmp/lang/ghc910/work/.cwrapper/bin/gcc -c -o /tmp/tmp0/test.o /tmp/tmp0/test.o.c Execute: /tmp/lang/ghc910/work/.cwrapper/bin/gcc -no-pie -Werror /tmp/tmp0/test.o -o /tmp/tmp0/test found whether the cc linker supports -no-pie: True checking whether the cc linker understands -filelist... Entering: checking whether the cc linker understands -filelist Execute: /tmp/lang/ghc910/work/.cwrapper/bin/gcc -c -o /tmp/tmp0/test1.o /tmp/tmp0/test1.o.c Execute: /tmp/lang/ghc910/work/.cwrapper/bin/gcc -c -o /tmp/tmp0/test2.o /tmp/tmp0/test2.o.c Execute: /tmp/lang/ghc910/work/.cwrapper/bin/gcc -r -Wl,-filelist /tmp/tmp0/test.o-files -o /tmp/tmp0/test.o found whether the cc linker understands -filelist: False Execute: /tmp/lang/ghc910/work/.cwrapper/bin/gcc -Wl,--version checking that --no-as-needed works... Entering: checking that --no-as-needed works Execute: /tmp/lang/ghc910/work/.cwrapper/bin/gcc -c -o /tmp/tmp0/test.o /tmp/tmp0/test.o.c Execute: /tmp/lang/ghc910/work/.cwrapper/bin/gcc -c -o /tmp/tmp0/main.o /tmp/tmp0/main.o.c Execute: /tmp/lang/ghc910/work/.cwrapper/bin/gcc -Wl,--no-as-needed -Werror -o /tmp/tmp0/test /tmp/tmp0/test.o /tmp/tmp0/main.o found that --no-as-needed works: Program { prgPath = "/tmp/lang/ghc910/work/.cwrapper/bin/gcc" , prgFlags = ["-Wl,--no-as-needed"] } found for C compiler for linking command: CcLink { ccLinkProgram = Program { prgPath = "/tmp/lang/ghc910/work/.cwrapper/bin/gcc" , prgFlags = ["-Wl,--no-as-needed"] } , ccLinkSupportsNoPie = True , ccLinkSupportsCompactUnwind = False , ccLinkSupportsFilelist = False , ccLinkSupportsSingleModule = False , ccLinkIsGnu = True } checking for 'ar'... Entering: checking for 'ar' Execute: /usr/bin/ar --version checking for how to make archives... Entering: checking for how to make archives checking that ar works... Entering: checking that ar works Execute: /usr/bin/ar q /tmp/tmp0/conftest.a /tmp/tmp0/conftest.dummy found that ar works: () found for how to make archives: Program { prgPath = "/usr/bin/ar" , prgFlags = ["q"] } checking that ar supports @-files... Entering: checking that ar supports @-files Execute: /usr/bin/ar q /tmp/tmp0/conftest.a @/tmp/tmp0/conftest.atfile Execute: /usr/bin/ar t /tmp/tmp0/conftest.a found that ar supports @-files: True checking that ar supports -L... Entering: checking that ar supports -L Execute: /usr/bin/ar qc /tmp/tmp0/conftest-a.a /tmp/tmp0/conftest.a0 /tmp/tmp0/conftest.a1 Execute: /usr/bin/ar qc /tmp/tmp0/conftest-b.a /tmp/tmp0/conftest.b0 /tmp/tmp0/conftest.b1 Execute: /usr/bin/ar qcL /tmp/tmp0/conftest.a /tmp/tmp0/conftest-a.a /tmp/tmp0/conftest-b.a Command failed: /usr/bin/ar qcL /tmp/tmp0/conftest.a /tmp/tmp0/conftest-a.a /tmp/tmp0/conftest-b.a Exited with code 1 found that ar supports -L: False found for 'ar': Ar { arMkArchive = Program { prgPath = "/usr/bin/ar" , prgFlags = ["q"] } , arIsGnu = True , arSupportsAtFile = True , arSupportsDashL = False , arNeedsRanlib = False } checking for 'ranlib'... Entering: checking for 'ranlib' x86_64-unknown-netbsd-ranlib not found in search path x86_64-unknown-netbsd-llvm-ranlib not found in search path found for 'ranlib': Ranlib {ranlibProgram = Program { prgPath = "/usr/bin/ranlib" , prgFlags = [] }} checking for 'nm'... Entering: checking for 'nm' x86_64-unknown-netbsd-nm not found in search path x86_64-unknown-netbsd-llvm-nm not found in search path found for 'nm': Nm {nmProgram = Program { prgPath = "/usr/bin/nm" , prgFlags = [] }} checking for linker for merging objects... Entering: checking for linker for merging objects x86_64-unknown-netbsd-ld.gold not found in search path x86_64-unknown-netbsd-ld not found in search path ld.gold not found in search path checking whether object merging works... Entering: checking whether object merging works Execute: /tmp/lang/ghc910/work/.cwrapper/bin/gcc -c -o /tmp/tmp0/a.o /tmp/tmp0/a.o.c Execute: /tmp/lang/ghc910/work/.cwrapper/bin/gcc -c -o /tmp/tmp0/b.o /tmp/tmp0/b.o.c Execute: /tmp/lang/ghc910/work/.cwrapper/bin/ld -r /tmp/tmp0/a.o /tmp/tmp0/b.o -o /tmp/tmp0/out.o Execute: /usr/bin/nm /tmp/tmp0/out.o found whether object merging works: () checking for ld.gold object merging bug (binutils #22266)... Entering: checking for ld.gold object merging bug (binutils #22266) Execute: /tmp/lang/ghc910/work/.cwrapper/bin/ld -r --version found for ld.gold object merging bug (binutils #22266): "GNU ld (NetBSD Binutils nb1) 2.31.1\nCopyright (C) 2018 Free Software Foundation, Inc.\nThis program is free software; you may redistribute it under the terms of\nthe GNU General Public License version 3 or (at your option) a later version.\nThis program has absolutely no warranty.\n" checking whether the merge objects tool supports response files... Entering: checking whether the merge objects tool supports response files Execute: /tmp/lang/ghc910/work/.cwrapper/bin/gcc -c -o /tmp/tmp0/a.o /tmp/tmp0/a.o.c Execute: /tmp/lang/ghc910/work/.cwrapper/bin/gcc -c -o /tmp/tmp0/b.o /tmp/tmp0/b.o.c Execute: /tmp/lang/ghc910/work/.cwrapper/bin/ld -r @/tmp/tmp0/args.txt Execute: /usr/bin/nm /tmp/tmp0/out.o found whether the merge objects tool supports response files: True found for linker for merging objects: MergeObjs {mergeObjsProgram = Program { prgPath = "/tmp/lang/ghc910/work/.cwrapper/bin/ld" , prgFlags = ["-r"] }, mergeObjsSupportsResponseFiles = True} checking word size... Entering: checking word size Execute: /tmp/lang/ghc910/work/.cwrapper/bin/gcc -E -o /tmp/tmp0/test.c /tmp/tmp0/test.c.c found word size: WS8 checking endianness (param.h)... Entering: checking endianness (param.h) Execute: /tmp/lang/ghc910/work/.cwrapper/bin/gcc -E -o /tmp/tmp0/test.c /tmp/tmp0/test.c.c found endianness (param.h): LittleEndian checking whether symbols have leading underscores... Entering: checking whether symbols have leading underscores Execute: /tmp/lang/ghc910/work/.cwrapper/bin/gcc -c -o /tmp/tmp0/test.o /tmp/tmp0/test.o.c Execute: /usr/bin/nm /tmp/tmp0/test.o found whether symbols have leading underscores: False checking whether .subsections-via-symbols directive is supported... Entering: checking whether .subsections-via-symbols directive is supported Execute: /tmp/lang/ghc910/work/.cwrapper/bin/gcc -c -o /tmp/tmp0/test.o /tmp/tmp0/test.o.c Command failed: /tmp/lang/ghc910/work/.cwrapper/bin/gcc -c -o /tmp/tmp0/test.o /tmp/tmp0/test.o.c Exited with code 1 found whether .subsections-via-symbols directive is supported: False checking whether the .ident directive is supported... Entering: checking whether the .ident directive is supported Execute: /tmp/lang/ghc910/work/.cwrapper/bin/gcc -c -o /tmp/tmp0/test.o /tmp/tmp0/test.o.c found whether the .ident directive is supported: True checking whether GNU non-executable stack directives are supported... Entering: checking whether GNU non-executable stack directives are supported Execute: /tmp/lang/ghc910/work/.cwrapper/bin/gcc -c -o /tmp/tmp0/test.o /tmp/tmp0/test.o.c found whether GNU non-executable stack directives are supported: True checking whether to use libffi for adjustors... Entering: checking whether to use libffi for adjustors found whether to use libffi for adjustors: False Final Target: Target { tgtArchOs = ArchOS {archOS_arch = ArchX86_64, archOS_OS = OSNetBSD} , tgtVendor = Just "unknown" , tgtLocallyExecutable = True , tgtSupportsGnuNonexecStack = True , tgtSupportsSubsectionsViaSymbols = False , tgtSupportsIdentDirective = True , tgtWordSize = WS8 , tgtEndianness = LittleEndian , tgtSymbolsHaveLeadingUnderscore = False , tgtLlvmTarget = "x86_64-unknown-netbsd" , tgtUnregisterised = False , tgtTablesNextToCode = True , tgtUseLibffiForAdjustors = False , tgtCCompiler = Cc {ccProgram = Program { prgPath = "/tmp/lang/ghc910/work/.cwrapper/bin/gcc" , prgFlags = [] }} , tgtCxxCompiler = Cxx {cxxProgram = Program { prgPath = "/tmp/lang/ghc910/work/.cwrapper/bin/g++" , prgFlags = [] }} , tgtCPreprocessor = Cpp {cppProgram = Program { prgPath = "/tmp/lang/ghc910/work/.cwrapper/bin/gcc" , prgFlags = ["-E"] }} , tgtHsCPreprocessor = HsCpp {hsCppProgram = Program { prgPath = "/tmp/lang/ghc910/work/.cwrapper/bin/gcc" , prgFlags = ["-E","-undef","-traditional"] }} , tgtCCompilerLink = CcLink { ccLinkProgram = Program { prgPath = "/tmp/lang/ghc910/work/.cwrapper/bin/gcc" , prgFlags = ["-Wl,--no-as-needed"] } , ccLinkSupportsNoPie = True , ccLinkSupportsCompactUnwind = False , ccLinkSupportsFilelist = False , ccLinkSupportsSingleModule = False , ccLinkIsGnu = True } , tgtAr = Ar { arMkArchive = Program { prgPath = "/usr/bin/ar" , prgFlags = ["q"] } , arIsGnu = True , arSupportsAtFile = True , arSupportsDashL = False , arNeedsRanlib = False } , tgtRanlib = Just (Ranlib {ranlibProgram = Program { prgPath = "/usr/bin/ranlib" , prgFlags = [] }}) , tgtNm = Nm {nmProgram = Program { prgPath = "/usr/bin/nm" , prgFlags = [] }} , tgtMergeObjs = Just (MergeObjs {mergeObjsProgram = Program { prgPath = "/tmp/lang/ghc910/work/.cwrapper/bin/ld" , prgFlags = ["-r"] }, mergeObjsSupportsResponseFiles = True}) , tgtWindres = Nothing } Execute: sh config.sub x86_64-unknown-netbsd Normalised triple: x86_64-unknown-netbsd ~> x86_64-unknown-netbsd checking for C compiler... Entering: checking for C compiler found for C compiler: Cc {ccProgram = Program { prgPath = "/tmp/lang/ghc910/work/.cwrapper/bin/gcc" , prgFlags = ["-O2","-I/usr/include","-I/usr/pkg/include","-fPIC"] }} checking for C compiler... Entering: checking for C compiler found for C compiler: Cc {ccProgram = Program { prgPath = "/tmp/lang/ghc910/work/.cwrapper/bin/gcc" , prgFlags = ["-O2","-I/usr/include","-I/usr/pkg/include","-fPIC"] }} checking for -Qunused-arguments support... Entering: checking for -Qunused-arguments support Execute: /tmp/lang/ghc910/work/.cwrapper/bin/gcc -O2 -I/usr/include -I/usr/pkg/include -fPIC -Qunused-arguments -c -o /tmp/tmp0/test.o /tmp/tmp0/test.o.c Command failed: /tmp/lang/ghc910/work/.cwrapper/bin/gcc -O2 -I/usr/include -I/usr/pkg/include -fPIC -Qunused-arguments -c -o /tmp/tmp0/test.o /tmp/tmp0/test.o.c Exited with code 1 found for -Qunused-arguments support: Cc {ccProgram = Program { prgPath = "/tmp/lang/ghc910/work/.cwrapper/bin/gcc" , prgFlags = ["-O2","-I/usr/include","-I/usr/pkg/include","-fPIC"] }} checking whether Cc supports --target... Entering: checking whether Cc supports --target Execute: /tmp/lang/ghc910/work/.cwrapper/bin/gcc -Werror --target=x86_64-unknown-netbsd -O2 -I/usr/include -I/usr/pkg/include -fPIC -c -o /tmp/tmp0/test.o /tmp/tmp0/test.o.c Command failed: /tmp/lang/ghc910/work/.cwrapper/bin/gcc -Werror --target=x86_64-unknown-netbsd -O2 -I/usr/include -I/usr/pkg/include -fPIC -c -o /tmp/tmp0/test.o /tmp/tmp0/test.o.c Exited with code 1 found whether Cc supports --target: Cc {ccProgram = Program { prgPath = "/tmp/lang/ghc910/work/.cwrapper/bin/gcc" , prgFlags = ["-O2","-I/usr/include","-I/usr/pkg/include","-fPIC"] }} checking whether Cc works... Entering: checking whether Cc works Execute: /tmp/lang/ghc910/work/.cwrapper/bin/gcc -O2 -I/usr/include -I/usr/pkg/include -fPIC -c -o /tmp/tmp0/test.o /tmp/tmp0/test.o.c found whether Cc works: () checking for C99 support... Entering: checking for C99 support Execute: /tmp/lang/ghc910/work/.cwrapper/bin/gcc -O2 -I/usr/include -I/usr/pkg/include -fPIC -c -o /tmp/tmp0/test.o /tmp/tmp0/test.o.c found for C99 support: Cc {ccProgram = Program { prgPath = "/tmp/lang/ghc910/work/.cwrapper/bin/gcc" , prgFlags = ["-O2","-I/usr/include","-I/usr/pkg/include","-fPIC"] }} checking whether cc supports extra via-c flags... Entering: checking whether cc supports extra via-c flags Execute: /tmp/lang/ghc910/work/.cwrapper/bin/gcc -O2 -I/usr/include -I/usr/pkg/include -fPIC -c -fwrapv -fno-builtin -Werror -x c -o /tmp/tmp0/test.o /tmp/tmp0/test.c found whether cc supports extra via-c flags: () checking for C++ compiler... Entering: checking for C++ compiler checking whether C++ supports --target... Entering: checking whether C++ supports --target Execute: /tmp/lang/ghc910/work/.cwrapper/bin/g++ -Werror --target=x86_64-unknown-netbsd -O2 -I/usr/include -I/usr/pkg/include -c -o /tmp/tmp0/test.o /tmp/tmp0/test.o.cpp Command failed: /tmp/lang/ghc910/work/.cwrapper/bin/g++ -Werror --target=x86_64-unknown-netbsd -O2 -I/usr/include -I/usr/pkg/include -c -o /tmp/tmp0/test.o /tmp/tmp0/test.o.cpp Exited with code 1 found whether C++ supports --target: Cxx {cxxProgram = Program { prgPath = "/tmp/lang/ghc910/work/.cwrapper/bin/g++" , prgFlags = ["-O2","-I/usr/include","-I/usr/pkg/include"] }} Execute: /tmp/lang/ghc910/work/.cwrapper/bin/g++ -O2 -I/usr/include -I/usr/pkg/include -c -o /tmp/tmp0/test.o /tmp/tmp0/test.o.cpp found for C++ compiler: Cxx {cxxProgram = Program { prgPath = "/tmp/lang/ghc910/work/.cwrapper/bin/g++" , prgFlags = ["-O2","-I/usr/include","-I/usr/pkg/include"] }} checking for C preprocessor... Entering: checking for C preprocessor checking for C99 support... Entering: checking for C99 support Execute: /tmp/lang/ghc910/work/.cwrapper/bin/gcc -c -o /tmp/tmp0/test.o /tmp/tmp0/test.o.c found for C99 support: Cc {ccProgram = Program { prgPath = "/tmp/lang/ghc910/work/.cwrapper/bin/gcc" , prgFlags = [] }} found for C preprocessor: Cpp {cppProgram = Program { prgPath = "/tmp/lang/ghc910/work/.cwrapper/bin/gcc" , prgFlags = ["-E"] }} checking for Haskell C preprocessor... Entering: checking for Haskell C preprocessor Execute: /tmp/lang/ghc910/work/.cwrapper/bin/gcc -E -x c /tmp/tmp0/tmp.c -dM -E Execute: /tmp/lang/ghc910/work/.cwrapper/bin/gcc -E -v found for Haskell C preprocessor: HsCpp {hsCppProgram = Program { prgPath = "/tmp/lang/ghc910/work/.cwrapper/bin/gcc" , prgFlags = ["-E","-undef","-traditional"] }} checking for 'readelf'... Entering: checking for 'readelf' x86_64-unknown-netbsd-readelf not found in search path found for 'readelf': Readelf {readelfProgram = Program { prgPath = "/usr/bin/readelf" , prgFlags = [] }} checking for C compiler for linking command... Entering: checking for C compiler for linking command checking whether cc linker supports --target... Entering: checking whether cc linker supports --target Execute: /tmp/lang/ghc910/work/.cwrapper/bin/gcc -O2 -I/usr/include -I/usr/pkg/include -fPIC -c -o /tmp/tmp0/test.o /tmp/tmp0/test.o.c Execute: /tmp/lang/ghc910/work/.cwrapper/bin/gcc -O2 -I/usr/include -I/usr/pkg/include -fPIC -c -o /tmp/tmp0/main.o /tmp/tmp0/main.o.c Execute: /tmp/lang/ghc910/work/.cwrapper/bin/gcc -Werror --target=x86_64-unknown-netbsd -Wl,-zrelro -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -Werror -o /tmp/tmp0/test /tmp/tmp0/test.o /tmp/tmp0/main.o Command failed: /tmp/lang/ghc910/work/.cwrapper/bin/gcc -Werror --target=x86_64-unknown-netbsd -Wl,-zrelro -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -Werror -o /tmp/tmp0/test /tmp/tmp0/test.o /tmp/tmp0/main.o Exited with code 1 found whether cc linker supports --target: Program { prgPath = "/tmp/lang/ghc910/work/.cwrapper/bin/gcc" , prgFlags = ["-Wl,-zrelro","-L/usr/lib","-Wl,-R/usr/lib","-L/usr/pkg/lib","-Wl,-R/usr/pkg/lib"] } checking whether the cc linker supports -no-pie... Entering: checking whether the cc linker supports -no-pie Execute: /tmp/lang/ghc910/work/.cwrapper/bin/gcc -O2 -I/usr/include -I/usr/pkg/include -fPIC -c -o /tmp/tmp0/test.o /tmp/tmp0/test.o.c Execute: /tmp/lang/ghc910/work/.cwrapper/bin/gcc -Wl,-zrelro -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -no-pie -Werror /tmp/tmp0/test.o -o /tmp/tmp0/test found whether the cc linker supports -no-pie: True checking whether the cc linker understands -filelist... Entering: checking whether the cc linker understands -filelist Execute: /tmp/lang/ghc910/work/.cwrapper/bin/gcc -O2 -I/usr/include -I/usr/pkg/include -fPIC -c -o /tmp/tmp0/test1.o /tmp/tmp0/test1.o.c Execute: /tmp/lang/ghc910/work/.cwrapper/bin/gcc -O2 -I/usr/include -I/usr/pkg/include -fPIC -c -o /tmp/tmp0/test2.o /tmp/tmp0/test2.o.c Execute: /tmp/lang/ghc910/work/.cwrapper/bin/gcc -Wl,-zrelro -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -r -Wl,-filelist /tmp/tmp0/test.o-files -o /tmp/tmp0/test.o found whether the cc linker understands -filelist: False Execute: /tmp/lang/ghc910/work/.cwrapper/bin/gcc -Wl,-zrelro -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -Wl,--version checking that --no-as-needed works... Entering: checking that --no-as-needed works Execute: /tmp/lang/ghc910/work/.cwrapper/bin/gcc -O2 -I/usr/include -I/usr/pkg/include -fPIC -c -o /tmp/tmp0/test.o /tmp/tmp0/test.o.c Execute: /tmp/lang/ghc910/work/.cwrapper/bin/gcc -O2 -I/usr/include -I/usr/pkg/include -fPIC -c -o /tmp/tmp0/main.o /tmp/tmp0/main.o.c Execute: /tmp/lang/ghc910/work/.cwrapper/bin/gcc -Wl,-zrelro -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -Wl,--no-as-needed -Werror -o /tmp/tmp0/test /tmp/tmp0/test.o /tmp/tmp0/main.o found that --no-as-needed works: Program { prgPath = "/tmp/lang/ghc910/work/.cwrapper/bin/gcc" , prgFlags = ["-Wl,-zrelro","-L/usr/lib","-Wl,-R/usr/lib","-L/usr/pkg/lib","-Wl,-R/usr/pkg/lib","-Wl,--no-as-needed"] } found for C compiler for linking command: CcLink { ccLinkProgram = Program { prgPath = "/tmp/lang/ghc910/work/.cwrapper/bin/gcc" , prgFlags = ["-Wl,-zrelro","-L/usr/lib","-Wl,-R/usr/lib","-L/usr/pkg/lib","-Wl,-R/usr/pkg/lib","-Wl,--no-as-needed"] } , ccLinkSupportsNoPie = True , ccLinkSupportsCompactUnwind = False , ccLinkSupportsFilelist = False , ccLinkSupportsSingleModule = False , ccLinkIsGnu = True } checking for 'ar'... Entering: checking for 'ar' Execute: /usr/bin/ar --version checking for how to make archives... Entering: checking for how to make archives checking that ar works... Entering: checking that ar works Execute: /usr/bin/ar q /tmp/tmp0/conftest.a /tmp/tmp0/conftest.dummy found that ar works: () found for how to make archives: Program { prgPath = "/usr/bin/ar" , prgFlags = ["q"] } checking that ar supports @-files... Entering: checking that ar supports @-files Execute: /usr/bin/ar q /tmp/tmp0/conftest.a @/tmp/tmp0/conftest.atfile Execute: /usr/bin/ar t /tmp/tmp0/conftest.a found that ar supports @-files: True checking that ar supports -L... Entering: checking that ar supports -L Execute: /usr/bin/ar qc /tmp/tmp0/conftest-a.a /tmp/tmp0/conftest.a0 /tmp/tmp0/conftest.a1 Execute: /usr/bin/ar qc /tmp/tmp0/conftest-b.a /tmp/tmp0/conftest.b0 /tmp/tmp0/conftest.b1 Execute: /usr/bin/ar qcL /tmp/tmp0/conftest.a /tmp/tmp0/conftest-a.a /tmp/tmp0/conftest-b.a Command failed: /usr/bin/ar qcL /tmp/tmp0/conftest.a /tmp/tmp0/conftest-a.a /tmp/tmp0/conftest-b.a Exited with code 1 found that ar supports -L: False found for 'ar': Ar { arMkArchive = Program { prgPath = "/usr/bin/ar" , prgFlags = ["q"] } , arIsGnu = True , arSupportsAtFile = True , arSupportsDashL = False , arNeedsRanlib = False } checking for 'ranlib'... Entering: checking for 'ranlib' found for 'ranlib': Ranlib {ranlibProgram = Program { prgPath = "/usr/bin/ranlib" , prgFlags = [] }} checking for 'nm'... Entering: checking for 'nm' found for 'nm': Nm {nmProgram = Program { prgPath = "/usr/bin/nm" , prgFlags = [] }} checking for linker for merging objects... Entering: checking for linker for merging objects checking whether object merging works... Entering: checking whether object merging works Execute: /tmp/lang/ghc910/work/.cwrapper/bin/gcc -O2 -I/usr/include -I/usr/pkg/include -fPIC -c -o /tmp/tmp0/a.o /tmp/tmp0/a.o.c Execute: /tmp/lang/ghc910/work/.cwrapper/bin/gcc -O2 -I/usr/include -I/usr/pkg/include -fPIC -c -o /tmp/tmp0/b.o /tmp/tmp0/b.o.c Execute: /tmp/lang/ghc910/work/.cwrapper/bin/ld -r /tmp/tmp0/a.o /tmp/tmp0/b.o -o /tmp/tmp0/out.o Execute: /usr/bin/nm /tmp/tmp0/out.o found whether object merging works: () checking for ld.gold object merging bug (binutils #22266)... Entering: checking for ld.gold object merging bug (binutils #22266) Execute: /tmp/lang/ghc910/work/.cwrapper/bin/ld -r --version found for ld.gold object merging bug (binutils #22266): "GNU ld (NetBSD Binutils nb1) 2.31.1\nCopyright (C) 2018 Free Software Foundation, Inc.\nThis program is free software; you may redistribute it under the terms of\nthe GNU General Public License version 3 or (at your option) a later version.\nThis program has absolutely no warranty.\n" checking whether the merge objects tool supports response files... Entering: checking whether the merge objects tool supports response files Execute: /tmp/lang/ghc910/work/.cwrapper/bin/gcc -O2 -I/usr/include -I/usr/pkg/include -fPIC -c -o /tmp/tmp0/a.o /tmp/tmp0/a.o.c Execute: /tmp/lang/ghc910/work/.cwrapper/bin/gcc -O2 -I/usr/include -I/usr/pkg/include -fPIC -c -o /tmp/tmp0/b.o /tmp/tmp0/b.o.c Execute: /tmp/lang/ghc910/work/.cwrapper/bin/ld -r @/tmp/tmp0/args.txt Execute: /usr/bin/nm /tmp/tmp0/out.o found whether the merge objects tool supports response files: True found for linker for merging objects: MergeObjs {mergeObjsProgram = Program { prgPath = "/tmp/lang/ghc910/work/.cwrapper/bin/ld" , prgFlags = ["-r"] }, mergeObjsSupportsResponseFiles = True} checking word size... Entering: checking word size Execute: /tmp/lang/ghc910/work/.cwrapper/bin/gcc -O2 -I/usr/include -I/usr/pkg/include -fPIC -E -o /tmp/tmp0/test.c /tmp/tmp0/test.c.c found word size: WS8 checking endianness (param.h)... Entering: checking endianness (param.h) Execute: /tmp/lang/ghc910/work/.cwrapper/bin/gcc -O2 -I/usr/include -I/usr/pkg/include -fPIC -E -o /tmp/tmp0/test.c /tmp/tmp0/test.c.c found endianness (param.h): LittleEndian checking whether symbols have leading underscores... Entering: checking whether symbols have leading underscores Execute: /tmp/lang/ghc910/work/.cwrapper/bin/gcc -O2 -I/usr/include -I/usr/pkg/include -fPIC -c -o /tmp/tmp0/test.o /tmp/tmp0/test.o.c Execute: /usr/bin/nm /tmp/tmp0/test.o found whether symbols have leading underscores: False checking whether .subsections-via-symbols directive is supported... Entering: checking whether .subsections-via-symbols directive is supported Execute: /tmp/lang/ghc910/work/.cwrapper/bin/gcc -O2 -I/usr/include -I/usr/pkg/include -fPIC -c -o /tmp/tmp0/test.o /tmp/tmp0/test.o.c Command failed: /tmp/lang/ghc910/work/.cwrapper/bin/gcc -O2 -I/usr/include -I/usr/pkg/include -fPIC -c -o /tmp/tmp0/test.o /tmp/tmp0/test.o.c Exited with code 1 found whether .subsections-via-symbols directive is supported: False checking whether the .ident directive is supported... Entering: checking whether the .ident directive is supported Execute: /tmp/lang/ghc910/work/.cwrapper/bin/gcc -O2 -I/usr/include -I/usr/pkg/include -fPIC -c -o /tmp/tmp0/test.o /tmp/tmp0/test.o.c found whether the .ident directive is supported: True checking whether GNU non-executable stack directives are supported... Entering: checking whether GNU non-executable stack directives are supported Execute: /tmp/lang/ghc910/work/.cwrapper/bin/gcc -O2 -I/usr/include -I/usr/pkg/include -fPIC -c -o /tmp/tmp0/test.o /tmp/tmp0/test.o.c found whether GNU non-executable stack directives are supported: True checking whether to use libffi for adjustors... Entering: checking whether to use libffi for adjustors found whether to use libffi for adjustors: False Final Target: Target { tgtArchOs = ArchOS {archOS_arch = ArchX86_64, archOS_OS = OSNetBSD} , tgtVendor = Just "unknown" , tgtLocallyExecutable = True , tgtSupportsGnuNonexecStack = True , tgtSupportsSubsectionsViaSymbols = False , tgtSupportsIdentDirective = True , tgtWordSize = WS8 , tgtEndianness = LittleEndian , tgtSymbolsHaveLeadingUnderscore = False , tgtLlvmTarget = "x86_64-unknown-netbsd" , tgtUnregisterised = False , tgtTablesNextToCode = True , tgtUseLibffiForAdjustors = False , tgtCCompiler = Cc {ccProgram = Program { prgPath = "/tmp/lang/ghc910/work/.cwrapper/bin/gcc" , prgFlags = ["-O2","-I/usr/include","-I/usr/pkg/include","-fPIC"] }} , tgtCxxCompiler = Cxx {cxxProgram = Program { prgPath = "/tmp/lang/ghc910/work/.cwrapper/bin/g++" , prgFlags = ["-O2","-I/usr/include","-I/usr/pkg/include"] }} , tgtCPreprocessor = Cpp {cppProgram = Program { prgPath = "/tmp/lang/ghc910/work/.cwrapper/bin/gcc" , prgFlags = ["-E"] }} , tgtHsCPreprocessor = HsCpp {hsCppProgram = Program { prgPath = "/tmp/lang/ghc910/work/.cwrapper/bin/gcc" , prgFlags = ["-E","-undef","-traditional"] }} , tgtCCompilerLink = CcLink { ccLinkProgram = Program { prgPath = "/tmp/lang/ghc910/work/.cwrapper/bin/gcc" , prgFlags = ["-Wl,-zrelro","-L/usr/lib","-Wl,-R/usr/lib","-L/usr/pkg/lib","-Wl,-R/usr/pkg/lib","-Wl,--no-as-needed"] } , ccLinkSupportsNoPie = True , ccLinkSupportsCompactUnwind = False , ccLinkSupportsFilelist = False , ccLinkSupportsSingleModule = False , ccLinkIsGnu = True } , tgtAr = Ar { arMkArchive = Program { prgPath = "/usr/bin/ar" , prgFlags = ["q"] } , arIsGnu = True , arSupportsAtFile = True , arSupportsDashL = False , arNeedsRanlib = False } , tgtRanlib = Just (Ranlib {ranlibProgram = Program { prgPath = "/usr/bin/ranlib" , prgFlags = [] }}) , tgtNm = Nm {nmProgram = Program { prgPath = "/usr/bin/nm" , prgFlags = [] }} , tgtMergeObjs = Just (MergeObjs {mergeObjsProgram = Program { prgPath = "/tmp/lang/ghc910/work/.cwrapper/bin/ld" , prgFlags = ["-r"] }, mergeObjsSupportsResponseFiles = True}) , tgtWindres = Nothing } configure: creating ./config.status config.status: creating mk/system-cxx-std-lib-1.0.conf config.status: creating mk/project.mk config.status: creating hadrian/cfg/system.config config.status: creating hadrian/ghci-cabal config.status: creating hadrian/ghci-multi-cabal config.status: creating hadrian/ghci-stack config.status: creating distrib/configure.ac config.status: creating hadrian/cfg/default.host.target config.status: creating hadrian/cfg/default.target ---------------------------------------------------------------------- Configure completed successfully. Building GHC version : 9.10.1 Git commit id : 6d779c0fab30c39475aef50d39064ed67ce839d7 Build platform : x86_64-unknown-netbsd Host platform : x86_64-unknown-netbsd Target platform : x86_64-unknown-netbsd Bootstrapping using : /tmp/lang/ghc910/work/.tools/bin/ghc which is version : 9.8.2 with threaded RTS? : NO Using (for bootstrapping) : gcc Using gcc : /tmp/lang/ghc910/work/.cwrapper/bin/gcc which is version : 7.5.0 linker options : Building a cross compiler : NO Unregisterised : NO TablesNextToCode : YES Build GMP in tree : NO cpp : /tmp/lang/ghc910/work/.cwrapper/bin/gcc cpp-flags : -E hs-cpp : /tmp/lang/ghc910/work/.cwrapper/bin/gcc hs-cpp-flags : -E -undef -traditional ar : /usr/bin/ar nm : /usr/bin/nm objdump : /usr/bin/objdump ranlib : /usr/bin/ranlib otool : otool install_name_tool : install_name_tool windres : genlib : Happy : () Alex : () sphinx-build : /usr/pkg/bin/sphinx-build-3.12 xelatex : makeinfo : /tmp/lang/ghc910/work/.tools/bin/makeinfo git : cabal-install : Using optional dependencies: libnuma : NO libzstd : NO statically linked? : N/A libdw : NO Using LLVM tools llc : llc opt : opt llvm-as : clang HsColour was not found; documentation will not contain source links Tools to build Sphinx HTML documentation available: YES Tools to build Sphinx PDF documentation available: NO Tools to build Sphinx INFO documentation available: YES ---------------------------------------------------------------------- For a standard build of GHC (fully optimised with profiling), type ./hadrian/build You can customise the build with flags such as ./hadrian/build -j --flavour=devel2 [--freeze1] To make changes to the default build configuration, see the file hadrian/src/UserSettings.hs For more information on how to configure your GHC build, see https://gitlab.haskell.org/ghc/ghc/-/wikis/building/hadrian configure: WARNING: There are some differences between the toolchain configured by "configure" (hadrian/cfg/default.target) and the toolchain configured by the "ghc-toolchain" program (hadrian/cfg/default.target.ghc-toolchain). 5c5 < , tgtSupportsGnuNonexecStack = False --- > , tgtSupportsGnuNonexecStack = True 16c16 < , tgtCxxCompiler = Cxx {cxxProgram = Program { prgPath = "/tmp/lang/ghc910/work/.cwrapper/bin/g++" , prgFlags = [] }} --- > , tgtCxxCompiler = Cxx {cxxProgram = Program { prgPath = "/tmp/lang/ghc910/work/.cwrapper/bin/g++" , prgFlags = ["-O2","-I/usr/include","-I/usr/pkg/include"] }} 20c20 < { ccLinkProgram = Program { prgPath = "/tmp/lang/ghc910/work/.cwrapper/bin/gcc" , prgFlags = ["-Wl,-zrelro","-L/usr/lib","-Wl,-R/usr/lib","-L/usr/pkg/lib","-Wl,-R/usr/pkg/lib"] } --- > { ccLinkProgram = Program { prgPath = "/tmp/lang/ghc910/work/.cwrapper/bin/gcc" , prgFlags = ["-Wl,-zrelro","-L/usr/lib","-Wl,-R/usr/lib","-L/usr/pkg/lib","-Wl,-R/usr/pkg/lib","-Wl,--no-as-needed"] } Don't worry! This won't affect your ghc in any way. However, in a near future, we will move to configuring toolchains with "ghc-toolchain" by default, so you might have discovered a future bug. In light of it, if you've spotted this difference, please report a GHC bug at https://www.haskell.org/ghc/reportabug => Modifying libtool scripts to use pkgsrc libtool => Modifying libtool scripts to use pkgsrc depcomp