+ 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.2nb2/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/ghc-9.0.2nb2/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 => 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.2nb2 ========================================================================== 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.2nb2. 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 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.71nb2 => Tool dependency gmake>=3.81: found gmake-4.3nb4 => Tool dependency cwrappers>=20150314: found cwrappers-20220403 => Tool dependency checkperms>=1.1: found checkperms-1.12 => Build dependency libiconv>=1.9.1: found libiconv-1.14nb3 => Build dependency ncurses>=6.0: found ncurses-6.3nb1 => Full dependency libiconv>=1.9.1nb4: found libiconv-1.14nb3 => Full dependency libffi>=3.4.2nb3: found libffi-3.4.3 => Full dependency gmp>=5.0.1: found gmp-6.2.1nb3 => Full dependency ncurses>=6.3nb1: found ncurses-6.3nb1 ===> Overriding tools for ghc-9.0.2nb2 ===> Extracting for ghc-9.0.2nb2 ===> Patching for ghc-9.0.2nb2 => Applying pkgsrc patches for ghc-9.0.2nb2 => 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 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.2nb2 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:1659: 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:1659: 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:1659: 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:1659: 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:743: 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:2997: AC_TRY_RUN is expanded from... lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:699: 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.2nb2 ===> Configuring for ghc-9.0.2nb2 ===> Extracting bootstrapping compiler for ghc-9.0.2nb2 /usr/bin/gtar: ghc-8.10.4-boot/ghc/stage2/build/tmp/ghc-stage2: Cannot write: Disc quota exceeded /usr/bin/gtar: Exiting with failure status due to previous errors *** Error code 2 Stop. bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/ghc90 *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/ghc90