+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /opt/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent PYTHON_VERSION_REQD=311 WRKLOG=/tmp/bulklog/ghc-9.8.2nb1/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent PYTHON_VERSION_REQD=311 WRKLOG=/tmp/bulklog/ghc-9.8.2nb1/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 => Checksum BLAKE2s OK for ghc-9.4.7-boot-hadrian-ghc9.8.tar.gz => Checksum SHA512 OK for ghc-9.4.7-boot-hadrian-ghc9.8.tar.gz => Checksum BLAKE2s OK for ghc-9.4.7-boot-x86_64-unknown-solaris2.tar.xz => Checksum SHA512 OK for ghc-9.4.7-boot-x86_64-unknown-solaris2.tar.xz => Checksum BLAKE2s OK for ghc-9.8.2-src.tar.xz => Checksum SHA512 OK for ghc-9.8.2-src.tar.xz ===> Installing dependencies for ghc-9.8.2nb1 ========================================================================== The supported build options for ghc are: llvm 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.8.2nb1. Their current value is shown below: * CURSES_DEFAULT = ncurses * PYTHON_VERSION_DEFAULT = 311 Based on these variables, the following variables have been set: * CURSES_TYPE = ncurses * PYPACKAGE = python311 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 `/opt/pkg/bin/bmake clean' after the changes. ========================================================================== => Tool dependency python311>=3.11: found python311-3.11.9 => 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 cwrappers>=20150314: found cwrappers-20220403 => Tool dependency checkperms>=1.1: found checkperms-1.12 => Full dependency libiconv>=1.9.1nb4: found libiconv-1.17 => Full dependency libffi>=3.4.2nb3: found libffi-3.4.6 => Full dependency gmp>=5.0.1: found gmp-6.3.0 => Full dependency ncurses>=6.3nb1: found ncurses-6.4 ===> Overriding tools for ghc-9.8.2nb1 ===> Extracting for ghc-9.8.2nb1 => Substituting "ghc-wrapper-sh" in mk/install_script.sh ===> Patching for ghc-9.8.2nb1 => Applying pkgsrc patches for ghc-9.8.2nb1 => Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/ghc98/patches/patch-compiler_GHC_Driver_Pipeline_Execute.hs => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/ghc98/patches/patch-compiler_GHC_Driver_Pipeline_Execute.hs Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-compiler_GHC_Driver_Pipeline_Execute.hs,v 1.1 2024/04/28 05:58:57 pho Exp $ | |This is pkgsrc-specific. Do not use -Xpreprocessor to pass options to |CPP. Our tool wrappers may remove some of them, and if that happens an |unpaired -Xpreprocessor will be left behind and confuses CC. | |--- compiler/GHC/Driver/Pipeline/Execute.hs.orig 2022-12-23 16:19:02.000000000 +0000 |+++ compiler/GHC/Driver/Pipeline/Execute.hs -------------------------- Patching file compiler/GHC/Driver/Pipeline/Execute.hs using Plan A... Hunk #1 succeeded at 443 (offset 70 lines). done => Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/ghc98/patches/patch-compiler_GHC_SysTools_Process.hs => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/ghc98/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 2024/04/28 05:58:57 pho Exp $ | |This is more like pkgsrc-specific than an upstream issue. Unless we |are on Windows, 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 2022-12-23 16:19:02.000000000 +0000 |+++ compiler/GHC/SysTools/Process.hs -------------------------- Patching file compiler/GHC/SysTools/Process.hs using Plan A... Hunk #1 succeeded at 160. Hunk #2 succeeded at 199. done => Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/ghc98/patches/patch-configure.ac => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/ghc98/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 2024/04/28 05:58:57 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 788 (offset -12 lines). done => Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/ghc98/patches/patch-hadrian_bindist_Makefile => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/ghc98/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 2024/04/28 05:58:57 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-02-22 20:59:45.000000000 +0000 |+++ hadrian/bindist/Makefile -------------------------- Patching file hadrian/bindist/Makefile using Plan A... Hunk #1 succeeded at 242. done => Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/ghc98/patches/patch-hadrian_bootstrap_bootstrap.py => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/ghc98/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.2 2024/05/01 03:22:33 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. | TODO: Upstream this. | |--- 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 181. Hunk #3 succeeded at 226. Hunk #4 succeeded at 248. Hunk #5 succeeded at 263. Hunk #6 succeeded at 273. Hunk #7 succeeded at 399. Hunk #8 succeeded at 507. done => Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/ghc98/patches/patch-hadrian_bootstrap_src_Main.hs => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/ghc98/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 2024/04/28 05:58:57 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 /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/ghc98/patches/patch-hadrian_src_Builder.hs => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/ghc98/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 2024/04/28 05:58:58 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-02-22 20:59:45.000000000 +0000 |+++ hadrian/src/Builder.hs -------------------------- Patching file hadrian/src/Builder.hs using Plan A... Hunk #1 succeeded at 31. Hunk #2 succeeded at 387. Hunk #3 succeeded at 409. done => Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/ghc98/patches/patch-hadrian_src_Rules_BinaryDist.hs => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/ghc98/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 2024/04/28 05:58:58 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 2022-12-23 16:19:02.000000000 +0000 |+++ hadrian/src/Rules/BinaryDist.hs -------------------------- Patching file hadrian/src/Rules/BinaryDist.hs using Plan A... Hunk #1 succeeded at 113. Hunk #2 succeeded at 137 (offset 1 line). Hunk #3 succeeded at 195 (offset 1 line). Hunk #4 succeeded at 280 (offset 11 lines). Hunk #5 succeeded at 323 (offset 1 line). done => Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/ghc98/patches/patch-hadrian_src_Settings_Builders_Ghc.hs => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/ghc98/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 2024/04/28 05:58:58 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 97 (offset -8 lines). Hunk #3 succeeded at 114 (offset -8 lines). Hunk #4 succeeded at 128 (offset -8 lines). done => Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/ghc98/patches/patch-hadrian_src_Settings_Default.hs => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/ghc98/patches/patch-hadrian_src_Settings_Default.hs Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-hadrian_src_Settings_Default.hs,v 1.1 2024/04/28 05:58:58 pho Exp $ | |Do not build haddock with the stage-0 compiler. That's not only pointless |but also impossible in our case because our bootkits in the pre-Hadrian era |lack the xhtml package, which haddock depends on. | |Probably not eligible for upstreaming though, because regular GHC |distributions of course have xhtml. | |TODO: Try removing this patch and see if it works. I believe none of our |bootkits are from pre-Hadrian era as it is now. (pho) | |--- hadrian/src/Settings/Default.hs.orig 2023-01-11 15:35:59.835839905 +0000 |+++ hadrian/src/Settings/Default.hs -------------------------- Patching file hadrian/src/Settings/Default.hs using Plan A... Hunk #1 succeeded at 89 (offset 3 lines). done => Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/ghc98/patches/patch-hadrian_src_Settings_Packages.hs => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/ghc98/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 2024/04/28 05:58:58 pho Exp $ | |Hunk #0, #1: | Don't assume we always build the threaded RTS. | TODO: Upstream this. | |Hunk #2: | Hadrian does something unholy on i386 to gain speed but it seems to be | incompatible with LLD. Disable the speed hack to work around a linkage | failure. Ideally we should do this by detecting the type of linker but | not the OS. (Don't upstream this as-is. Do detect the linker type.) | |--- hadrian/src/Settings/Packages.hs.orig 2024-02-22 20:59:45.000000000 +0000 |+++ hadrian/src/Settings/Packages.hs -------------------------- Patching file hadrian/src/Settings/Packages.hs using Plan A... Hunk #1 succeeded at 29. Hunk #2 succeeded at 167. Hunk #3 succeeded at 452. done => Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/ghc98/patches/patch-libraries_Cabal_Cabal_src_Distribution_Simple_GHC.hs => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/ghc98/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 2024/04/28 05:58:58 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.hs.orig 2023-09-21 11:31:40.000000000 +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 849 (offset 13 lines). Hunk #2 succeeded at 913 (offset 13 lines). Hunk #3 succeeded at 1820 (offset 8 lines). done => Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/ghc98/patches/patch-libraries_Cabal_Cabal_src_Distribution_Simple_Register.hs => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/ghc98/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 2024/04/28 16:23:44 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@) | |TODO: Upstream this | |--- libraries/Cabal/Cabal/src/Distribution/Simple/Register.hs.orig 2024-04-28 14:54:00.713517045 +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 445. done => Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/ghc98/patches/patch-libraries_base_GHC_Event_KQueue.hsc => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/ghc98/patches/patch-libraries_base_GHC_Event_KQueue.hsc Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-libraries_base_GHC_Event_KQueue.hsc,v 1.1 2024/04/28 05:58:58 pho Exp $ | |Suppress linker warnings about compatibility syscall wrappers by using |"capi" instead of "ccall". | |--- libraries/base/GHC/Event/KQueue.hsc.orig 2019-12-26 18:05:56.276488590 +0000 |+++ libraries/base/GHC/Event/KQueue.hsc -------------------------- Patching file libraries/base/GHC/Event/KQueue.hsc using Plan A... Hunk #1 succeeded at 299 (offset 15 lines). done => Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/ghc98/patches/patch-libraries_base_System_CPUTime_Posix_Times.hsc => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/ghc98/patches/patch-libraries_base_System_CPUTime_Posix_Times.hsc Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-libraries_base_System_CPUTime_Posix_Times.hsc,v 1.1 2024/04/28 05:58:58 pho Exp $ | |Suppress linker warnings about compatibility syscall wrappers by using |"capi" instead of "ccall". | |--- libraries/base/System/CPUTime/Posix/Times.hsc.orig 2020-01-04 12:08:39.515726533 +0000 |+++ libraries/base/System/CPUTime/Posix/Times.hsc -------------------------- Patching file libraries/base/System/CPUTime/Posix/Times.hsc using Plan A... Hunk #1 succeeded at 29 (offset 2 lines). done => Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/ghc98/patches/patch-libraries_base_System_Environment.hs => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/ghc98/patches/patch-libraries_base_System_Environment.hs Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-libraries_base_System_Environment.hs,v 1.1 2024/04/28 05:58:58 pho Exp $ | |Suppress linker warnings about compatibility syscall wrappers by using |"capi" instead of "ccall". | |--- libraries/base/System/Environment.hs.orig 2018-02-25 20:02:28.000000000 +0000 |+++ libraries/base/System/Environment.hs -------------------------- Patching file libraries/base/System/Environment.hs using Plan A... Hunk #1 succeeded at 1. Hunk #2 succeeded at 248 (offset 1 line). done => Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/ghc98/patches/patch-libraries_base_configure => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/ghc98/patches/patch-libraries_base_configure Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-libraries_base_configure,v 1.1 2024/04/28 05:58:58 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/base/configure.orig 2021-10-28 20:43:03.000000000 +0000 |+++ libraries/base/configure -------------------------- Patching file libraries/base/configure using Plan A... Hunk #1 succeeded at 4308 (offset 99 lines). done => Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/ghc98/patches/patch-libraries_terminfo_configure.ac => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/ghc98/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 2024/04/28 05:58:58 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 /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/ghc98/patches/patch-libraries_time_lib_Data_Time_Clock_Internal_CTimespec.hsc => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/ghc98/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 2024/04/28 05:58:58 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 /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/ghc98/patches/patch-libraries_time_lib_Data_Time_Clock_Internal_CTimeval.hs => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/ghc98/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 2024/04/28 05:58:58 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 <sys/time.h> 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 /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/ghc98/patches/patch-libraries_unix_System_Posix_Env.hsc => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/ghc98/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 2024/04/28 05:58:58 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 /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/ghc98/patches/patch-libraries_unix_System_Posix_Env_ByteString.hsc => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/ghc98/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 2024/04/28 05:58:58 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 /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/ghc98/patches/patch-libraries_unix_System_Posix_Env_PosixString.hsc => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/ghc98/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 2024/04/28 05:58:58 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 130 (offset -16 lines). done => Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/ghc98/patches/patch-libraries_unix_System_Posix_Signals.hsc => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/ghc98/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 2024/04/28 05:58:58 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 /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/ghc98/patches/patch-libraries_unix_System_Posix_User.hsc => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/ghc98/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 2024/04/28 05:58:58 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 /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/ghc98/patches/patch-libraries_unix_System_Posix_User_ByteString.hsc => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/ghc98/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 2024/04/28 05:58:58 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 /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/ghc98/patches/patch-m4_fptools__set__haskell__platform__vars.m4 => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/ghc98/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 2024/04/28 05:58:58 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 195 (offset 15 lines). Hunk #2 succeeded at 226 (offset 15 lines). done => Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/ghc98/patches/patch-utils_haddock_driver_Main.hs => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/ghc98/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 2024/04/28 05:58:58 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 /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/ghc98/patches/patch-utils_haddock_haddock.cabal => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/ghc98/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 2024/04/28 05:58:58 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.8.2nb1 configure.ac:90: warning: The macro 'AC_CONFIG_HEADER' is obsolete. configure.ac:90: You should run autoupdate. ./lib/autoconf/status.m4:719: AC_CONFIG_HEADER is expanded from... configure.ac:90: the top level configure.ac:92: warning: The macro 'AC_CONFIG_HEADER' is obsolete. configure.ac:92: You should run autoupdate. ./lib/autoconf/status.m4:719: AC_CONFIG_HEADER is expanded from... configure.ac:92: the top level configure.ac:473: warning: The macro 'AC_PROG_CC_C99' is obsolete. configure.ac:473: 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:473: the top level configure.ac:474: warning: The macro 'AC_PROG_CC_C99' is obsolete. configure.ac:474: 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:474: the top level configure.ac:475: warning: The macro 'AC_PROG_CC_C99' is obsolete. configure.ac:475: 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:475: the top level configure.ac:476: warning: The macro 'AC_PROG_CC_C99' is obsolete. configure.ac:476: 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:476: the top level configure.ac:1016: warning: The macro 'AC_TRY_RUN' is obsolete. configure.ac:1016: You should run autoupdate. ./lib/autoconf/general.m4:2995: AC_TRY_RUN is expanded from... lib/m4sugar/m4sh.m4:690: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:697: AS_IF is expanded from... ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from... ./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from... m4/fp_check_timer_create.m4:5: FP_CHECK_TIMER_CREATE is expanded from... configure.ac:1016: the top level 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.8.2nb1 ===> Configuring for ghc-9.8.2nb1 ===> Extracting bootstrapping compiler for ghc-9.8.2nb1 ===> Preparing bootstrapping compiler for ghc-9.8.2nb1 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-pc-solaris2.11 checking host system type... x86_64-pc-solaris2.11 checking target system type... x86_64-pc-solaris2.11 build platform inferred as: x86_64-unknown-solaris2 host platform inferred as: x86_64-unknown-solaris2 target platform inferred as: x86_64-unknown-solaris2 configure: GHC build : x86_64-unknown-solaris2 configure: GHC host : x86_64-unknown-solaris2 configure: GHC target : x86_64-unknown-solaris2 checking for path to top of build tree... /home/pbulk/build/lang/ghc98/work/bootkit-dist/ghc-9.4.7-boot-x86_64-unknown-solaris2 checking for a BSD-compatible install... /home/pbulk/build/lang/ghc98/work/.tools/bin/install -c checking whether ln -s works... yes checking for gsed... sed checking for python3... /opt/pkg/bin/python3.11 checking for gfind... no checking for find... /home/pbulk/build/lang/ghc98/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 g++ accepts -g... yes checking for g++ 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)... ld: Software Generation Utilities - Solaris Link Editors: 5.11-1.1790 (illumos) checking whether ld is GNU ld... NO checking whether ld understands --build-id... no checking whether ld understands -no_compact_unwind... no checking whether ld understands -filelist... no checking for -strip... no checking for strip... strip checking for gawk... /usr/bin/nawk no configure: We only support llvm 10 to 15 (no version found). no configure: We only support llvm 10 to 15 (no version found). checking version of gcc... checking version of gcc... 13.2.0 13.2.0 checking whether CC supports -no-pie... yes checking for extra options to pass gcc when compiling via C... 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 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 GNU non-executable stack support... yes checking whether gcc supports --target... no checking whether gcc supports --target... 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... no checking for ar arguments... qcls checking whether ar supports @file... (cached) no checking whether ar supports -L... ar: archive conftest.a not found no checking for ranlib... ranlib configure: creating ./config.status config.status: creating mk/system-cxx-std-lib-1.0.conf config.status: creating mk/config.mk config.status: creating mk/install.mk 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 /home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/bin /home/pbulk/build/lang/ghc98/work/.tools/bin/install -c -m 755 -d "/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/bin" for i in ./bin/ghc ./bin/ghc-9.4.7 ./bin/ghc-iserv ./bin/ghc-iserv-ghc-9.4.7 ./bin/ghc-pkg ./bin/ghc-pkg-9.4.7 ./bin/haddock ./bin/haddock-ghc-9.4.7 ./bin/hp2ps ./bin/hp2ps-ghc-9.4.7 ./bin/hpc ./bin/hpc-ghc-9.4.7 ./bin/hsc2hs ./bin/hsc2hs-ghc-9.4.7 ./bin/runghc ./bin/runghc-9.4.7 ./bin/runhaskell ./bin/runhaskell-9.4.7 ./bin/unlit ./bin/unlit-ghc-9.4.7; do \ if test -L "$i"; then \ cp -RP "$i" "/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/bin"; \ else \ /home/pbulk/build/lang/ghc98/work/.tools/bin/install -c -m 755 "$i" "/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/bin"; \ fi; \ done # Work around #17418 on Darwin if [ -e "" ]; then \ "" -c -r "/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/bin"; \ fi Installing wrapper scripts /home/pbulk/build/lang/ghc98/work/.tools/bin/install -c -m 755 -d "/home/pbulk/build/lang/ghc98/work/.tools/bin" for p in `cd wrappers; /home/pbulk/build/lang/ghc98/work/.tools/bin/find . ! -type d`; do \ mk/install_script.sh "$p" "//home/pbulk/build/lang/ghc98/work/.tools/bin/$p" "/home/pbulk/build/lang/ghc98/work/.tools/bin" "/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/bin" "/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/bin/$p" "/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib" "/home/pbulk/build/lang/ghc98/work/.tools/share/doc/ghc-9.4.7" "/home/pbulk/build/lang/ghc98/work/.tools/include"; \ done Installing ./ghc -> //home/pbulk/build/lang/ghc98/work/.tools/bin/./ghc Installing ./hpc-ghc-9.4.7 -> //home/pbulk/build/lang/ghc98/work/.tools/bin/./hpc-ghc-9.4.7 Installing ./ghci -> //home/pbulk/build/lang/ghc98/work/.tools/bin/./ghci Installing ./runhaskell -> //home/pbulk/build/lang/ghc98/work/.tools/bin/./runhaskell Installing ./haddock-ghc-9.4.7 -> //home/pbulk/build/lang/ghc98/work/.tools/bin/./haddock-ghc-9.4.7 Installing ./ghci-9.4.7 -> //home/pbulk/build/lang/ghc98/work/.tools/bin/./ghci-9.4.7 Installing ./hp2ps -> //home/pbulk/build/lang/ghc98/work/.tools/bin/./hp2ps Installing ./ghc-9.4.7 -> //home/pbulk/build/lang/ghc98/work/.tools/bin/./ghc-9.4.7 Installing ./haddock -> //home/pbulk/build/lang/ghc98/work/.tools/bin/./haddock Installing ./runghc-9.4.7 -> //home/pbulk/build/lang/ghc98/work/.tools/bin/./runghc-9.4.7 Installing ./hsc2hs -> //home/pbulk/build/lang/ghc98/work/.tools/bin/./hsc2hs Installing ./ghc-pkg -> //home/pbulk/build/lang/ghc98/work/.tools/bin/./ghc-pkg Installing ./hp2ps-ghc-9.4.7 -> //home/pbulk/build/lang/ghc98/work/.tools/bin/./hp2ps-ghc-9.4.7 Installing ./ghc-pkg-9.4.7 -> //home/pbulk/build/lang/ghc98/work/.tools/bin/./ghc-pkg-9.4.7 Installing ./runhaskell-9.4.7 -> //home/pbulk/build/lang/ghc98/work/.tools/bin/./runhaskell-9.4.7 Installing ./hsc2hs-ghc-9.4.7 -> //home/pbulk/build/lang/ghc98/work/.tools/bin/./hsc2hs-ghc-9.4.7 Installing ./hpc -> //home/pbulk/build/lang/ghc98/work/.tools/bin/./hpc Installing ./runghc -> //home/pbulk/build/lang/ghc98/work/.tools/bin/./runghc Copying libraries to /home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib /home/pbulk/build/lang/ghc98/work/.tools/bin/install -c -m 755 -d "/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib" for i in ; do \ cp -R $i "/home/pbulk/build/lang/ghc98/work/.tools/share/doc/ghc-9.4.7/"; \ done # Work around #17418 on Darwin if [ -e "" ]; then \ "" -c -r "/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib"; \ fi if [ -f doc/users_guide/build-man/ghc.1 ]; then \ /home/pbulk/build/lang/ghc98/work/.tools/bin/install -c -m 755 -d "/home/pbulk/build/lang/ghc98/work/.tools/share/man"; \ /home/pbulk/build/lang/ghc98/work/.tools/bin/install -c -m 755 -d "/home/pbulk/build/lang/ghc98/work/.tools/share/man/man1"; \ /home/pbulk/build/lang/ghc98/work/.tools/bin/install -c -m 644 doc/users_guide/build-man/ghc.1 "/home/pbulk/build/lang/ghc98/work/.tools/share/man/man1"; \ fi Copying docs to /home/pbulk/build/lang/ghc98/work/.tools/share/doc/ghc-9.4.7 /home/pbulk/build/lang/ghc98/work/.tools/bin/install -c -m 755 -d "/home/pbulk/build/lang/ghc98/work/.tools/share/doc/ghc-9.4.7" if [ -d doc ]; then \ cd doc; /home/pbulk/build/lang/ghc98/work/.tools/bin/find . -type f -exec sh -c \ '/home/pbulk/build/lang/ghc98/work/.tools/bin/install -c -m 755 -d "/home/pbulk/build/lang/ghc98/work/.tools/share/doc/ghc-9.4.7/`dirname $1`" && /home/pbulk/build/lang/ghc98/work/.tools/bin/install -c -m 644 "$1" "/home/pbulk/build/lang/ghc98/work/.tools/share/doc/ghc-9.4.7/`dirname $1`"' \ sh '{}' ';'; \ fi if [ -d docs-utils ]; then \ /home/pbulk/build/lang/ghc98/work/.tools/bin/install -c -m 755 -d "/home/pbulk/build/lang/ghc98/work/.tools/share/doc/ghc-9.4.7/html/libraries/"; \ /home/pbulk/build/lang/ghc98/work/.tools/bin/install -c -m 644 docs-utils/prologue.txt "/home/pbulk/build/lang/ghc98/work/.tools/share/doc/ghc-9.4.7/html/libraries/"; \ /home/pbulk/build/lang/ghc98/work/.tools/bin/install -c -m 755 docs-utils/gen_contents_index "/home/pbulk/build/lang/ghc98/work/.tools/share/doc/ghc-9.4.7/html/libraries/"; \ fi Installing C++ standard library virtual package /home/pbulk/build/lang/ghc98/work/.tools/bin/install -c -m 644 mk/system-cxx-std-lib-1.0.conf "/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d" Updating the package DB # to the doc files. cat '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/filepath-1.4.2.2.conf' | sed 's|haddock-interfaces.*|haddock-interfaces: "${pkgroot}/../../../share/doc/ghc-9.4.7/html/libraries/filepath-1.4.2.2/filepath.haddock"|' | sed 's|haddock-html.*|haddock-html: "${pkgroot}/../../../share/doc/ghc-9.4.7/html/libraries/filepath-1.4.2.2"|' | sed 's| ${pkgroot}/../../doc/html/.*||' > '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/filepath-1.4.2.2.conf.copy' # The rts package doesn't actually supply haddocks, so we stop advertising them # altogether. ((echo "filepath" | grep rts) && (cat '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/filepath-1.4.2.2.conf.copy' | sed 's|haddock-.*||' > '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/filepath-1.4.2.2.conf.copy.copy')) || (cat '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/filepath-1.4.2.2.conf.copy' > '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/filepath-1.4.2.2.conf.copy.copy') # We finally replace the original file. mv '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/filepath-1.4.2.2.conf.copy.copy' '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/filepath-1.4.2.2.conf' # Fix the mode, in case umask is set chmod 644 '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/filepath-1.4.2.2.conf' # to the doc files. cat '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/transformers-0.5.6.2.conf' | sed 's|haddock-interfaces.*|haddock-interfaces: "${pkgroot}/../../../share/doc/ghc-9.4.7/html/libraries/transformers-0.5.6.2/transformers.haddock"|' | sed 's|haddock-html.*|haddock-html: "${pkgroot}/../../../share/doc/ghc-9.4.7/html/libraries/transformers-0.5.6.2"|' | sed 's| ${pkgroot}/../../doc/html/.*||' > '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/transformers-0.5.6.2.conf.copy' # The rts package doesn't actually supply haddocks, so we stop advertising them # altogether. ((echo "transformers" | grep rts) && (cat '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/transformers-0.5.6.2.conf.copy' | sed 's|haddock-.*||' > '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/transformers-0.5.6.2.conf.copy.copy')) || (cat '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/transformers-0.5.6.2.conf.copy' > '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/transformers-0.5.6.2.conf.copy.copy') # We finally replace the original file. mv '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/transformers-0.5.6.2.conf.copy.copy' '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/transformers-0.5.6.2.conf' # Fix the mode, in case umask is set chmod 644 '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/transformers-0.5.6.2.conf' # to the doc files. cat '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/time-1.12.2.conf' | sed 's|haddock-interfaces.*|haddock-interfaces: "${pkgroot}/../../../share/doc/ghc-9.4.7/html/libraries/time-1.12.2/time.haddock"|' | sed 's|haddock-html.*|haddock-html: "${pkgroot}/../../../share/doc/ghc-9.4.7/html/libraries/time-1.12.2"|' | sed 's| ${pkgroot}/../../doc/html/.*||' > '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/time-1.12.2.conf.copy' # The rts package doesn't actually supply haddocks, so we stop advertising them # altogether. ((echo "time" | grep rts) && (cat '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/time-1.12.2.conf.copy' | sed 's|haddock-.*||' > '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/time-1.12.2.conf.copy.copy')) || (cat '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/time-1.12.2.conf.copy' > '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/time-1.12.2.conf.copy.copy') # We finally replace the original file. mv '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/time-1.12.2.conf.copy.copy' '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/time-1.12.2.conf' # Fix the mode, in case umask is set chmod 644 '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/time-1.12.2.conf' # to the doc files. cat '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/binary-0.8.9.1.conf' | sed 's|haddock-interfaces.*|haddock-interfaces: "${pkgroot}/../../../share/doc/ghc-9.4.7/html/libraries/binary-0.8.9.1/binary.haddock"|' | sed 's|haddock-html.*|haddock-html: "${pkgroot}/../../../share/doc/ghc-9.4.7/html/libraries/binary-0.8.9.1"|' | sed 's| ${pkgroot}/../../doc/html/.*||' > '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/binary-0.8.9.1.conf.copy' # The rts package doesn't actually supply haddocks, so we stop advertising them # altogether. ((echo "binary" | grep rts) && (cat '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/binary-0.8.9.1.conf.copy' | sed 's|haddock-.*||' > '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/binary-0.8.9.1.conf.copy.copy')) || (cat '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/binary-0.8.9.1.conf.copy' > '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/binary-0.8.9.1.conf.copy.copy') # We finally replace the original file. mv '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/binary-0.8.9.1.conf.copy.copy' '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/binary-0.8.9.1.conf' # Fix the mode, in case umask is set chmod 644 '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/binary-0.8.9.1.conf' # to the doc files. cat '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/haskeline-0.8.2.conf' | sed 's|haddock-interfaces.*|haddock-interfaces: "${pkgroot}/../../../share/doc/ghc-9.4.7/html/libraries/haskeline-0.8.2/haskeline.haddock"|' | sed 's|haddock-html.*|haddock-html: "${pkgroot}/../../../share/doc/ghc-9.4.7/html/libraries/haskeline-0.8.2"|' | sed 's| ${pkgroot}/../../doc/html/.*||' > '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/haskeline-0.8.2.conf.copy' # The rts package doesn't actually supply haddocks, so we stop advertising them # altogether. ((echo "haskeline" | grep rts) && (cat '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/haskeline-0.8.2.conf.copy' | sed 's|haddock-.*||' > '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/haskeline-0.8.2.conf.copy.copy')) || (cat '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/haskeline-0.8.2.conf.copy' > '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/haskeline-0.8.2.conf.copy.copy') # We finally replace the original file. mv '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/haskeline-0.8.2.conf.copy.copy' '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/haskeline-0.8.2.conf' # Fix the mode, in case umask is set chmod 644 '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/haskeline-0.8.2.conf' # to the doc files. cat '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/ghc-bignum-1.3.conf' | sed 's|haddock-interfaces.*|haddock-interfaces: "${pkgroot}/../../../share/doc/ghc-9.4.7/html/libraries/ghc-bignum-1.3/ghc-bignum.haddock"|' | sed 's|haddock-html.*|haddock-html: "${pkgroot}/../../../share/doc/ghc-9.4.7/html/libraries/ghc-bignum-1.3"|' | sed 's| ${pkgroot}/../../doc/html/.*||' > '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/ghc-bignum-1.3.conf.copy' # The rts package doesn't actually supply haddocks, so we stop advertising them # altogether. ((echo "ghc-bignum" | grep rts) && (cat '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/ghc-bignum-1.3.conf.copy' | sed 's|haddock-.*||' > '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/ghc-bignum-1.3.conf.copy.copy')) || (cat '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/ghc-bignum-1.3.conf.copy' > '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/ghc-bignum-1.3.conf.copy.copy') # We finally replace the original file. mv '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/ghc-bignum-1.3.conf.copy.copy' '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/ghc-bignum-1.3.conf' # Fix the mode, in case umask is set chmod 644 '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/ghc-bignum-1.3.conf' # to the doc files. cat '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/unix-2.7.3.conf' | sed 's|haddock-interfaces.*|haddock-interfaces: "${pkgroot}/../../../share/doc/ghc-9.4.7/html/libraries/unix-2.7.3/unix.haddock"|' | sed 's|haddock-html.*|haddock-html: "${pkgroot}/../../../share/doc/ghc-9.4.7/html/libraries/unix-2.7.3"|' | sed 's| ${pkgroot}/../../doc/html/.*||' > '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/unix-2.7.3.conf.copy' # The rts package doesn't actually supply haddocks, so we stop advertising them # altogether. ((echo "unix" | grep rts) && (cat '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/unix-2.7.3.conf.copy' | sed 's|haddock-.*||' > '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/unix-2.7.3.conf.copy.copy')) || (cat '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/unix-2.7.3.conf.copy' > '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/unix-2.7.3.conf.copy.copy') # We finally replace the original file. mv '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/unix-2.7.3.conf.copy.copy' '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/unix-2.7.3.conf' # Fix the mode, in case umask is set chmod 644 '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/unix-2.7.3.conf' # to the doc files. cat '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/pretty-1.1.3.6.conf' | sed 's|haddock-interfaces.*|haddock-interfaces: "${pkgroot}/../../../share/doc/ghc-9.4.7/html/libraries/pretty-1.1.3.6/pretty.haddock"|' | sed 's|haddock-html.*|haddock-html: "${pkgroot}/../../../share/doc/ghc-9.4.7/html/libraries/pretty-1.1.3.6"|' | sed 's| ${pkgroot}/../../doc/html/.*||' > '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/pretty-1.1.3.6.conf.copy' # The rts package doesn't actually supply haddocks, so we stop advertising them # altogether. ((echo "pretty" | grep rts) && (cat '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/pretty-1.1.3.6.conf.copy' | sed 's|haddock-.*||' > '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/pretty-1.1.3.6.conf.copy.copy')) || (cat '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/pretty-1.1.3.6.conf.copy' > '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/pretty-1.1.3.6.conf.copy.copy') # We finally replace the original file. mv '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/pretty-1.1.3.6.conf.copy.copy' '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/pretty-1.1.3.6.conf' # Fix the mode, in case umask is set chmod 644 '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/pretty-1.1.3.6.conf' # to the doc files. cat '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/bytestring-0.11.5.2.conf' | sed 's|haddock-interfaces.*|haddock-interfaces: "${pkgroot}/../../../share/doc/ghc-9.4.7/html/libraries/bytestring-0.11.5.2/bytestring.haddock"|' | sed 's|haddock-html.*|haddock-html: "${pkgroot}/../../../share/doc/ghc-9.4.7/html/libraries/bytestring-0.11.5.2"|' | sed 's| ${pkgroot}/../../doc/html/.*||' > '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/bytestring-0.11.5.2.conf.copy' # The rts package doesn't actually supply haddocks, so we stop advertising them # altogether. ((echo "bytestring" | grep rts) && (cat '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/bytestring-0.11.5.2.conf.copy' | sed 's|haddock-.*||' > '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/bytestring-0.11.5.2.conf.copy.copy')) || (cat '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/bytestring-0.11.5.2.conf.copy' > '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/bytestring-0.11.5.2.conf.copy.copy') # We finally replace the original file. mv '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/bytestring-0.11.5.2.conf.copy.copy' '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/bytestring-0.11.5.2.conf' # Fix the mode, in case umask is set chmod 644 '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/bytestring-0.11.5.2.conf' # to the doc files. cat '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/directory-1.3.7.1.conf' | sed 's|haddock-interfaces.*|haddock-interfaces: "${pkgroot}/../../../share/doc/ghc-9.4.7/html/libraries/directory-1.3.7.1/directory.haddock"|' | sed 's|haddock-html.*|haddock-html: "${pkgroot}/../../../share/doc/ghc-9.4.7/html/libraries/directory-1.3.7.1"|' | sed 's| ${pkgroot}/../../doc/html/.*||' > '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/directory-1.3.7.1.conf.copy' # The rts package doesn't actually supply haddocks, so we stop advertising them # altogether. ((echo "directory" | grep rts) && (cat '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/directory-1.3.7.1.conf.copy' | sed 's|haddock-.*||' > '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/directory-1.3.7.1.conf.copy.copy')) || (cat '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/directory-1.3.7.1.conf.copy' > '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/directory-1.3.7.1.conf.copy.copy') # We finally replace the original file. mv '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/directory-1.3.7.1.conf.copy.copy' '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/directory-1.3.7.1.conf' # Fix the mode, in case umask is set chmod 644 '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/directory-1.3.7.1.conf' # to the doc files. cat '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/ghci-9.4.7.conf' | sed 's|haddock-interfaces.*|haddock-interfaces: "${pkgroot}/../../../share/doc/ghc-9.4.7/html/libraries/ghci-9.4.7/ghci.haddock"|' | sed 's|haddock-html.*|haddock-html: "${pkgroot}/../../../share/doc/ghc-9.4.7/html/libraries/ghci-9.4.7"|' | sed 's| ${pkgroot}/../../doc/html/.*||' > '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/ghci-9.4.7.conf.copy' # The rts package doesn't actually supply haddocks, so we stop advertising them # altogether. ((echo "ghci" | grep rts) && (cat '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/ghci-9.4.7.conf.copy' | sed 's|haddock-.*||' > '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/ghci-9.4.7.conf.copy.copy')) || (cat '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/ghci-9.4.7.conf.copy' > '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/ghci-9.4.7.conf.copy.copy') # We finally replace the original file. mv '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/ghci-9.4.7.conf.copy.copy' '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/ghci-9.4.7.conf' # Fix the mode, in case umask is set chmod 644 '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/ghci-9.4.7.conf' # to the doc files. cat '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/deepseq-1.4.8.0.conf' | sed 's|haddock-interfaces.*|haddock-interfaces: "${pkgroot}/../../../share/doc/ghc-9.4.7/html/libraries/deepseq-1.4.8.0/deepseq.haddock"|' | sed 's|haddock-html.*|haddock-html: "${pkgroot}/../../../share/doc/ghc-9.4.7/html/libraries/deepseq-1.4.8.0"|' | sed 's| ${pkgroot}/../../doc/html/.*||' > '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/deepseq-1.4.8.0.conf.copy' # The rts package doesn't actually supply haddocks, so we stop advertising them # altogether. ((echo "deepseq" | grep rts) && (cat '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/deepseq-1.4.8.0.conf.copy' | sed 's|haddock-.*||' > '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/deepseq-1.4.8.0.conf.copy.copy')) || (cat '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/deepseq-1.4.8.0.conf.copy' > '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/deepseq-1.4.8.0.conf.copy.copy') # We finally replace the original file. mv '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/deepseq-1.4.8.0.conf.copy.copy' '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/deepseq-1.4.8.0.conf' # Fix the mode, in case umask is set chmod 644 '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/deepseq-1.4.8.0.conf' # to the doc files. cat '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/Cabal-syntax-3.8.1.0.conf' | sed 's|haddock-interfaces.*|haddock-interfaces: "${pkgroot}/../../../share/doc/ghc-9.4.7/html/libraries/Cabal-syntax-3.8.1.0/Cabal-syntax.haddock"|' | sed 's|haddock-html.*|haddock-html: "${pkgroot}/../../../share/doc/ghc-9.4.7/html/libraries/Cabal-syntax-3.8.1.0"|' | sed 's| ${pkgroot}/../../doc/html/.*||' > '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/Cabal-syntax-3.8.1.0.conf.copy' # The rts package doesn't actually supply haddocks, so we stop advertising them # altogether. ((echo "Cabal-syntax" | grep rts) && (cat '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/Cabal-syntax-3.8.1.0.conf.copy' | sed 's|haddock-.*||' > '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/Cabal-syntax-3.8.1.0.conf.copy.copy')) || (cat '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/Cabal-syntax-3.8.1.0.conf.copy' > '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/Cabal-syntax-3.8.1.0.conf.copy.copy') # We finally replace the original file. mv '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/Cabal-syntax-3.8.1.0.conf.copy.copy' '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/Cabal-syntax-3.8.1.0.conf' # Fix the mode, in case umask is set chmod 644 '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/Cabal-syntax-3.8.1.0.conf' # to the doc files. cat '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/base-4.17.2.0.conf' | sed 's|haddock-interfaces.*|haddock-interfaces: "${pkgroot}/../../../share/doc/ghc-9.4.7/html/libraries/base-4.17.2.0/base.haddock"|' | sed 's|haddock-html.*|haddock-html: "${pkgroot}/../../../share/doc/ghc-9.4.7/html/libraries/base-4.17.2.0"|' | sed 's| ${pkgroot}/../../doc/html/.*||' > '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/base-4.17.2.0.conf.copy' # The rts package doesn't actually supply haddocks, so we stop advertising them # altogether. ((echo "base" | grep rts) && (cat '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/base-4.17.2.0.conf.copy' | sed 's|haddock-.*||' > '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/base-4.17.2.0.conf.copy.copy')) || (cat '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/base-4.17.2.0.conf.copy' > '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/base-4.17.2.0.conf.copy.copy') # We finally replace the original file. mv '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/base-4.17.2.0.conf.copy.copy' '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/base-4.17.2.0.conf' # Fix the mode, in case umask is set chmod 644 '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/base-4.17.2.0.conf' # to the doc files. cat '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/process-1.6.17.0.conf' | sed 's|haddock-interfaces.*|haddock-interfaces: "${pkgroot}/../../../share/doc/ghc-9.4.7/html/libraries/process-1.6.17.0/process.haddock"|' | sed 's|haddock-html.*|haddock-html: "${pkgroot}/../../../share/doc/ghc-9.4.7/html/libraries/process-1.6.17.0"|' | sed 's| ${pkgroot}/../../doc/html/.*||' > '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/process-1.6.17.0.conf.copy' # The rts package doesn't actually supply haddocks, so we stop advertising them # altogether. ((echo "process" | grep rts) && (cat '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/process-1.6.17.0.conf.copy' | sed 's|haddock-.*||' > '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/process-1.6.17.0.conf.copy.copy')) || (cat '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/process-1.6.17.0.conf.copy' > '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/process-1.6.17.0.conf.copy.copy') # We finally replace the original file. mv '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/process-1.6.17.0.conf.copy.copy' '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/process-1.6.17.0.conf' # Fix the mode, in case umask is set chmod 644 '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/process-1.6.17.0.conf' # to the doc files. cat '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/text-2.0.2.conf' | sed 's|haddock-interfaces.*|haddock-interfaces: "${pkgroot}/../../../share/doc/ghc-9.4.7/html/libraries/text-2.0.2/text.haddock"|' | sed 's|haddock-html.*|haddock-html: "${pkgroot}/../../../share/doc/ghc-9.4.7/html/libraries/text-2.0.2"|' | sed 's| ${pkgroot}/../../doc/html/.*||' > '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/text-2.0.2.conf.copy' # The rts package doesn't actually supply haddocks, so we stop advertising them # altogether. ((echo "text" | grep rts) && (cat '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/text-2.0.2.conf.copy' | sed 's|haddock-.*||' > '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/text-2.0.2.conf.copy.copy')) || (cat '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/text-2.0.2.conf.copy' > '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/text-2.0.2.conf.copy.copy') # We finally replace the original file. mv '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/text-2.0.2.conf.copy.copy' '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/text-2.0.2.conf' # Fix the mode, in case umask is set chmod 644 '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/text-2.0.2.conf' # to the doc files. cat '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/libiserv-9.4.7.conf' | sed 's|haddock-interfaces.*|haddock-interfaces: "${pkgroot}/../../../share/doc/ghc-9.4.7/html/libraries/libiserv-9.4.7/libiserv.haddock"|' | sed 's|haddock-html.*|haddock-html: "${pkgroot}/../../../share/doc/ghc-9.4.7/html/libraries/libiserv-9.4.7"|' | sed 's| ${pkgroot}/../../doc/html/.*||' > '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/libiserv-9.4.7.conf.copy' # The rts package doesn't actually supply haddocks, so we stop advertising them # altogether. ((echo "libiserv" | grep rts) && (cat '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/libiserv-9.4.7.conf.copy' | sed 's|haddock-.*||' > '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/libiserv-9.4.7.conf.copy.copy')) || (cat '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/libiserv-9.4.7.conf.copy' > '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/libiserv-9.4.7.conf.copy.copy') # We finally replace the original file. mv '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/libiserv-9.4.7.conf.copy.copy' '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/libiserv-9.4.7.conf' # Fix the mode, in case umask is set chmod 644 '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/libiserv-9.4.7.conf' # to the doc files. cat '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/terminfo-0.4.1.5.conf' | sed 's|haddock-interfaces.*|haddock-interfaces: "${pkgroot}/../../../share/doc/ghc-9.4.7/html/libraries/terminfo-0.4.1.5/terminfo.haddock"|' | sed 's|haddock-html.*|haddock-html: "${pkgroot}/../../../share/doc/ghc-9.4.7/html/libraries/terminfo-0.4.1.5"|' | sed 's| ${pkgroot}/../../doc/html/.*||' > '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/terminfo-0.4.1.5.conf.copy' # The rts package doesn't actually supply haddocks, so we stop advertising them # altogether. ((echo "terminfo" | grep rts) && (cat '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/terminfo-0.4.1.5.conf.copy' | sed 's|haddock-.*||' > '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/terminfo-0.4.1.5.conf.copy.copy')) || (cat '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/terminfo-0.4.1.5.conf.copy' > '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/terminfo-0.4.1.5.conf.copy.copy') # We finally replace the original file. mv '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/terminfo-0.4.1.5.conf.copy.copy' '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/terminfo-0.4.1.5.conf' # Fix the mode, in case umask is set chmod 644 '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/terminfo-0.4.1.5.conf' # to the doc files. cat '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/ghc-compact-0.1.0.0.conf' | sed 's|haddock-interfaces.*|haddock-interfaces: "${pkgroot}/../../../share/doc/ghc-9.4.7/html/libraries/ghc-compact-0.1.0.0/ghc-compact.haddock"|' | sed 's|haddock-html.*|haddock-html: "${pkgroot}/../../../share/doc/ghc-9.4.7/html/libraries/ghc-compact-0.1.0.0"|' | sed 's| ${pkgroot}/../../doc/html/.*||' > '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/ghc-compact-0.1.0.0.conf.copy' # The rts package doesn't actually supply haddocks, so we stop advertising them # altogether. ((echo "ghc-compact" | grep rts) && (cat '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/ghc-compact-0.1.0.0.conf.copy' | sed 's|haddock-.*||' > '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/ghc-compact-0.1.0.0.conf.copy.copy')) || (cat '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/ghc-compact-0.1.0.0.conf.copy' > '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/ghc-compact-0.1.0.0.conf.copy.copy') # We finally replace the original file. mv '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/ghc-compact-0.1.0.0.conf.copy.copy' '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/ghc-compact-0.1.0.0.conf' # Fix the mode, in case umask is set chmod 644 '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/ghc-compact-0.1.0.0.conf' # to the doc files. cat '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/stm-2.5.1.0.conf' | sed 's|haddock-interfaces.*|haddock-interfaces: "${pkgroot}/../../../share/doc/ghc-9.4.7/html/libraries/stm-2.5.1.0/stm.haddock"|' | sed 's|haddock-html.*|haddock-html: "${pkgroot}/../../../share/doc/ghc-9.4.7/html/libraries/stm-2.5.1.0"|' | sed 's| ${pkgroot}/../../doc/html/.*||' > '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/stm-2.5.1.0.conf.copy' # The rts package doesn't actually supply haddocks, so we stop advertising them # altogether. ((echo "stm" | grep rts) && (cat '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/stm-2.5.1.0.conf.copy' | sed 's|haddock-.*||' > '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/stm-2.5.1.0.conf.copy.copy')) || (cat '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/stm-2.5.1.0.conf.copy' > '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/stm-2.5.1.0.conf.copy.copy') # We finally replace the original file. mv '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/stm-2.5.1.0.conf.copy.copy' '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/stm-2.5.1.0.conf' # Fix the mode, in case umask is set chmod 644 '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/stm-2.5.1.0.conf' # to the doc files. cat '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/xhtml-3000.2.2.1.conf' | sed 's|haddock-interfaces.*|haddock-interfaces: "${pkgroot}/../../../share/doc/ghc-9.4.7/html/libraries/xhtml-3000.2.2.1/xhtml.haddock"|' | sed 's|haddock-html.*|haddock-html: "${pkgroot}/../../../share/doc/ghc-9.4.7/html/libraries/xhtml-3000.2.2.1"|' | sed 's| ${pkgroot}/../../doc/html/.*||' > '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/xhtml-3000.2.2.1.conf.copy' # The rts package doesn't actually supply haddocks, so we stop advertising them # altogether. ((echo "xhtml" | grep rts) && (cat '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/xhtml-3000.2.2.1.conf.copy' | sed 's|haddock-.*||' > '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/xhtml-3000.2.2.1.conf.copy.copy')) || (cat '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/xhtml-3000.2.2.1.conf.copy' > '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/xhtml-3000.2.2.1.conf.copy.copy') # We finally replace the original file. mv '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/xhtml-3000.2.2.1.conf.copy.copy' '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/xhtml-3000.2.2.1.conf' # Fix the mode, in case umask is set chmod 644 '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/xhtml-3000.2.2.1.conf' # to the doc files. cat '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/system-cxx-std-lib-1.0.conf' | sed 's|haddock-interfaces.*|haddock-interfaces: "${pkgroot}/../../../share/doc/ghc-9.4.7/html/libraries/system-cxx-std-lib-1.0/system-cxx-std-lib.haddock"|' | sed 's|haddock-html.*|haddock-html: "${pkgroot}/../../../share/doc/ghc-9.4.7/html/libraries/system-cxx-std-lib-1.0"|' | sed 's| ${pkgroot}/../../doc/html/.*||' > '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/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" | grep rts) && (cat '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/system-cxx-std-lib-1.0.conf.copy' | sed 's|haddock-.*||' > '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/system-cxx-std-lib-1.0.conf.copy.copy')) || (cat '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/system-cxx-std-lib-1.0.conf.copy' > '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/system-cxx-std-lib-1.0.conf.copy.copy') # We finally replace the original file. mv '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/system-cxx-std-lib-1.0.conf.copy.copy' '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/system-cxx-std-lib-1.0.conf' # Fix the mode, in case umask is set chmod 644 '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/system-cxx-std-lib-1.0.conf' # to the doc files. cat '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/Cabal-3.8.1.0.conf' | sed 's|haddock-interfaces.*|haddock-interfaces: "${pkgroot}/../../../share/doc/ghc-9.4.7/html/libraries/Cabal-3.8.1.0/Cabal.haddock"|' | sed 's|haddock-html.*|haddock-html: "${pkgroot}/../../../share/doc/ghc-9.4.7/html/libraries/Cabal-3.8.1.0"|' | sed 's| ${pkgroot}/../../doc/html/.*||' > '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/Cabal-3.8.1.0.conf.copy' # The rts package doesn't actually supply haddocks, so we stop advertising them # altogether. ((echo "Cabal" | grep rts) && (cat '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/Cabal-3.8.1.0.conf.copy' | sed 's|haddock-.*||' > '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/Cabal-3.8.1.0.conf.copy.copy')) || (cat '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/Cabal-3.8.1.0.conf.copy' > '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/Cabal-3.8.1.0.conf.copy.copy') # We finally replace the original file. mv '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/Cabal-3.8.1.0.conf.copy.copy' '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/Cabal-3.8.1.0.conf' # Fix the mode, in case umask is set chmod 644 '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/Cabal-3.8.1.0.conf' # to the doc files. cat '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/rts-1.0.2.conf' | sed 's|haddock-interfaces.*|haddock-interfaces: "${pkgroot}/../../../share/doc/ghc-9.4.7/html/libraries/rts-1.0.2/rts.haddock"|' | sed 's|haddock-html.*|haddock-html: "${pkgroot}/../../../share/doc/ghc-9.4.7/html/libraries/rts-1.0.2"|' | sed 's| ${pkgroot}/../../doc/html/.*||' > '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/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" | grep rts) && (cat '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/rts-1.0.2.conf.copy' | sed 's|haddock-.*||' > '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/rts-1.0.2.conf.copy.copy')) || (cat '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/rts-1.0.2.conf.copy' > '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/rts-1.0.2.conf.copy.copy') rts # We finally replace the original file. mv '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/rts-1.0.2.conf.copy.copy' '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/rts-1.0.2.conf' # Fix the mode, in case umask is set chmod 644 '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/rts-1.0.2.conf' # to the doc files. cat '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/ghc-9.4.7.conf' | sed 's|haddock-interfaces.*|haddock-interfaces: "${pkgroot}/../../../share/doc/ghc-9.4.7/html/libraries/ghc-9.4.7/ghc.haddock"|' | sed 's|haddock-html.*|haddock-html: "${pkgroot}/../../../share/doc/ghc-9.4.7/html/libraries/ghc-9.4.7"|' | sed 's| ${pkgroot}/../../doc/html/.*||' > '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/ghc-9.4.7.conf.copy' # The rts package doesn't actually supply haddocks, so we stop advertising them # altogether. ((echo "ghc" | grep rts) && (cat '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/ghc-9.4.7.conf.copy' | sed 's|haddock-.*||' > '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/ghc-9.4.7.conf.copy.copy')) || (cat '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/ghc-9.4.7.conf.copy' > '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/ghc-9.4.7.conf.copy.copy') # We finally replace the original file. mv '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/ghc-9.4.7.conf.copy.copy' '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/ghc-9.4.7.conf' # Fix the mode, in case umask is set chmod 644 '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/ghc-9.4.7.conf' # to the doc files. cat '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/containers-0.6.7.conf' | sed 's|haddock-interfaces.*|haddock-interfaces: "${pkgroot}/../../../share/doc/ghc-9.4.7/html/libraries/containers-0.6.7/containers.haddock"|' | sed 's|haddock-html.*|haddock-html: "${pkgroot}/../../../share/doc/ghc-9.4.7/html/libraries/containers-0.6.7"|' | sed 's| ${pkgroot}/../../doc/html/.*||' > '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/containers-0.6.7.conf.copy' # The rts package doesn't actually supply haddocks, so we stop advertising them # altogether. ((echo "containers" | grep rts) && (cat '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/containers-0.6.7.conf.copy' | sed 's|haddock-.*||' > '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/containers-0.6.7.conf.copy.copy')) || (cat '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/containers-0.6.7.conf.copy' > '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/containers-0.6.7.conf.copy.copy') # We finally replace the original file. mv '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/containers-0.6.7.conf.copy.copy' '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/containers-0.6.7.conf' # Fix the mode, in case umask is set chmod 644 '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/containers-0.6.7.conf' # to the doc files. cat '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/mtl-2.2.2.conf' | sed 's|haddock-interfaces.*|haddock-interfaces: "${pkgroot}/../../../share/doc/ghc-9.4.7/html/libraries/mtl-2.2.2/mtl.haddock"|' | sed 's|haddock-html.*|haddock-html: "${pkgroot}/../../../share/doc/ghc-9.4.7/html/libraries/mtl-2.2.2"|' | sed 's| ${pkgroot}/../../doc/html/.*||' > '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/mtl-2.2.2.conf.copy' # The rts package doesn't actually supply haddocks, so we stop advertising them # altogether. ((echo "mtl" | grep rts) && (cat '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/mtl-2.2.2.conf.copy' | sed 's|haddock-.*||' > '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/mtl-2.2.2.conf.copy.copy')) || (cat '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/mtl-2.2.2.conf.copy' > '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/mtl-2.2.2.conf.copy.copy') # We finally replace the original file. mv '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/mtl-2.2.2.conf.copy.copy' '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/mtl-2.2.2.conf' # Fix the mode, in case umask is set chmod 644 '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/mtl-2.2.2.conf' # to the doc files. cat '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/template-haskell-2.19.0.0.conf' | sed 's|haddock-interfaces.*|haddock-interfaces: "${pkgroot}/../../../share/doc/ghc-9.4.7/html/libraries/template-haskell-2.19.0.0/template-haskell.haddock"|' | sed 's|haddock-html.*|haddock-html: "${pkgroot}/../../../share/doc/ghc-9.4.7/html/libraries/template-haskell-2.19.0.0"|' | sed 's| ${pkgroot}/../../doc/html/.*||' > '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/template-haskell-2.19.0.0.conf.copy' # The rts package doesn't actually supply haddocks, so we stop advertising them # altogether. ((echo "template-haskell" | grep rts) && (cat '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/template-haskell-2.19.0.0.conf.copy' | sed 's|haddock-.*||' > '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/template-haskell-2.19.0.0.conf.copy.copy')) || (cat '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/template-haskell-2.19.0.0.conf.copy' > '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/template-haskell-2.19.0.0.conf.copy.copy') # We finally replace the original file. mv '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/template-haskell-2.19.0.0.conf.copy.copy' '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/template-haskell-2.19.0.0.conf' # Fix the mode, in case umask is set chmod 644 '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/template-haskell-2.19.0.0.conf' # to the doc files. cat '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/hpc-0.6.1.0.conf' | sed 's|haddock-interfaces.*|haddock-interfaces: "${pkgroot}/../../../share/doc/ghc-9.4.7/html/libraries/hpc-0.6.1.0/hpc.haddock"|' | sed 's|haddock-html.*|haddock-html: "${pkgroot}/../../../share/doc/ghc-9.4.7/html/libraries/hpc-0.6.1.0"|' | sed 's| ${pkgroot}/../../doc/html/.*||' > '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/hpc-0.6.1.0.conf.copy' # The rts package doesn't actually supply haddocks, so we stop advertising them # altogether. ((echo "hpc" | grep rts) && (cat '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/hpc-0.6.1.0.conf.copy' | sed 's|haddock-.*||' > '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/hpc-0.6.1.0.conf.copy.copy')) || (cat '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/hpc-0.6.1.0.conf.copy' > '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/hpc-0.6.1.0.conf.copy.copy') # We finally replace the original file. mv '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/hpc-0.6.1.0.conf.copy.copy' '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/hpc-0.6.1.0.conf' # Fix the mode, in case umask is set chmod 644 '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/hpc-0.6.1.0.conf' # to the doc files. cat '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/exceptions-0.10.5.conf' | sed 's|haddock-interfaces.*|haddock-interfaces: "${pkgroot}/../../../share/doc/ghc-9.4.7/html/libraries/exceptions-0.10.5/exceptions.haddock"|' | sed 's|haddock-html.*|haddock-html: "${pkgroot}/../../../share/doc/ghc-9.4.7/html/libraries/exceptions-0.10.5"|' | sed 's| ${pkgroot}/../../doc/html/.*||' > '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/exceptions-0.10.5.conf.copy' # The rts package doesn't actually supply haddocks, so we stop advertising them # altogether. ((echo "exceptions" | grep rts) && (cat '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/exceptions-0.10.5.conf.copy' | sed 's|haddock-.*||' > '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/exceptions-0.10.5.conf.copy.copy')) || (cat '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/exceptions-0.10.5.conf.copy' > '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/exceptions-0.10.5.conf.copy.copy') # We finally replace the original file. mv '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/exceptions-0.10.5.conf.copy.copy' '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/exceptions-0.10.5.conf' # Fix the mode, in case umask is set chmod 644 '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/exceptions-0.10.5.conf' # to the doc files. cat '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/integer-gmp-1.1.conf' | sed 's|haddock-interfaces.*|haddock-interfaces: "${pkgroot}/../../../share/doc/ghc-9.4.7/html/libraries/integer-gmp-1.1/integer-gmp.haddock"|' | sed 's|haddock-html.*|haddock-html: "${pkgroot}/../../../share/doc/ghc-9.4.7/html/libraries/integer-gmp-1.1"|' | sed 's| ${pkgroot}/../../doc/html/.*||' > '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/integer-gmp-1.1.conf.copy' # The rts package doesn't actually supply haddocks, so we stop advertising them # altogether. ((echo "integer-gmp" | grep rts) && (cat '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/integer-gmp-1.1.conf.copy' | sed 's|haddock-.*||' > '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/integer-gmp-1.1.conf.copy.copy')) || (cat '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/integer-gmp-1.1.conf.copy' > '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/integer-gmp-1.1.conf.copy.copy') # We finally replace the original file. mv '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/integer-gmp-1.1.conf.copy.copy' '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/integer-gmp-1.1.conf' # Fix the mode, in case umask is set chmod 644 '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/integer-gmp-1.1.conf' # to the doc files. cat '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/ghc-prim-0.9.1.conf' | sed 's|haddock-interfaces.*|haddock-interfaces: "${pkgroot}/../../../share/doc/ghc-9.4.7/html/libraries/ghc-prim-0.9.1/ghc-prim.haddock"|' | sed 's|haddock-html.*|haddock-html: "${pkgroot}/../../../share/doc/ghc-9.4.7/html/libraries/ghc-prim-0.9.1"|' | sed 's| ${pkgroot}/../../doc/html/.*||' > '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/ghc-prim-0.9.1.conf.copy' # The rts package doesn't actually supply haddocks, so we stop advertising them # altogether. ((echo "ghc-prim" | grep rts) && (cat '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/ghc-prim-0.9.1.conf.copy' | sed 's|haddock-.*||' > '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/ghc-prim-0.9.1.conf.copy.copy')) || (cat '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/ghc-prim-0.9.1.conf.copy' > '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/ghc-prim-0.9.1.conf.copy.copy') # We finally replace the original file. mv '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/ghc-prim-0.9.1.conf.copy.copy' '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/ghc-prim-0.9.1.conf' # Fix the mode, in case umask is set chmod 644 '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/ghc-prim-0.9.1.conf' # to the doc files. cat '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/parsec-3.1.16.1.conf' | sed 's|haddock-interfaces.*|haddock-interfaces: "${pkgroot}/../../../share/doc/ghc-9.4.7/html/libraries/parsec-3.1.16.1/parsec.haddock"|' | sed 's|haddock-html.*|haddock-html: "${pkgroot}/../../../share/doc/ghc-9.4.7/html/libraries/parsec-3.1.16.1"|' | sed 's| ${pkgroot}/../../doc/html/.*||' > '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/parsec-3.1.16.1.conf.copy' # The rts package doesn't actually supply haddocks, so we stop advertising them # altogether. ((echo "parsec" | grep rts) && (cat '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/parsec-3.1.16.1.conf.copy' | sed 's|haddock-.*||' > '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/parsec-3.1.16.1.conf.copy.copy')) || (cat '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/parsec-3.1.16.1.conf.copy' > '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/parsec-3.1.16.1.conf.copy.copy') # We finally replace the original file. mv '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/parsec-3.1.16.1.conf.copy.copy' '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/parsec-3.1.16.1.conf' # Fix the mode, in case umask is set chmod 644 '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/parsec-3.1.16.1.conf' # to the doc files. cat '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/ghc-heap-9.4.7.conf' | sed 's|haddock-interfaces.*|haddock-interfaces: "${pkgroot}/../../../share/doc/ghc-9.4.7/html/libraries/ghc-heap-9.4.7/ghc-heap.haddock"|' | sed 's|haddock-html.*|haddock-html: "${pkgroot}/../../../share/doc/ghc-9.4.7/html/libraries/ghc-heap-9.4.7"|' | sed 's| ${pkgroot}/../../doc/html/.*||' > '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/ghc-heap-9.4.7.conf.copy' # The rts package doesn't actually supply haddocks, so we stop advertising them # altogether. ((echo "ghc-heap" | grep rts) && (cat '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/ghc-heap-9.4.7.conf.copy' | sed 's|haddock-.*||' > '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/ghc-heap-9.4.7.conf.copy.copy')) || (cat '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/ghc-heap-9.4.7.conf.copy' > '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/ghc-heap-9.4.7.conf.copy.copy') # We finally replace the original file. mv '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/ghc-heap-9.4.7.conf.copy.copy' '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/ghc-heap-9.4.7.conf' # Fix the mode, in case umask is set chmod 644 '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/ghc-heap-9.4.7.conf' # to the doc files. cat '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/ghc-boot-th-9.4.7.conf' | sed 's|haddock-interfaces.*|haddock-interfaces: "${pkgroot}/../../../share/doc/ghc-9.4.7/html/libraries/ghc-boot-th-9.4.7/ghc-boot-th.haddock"|' | sed 's|haddock-html.*|haddock-html: "${pkgroot}/../../../share/doc/ghc-9.4.7/html/libraries/ghc-boot-th-9.4.7"|' | sed 's| ${pkgroot}/../../doc/html/.*||' > '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/ghc-boot-th-9.4.7.conf.copy' # The rts package doesn't actually supply haddocks, so we stop advertising them # altogether. ((echo "ghc-boot-th" | grep rts) && (cat '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/ghc-boot-th-9.4.7.conf.copy' | sed 's|haddock-.*||' > '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/ghc-boot-th-9.4.7.conf.copy.copy')) || (cat '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/ghc-boot-th-9.4.7.conf.copy' > '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/ghc-boot-th-9.4.7.conf.copy.copy') # We finally replace the original file. mv '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/ghc-boot-th-9.4.7.conf.copy.copy' '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/ghc-boot-th-9.4.7.conf' # Fix the mode, in case umask is set chmod 644 '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/ghc-boot-th-9.4.7.conf' # to the doc files. cat '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/ghc-boot-9.4.7.conf' | sed 's|haddock-interfaces.*|haddock-interfaces: "${pkgroot}/../../../share/doc/ghc-9.4.7/html/libraries/ghc-boot-9.4.7/ghc-boot.haddock"|' | sed 's|haddock-html.*|haddock-html: "${pkgroot}/../../../share/doc/ghc-9.4.7/html/libraries/ghc-boot-9.4.7"|' | sed 's| ${pkgroot}/../../doc/html/.*||' > '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/ghc-boot-9.4.7.conf.copy' # The rts package doesn't actually supply haddocks, so we stop advertising them # altogether. ((echo "ghc-boot" | grep rts) && (cat '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/ghc-boot-9.4.7.conf.copy' | sed 's|haddock-.*||' > '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/ghc-boot-9.4.7.conf.copy.copy')) || (cat '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/ghc-boot-9.4.7.conf.copy' > '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/ghc-boot-9.4.7.conf.copy.copy') # We finally replace the original file. mv '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/ghc-boot-9.4.7.conf.copy.copy' '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/ghc-boot-9.4.7.conf' # Fix the mode, in case umask is set chmod 644 '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/ghc-boot-9.4.7.conf' # to the doc files. cat '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/array-0.5.4.0.conf' | sed 's|haddock-interfaces.*|haddock-interfaces: "${pkgroot}/../../../share/doc/ghc-9.4.7/html/libraries/array-0.5.4.0/array.haddock"|' | sed 's|haddock-html.*|haddock-html: "${pkgroot}/../../../share/doc/ghc-9.4.7/html/libraries/array-0.5.4.0"|' | sed 's| ${pkgroot}/../../doc/html/.*||' > '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/array-0.5.4.0.conf.copy' # The rts package doesn't actually supply haddocks, so we stop advertising them # altogether. ((echo "array" | grep rts) && (cat '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/array-0.5.4.0.conf.copy' | sed 's|haddock-.*||' > '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/array-0.5.4.0.conf.copy.copy')) || (cat '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/array-0.5.4.0.conf.copy' > '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/array-0.5.4.0.conf.copy.copy') # We finally replace the original file. mv '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/array-0.5.4.0.conf.copy.copy' '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/array-0.5.4.0.conf' # Fix the mode, in case umask is set chmod 644 '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d/array-0.5.4.0.conf' '/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/bin/ghc-pkg' --global-package-db "/home/pbulk/build/lang/ghc98/work/.tools/lib/ghc-9.4.7/lib/package.conf.d" recache => 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 configure: WARNING: unrecognized options: --with-libiconv-prefix checking for gfind... no checking for find... /home/pbulk/build/lang/ghc98/work/.tools/bin/find checking for sort... /home/pbulk/build/lang/ghc98/work/.tools/bin/sort checking for GHC Git commit id... given f3225ed4b3f3c4309f9342c5e40643eeb0cc45da checking for ghc... /home/pbulk/build/lang/ghc98/work/.tools/bin/ghc checking version of ghc... 9.4.7 checking build system type... x86_64-pc-solaris2.11 checking host system type... x86_64-pc-solaris2.11 checking target system type... x86_64-pc-solaris2.11 build platform inferred as: x86_64-unknown-solaris2 host platform inferred as: x86_64-unknown-solaris2 target platform inferred as: x86_64-unknown-solaris2 configure: GHC build : x86_64-unknown-solaris2 configure: GHC host : x86_64-unknown-solaris2 configure: GHC target : x86_64-unknown-solaris2 checking for sh... /home/pbulk/build/lang/ghc98/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... /home/pbulk/build/lang/ghc98/work/ghc-9.8.2 checking for gcc... /home/pbulk/build/lang/ghc98/work/.cwrapper/bin/gcc checking for g++... /home/pbulk/build/lang/ghc98/work/.cwrapper/bin/g++ checking for nm... /usr/bin/nm checking for ar... /usr/bin/ar checking for ranlib... /opt/tools/bin/ranlib checking for objdump... /opt/tools/bin/objdump checking for dllwrap... no 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 /home/pbulk/build/lang/ghc98/work/.cwrapper/bin/gcc accepts -g... yes checking for /home/pbulk/build/lang/ghc98/work/.cwrapper/bin/gcc option to enable C11 features... none needed checking whether the compiler supports GNU C++... yes checking whether /home/pbulk/build/lang/ghc98/work/.cwrapper/bin/g++ accepts -g... yes checking for /home/pbulk/build/lang/ghc98/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 for vfork.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 ld.gold object merging bug (binutils 22266)... ld: Software Generation Utilities - Solaris Link Editors: 5.11-1.1790 (illumos) checking whether ld is GNU ld... NO checking whether ld understands -no_compact_unwind... no checking whether ld understands -filelist... no checking whether ld supports -single_module... no checking for -nm... /usr/bin/nm checking for ranlib... /opt/tools/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 -clang... false checking for gawk... /usr/bin/nawk 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). 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... 13.2.0 13.2.0 checking whether CC supports -no-pie... yes 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... no checking whether gcc supports --target... no checking whether /home/pbulk/build/lang/ghc98/work/.cwrapper/bin/gcc supports --target... no checking whether /home/pbulk/build/lang/ghc98/work/.cwrapper/bin/gcc supports --target... no checking whether gcc supports -Qunused-arguments... no checking whether /home/pbulk/build/lang/ghc98/work/.cwrapper/bin/gcc supports -Qunused-arguments... no checking whether /home/pbulk/build/lang/ghc98/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 GNU non-executable stack support... yes checking for a working context diff... diff -U 1 checking for a BSD-compatible install... /opt/pkg/bin/bsdinstall -c -o pbulk -g pbulk checking whether /usr/bin/ar is GNU ar... no checking for ar arguments... qcls checking whether /usr/bin/ar supports @file... (cached) no checking whether /usr/bin/ar supports -L... ar: archive conftest.a not found no checking for ranlib... (cached) /opt/tools/bin/ranlib checking whether ln -s works... yes checking for gsed... no checking for sed... /home/pbulk/build/lang/ghc98/work/.tools/bin/sed checking for time... /usr/bin/time checking for gnutar... no checking for gtar... /home/pbulk/build/lang/ghc98/work/.tools/bin/gtar checking for gpatch... no checking for patch... /home/pbulk/build/lang/ghc98/work/.tools/bin/patch checking for autoreconf... /home/pbulk/build/lang/ghc98/work/.tools/bin/autoreconf checking for dtrace... /usr/sbin/dtrace checking for HsColour... (cached) no checking for sphinx-build... no checking for version of sphinx-build... configure: WARNING: Sphinx version 1.0.0 or later is required to build documentation checking for xelatex... no checking for makeindex... no checking for git... no checking for makeinfo... /home/pbulk/build/lang/ghc98/work/.tools/bin/makeinfo checking for cabal... no checking for python3... /opt/pkg/bin/python3.11 checking for ghc-pkg matching /home/pbulk/build/lang/ghc98/work/.tools/bin/ghc... /home/pbulk/build/lang/ghc98/work/.tools/bin/ghc-pkg checking for happy... no checking for version of happy... checking for alex... no checking for version of alex... checking for /home/pbulk/build/lang/ghc98/work/.cwrapper/bin/gcc option to enable large file support... none needed checking for ctype.h... yes checking for dirent.h... yes checking for dlfcn.h... yes checking for errno.h... yes checking for fcntl.h... yes checking for grp.h... yes checking for limits.h... yes checking for locale.h... yes checking for nlist.h... yes checking for pthread.h... yes checking for pwd.h... yes checking for signal.h... yes checking for sys/param.h... yes checking for sys/mman.h... yes checking for sys/resource.h... yes checking for sys/select.h... yes checking for sys/time.h... yes checking for sys/timeb.h... yes checking for sys/timerfd.h... yes checking for sys/timers.h... no checking for sys/times.h... yes checking for sys/utsname.h... yes checking for sys/wait.h... yes checking for termios.h... yes checking for utime.h... yes checking for windows.h... no checking for winsock.h... no checking for sched.h... yes checking for sys/cpuset.h... no checking for /home/pbulk/build/lang/ghc98/work/.cwrapper/bin/gcc options needed to detect all undeclared functions... none needed checking whether environ is declared... no checking for long long... yes checking size of char... 1 checking for char... yes checking alignment of char... 1 checking size of double... 8 checking for double... yes checking alignment of double... 8 checking size of float... 4 checking for float... yes checking alignment of float... 4 checking size of int... 4 checking for int... yes checking alignment of int... 4 checking size of long... 8 checking for long... yes checking alignment of long... 8 checking size of long long... 8 checking for long long... (cached) yes checking alignment of long long... 8 checking size of short... 2 checking for short... yes checking alignment of short... 2 checking size of unsigned char... 1 checking for unsigned char... yes checking alignment of unsigned char... 1 checking size of unsigned int... 4 checking for unsigned int... yes checking alignment of unsigned int... 4 checking size of unsigned long... 8 checking for unsigned long... yes checking alignment of unsigned long... 8 checking size of unsigned long long... 8 checking for unsigned long long... yes checking alignment of unsigned long long... 8 checking size of unsigned short... 2 checking for unsigned short... yes checking alignment of unsigned short... 2 checking size of void *... 8 checking for void *... yes checking alignment of void *... 8 checking size of int8_t... 1 checking for int8_t... yes checking alignment of int8_t... 1 checking size of uint8_t... 1 checking for uint8_t... yes checking alignment of uint8_t... 1 checking size of int16_t... 2 checking for int16_t... yes checking alignment of int16_t... 2 checking size of uint16_t... 2 checking for uint16_t... yes checking alignment of uint16_t... 2 checking size of int32_t... 4 checking for int32_t... yes checking alignment of int32_t... 4 checking size of uint32_t... 4 checking for uint32_t... yes checking alignment of uint32_t... 4 checking size of int64_t... 8 checking for int64_t... yes checking alignment of int64_t... 8 checking size of uint64_t... 8 checking for uint64_t... yes checking alignment of uint64_t... 8 checking whether byte ordering is bigendian... no checking for WinExec... no checking for GetModuleFileName... no checking for getclock... no checking for getrusage... yes checking for gettimeofday... yes checking for setitimer... yes checking for siginterrupt... yes checking for sysconf... yes checking for times... yes checking for ctime_r... yes checking for sched_setaffinity... no checking for sched_getaffinity... no checking for setlocale... yes checking for uselocale... yes checking whether ctime_r is declared... yes checking whether program_invocation_short_name is declared... no checking for closedir in -lmingwex... no checking for atan in -lm... yes checking for ffi_call in -lffi... yes checking for ffi.h... yes checking for dlopen in -ldl... yes checking for dlopen in -ldl... (cached) yes checking for dlinfo... yes checking for size_t... yes checking for working alloca.h... yes checking for alloca... yes checking for pid_t... yes checking for fork... yes checking for vfork... yes checking for pthread_condattr_setclock... yes checking for working fork... yes checking for working vfork... (cached) yes checking for an ANSI C-conforming const... yes checking whether byte ordering is bigendian... (cached) no checking whether float word order is big endian... no checking for nlist in -lelf... yes checking leading underscore in symbol names... no checking whether __attribute__((visibility("hidden"))) is supported... yes checking whether __attribute__((musttail)) is supported... no checking for clock_gettime in -lrt... yes checking for clock_gettime in -lrt... (cached) yes checking for clock_gettime... yes checking for timer_settime... yes checking for timer_create... yes checking for a working timer_create(CLOCK_REALTIME)... yes checking for printf$LDBLStub... no checking whether -lpthread is needed for pthreads... checking for pthread_create... yes no checking for pthread_np.h... no checking for pthread_setname_np in -lpthread... yes checking for pthread_setname_np (Darwin)... no checking for pthread_setname_np (glibc)... yes checking for pthread_setname_np (NetBSD)... no checking for pthread_set_name_np... no checking for sys/eventfd.h... yes checking for eventfd... yes checking for getpid... yes checking for getuid... yes checking for raise... yes checking for __thread support... yes checking whether MAP_NORESERVE is declared... yes checking whether MADV_FREE is declared... yes checking whether MADV_DONTNEED is declared... yes checking whether to use libffi for adjustors... no checking for __aarch64_ldadd1_acq... no checking for numa.h... no checking for numaif.h... no 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 docs/users_guide/ghc_config.py config.status: creating distrib/configure.ac config.status: creating mk/config.h config.status: creating compiler/ghc-llvm-version.h configure: WARNING: unrecognized options: --with-libiconv-prefix ---------------------------------------------------------------------- Configure completed successfully. Building GHC version : 9.8.2 Git commit id : f3225ed4b3f3c4309f9342c5e40643eeb0cc45da Build platform : x86_64-unknown-solaris2 Host platform : x86_64-unknown-solaris2 Target platform : x86_64-unknown-solaris2 Bootstrapping using : /home/pbulk/build/lang/ghc98/work/.tools/bin/ghc which is version : 9.4.7 with threaded RTS? : NO Using (for bootstrapping) : gcc Using gcc : /home/pbulk/build/lang/ghc98/work/.cwrapper/bin/gcc which is version : 13.2.0 linker options : Building a cross compiler : NO Unregisterised : NO TablesNextToCode : YES Build GMP in tree : NO hs-cpp : /home/pbulk/build/lang/ghc98/work/.cwrapper/bin/gcc hs-cpp-flags : -E -undef -traditional ar : /usr/bin/ar ld : ld nm : /usr/bin/nm objdump : /opt/tools/bin/objdump ranlib : /opt/tools/bin/ranlib otool : otool install_name_tool : install_name_tool windres : dllwrap : genlib : Happy : () Alex : () sphinx-build : xelatex : makeinfo : /home/pbulk/build/lang/ghc98/work/.tools/bin/makeinfo git : cabal-install : Using optional dependencies: libnuma : NO libzstd : NO statically linked? : NO libdw : NO Using LLVM tools clang : false llc : llc opt : opt HsColour was not found; documentation will not contain source links Tools to build Sphinx HTML documentation available: NO Tools to build Sphinx PDF documentation available: NO Tools to build Sphinx INFO documentation available: NO ---------------------------------------------------------------------- For a standard build of GHC (fully optimised with profiling), type (g)make. To make changes to the default build configuration, copy the file mk/build.mk.sample to mk/build.mk, and edit the settings in there. For more information on how to configure your GHC build, see https://gitlab.haskell.org/ghc/ghc/wikis/building => Modifying libtool scripts to use pkgsrc libtool => Modifying libtool scripts to use pkgsrc depcomp