+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /opt/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/ghc-9.0.2nb3/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/ghc-9.0.2nb3/work.log => Checksum BLAKE2s OK for ghc-8.10.4-boot-x86_64-unknown-solaris2.tar.xz => Checksum SHA512 OK for ghc-8.10.4-boot-x86_64-unknown-solaris2.tar.xz => Checksum BLAKE2s OK for ghc-9.0.2-src.tar.xz => Checksum SHA512 OK for ghc-9.0.2-src.tar.xz ===> Installing dependencies for ghc-9.0.2nb3 ========================================================================== 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.0.2nb3. Their current value is shown below: * CURSES_DEFAULT = ncurses Based on these variables, the following variables have been set: * CURSES_TYPE = ncurses 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 libiconv>=1.9.1: found libiconv-1.17 => Tool dependency ncurses>=6.0: found ncurses-6.5 => Tool dependency libtool-base>=2.4.2nb9: found libtool-base-2.4.7nb1 => 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 gmp>=5.0.1: found gmp-6.3.0 => Full dependency libiconv>=1.9.1nb4: found libiconv-1.17 => Full dependency libffi>=3.4.2nb3: found libffi-3.4.6 => Full dependency ncurses>=6.5: found ncurses-6.5 ===> Overriding tools for ghc-9.0.2nb3 ===> Extracting for ghc-9.0.2nb3 ===> Patching for ghc-9.0.2nb3 => Applying pkgsrc patches for ghc-9.0.2nb3 => Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/ghc90/patches/patch-compiler_GHC_Driver_Pipeline.hs => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/ghc90/patches/patch-compiler_GHC_Driver_Pipeline.hs Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-compiler_GHC_Driver_Pipeline.hs,v 1.1 2021/05/01 09:04:57 pho Exp $ | |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.hs.orig 2021-05-01 06:52:42.897138372 +0000 |+++ compiler/GHC/Driver/Pipeline.hs -------------------------- Patching file compiler/GHC/Driver/Pipeline.hs using Plan A... Hunk #1 succeeded at 1295 (offset 2 lines). done => Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/ghc90/patches/patch-compiler_GHC_SysTools_Process.hs => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/ghc90/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 2021/05/01 09:04: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. | |The reason why GHC does it is due to some limitation on the length of |argv on Windows. So maybe the patch is worth sending to the upstream. | |Note that this patch would break the package if we didn't have its |$ORIGIN use eliminated because our wrappers hate relative rpaths. | |--- compiler/GHC/SysTools/Process.hs.orig 2021-05-01 04:49:05.262346202 +0000 |+++ compiler/GHC/SysTools/Process.hs -------------------------- Patching file compiler/GHC/SysTools/Process.hs using Plan A... Hunk #1 succeeded at 30. Hunk #2 succeeded at 143. Hunk #3 succeeded at 186. done => Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/ghc90/patches/patch-configure.ac => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/ghc90/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.3 2021/09/30 15:32:53 jperkin Exp $ | |Disable DTrace support on solaris2. |XXX: But why? | |--- configure.ac.orig 2021-09-30 13:46:21.920309978 +0000 |+++ configure.ac -------------------------- Patching file configure.ac using Plan A... Hunk #1 succeeded at 755 (offset 6 lines). Hunk #2 succeeded at 892 (offset 4 lines). done => Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/ghc90/patches/patch-ghc.mk => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/ghc90/patches/patch-ghc.mk Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-ghc.mk,v 1.2 2021/04/30 03:05:31 pho Exp $ | |Use the wrapper scripts for ghc as we can't use the ones from the DESTDIR |as the libraries are not in the right place yet. | |--- ghc.mk.orig 2021-01-25 16:30:28.000000000 +0000 |+++ ghc.mk -------------------------- Patching file ghc.mk using Plan A... Hunk #1 succeeded at 948 (offset 10 lines). done => Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/ghc90/patches/patch-libraries_Cabal_Cabal_Distribution_Simple_GHC.hs => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/ghc90/patches/patch-libraries_Cabal_Cabal_Distribution_Simple_GHC.hs Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-libraries_Cabal_Cabal_Distribution_Simple_GHC.hs,v 1.2 2021/05/05 09:18:52 pho Exp $ | |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/Distribution/Simple/GHC.hs.orig 2020-01-16 22:47:21.132921936 +0000 |+++ libraries/Cabal/Cabal/Distribution/Simple/GHC.hs -------------------------- Patching file libraries/Cabal/Cabal/Distribution/Simple/GHC.hs using Plan A... Hunk #1 succeeded at 1731 (offset 6 lines). done => Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/ghc90/patches/patch-libraries_base_GHC_Event_KQueue.hsc => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/ghc90/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 2021/02/09 13:18:36 ryoon 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 298 (offset 14 lines). done => Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/ghc90/patches/patch-libraries_base_System_CPUTime_Posix_Times.hsc => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/ghc90/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 2021/02/09 13:18:36 ryoon 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 27. done => Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/ghc90/patches/patch-libraries_base_System_Environment.hs => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/ghc90/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 2021/02/09 13:18:36 ryoon 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 247. done => Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/ghc90/patches/patch-libraries_base_configure => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/ghc90/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.3 2022/01/18 02:22:50 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-12-25 13:14:24.000000000 +0000 |+++ libraries/base/configure -------------------------- Patching file libraries/base/configure using Plan A... Hunk #1 succeeded at 4944. done => Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/ghc90/patches/patch-libraries_time_lib_Data_Time_Clock_Internal_CTimespec.hsc => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/ghc90/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 2021/02/09 13:18:36 ryoon 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 1. Hunk #2 succeeded at 30. done => Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/ghc90/patches/patch-libraries_time_lib_Data_Time_Clock_Internal_CTimeval.hs => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/ghc90/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 2021/02/09 13:18:36 ryoon 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 2020-01-04 06:13:10.008205366 +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 1. Hunk #2 succeeded at 24. done => Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/ghc90/patches/patch-libraries_unix_System_Posix_Env.hsc => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/ghc90/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 2021/02/09 13:18:36 ryoon Exp $ | |Suppress linker warnings about compatibility symbols by using "capi" |instead of "ccall". | |--- libraries/unix/System/Posix/Env.hsc.orig 2016-11-17 22:08:50.000000000 +0000 |+++ libraries/unix/System/Posix/Env.hsc -------------------------- Patching file libraries/unix/System/Posix/Env.hsc using Plan A... Hunk #1 succeeded at 156. done => Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/ghc90/patches/patch-libraries_unix_System_Posix_Env_ByteString.hsc => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/ghc90/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 2021/02/09 13:18:36 ryoon Exp $ | |Suppress linker warnings about compatibility symbols by using "capi" |instead of "ccall". | |--- libraries/unix/System/Posix/Env/ByteString.hsc.orig 2016-11-17 22:08:50.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 130. done => Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/ghc90/patches/patch-libraries_unix_System_Posix_Files_Common.hsc => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/ghc90/patches/patch-libraries_unix_System_Posix_Files_Common.hsc Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-libraries_unix_System_Posix_Files_Common.hsc,v 1.1 2021/02/09 13:18:36 ryoon Exp $ | |Suppress linker warnings about compatibility syscall wrappers by using |"capi" instead of "ccall". | |--- libraries/unix/System/Posix/Files/Common.hsc.orig 2016-04-20 10:08:26.000000000 +0000 |+++ libraries/unix/System/Posix/Files/Common.hsc -------------------------- Patching file libraries/unix/System/Posix/Files/Common.hsc using Plan A... Hunk #1 succeeded at 1. Hunk #2 succeeded at 449. done => Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/ghc90/patches/patch-libraries_unix_System_Posix_Signals.hsc => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/ghc90/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 2021/02/09 13:18:36 ryoon Exp $ | |Suppress linker warnings about compatibility symbols. | |--- libraries/unix/System/Posix/Signals.hsc.orig 2016-04-20 10:08:26.000000000 +0000 |+++ libraries/unix/System/Posix/Signals.hsc -------------------------- Patching file libraries/unix/System/Posix/Signals.hsc using Plan A... Hunk #1 succeeded at 594 (offset 4 lines). Hunk #2 succeeded at 619 (offset 4 lines). done => Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/ghc90/patches/patch-libraries_unix_include_execvpe.h => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/ghc90/patches/patch-libraries_unix_include_execvpe.h Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-libraries_unix_include_execvpe.h,v 1.2 2021/05/05 09:18:52 pho Exp $ | |Don't conflict with builtin execvpe(3). | |Already fixed in the upstream (unix-2.8.0.0). | |--- libraries/unix/include/execvpe.h.orig 2016-02-04 16:16:38.000000000 +0000 |+++ libraries/unix/include/execvpe.h -------------------------- Patching file libraries/unix/include/execvpe.h using Plan A... Hunk #1 succeeded at 15. done => Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/ghc90/patches/patch-llvm-targets => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/ghc90/patches/patch-llvm-targets Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-llvm-targets,v 1.2 2021/05/22 09:10:36 pho Exp $ | |Define the LLVM target for NetBSD/aarch64. This file is generated with |utils/llvm-targets/gen-data-layout.sh | |https://gitlab.haskell.org/ghc/ghc/-/merge_requests/5805 | |--- llvm-targets.orig 2020-12-21 18:11:39.000000000 +0000 |+++ llvm-targets -------------------------- Patching file llvm-targets using Plan A... Hunk #1 succeeded at 48. done => Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/ghc90/patches/patch-m4_fptools.m4 => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/ghc90/patches/patch-m4_fptools.m4 Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-m4_fptools.m4,v 1.1 2022/01/18 02:22:50 pho Exp $ | |Hunk #0: | Mark the stack as non-executable on NetBSD/aarch64. | https://gitlab.haskell.org/ghc/ghc/-/merge_requests/5805 | |Hunk #1 | Abolish the bash-ism. Not upstreamed. I'm honestly tired of upstreaming this | specific kind of patch because this is never the first time they made this | mistake. (pho@) | |--- m4/fptools.m4.orig 2021-12-25 13:13:59.000000000 +0000 |+++ m4/fptools.m4 -------------------------- Patching file m4/fptools.m4 using Plan A... Hunk #1 succeeded at 761. Hunk #2 succeeded at 2246. done => Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/ghc90/patches/patch-rts_ProfHeap.c => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/ghc90/patches/patch-rts_ProfHeap.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-rts_ProfHeap.c,v 1.5 2021/09/30 15:32:53 jperkin Exp $ | |NetBSD does not have uselocale(3). | |Sent to the upstream: |https://gitlab.haskell.org/ghc/ghc/-/merge_requests/5677 | |--- rts/ProfHeap.c.orig 2021-01-25 16:30:28.000000000 +0000 |+++ rts/ProfHeap.c -------------------------- Patching file rts/ProfHeap.c using Plan A... Hunk #1 succeeded at 69. Hunk #2 succeeded at 83. Hunk #3 succeeded at 98. Hunk #4 succeeded at 112. done => Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/ghc90/patches/patch-rts_ghc.mk => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/ghc90/patches/patch-rts_ghc.mk Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-rts_ghc.mk,v 1.1 2021/04/29 07:02:42 pho Exp $ | |This is for Darwin. See the patch to rules/distdir-way-opts.mk. | |--- rts/ghc.mk.orig 2021-04-29 03:14:20.000000000 +0000 |+++ rts/ghc.mk -------------------------- Patching file rts/ghc.mk using Plan A... Hunk #1 succeeded at 278 (offset 27 lines). done => Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/ghc90/patches/patch-rts_posix_GetTime.c => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/ghc90/patches/patch-rts_posix_GetTime.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-rts_posix_GetTime.c,v 1.2 2021/05/05 09:18:52 pho Exp $ | |OmniOS defines CLOCK_THREAD_CPUTIME_ID but it isn't actually usable: |clock_gettime(2) always returns EINVAL. Use Solaris-specific |gethrvtime(3) instead. | |Sent to the upstream: |https://gitlab.haskell.org/ghc/ghc/-/merge_requests/5678 | |--- rts/posix/GetTime.c.orig 2021-04-29 21:06:04.382045075 +0000 |+++ rts/posix/GetTime.c -------------------------- Patching file rts/posix/GetTime.c using Plan A... Hunk #1 succeeded at 32. Hunk #2 succeeded at 85. done => Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/ghc90/patches/patch-rts_posix_OSThreads.c => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/ghc90/patches/patch-rts_posix_OSThreads.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-rts_posix_OSThreads.c,v 1.3 2022/01/18 02:22:50 pho Exp $ | |Implementation of getNumberOfProcessors() for NetBSD | |Sent to the upstream: |https://gitlab.haskell.org/ghc/ghc/-/merge_requests/5679 | |--- rts/posix/OSThreads.c.orig 2021-09-15 15:27:32.000000000 +0000 |+++ rts/posix/OSThreads.c -------------------------- Patching file rts/posix/OSThreads.c using Plan A... Hunk #1 succeeded at 25. Hunk #2 succeeded at 56. Hunk #3 succeeded at 297. done => Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/ghc90/patches/patch-rules_build-package-way.mk => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/ghc90/patches/patch-rules_build-package-way.mk Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-rules_build-package-way.mk,v 1.1 2021/04/29 07:02:42 pho Exp $ | |This is for Darwin. See the patch to rules/distdir-way-opts.mk. | |--- rules/build-package-way.mk.orig 2021-04-28 17:51:42.000000000 +0000 |+++ rules/build-package-way.mk -------------------------- Patching file rules/build-package-way.mk using Plan A... Hunk #1 succeeded at 64. done => Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/ghc90/patches/patch-rules_distdir-way-opts.mk => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/ghc90/patches/patch-rules_distdir-way-opts.mk Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-rules_distdir-way-opts.mk,v 1.1 2021/04/29 07:02:42 pho Exp $ | |Use correct RPATHs. On ELF we replace "$ORIGIN/../{PACKAGE_ID}" with |the final installation path. | |On Darwin library paths work differently. If an executable (or a |library) A depends on a library B, the installation path of B is first |embedded in B, and then the path propagates to A at the time when A is |linked. So we remove -rpath to libraries here, and do the other half |in rules/build-package-way.mk and rts/ghc.mk. | |--- rules/distdir-way-opts.mk.orig 2020-07-08 16:43:04.000000000 +0000 |+++ rules/distdir-way-opts.mk -------------------------- Patching file rules/distdir-way-opts.mk using Plan A... Hunk #1 succeeded at 209. done => Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/ghc90/patches/patch-utils_haddock_driver_Main.hs => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/ghc90/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 2021/04/26 07:41:21 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 ===> Regenerating configuration scripts for ghc-9.0.2nb3 configure.ac:71: warning: The macro 'AC_CONFIG_HEADER' is obsolete. configure.ac:71: You should run autoupdate. ./lib/autoconf/status.m4:719: AC_CONFIG_HEADER is expanded from... configure.ac:71: the top level configure.ac:604: warning: The macro 'AC_PROG_CC_C99' is obsolete. configure.ac:604: You should run autoupdate. ./lib/autoconf/c.m4:1662: AC_PROG_CC_C99 is expanded from... m4/fptools.m4:650: FP_SET_CFLAGS_C99 is expanded from... configure.ac:604: the top level configure.ac:605: warning: The macro 'AC_PROG_CC_C99' is obsolete. configure.ac:605: You should run autoupdate. ./lib/autoconf/c.m4:1662: AC_PROG_CC_C99 is expanded from... m4/fptools.m4:650: FP_SET_CFLAGS_C99 is expanded from... configure.ac:605: the top level configure.ac:606: warning: The macro 'AC_PROG_CC_C99' is obsolete. configure.ac:606: You should run autoupdate. ./lib/autoconf/c.m4:1662: AC_PROG_CC_C99 is expanded from... m4/fptools.m4:650: FP_SET_CFLAGS_C99 is expanded from... configure.ac:606: the top level configure.ac:607: warning: The macro 'AC_PROG_CC_C99' is obsolete. configure.ac:607: You should run autoupdate. ./lib/autoconf/c.m4:1662: AC_PROG_CC_C99 is expanded from... m4/fptools.m4:650: FP_SET_CFLAGS_C99 is expanded from... configure.ac:607: the top level configure.ac:985: warning: The macro 'AC_HEADER_TIME' is obsolete. configure.ac:985: You should run autoupdate. ./lib/autoconf/headers.m4:702: AC_HEADER_TIME is expanded from... configure.ac:985: the top level configure.ac:1177: warning: The macro 'AC_TRY_RUN' is obsolete. configure.ac:1177: 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/fptools.m4:1744: FP_CHECK_TIMER_CREATE is expanded from... configure.ac:1177: the top level ===> Creating toolchain wrappers for ghc-9.0.2nb3 ===> Configuring for ghc-9.0.2nb3 ===> Extracting bootstrapping compiler for ghc-9.0.2nb3 ===> Preparing bootstrapping compiler for ghc-9.0.2nb3 configure: WARNING: unrecognized options: --with-curses-libraries, --with-iconv-includes, --with-iconv-libraries, --with-ffi-includes, --with-ffi-libraries, --without-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 GHC build : x86_64-unknown-solaris2 GHC host : x86_64-unknown-solaris2 GHC target : x86_64-unknown-solaris2 LLVM target: x86_64-unknown-solaris2 checking for path to top of build tree... /home/pbulk/build/lang/ghc90/work/bootkit-dist/ghc-8.10.4-boot checking for a BSD-compatible install... /home/pbulk/build/lang/ghc90/work/.tools/bin/install -c checking for gfind... no checking for find... /home/pbulk/build/lang/ghc90/work/.tools/bin/find checking whether ln -s works... yes checking for gsed... sed checking for python3... 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 gcc accepts -g... yes checking for gcc option to enable C11 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 false is version 9... no checking false is version 9... no checking version of gcc... checking version of gcc... 13.3.0 13.3.0 checking whether GCC 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 for .subsections_via_symbols... no checking whether your assembler supports .ident directive... yes checking for GNU non-executable stack support... yes 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 for -ar... (cached) ar checking whether ar is GNU ar... no checking for ar arguments... qcls checking whether ar supports @file... no checking for ranlib... ranlib configure: creating ./config.status config.status: creating mk/config.mk config.status: creating mk/install.mk configure: WARNING: unrecognized options: --with-curses-libraries, --with-iconv-includes, --with-iconv-libraries, --with-ffi-includes, --with-ffi-libraries, --without-system-libffi **************************************************** Configuration done, ready to 'make install' (see README and INSTALL files for more info.) **************************************************** /opt/pkg/bin/gmake --no-print-directory -f ghc.mk install BINDIST=YES NO_INCLUDE_DEPS=YES "inplace/bin/mkdirhier" libraries/ghc-boot/dist-boot/build/GHC//. "rm" -f libraries/ghc-boot/dist-boot/build/GHC/Version.hs done. "inplace/bin/mkdirhier" libraries/ghc-boot/dist-boot/build/GHC/Platform//. "rm" -f libraries/ghc-boot/dist-boot/build/GHC/Platform/Host.hs done. "rm" -f libraries/ghc-boot/dist-install/build/GHC/Version.hs done. "rm" -f libraries/ghc-boot/dist-install/build/GHC/Platform/Host.hs done. /home/pbulk/build/lang/ghc90/work/.tools/bin/install -c -m 755 -d "/home/pbulk/build/lang/ghc90/work/.tools/bin" "rm" -f "/home/pbulk/build/lang/ghc90/work/.tools/bin/hp2ps" create () { touch "$1" && chmod 755 "$1" ; } && create "/home/pbulk/build/lang/ghc90/work/.tools/bin/hp2ps" echo '#!/bin/sh' >> "/home/pbulk/build/lang/ghc90/work/.tools/bin/hp2ps" echo 'exedir="/home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4/bin"' >> "/home/pbulk/build/lang/ghc90/work/.tools/bin/hp2ps" echo 'exeprog="hp2ps"' >> "/home/pbulk/build/lang/ghc90/work/.tools/bin/hp2ps" echo 'executablename="$exedir/$exeprog"' >> "/home/pbulk/build/lang/ghc90/work/.tools/bin/hp2ps" echo 'datadir="/home/pbulk/build/lang/ghc90/work/.tools/share"' >> "/home/pbulk/build/lang/ghc90/work/.tools/bin/hp2ps" echo 'bindir="/home/pbulk/build/lang/ghc90/work/.tools/bin"' >> "/home/pbulk/build/lang/ghc90/work/.tools/bin/hp2ps" echo 'topdir="/home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4"' >> "/home/pbulk/build/lang/ghc90/work/.tools/bin/hp2ps" cat utils/hp2ps/hp2ps.wrapper >> "/home/pbulk/build/lang/ghc90/work/.tools/bin/hp2ps" chmod +x "/home/pbulk/build/lang/ghc90/work/.tools/bin/hp2ps" /home/pbulk/build/lang/ghc90/work/.tools/bin/install -c -m 755 -d "/home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4/include" /home/pbulk/build/lang/ghc90/work/.tools/bin/install -c -m 755 -d "/home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4/include/." && /home/pbulk/build/lang/ghc90/work/.tools/bin/install -c -m 644 includes/./*.h "/home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4/include/./" && /home/pbulk/build/lang/ghc90/work/.tools/bin/install -c -m 755 -d "/home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4/include/rts" && /home/pbulk/build/lang/ghc90/work/.tools/bin/install -c -m 644 includes/rts/*.h "/home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4/include/rts/" && /home/pbulk/build/lang/ghc90/work/.tools/bin/install -c -m 755 -d "/home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4/include/rts/prof" && /home/pbulk/build/lang/ghc90/work/.tools/bin/install -c -m 644 includes/rts/prof/*.h "/home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4/include/rts/prof/" && /home/pbulk/build/lang/ghc90/work/.tools/bin/install -c -m 755 -d "/home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4/include/rts/storage" && /home/pbulk/build/lang/ghc90/work/.tools/bin/install -c -m 644 includes/rts/storage/*.h "/home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4/include/rts/storage/" && /home/pbulk/build/lang/ghc90/work/.tools/bin/install -c -m 755 -d "/home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4/include/stg" && /home/pbulk/build/lang/ghc90/work/.tools/bin/install -c -m 644 includes/stg/*.h "/home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4/include/stg/" && true /home/pbulk/build/lang/ghc90/work/.tools/bin/install -c -m 644 \ includes/dist-install/build/ghcautoconf.h includes/dist-install/build/ghcplatform.h includes/dist-install/build/ghcversion.h \ includes/dist-derivedconstants/header/DerivedConstants.h \ "/home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4/include/" /home/pbulk/build/lang/ghc90/work/.tools/bin/install -c -m 755 -d "/home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4/include" /home/pbulk/build/lang/ghc90/work/.tools/bin/install -c -m 644 rts/dist/build/ffi.h rts/dist/build/ffitarget.h "/home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4/include/" /home/pbulk/build/lang/ghc90/work/.tools/bin/install -c -m 755 -d "/home/pbulk/build/lang/ghc90/work/.tools/bin" "rm" -f "/home/pbulk/build/lang/ghc90/work/.tools/bin/hsc2hs" create () { touch "$1" && chmod 755 "$1" ; } && create "/home/pbulk/build/lang/ghc90/work/.tools/bin/hsc2hs" echo '#!/bin/sh' >> "/home/pbulk/build/lang/ghc90/work/.tools/bin/hsc2hs" echo 'exedir="/home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4/bin"' >> "/home/pbulk/build/lang/ghc90/work/.tools/bin/hsc2hs" echo 'exeprog="hsc2hs"' >> "/home/pbulk/build/lang/ghc90/work/.tools/bin/hsc2hs" echo 'executablename="$exedir/$exeprog"' >> "/home/pbulk/build/lang/ghc90/work/.tools/bin/hsc2hs" echo 'datadir="/home/pbulk/build/lang/ghc90/work/.tools/share"' >> "/home/pbulk/build/lang/ghc90/work/.tools/bin/hsc2hs" echo 'bindir="/home/pbulk/build/lang/ghc90/work/.tools/bin"' >> "/home/pbulk/build/lang/ghc90/work/.tools/bin/hsc2hs" echo 'topdir="/home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4"' >> "/home/pbulk/build/lang/ghc90/work/.tools/bin/hsc2hs" echo 'HSC2HS_EXTRA="--cflag=-pipe --cflag=-O2 --cflag=-msave-args --cflag=-fno-aggressive-loop-optimizations --cflag=-I/opt/pkg/include --cflag=-I/opt/pkg/include/ncurses --cflag=-I/usr/include --cflag=-m64 --lflag=-Wl,-R/opt/pkg/lib --lflag=-liconv --lflag=-L/opt/pkg/lib --lflag=-L/usr/lib/amd64 --lflag=-Wl,-R/usr/lib/amd64 --lflag=-m64"' >> "/home/pbulk/build/lang/ghc90/work/.tools/bin/hsc2hs" cat utils/hsc2hs/hsc2hs.wrapper >> "/home/pbulk/build/lang/ghc90/work/.tools/bin/hsc2hs" chmod +x "/home/pbulk/build/lang/ghc90/work/.tools/bin/hsc2hs" /home/pbulk/build/lang/ghc90/work/.tools/bin/install -c -m 644 utils/hsc2hs/template-hsc.h "/home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4" /home/pbulk/build/lang/ghc90/work/.tools/bin/install -c -m 755 -d "/home/pbulk/build/lang/ghc90/work/.tools/bin" "rm" -f "/home/pbulk/build/lang/ghc90/work/.tools/bin/ghc-pkg-8.10.4" create () { touch "$1" && chmod 755 "$1" ; } && create "/home/pbulk/build/lang/ghc90/work/.tools/bin/ghc-pkg-8.10.4" echo '#!/bin/sh' >> "/home/pbulk/build/lang/ghc90/work/.tools/bin/ghc-pkg-8.10.4" echo 'exedir="/home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4/bin"' >> "/home/pbulk/build/lang/ghc90/work/.tools/bin/ghc-pkg-8.10.4" echo 'exeprog="ghc-pkg"' >> "/home/pbulk/build/lang/ghc90/work/.tools/bin/ghc-pkg-8.10.4" echo 'executablename="$exedir/$exeprog"' >> "/home/pbulk/build/lang/ghc90/work/.tools/bin/ghc-pkg-8.10.4" echo 'datadir="/home/pbulk/build/lang/ghc90/work/.tools/share"' >> "/home/pbulk/build/lang/ghc90/work/.tools/bin/ghc-pkg-8.10.4" echo 'bindir="/home/pbulk/build/lang/ghc90/work/.tools/bin"' >> "/home/pbulk/build/lang/ghc90/work/.tools/bin/ghc-pkg-8.10.4" echo 'topdir="/home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4"' >> "/home/pbulk/build/lang/ghc90/work/.tools/bin/ghc-pkg-8.10.4" cat utils/ghc-pkg/ghc-pkg.wrapper >> "/home/pbulk/build/lang/ghc90/work/.tools/bin/ghc-pkg-8.10.4" chmod +x "/home/pbulk/build/lang/ghc90/work/.tools/bin/ghc-pkg-8.10.4" /home/pbulk/build/lang/ghc90/work/.tools/bin/install -c -m 755 -d "/home/pbulk/build/lang/ghc90/work/.tools/bin" "rm" -f "/home/pbulk/build/lang/ghc90/work/.tools/bin/ghc-pkg" ln -s ghc-pkg-8.10.4 "/home/pbulk/build/lang/ghc90/work/.tools/bin/ghc-pkg" /home/pbulk/build/lang/ghc90/work/.tools/bin/install -c -m 755 -d "/home/pbulk/build/lang/ghc90/work/.tools/bin" "rm" -f "/home/pbulk/build/lang/ghc90/work/.tools/bin/hpc" create () { touch "$1" && chmod 755 "$1" ; } && create "/home/pbulk/build/lang/ghc90/work/.tools/bin/hpc" echo '#!/bin/sh' >> "/home/pbulk/build/lang/ghc90/work/.tools/bin/hpc" echo 'exedir="/home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4/bin"' >> "/home/pbulk/build/lang/ghc90/work/.tools/bin/hpc" echo 'exeprog="hpc"' >> "/home/pbulk/build/lang/ghc90/work/.tools/bin/hpc" echo 'executablename="$exedir/$exeprog"' >> "/home/pbulk/build/lang/ghc90/work/.tools/bin/hpc" echo 'datadir="/home/pbulk/build/lang/ghc90/work/.tools/share"' >> "/home/pbulk/build/lang/ghc90/work/.tools/bin/hpc" echo 'bindir="/home/pbulk/build/lang/ghc90/work/.tools/bin"' >> "/home/pbulk/build/lang/ghc90/work/.tools/bin/hpc" echo 'topdir="/home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4"' >> "/home/pbulk/build/lang/ghc90/work/.tools/bin/hpc" cat utils/hpc/hpc.wrapper >> "/home/pbulk/build/lang/ghc90/work/.tools/bin/hpc" chmod +x "/home/pbulk/build/lang/ghc90/work/.tools/bin/hpc" /home/pbulk/build/lang/ghc90/work/.tools/bin/install -c -m 755 -d "/home/pbulk/build/lang/ghc90/work/.tools/bin" "rm" -f "/home/pbulk/build/lang/ghc90/work/.tools/bin/ghc-8.10.4" create () { touch "$1" && chmod 755 "$1" ; } && create "/home/pbulk/build/lang/ghc90/work/.tools/bin/ghc-8.10.4" echo '#!/bin/sh' >> "/home/pbulk/build/lang/ghc90/work/.tools/bin/ghc-8.10.4" echo 'exedir="/home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4/bin"' >> "/home/pbulk/build/lang/ghc90/work/.tools/bin/ghc-8.10.4" echo 'exeprog="ghc-stage2"' >> "/home/pbulk/build/lang/ghc90/work/.tools/bin/ghc-8.10.4" echo 'executablename="$exedir/$exeprog"' >> "/home/pbulk/build/lang/ghc90/work/.tools/bin/ghc-8.10.4" echo 'datadir="/home/pbulk/build/lang/ghc90/work/.tools/share"' >> "/home/pbulk/build/lang/ghc90/work/.tools/bin/ghc-8.10.4" echo 'bindir="/home/pbulk/build/lang/ghc90/work/.tools/bin"' >> "/home/pbulk/build/lang/ghc90/work/.tools/bin/ghc-8.10.4" echo 'topdir="/home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4"' >> "/home/pbulk/build/lang/ghc90/work/.tools/bin/ghc-8.10.4" echo 'executablename="$exedir/ghc"' >> "/home/pbulk/build/lang/ghc90/work/.tools/bin/ghc-8.10.4" cat ghc/ghc.wrapper >> "/home/pbulk/build/lang/ghc90/work/.tools/bin/ghc-8.10.4" chmod +x "/home/pbulk/build/lang/ghc90/work/.tools/bin/ghc-8.10.4" "rm" -f "/home/pbulk/build/lang/ghc90/work/.tools/bin/ghc" ln -s ghc-8.10.4 "/home/pbulk/build/lang/ghc90/work/.tools/bin/ghc" "inplace/bin/mkdirhier" includes/dist/build//. "rm" -f includes/dist/build/settings # driver/ghc-usage.txt driver/ghci-usage.txt includes/dist-derivedconstants/header/platformConstants includes/dist/build/settings llvm-targets llvm-passes = libraries to install # "/home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4" = directory to install to # # The .dll case calls STRIP_CMD explicitly, instead of `install -s`, because # on Win64, "install -s" calls a strip that doesn't understand 64bit binaries. # For some reason, this means the DLLs end up non-executable, which means # executables that use them just segfault. /home/pbulk/build/lang/ghc90/work/.tools/bin/install -c -m 755 -d "/home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4" for i in driver/ghc-usage.txt driver/ghci-usage.txt includes/dist-derivedconstants/header/platformConstants includes/dist/build/settings llvm-targets llvm-passes; do case $i in *.a) /home/pbulk/build/lang/ghc90/work/.tools/bin/install -c -m 644 $i "/home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4"; true "/home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4"/`basename $i` ;; *.dll) /home/pbulk/build/lang/ghc90/work/.tools/bin/install -c -m 755 $i "/home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4" ; strip "/home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4"/`basename $i` ;; *.so) /home/pbulk/build/lang/ghc90/work/.tools/bin/install -c -m 755 $i "/home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4" ;; *.dylib) /home/pbulk/build/lang/ghc90/work/.tools/bin/install -c -m 755 $i "/home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4";; *) /home/pbulk/build/lang/ghc90/work/.tools/bin/install -c -m 644 $i "/home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4"; esac; done gcc -E -undef -traditional -P -DINSTALLING -DLIB_DIR='"/home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4"' -DINCLUDE_DIR='"/home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4/include"' -DFFI_INCLUDE_DIR= -DFFI_LIB_DIR= '-DFFI_LIB="Cffi"' -DLIBDW_INCLUDE_DIR= -DLIBDW_LIB_DIR= -Iincludes -Iincludes/dist -Iincludes/dist-derivedconstants/header -Iincludes/dist-ghcconstants/header -Iincludes/dist-install/build -x c rts/package.conf.in -o rts/dist/package.conf.install.raw grep -v '^#pragma GCC' rts/dist/package.conf.install.raw | sed -e 's/""//g' -e 's/:[ ]*,/: /g' >rts/dist/package.conf.install /home/pbulk/build/lang/ghc90/work/.tools/bin/install -c -m 755 -d "/home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4/bin" for i in utils/unlit/dist-install/build/tmp/unlit utils/hp2ps/dist-install/build/tmp/hp2ps utils/hp2ps/dist-install/build/tmp/hp2ps utils/hsc2hs/dist-install/build/tmp/hsc2hs utils/hsc2hs/dist-install/build/tmp/hsc2hs utils/ghc-pkg/dist-install/build/tmp/ghc-pkg utils/ghc-pkg/dist-install/build/tmp/ghc-pkg utils/hpc/dist-install/build/tmp/hpc utils/hpc/dist-install/build/tmp/hpc ghc/stage2/build/tmp/ghc-stage2 ghc/stage2/build/tmp/ghc-stage2 utils/iserv/stage2/build/tmp/ghc-iserv; do \ /home/pbulk/build/lang/ghc90/work/.tools/bin/install -c -m 755 $i "/home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4/bin"; \ done "mv" "/home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4/bin/ghc-stage2" "/home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4/bin/ghc" /home/pbulk/build/lang/ghc90/work/.tools/bin/install -c -m 755 -d "/home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4" "rm" -rf "/home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4/package.conf.d" /home/pbulk/build/lang/ghc90/work/.tools/bin/install -c -m 755 -d "/home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4/package.conf.d" /home/pbulk/build/lang/ghc90/work/.tools/bin/install -c -m 755 -d "/home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4/rts" # rts/dist/build/libHSrts.a rts/dist/build/libCffi.a = libraries to install # "/home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4/rts" = directory to install to # # The .dll case calls STRIP_CMD explicitly, instead of `install -s`, because # on Win64, "install -s" calls a strip that doesn't understand 64bit binaries. # For some reason, this means the DLLs end up non-executable, which means # executables that use them just segfault. /home/pbulk/build/lang/ghc90/work/.tools/bin/install -c -m 755 -d "/home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4/rts" for i in rts/dist/build/libHSrts.a rts/dist/build/libCffi.a; do case $i in *.a) /home/pbulk/build/lang/ghc90/work/.tools/bin/install -c -m 644 $i "/home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4/rts"; true "/home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4/rts"/`basename $i` ;; *.dll) /home/pbulk/build/lang/ghc90/work/.tools/bin/install -c -m 755 $i "/home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4/rts" ; strip "/home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4/rts"/`basename $i` ;; *.so) /home/pbulk/build/lang/ghc90/work/.tools/bin/install -c -m 755 $i "/home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4/rts" ;; *.dylib) /home/pbulk/build/lang/ghc90/work/.tools/bin/install -c -m 755 $i "/home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4/rts";; *) /home/pbulk/build/lang/ghc90/work/.tools/bin/install -c -m 644 $i "/home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4/rts"; esac; done "utils/ghc-cabal/dist-install/build/tmp/ghc-cabal-bindist" copy libraries/ghc-prim dist-install "strip" '' '/home/pbulk/build/lang/ghc90/work/.tools' '/home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4' '/home/pbulk/build/lang/ghc90/work/.tools/share/doc/ghc-8.10.4/html/libraries' 'v' Installing library in /home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4/ghc-prim-0.6.1 "utils/ghc-cabal/dist-install/build/tmp/ghc-cabal-bindist" copy libraries/integer-simple dist-install "strip" '' '/home/pbulk/build/lang/ghc90/work/.tools' '/home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4' '/home/pbulk/build/lang/ghc90/work/.tools/share/doc/ghc-8.10.4/html/libraries' 'v' Installing library in /home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4/integer-simple-0.1.2.0 "utils/ghc-cabal/dist-install/build/tmp/ghc-cabal-bindist" copy libraries/base dist-install "strip" '' '/home/pbulk/build/lang/ghc90/work/.tools' '/home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4' '/home/pbulk/build/lang/ghc90/work/.tools/share/doc/ghc-8.10.4/html/libraries' 'v' Installing library in /home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4/base-4.14.1.0 "utils/ghc-cabal/dist-install/build/tmp/ghc-cabal-bindist" copy libraries/filepath dist-install "strip" '' '/home/pbulk/build/lang/ghc90/work/.tools' '/home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4' '/home/pbulk/build/lang/ghc90/work/.tools/share/doc/ghc-8.10.4/html/libraries' 'v' Installing library in /home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4/filepath-1.4.2.1 "utils/ghc-cabal/dist-install/build/tmp/ghc-cabal-bindist" copy libraries/array dist-install "strip" '' '/home/pbulk/build/lang/ghc90/work/.tools' '/home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4' '/home/pbulk/build/lang/ghc90/work/.tools/share/doc/ghc-8.10.4/html/libraries' 'v' Installing library in /home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4/array-0.5.4.0 "utils/ghc-cabal/dist-install/build/tmp/ghc-cabal-bindist" copy libraries/deepseq dist-install "strip" '' '/home/pbulk/build/lang/ghc90/work/.tools' '/home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4' '/home/pbulk/build/lang/ghc90/work/.tools/share/doc/ghc-8.10.4/html/libraries' 'v' Installing library in /home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4/deepseq-1.4.4.0 "utils/ghc-cabal/dist-install/build/tmp/ghc-cabal-bindist" copy libraries/bytestring dist-install "strip" '' '/home/pbulk/build/lang/ghc90/work/.tools' '/home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4' '/home/pbulk/build/lang/ghc90/work/.tools/share/doc/ghc-8.10.4/html/libraries' 'v' Installing library in /home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4/bytestring-0.10.12.0 "utils/ghc-cabal/dist-install/build/tmp/ghc-cabal-bindist" copy libraries/containers/containers dist-install "strip" '' '/home/pbulk/build/lang/ghc90/work/.tools' '/home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4' '/home/pbulk/build/lang/ghc90/work/.tools/share/doc/ghc-8.10.4/html/libraries' 'v' Installing library in /home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4/containers-0.6.2.1 "utils/ghc-cabal/dist-install/build/tmp/ghc-cabal-bindist" copy libraries/time dist-install "strip" '' '/home/pbulk/build/lang/ghc90/work/.tools' '/home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4' '/home/pbulk/build/lang/ghc90/work/.tools/share/doc/ghc-8.10.4/html/libraries' 'v' Installing library in /home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4/time-1.9.3 "utils/ghc-cabal/dist-install/build/tmp/ghc-cabal-bindist" copy libraries/unix dist-install "strip" '' '/home/pbulk/build/lang/ghc90/work/.tools' '/home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4' '/home/pbulk/build/lang/ghc90/work/.tools/share/doc/ghc-8.10.4/html/libraries' 'v' Installing library in /home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4/unix-2.7.2.2 "utils/ghc-cabal/dist-install/build/tmp/ghc-cabal-bindist" copy libraries/directory dist-install "strip" '' '/home/pbulk/build/lang/ghc90/work/.tools' '/home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4' '/home/pbulk/build/lang/ghc90/work/.tools/share/doc/ghc-8.10.4/html/libraries' 'v' Installing library in /home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4/directory-1.3.6.0 "utils/ghc-cabal/dist-install/build/tmp/ghc-cabal-bindist" copy libraries/process dist-install "strip" '' '/home/pbulk/build/lang/ghc90/work/.tools' '/home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4' '/home/pbulk/build/lang/ghc90/work/.tools/share/doc/ghc-8.10.4/html/libraries' 'v' Installing library in /home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4/process-1.6.9.0 "utils/ghc-cabal/dist-install/build/tmp/ghc-cabal-bindist" copy libraries/hpc dist-install "strip" '' '/home/pbulk/build/lang/ghc90/work/.tools' '/home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4' '/home/pbulk/build/lang/ghc90/work/.tools/share/doc/ghc-8.10.4/html/libraries' 'v' Installing library in /home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4/hpc-0.6.1.0 "utils/ghc-cabal/dist-install/build/tmp/ghc-cabal-bindist" copy libraries/pretty dist-install "strip" '' '/home/pbulk/build/lang/ghc90/work/.tools' '/home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4' '/home/pbulk/build/lang/ghc90/work/.tools/share/doc/ghc-8.10.4/html/libraries' 'v' Installing library in /home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4/pretty-1.1.3.6 "utils/ghc-cabal/dist-install/build/tmp/ghc-cabal-bindist" copy libraries/binary dist-install "strip" '' '/home/pbulk/build/lang/ghc90/work/.tools' '/home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4' '/home/pbulk/build/lang/ghc90/work/.tools/share/doc/ghc-8.10.4/html/libraries' 'v' Installing library in /home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4/binary-0.8.8.0 "utils/ghc-cabal/dist-install/build/tmp/ghc-cabal-bindist" copy libraries/transformers dist-install "strip" '' '/home/pbulk/build/lang/ghc90/work/.tools' '/home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4' '/home/pbulk/build/lang/ghc90/work/.tools/share/doc/ghc-8.10.4/html/libraries' 'v' Installing library in /home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4/transformers-0.5.6.2 "utils/ghc-cabal/dist-install/build/tmp/ghc-cabal-bindist" copy libraries/mtl dist-install "strip" '' '/home/pbulk/build/lang/ghc90/work/.tools' '/home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4' '/home/pbulk/build/lang/ghc90/work/.tools/share/doc/ghc-8.10.4/html/libraries' 'v' Installing library in /home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4/mtl-2.2.2 "utils/ghc-cabal/dist-install/build/tmp/ghc-cabal-bindist" copy libraries/ghc-boot-th dist-install "strip" '' '/home/pbulk/build/lang/ghc90/work/.tools' '/home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4' '/home/pbulk/build/lang/ghc90/work/.tools/share/doc/ghc-8.10.4/html/libraries' 'v' Installing library in /home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4/ghc-boot-th-8.10.4 "utils/ghc-cabal/dist-install/build/tmp/ghc-cabal-bindist" copy libraries/ghc-boot dist-install "strip" '' '/home/pbulk/build/lang/ghc90/work/.tools' '/home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4' '/home/pbulk/build/lang/ghc90/work/.tools/share/doc/ghc-8.10.4/html/libraries' 'v' Installing library in /home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4/ghc-boot-8.10.4 "utils/ghc-cabal/dist-install/build/tmp/ghc-cabal-bindist" copy libraries/template-haskell dist-install "strip" '' '/home/pbulk/build/lang/ghc90/work/.tools' '/home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4' '/home/pbulk/build/lang/ghc90/work/.tools/share/doc/ghc-8.10.4/html/libraries' 'v' Installing library in /home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4/template-haskell-2.16.0.0 "utils/ghc-cabal/dist-install/build/tmp/ghc-cabal-bindist" copy libraries/text dist-install "strip" '' '/home/pbulk/build/lang/ghc90/work/.tools' '/home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4' '/home/pbulk/build/lang/ghc90/work/.tools/share/doc/ghc-8.10.4/html/libraries' 'v' Installing library in /home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4/text-1.2.4.1 "utils/ghc-cabal/dist-install/build/tmp/ghc-cabal-bindist" copy libraries/parsec dist-install "strip" '' '/home/pbulk/build/lang/ghc90/work/.tools' '/home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4' '/home/pbulk/build/lang/ghc90/work/.tools/share/doc/ghc-8.10.4/html/libraries' 'v' Installing library in /home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4/parsec-3.1.14.0 "utils/ghc-cabal/dist-install/build/tmp/ghc-cabal-bindist" copy libraries/Cabal/Cabal dist-install "strip" '' '/home/pbulk/build/lang/ghc90/work/.tools' '/home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4' '/home/pbulk/build/lang/ghc90/work/.tools/share/doc/ghc-8.10.4/html/libraries' 'v' Installing library in /home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4/Cabal-3.2.1.0 "utils/ghc-cabal/dist-install/build/tmp/ghc-cabal-bindist" copy libraries/ghc-compact dist-install "strip" '' '/home/pbulk/build/lang/ghc90/work/.tools' '/home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4' '/home/pbulk/build/lang/ghc90/work/.tools/share/doc/ghc-8.10.4/html/libraries' 'v' Installing library in /home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4/ghc-compact-0.1.0.0 "utils/ghc-cabal/dist-install/build/tmp/ghc-cabal-bindist" copy libraries/ghc-heap dist-install "strip" '' '/home/pbulk/build/lang/ghc90/work/.tools' '/home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4' '/home/pbulk/build/lang/ghc90/work/.tools/share/doc/ghc-8.10.4/html/libraries' 'v' Installing library in /home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4/ghc-heap-8.10.4 "utils/ghc-cabal/dist-install/build/tmp/ghc-cabal-bindist" copy libraries/terminfo dist-install "strip" '' '/home/pbulk/build/lang/ghc90/work/.tools' '/home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4' '/home/pbulk/build/lang/ghc90/work/.tools/share/doc/ghc-8.10.4/html/libraries' 'v' Installing library in /home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4/terminfo-0.4.1.4 "utils/ghc-cabal/dist-install/build/tmp/ghc-cabal-bindist" copy libraries/stm dist-install "strip" '' '/home/pbulk/build/lang/ghc90/work/.tools' '/home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4' '/home/pbulk/build/lang/ghc90/work/.tools/share/doc/ghc-8.10.4/html/libraries' 'v' Installing library in /home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4/stm-2.5.0.0 "utils/ghc-cabal/dist-install/build/tmp/ghc-cabal-bindist" copy libraries/exceptions dist-install "strip" '' '/home/pbulk/build/lang/ghc90/work/.tools' '/home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4' '/home/pbulk/build/lang/ghc90/work/.tools/share/doc/ghc-8.10.4/html/libraries' 'v' Installing library in /home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4/exceptions-0.10.4 "utils/ghc-cabal/dist-install/build/tmp/ghc-cabal-bindist" copy libraries/haskeline dist-install "strip" '' '/home/pbulk/build/lang/ghc90/work/.tools' '/home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4' '/home/pbulk/build/lang/ghc90/work/.tools/share/doc/ghc-8.10.4/html/libraries' 'v' Installing library in /home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4/haskeline-0.8.0.1 "utils/ghc-cabal/dist-install/build/tmp/ghc-cabal-bindist" copy libraries/ghci dist-install "strip" '' '/home/pbulk/build/lang/ghc90/work/.tools' '/home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4' '/home/pbulk/build/lang/ghc90/work/.tools/share/doc/ghc-8.10.4/html/libraries' 'v' Installing library in /home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4/ghci-8.10.4 "utils/ghc-cabal/dist-install/build/tmp/ghc-cabal-bindist" copy libraries/libiserv dist-install "strip" '' '/home/pbulk/build/lang/ghc90/work/.tools' '/home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4' '/home/pbulk/build/lang/ghc90/work/.tools/share/doc/ghc-8.10.4/html/libraries' 'v' Installing library in /home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4/libiserv-8.10.4 "utils/ghc-cabal/dist-install/build/tmp/ghc-cabal-bindist" copy compiler stage2 "strip" '' '/home/pbulk/build/lang/ghc90/work/.tools' '/home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4' '/home/pbulk/build/lang/ghc90/work/.tools/share/doc/ghc-8.10.4/html/libraries' 'v' Installing library in /home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4/ghc-8.10.4 "/home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4/bin/ghc-pkg" --force --global-package-db "/home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4/package.conf.d" update rts/dist/package.conf.install Reading package info from "rts/dist/package.conf.install" ... done. "utils/ghc-cabal/dist-install/build/tmp/ghc-cabal-bindist" register libraries/ghc-prim dist-install "/home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4/bin/ghc" "/home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4/bin/ghc-pkg" "/home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4" '' '/home/pbulk/build/lang/ghc90/work/.tools' '/home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4' '/home/pbulk/build/lang/ghc90/work/.tools/share/doc/ghc-8.10.4/html/libraries' NO Registering library for ghc-prim-0.6.1.. "utils/ghc-cabal/dist-install/build/tmp/ghc-cabal-bindist" register libraries/integer-simple dist-install "/home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4/bin/ghc" "/home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4/bin/ghc-pkg" "/home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4" '' '/home/pbulk/build/lang/ghc90/work/.tools' '/home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4' '/home/pbulk/build/lang/ghc90/work/.tools/share/doc/ghc-8.10.4/html/libraries' NO Registering library for integer-simple-0.1.2.0.. "utils/ghc-cabal/dist-install/build/tmp/ghc-cabal-bindist" register libraries/base dist-install "/home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4/bin/ghc" "/home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4/bin/ghc-pkg" "/home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4" '' '/home/pbulk/build/lang/ghc90/work/.tools' '/home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4' '/home/pbulk/build/lang/ghc90/work/.tools/share/doc/ghc-8.10.4/html/libraries' NO Registering library for base-4.14.1.0.. "utils/ghc-cabal/dist-install/build/tmp/ghc-cabal-bindist" register libraries/filepath dist-install "/home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4/bin/ghc" "/home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4/bin/ghc-pkg" "/home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4" '' '/home/pbulk/build/lang/ghc90/work/.tools' '/home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4' '/home/pbulk/build/lang/ghc90/work/.tools/share/doc/ghc-8.10.4/html/libraries' NO Registering library for filepath-1.4.2.1.. "utils/ghc-cabal/dist-install/build/tmp/ghc-cabal-bindist" register libraries/array dist-install "/home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4/bin/ghc" "/home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4/bin/ghc-pkg" "/home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4" '' '/home/pbulk/build/lang/ghc90/work/.tools' '/home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4' '/home/pbulk/build/lang/ghc90/work/.tools/share/doc/ghc-8.10.4/html/libraries' NO Registering library for array-0.5.4.0.. "utils/ghc-cabal/dist-install/build/tmp/ghc-cabal-bindist" register libraries/deepseq dist-install "/home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4/bin/ghc" "/home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4/bin/ghc-pkg" "/home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4" '' '/home/pbulk/build/lang/ghc90/work/.tools' '/home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4' '/home/pbulk/build/lang/ghc90/work/.tools/share/doc/ghc-8.10.4/html/libraries' NO Registering library for deepseq-1.4.4.0.. "utils/ghc-cabal/dist-install/build/tmp/ghc-cabal-bindist" register libraries/bytestring dist-install "/home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4/bin/ghc" "/home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4/bin/ghc-pkg" "/home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4" '' '/home/pbulk/build/lang/ghc90/work/.tools' '/home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4' '/home/pbulk/build/lang/ghc90/work/.tools/share/doc/ghc-8.10.4/html/libraries' NO Registering library for bytestring-0.10.12.0.. "utils/ghc-cabal/dist-install/build/tmp/ghc-cabal-bindist" register libraries/containers/containers dist-install "/home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4/bin/ghc" "/home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4/bin/ghc-pkg" "/home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4" '' '/home/pbulk/build/lang/ghc90/work/.tools' '/home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4' '/home/pbulk/build/lang/ghc90/work/.tools/share/doc/ghc-8.10.4/html/libraries' NO Registering library for containers-0.6.2.1.. "utils/ghc-cabal/dist-install/build/tmp/ghc-cabal-bindist" register libraries/time dist-install "/home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4/bin/ghc" "/home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4/bin/ghc-pkg" "/home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4" '' '/home/pbulk/build/lang/ghc90/work/.tools' '/home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4' '/home/pbulk/build/lang/ghc90/work/.tools/share/doc/ghc-8.10.4/html/libraries' NO Registering library for time-1.9.3.. "utils/ghc-cabal/dist-install/build/tmp/ghc-cabal-bindist" register libraries/unix dist-install "/home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4/bin/ghc" "/home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4/bin/ghc-pkg" "/home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4" '' '/home/pbulk/build/lang/ghc90/work/.tools' '/home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4' '/home/pbulk/build/lang/ghc90/work/.tools/share/doc/ghc-8.10.4/html/libraries' NO Registering library for unix-2.7.2.2.. "utils/ghc-cabal/dist-install/build/tmp/ghc-cabal-bindist" register libraries/directory dist-install "/home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4/bin/ghc" "/home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4/bin/ghc-pkg" "/home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4" '' '/home/pbulk/build/lang/ghc90/work/.tools' '/home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4' '/home/pbulk/build/lang/ghc90/work/.tools/share/doc/ghc-8.10.4/html/libraries' NO Registering library for directory-1.3.6.0.. "utils/ghc-cabal/dist-install/build/tmp/ghc-cabal-bindist" register libraries/process dist-install "/home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4/bin/ghc" "/home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4/bin/ghc-pkg" "/home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4" '' '/home/pbulk/build/lang/ghc90/work/.tools' '/home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4' '/home/pbulk/build/lang/ghc90/work/.tools/share/doc/ghc-8.10.4/html/libraries' NO Registering library for process-1.6.9.0.. "utils/ghc-cabal/dist-install/build/tmp/ghc-cabal-bindist" register libraries/hpc dist-install "/home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4/bin/ghc" "/home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4/bin/ghc-pkg" "/home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4" '' '/home/pbulk/build/lang/ghc90/work/.tools' '/home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4' '/home/pbulk/build/lang/ghc90/work/.tools/share/doc/ghc-8.10.4/html/libraries' NO Registering library for hpc-0.6.1.0.. "utils/ghc-cabal/dist-install/build/tmp/ghc-cabal-bindist" register libraries/pretty dist-install "/home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4/bin/ghc" "/home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4/bin/ghc-pkg" "/home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4" '' '/home/pbulk/build/lang/ghc90/work/.tools' '/home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4' '/home/pbulk/build/lang/ghc90/work/.tools/share/doc/ghc-8.10.4/html/libraries' NO Registering library for pretty-1.1.3.6.. "utils/ghc-cabal/dist-install/build/tmp/ghc-cabal-bindist" register libraries/binary dist-install "/home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4/bin/ghc" "/home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4/bin/ghc-pkg" "/home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4" '' '/home/pbulk/build/lang/ghc90/work/.tools' '/home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4' '/home/pbulk/build/lang/ghc90/work/.tools/share/doc/ghc-8.10.4/html/libraries' NO Registering library for binary-0.8.8.0.. "utils/ghc-cabal/dist-install/build/tmp/ghc-cabal-bindist" register libraries/transformers dist-install "/home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4/bin/ghc" "/home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4/bin/ghc-pkg" "/home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4" '' '/home/pbulk/build/lang/ghc90/work/.tools' '/home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4' '/home/pbulk/build/lang/ghc90/work/.tools/share/doc/ghc-8.10.4/html/libraries' NO Registering library for transformers-0.5.6.2.. "utils/ghc-cabal/dist-install/build/tmp/ghc-cabal-bindist" register libraries/mtl dist-install "/home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4/bin/ghc" "/home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4/bin/ghc-pkg" "/home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4" '' '/home/pbulk/build/lang/ghc90/work/.tools' '/home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4' '/home/pbulk/build/lang/ghc90/work/.tools/share/doc/ghc-8.10.4/html/libraries' NO Registering library for mtl-2.2.2.. "utils/ghc-cabal/dist-install/build/tmp/ghc-cabal-bindist" register libraries/ghc-boot-th dist-install "/home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4/bin/ghc" "/home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4/bin/ghc-pkg" "/home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4" '' '/home/pbulk/build/lang/ghc90/work/.tools' '/home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4' '/home/pbulk/build/lang/ghc90/work/.tools/share/doc/ghc-8.10.4/html/libraries' NO Registering library for ghc-boot-th-8.10.4.. "utils/ghc-cabal/dist-install/build/tmp/ghc-cabal-bindist" register libraries/ghc-boot dist-install "/home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4/bin/ghc" "/home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4/bin/ghc-pkg" "/home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4" '' '/home/pbulk/build/lang/ghc90/work/.tools' '/home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4' '/home/pbulk/build/lang/ghc90/work/.tools/share/doc/ghc-8.10.4/html/libraries' NO Registering library for ghc-boot-8.10.4.. "utils/ghc-cabal/dist-install/build/tmp/ghc-cabal-bindist" register libraries/template-haskell dist-install "/home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4/bin/ghc" "/home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4/bin/ghc-pkg" "/home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4" '' '/home/pbulk/build/lang/ghc90/work/.tools' '/home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4' '/home/pbulk/build/lang/ghc90/work/.tools/share/doc/ghc-8.10.4/html/libraries' NO Registering library for template-haskell-2.16.0.0.. "utils/ghc-cabal/dist-install/build/tmp/ghc-cabal-bindist" register libraries/text dist-install "/home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4/bin/ghc" "/home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4/bin/ghc-pkg" "/home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4" '' '/home/pbulk/build/lang/ghc90/work/.tools' '/home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4' '/home/pbulk/build/lang/ghc90/work/.tools/share/doc/ghc-8.10.4/html/libraries' NO Registering library for text-1.2.4.1.. "utils/ghc-cabal/dist-install/build/tmp/ghc-cabal-bindist" register libraries/parsec dist-install "/home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4/bin/ghc" "/home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4/bin/ghc-pkg" "/home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4" '' '/home/pbulk/build/lang/ghc90/work/.tools' '/home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4' '/home/pbulk/build/lang/ghc90/work/.tools/share/doc/ghc-8.10.4/html/libraries' NO Registering library for parsec-3.1.14.0.. "utils/ghc-cabal/dist-install/build/tmp/ghc-cabal-bindist" register libraries/Cabal/Cabal dist-install "/home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4/bin/ghc" "/home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4/bin/ghc-pkg" "/home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4" '' '/home/pbulk/build/lang/ghc90/work/.tools' '/home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4' '/home/pbulk/build/lang/ghc90/work/.tools/share/doc/ghc-8.10.4/html/libraries' NO Registering library for Cabal-3.2.1.0.. "utils/ghc-cabal/dist-install/build/tmp/ghc-cabal-bindist" register libraries/ghc-compact dist-install "/home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4/bin/ghc" "/home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4/bin/ghc-pkg" "/home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4" '' '/home/pbulk/build/lang/ghc90/work/.tools' '/home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4' '/home/pbulk/build/lang/ghc90/work/.tools/share/doc/ghc-8.10.4/html/libraries' NO Registering library for ghc-compact-0.1.0.0.. "utils/ghc-cabal/dist-install/build/tmp/ghc-cabal-bindist" register libraries/ghc-heap dist-install "/home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4/bin/ghc" "/home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4/bin/ghc-pkg" "/home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4" '' '/home/pbulk/build/lang/ghc90/work/.tools' '/home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4' '/home/pbulk/build/lang/ghc90/work/.tools/share/doc/ghc-8.10.4/html/libraries' NO Registering library for ghc-heap-8.10.4.. "utils/ghc-cabal/dist-install/build/tmp/ghc-cabal-bindist" register libraries/terminfo dist-install "/home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4/bin/ghc" "/home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4/bin/ghc-pkg" "/home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4" '' '/home/pbulk/build/lang/ghc90/work/.tools' '/home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4' '/home/pbulk/build/lang/ghc90/work/.tools/share/doc/ghc-8.10.4/html/libraries' NO Registering library for terminfo-0.4.1.4.. "utils/ghc-cabal/dist-install/build/tmp/ghc-cabal-bindist" register libraries/stm dist-install "/home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4/bin/ghc" "/home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4/bin/ghc-pkg" "/home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4" '' '/home/pbulk/build/lang/ghc90/work/.tools' '/home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4' '/home/pbulk/build/lang/ghc90/work/.tools/share/doc/ghc-8.10.4/html/libraries' NO Registering library for stm-2.5.0.0.. "utils/ghc-cabal/dist-install/build/tmp/ghc-cabal-bindist" register libraries/exceptions dist-install "/home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4/bin/ghc" "/home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4/bin/ghc-pkg" "/home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4" '' '/home/pbulk/build/lang/ghc90/work/.tools' '/home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4' '/home/pbulk/build/lang/ghc90/work/.tools/share/doc/ghc-8.10.4/html/libraries' NO Registering library for exceptions-0.10.4.. "utils/ghc-cabal/dist-install/build/tmp/ghc-cabal-bindist" register libraries/haskeline dist-install "/home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4/bin/ghc" "/home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4/bin/ghc-pkg" "/home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4" '' '/home/pbulk/build/lang/ghc90/work/.tools' '/home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4' '/home/pbulk/build/lang/ghc90/work/.tools/share/doc/ghc-8.10.4/html/libraries' NO Registering library for haskeline-0.8.0.1.. "utils/ghc-cabal/dist-install/build/tmp/ghc-cabal-bindist" register libraries/ghci dist-install "/home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4/bin/ghc" "/home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4/bin/ghc-pkg" "/home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4" '' '/home/pbulk/build/lang/ghc90/work/.tools' '/home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4' '/home/pbulk/build/lang/ghc90/work/.tools/share/doc/ghc-8.10.4/html/libraries' NO Registering library for ghci-8.10.4.. "utils/ghc-cabal/dist-install/build/tmp/ghc-cabal-bindist" register libraries/libiserv dist-install "/home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4/bin/ghc" "/home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4/bin/ghc-pkg" "/home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4" '' '/home/pbulk/build/lang/ghc90/work/.tools' '/home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4' '/home/pbulk/build/lang/ghc90/work/.tools/share/doc/ghc-8.10.4/html/libraries' NO Registering library for libiserv-8.10.4.. "utils/ghc-cabal/dist-install/build/tmp/ghc-cabal-bindist" register compiler stage2 "/home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4/bin/ghc" "/home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4/bin/ghc-pkg" "/home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4" '' '/home/pbulk/build/lang/ghc90/work/.tools' '/home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4' '/home/pbulk/build/lang/ghc90/work/.tools/share/doc/ghc-8.10.4/html/libraries' NO Registering library for ghc-8.10.4.. for f in '/home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4/package.conf.d'/*; do create () { touch "$1" && chmod 644 "$1" ; } && create "$f"; done "/home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4/bin/ghc-pkg" --global-package-db "/home/pbulk/build/lang/ghc90/work/.tools/lib/ghc-8.10.4/package.conf.d" recache /home/pbulk/build/lang/ghc90/work/.tools/bin/install -c -m 755 -d "/home/pbulk/build/lang/ghc90/work/.tools/bin" => 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/ghc90/work/.tools/bin/find checking for sort... /home/pbulk/build/lang/ghc90/work/.tools/bin/sort checking for GHC Git commit id... given 6554ff2843d53dddeb875cb145ab892725eac54c checking for ghc... /home/pbulk/build/lang/ghc90/work/.tools/bin/ghc checking version of ghc... 8.10.4 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 GHC build : x86_64-unknown-solaris2 GHC host : x86_64-unknown-solaris2 GHC target : x86_64-unknown-solaris2 LLVM target: x86_64-unknown-solaris2 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/ghc90/work/ghc-9.0.2 checking for -windres... no checking for windres... no checking for -dllwrap... no checking for dllwrap... no checking for -objdump... no checking for objdump... objdump 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 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 sys/time.h... yes checking for vfork.h... no checking whether it is safe to define __EXTENSIONS__... yes checking whether _XOPEN_SOURCE should be defined... no 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 -nm... no checking for nm... nm checking for ranlib... ranlib checking for -strip... no checking for strip... strip checking for -libtool... (cached) libtool 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 9 to 13 (no version found). no configure: We only support llvm 9 to 13 (no version found). 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 cp: driver/utils/getLocation.c and driver/ghci//getLocation.c are identical cp: driver/utils/getLocation.h and driver/ghci//getLocation.h are identical cp: driver/utils/isMinTTY.c and driver/ghci//isMinTTY.c are identical cp: driver/utils/isMinTTY.h and driver/ghci//isMinTTY.h are identical cp: driver/utils/cwrapper.c and driver/ghci//cwrapper.c are identical cp: driver/utils/cwrapper.h and driver/ghci//cwrapper.h are identical configure: done. checking whether #! works in shell scripts... yes checking version of gcc... checking version of gcc... 13.3.0 13.3.0 checking whether GCC supports -no-pie... yes checking whether GCC supports __atomic_ builtins... yes checking for extra options to pass gcc when compiling via C... 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 CC supports --target... gcc: error: unrecognized command-line option '--target=x86_64-unknown-solaris2' no 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 for -ar... (cached) ar checking whether ar is GNU ar... no checking for ar arguments... qcls checking whether ar supports @file... no checking for ranlib... (cached) ranlib checking whether ln -s works... yes checking for gsed... no checking for sed... /home/pbulk/build/lang/ghc90/work/.tools/bin/sed checking for time... /usr/bin/time checking for gnutar... no checking for gtar... /home/pbulk/build/lang/ghc90/work/.tools/bin/gtar checking for bzip2... /usr/bin/bzip2 checking for gzip... /home/pbulk/build/lang/ghc90/work/.tools/bin/gzip checking for pxz... no checking for xz... /home/pbulk/build/lang/ghc90/work/.tools/bin/xz checking for gpatch... no checking for patch... /home/pbulk/build/lang/ghc90/work/.tools/bin/patch checking for autoreconf... /home/pbulk/build/lang/ghc90/work/.tools/bin/autoreconf checking for dtrace... /usr/sbin/dtrace checking for HsColour... 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 makeinfo... /home/pbulk/build/lang/ghc90/work/.tools/bin/makeinfo checking for python3... no checking for ghc-pkg matching /home/pbulk/build/lang/ghc90/work/.tools/bin/ghc... /home/pbulk/build/lang/ghc90/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 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... (cached) 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 time.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 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 whether ctime_r is declared... yes 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 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 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_set_name_np... no checking for sys/eventfd.h... yes checking for eventfd... 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... checking for numa.h... no checking for numaif.h... no configure: creating ./config.status config.status: creating hadrian/cfg/system.config config.status: creating hadrian/ghci-cabal config.status: creating hadrian/ghci-stack config.status: creating mk/config.mk config.status: creating mk/install.mk config.status: creating mk/project.mk config.status: creating rts/rts.cabal config.status: creating compiler/ghc.cabal config.status: creating ghc/ghc-bin.cabal config.status: creating utils/runghc/runghc.cabal config.status: creating driver/ghci/ghci-wrapper.cabal config.status: creating utils/iserv/iserv.cabal config.status: creating utils/iserv-proxy/iserv-proxy.cabal config.status: creating utils/ghc-pkg/ghc-pkg.cabal config.status: creating utils/remote-iserv/remote-iserv.cabal config.status: creating utils/gen-dll/gen-dll.cabal config.status: creating libraries/ghc-boot/ghc-boot.cabal config.status: creating libraries/ghc-boot-th/ghc-boot-th.cabal config.status: creating libraries/ghci/ghci.cabal config.status: creating libraries/ghc-heap/ghc-heap.cabal config.status: creating libraries/libiserv/libiserv.cabal config.status: creating libraries/template-haskell/template-haskell.cabal config.status: creating docs/users_guide/ghc_config.py config.status: creating docs/index.html config.status: creating libraries/prologue.txt config.status: creating distrib/configure.ac config.status: creating mk/config.h configure: WARNING: unrecognized options: --with-libiconv-prefix ---------------------------------------------------------------------- Configure completed successfully. Building GHC version : 9.0.2 Git commit id : 6554ff2843d53dddeb875cb145ab892725eac54c Build platform : x86_64-unknown-solaris2 Host platform : x86_64-unknown-solaris2 Target platform : x86_64-unknown-solaris2 Bootstrapping using : /home/pbulk/build/lang/ghc90/work/.tools/bin/ghc which is version : 8.10.4 with threaded RTS? : NO Using (for bootstrapping) : gcc Using gcc : gcc which is version : 13.3.0 linker options : Building a cross compiler : NO Unregisterised : NO TablesNextToCode : YES Build GMP in tree : NO hs-cpp : gcc hs-cpp-flags : -E -undef -traditional ar : ar ld : ld nm : nm libtool : libtool objdump : objdump ranlib : ranlib otool : install_name_tool : windres : dllwrap : genlib : Happy : () Alex : () sphinx-build : xelatex : makeinfo : /home/pbulk/build/lang/ghc90/work/.tools/bin/makeinfo Using LLVM tools clang : false llc : 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