+ case "${usergroup_phase}" in
+ local run_cmd
+ run_cmd=run_su
+ shift
+ run_su /opt/local/bin/bmake stage-install BATCH=1 DEPENDS_TARGET=/nonexistent PYTHON_VERSION_REQD=312 WRKLOG=/tmp/bulklog/ghc-9.8.2nb1/work.log
+ su pbulk -c '"$@"' make /opt/local/bin/bmake stage-install BATCH=1 DEPENDS_TARGET=/nonexistent PYTHON_VERSION_REQD=312 WRKLOG=/tmp/bulklog/ghc-9.8.2nb1/work.log
===> Installing for ghc-9.8.2nb1
=> Generating pre-install file lists
=> Creating installation directories
# binary-dist-dir
# _build/stage1/lib/bin/ghc-iserv-prof
# _build/stage1/lib/bin/ghc-iserv
# _build/stage1/lib/x86_64-solaris-ghc-9.8.2/unix-2.8.4.0-inplace/libHSunix-2.8.4.0-inplace_p.a
# _build/stage1/lib/x86_64-solaris-ghc-9.8.2/binary-0.8.9.1-inplace/libHSbinary-0.8.9.1-inplace.a
# _build/stage1/lib/x86_64-solaris-ghc-9.8.2/ghc-heap-9.8.2-inplace/libHSghc-heap-9.8.2-inplace.a
# _build/stage1/lib/x86_64-solaris-ghc-9.8.2/transformers-0.6.1.0-inplace/libHStransformers-0.6.1.0-inplace.a
# _build/stage1/lib/x86_64-solaris-ghc-9.8.2/ghc-prim-0.11.0-inplace/libHSghc-prim-0.11.0-inplace.a
# _build/stage1/lib/x86_64-solaris-ghc-9.8.2/deepseq-1.5.0.0-inplace/libHSdeepseq-1.5.0.0-inplace.a
# _build/stage1/lib/x86_64-solaris-ghc-9.8.2/template-haskell-2.21.0.0-inplace/libHStemplate-haskell-2.21.0.0-inplace_p.a
# _build/stage1/lib/x86_64-solaris-ghc-9.8.2/filepath-1.4.200.1-inplace/libHSfilepath-1.4.200.1-inplace.a
# _build/stage1/lib/x86_64-solaris-ghc-9.8.2/mtl-2.3.1-inplace/libHSmtl-2.3.1-inplace.a
# _build/stage1/lib/x86_64-solaris-ghc-9.8.2/stm-2.5.2.1-inplace/libHSstm-2.5.2.1-inplace.a
# _build/stage1/lib/x86_64-solaris-ghc-9.8.2/bytestring-0.12.1.0-inplace/libHSbytestring-0.12.1.0-inplace_p.a
# _build/stage1/lib/x86_64-solaris-ghc-9.8.2/ghc-boot-9.8.2-inplace/libHSghc-boot-9.8.2-inplace_p.a
# _build/stage1/lib/x86_64-solaris-ghc-9.8.2/array-0.5.6.0-inplace/libHSarray-0.5.6.0-inplace.a
# _build/stage1/lib/x86_64-solaris-ghc-9.8.2/bytestring-0.12.1.0-inplace/libHSbytestring-0.12.1.0-inplace.a
# _build/stage1/lib/x86_64-solaris-ghc-9.8.2/base-4.19.1.0-inplace/libHSbase-4.19.1.0-inplace_p.a
# _build/stage1/lib/x86_64-solaris-ghc-9.8.2/unix-2.8.4.0-inplace/libHSunix-2.8.4.0-inplace.a
# _build/stage1/lib/x86_64-solaris-ghc-9.8.2/template-haskell-2.21.0.0-inplace/libHStemplate-haskell-2.21.0.0-inplace.a
# _build/stage1/lib/x86_64-solaris-ghc-9.8.2/base-4.19.1.0-inplace/libHSbase-4.19.1.0-inplace.a
# _build/stage1/lib/x86_64-solaris-ghc-9.8.2/stm-2.5.2.1-inplace/libHSstm-2.5.2.1-inplace_p.a
# _build/stage1/lib/x86_64-solaris-ghc-9.8.2/filepath-1.4.200.1-inplace/libHSfilepath-1.4.200.1-inplace_p.a
# _build/stage1/lib/x86_64-solaris-ghc-9.8.2/time-1.12.2-inplace/libHStime-1.12.2-inplace.a
# _build/stage1/lib/x86_64-solaris-ghc-9.8.2/pretty-1.1.3.6-inplace/libHSpretty-1.1.3.6-inplace_p.a
# _build/stage1/lib/x86_64-solaris-ghc-9.8.2/deepseq-1.5.0.0-inplace/libHSdeepseq-1.5.0.0-inplace_p.a
# _build/stage1/lib/x86_64-solaris-ghc-9.8.2/array-0.5.6.0-inplace/libHSarray-0.5.6.0-inplace_p.a
# _build/stage1/lib/x86_64-solaris-ghc-9.8.2/ghc-bignum-1.3-inplace/libHSghc-bignum-1.3-inplace_p.a
# _build/stage1/lib/x86_64-solaris-ghc-9.8.2/containers-0.6.8-inplace/libHScontainers-0.6.8-inplace_p.a
# _build/stage1/lib/x86_64-solaris-ghc-9.8.2/directory-1.3.8.1-inplace/libHSdirectory-1.3.8.1-inplace_p.a
# _build/stage1/lib/x86_64-solaris-ghc-9.8.2/directory-1.3.8.1-inplace/libHSdirectory-1.3.8.1-inplace.a
# _build/stage1/lib/x86_64-solaris-ghc-9.8.2/ghc-heap-9.8.2-inplace/libHSghc-heap-9.8.2-inplace_p.a
# _build/stage1/lib/x86_64-solaris-ghc-9.8.2/ghc-boot-th-9.8.2-inplace/libHSghc-boot-th-9.8.2-inplace.a
# _build/stage1/lib/x86_64-solaris-ghc-9.8.2/transformers-0.6.1.0-inplace/libHStransformers-0.6.1.0-inplace_p.a
# _build/stage1/lib/x86_64-solaris-ghc-9.8.2/ghc-bignum-1.3-inplace/libHSghc-bignum-1.3-inplace.a
# _build/stage1/lib/x86_64-solaris-ghc-9.8.2/mtl-2.3.1-inplace/libHSmtl-2.3.1-inplace_p.a
# _build/stage1/lib/x86_64-solaris-ghc-9.8.2/containers-0.6.8-inplace/libHScontainers-0.6.8-inplace.a
# _build/stage1/lib/x86_64-solaris-ghc-9.8.2/rts-1.0.2/libHSrts-1.0.2_p.a
# _build/stage1/lib/x86_64-solaris-ghc-9.8.2/ghci-9.8.2-inplace/libHSghci-9.8.2-inplace.a
# _build/stage1/lib/x86_64-solaris-ghc-9.8.2/binary-0.8.9.1-inplace/libHSbinary-0.8.9.1-inplace_p.a
# _build/stage1/lib/x86_64-solaris-ghc-9.8.2/ghci-9.8.2-inplace/libHSghci-9.8.2-inplace_p.a
# _build/stage1/lib/x86_64-solaris-ghc-9.8.2/ghc-boot-9.8.2-inplace/libHSghc-boot-9.8.2-inplace.a
# _build/stage1/lib/x86_64-solaris-ghc-9.8.2/exceptions-0.10.7-inplace/libHSexceptions-0.10.7-inplace_p.a
# _build/stage1/lib/x86_64-solaris-ghc-9.8.2/rts-1.0.2/libHSrts-1.0.2.a
# _build/stage1/lib/x86_64-solaris-ghc-9.8.2/pretty-1.1.3.6-inplace/libHSpretty-1.1.3.6-inplace.a
# _build/stage1/lib/x86_64-solaris-ghc-9.8.2/ghc-prim-0.11.0-inplace/libHSghc-prim-0.11.0-inplace_p.a
# _build/stage1/lib/x86_64-solaris-ghc-9.8.2/ghc-boot-th-9.8.2-inplace/libHSghc-boot-th-9.8.2-inplace_p.a
# _build/stage1/lib/x86_64-solaris-ghc-9.8.2/exceptions-0.10.7-inplace/libHSexceptions-0.10.7-inplace.a
# _build/stage1/lib/x86_64-solaris-ghc-9.8.2/time-1.12.2-inplace/libHStime-1.12.2-inplace_p.a
| ContextData oracle: resolving data for 'iserv' (Stage1, p)...
# _build/stage1/utils/iserv/build/c/cbits/iservmain.o
| Run Cc (FindCDependencies CDep) Stage1: utils/iserv/cbits/iservmain.c => _build/stage1/utils/iserv/build/c/cbits/iservmain.o.d
# _build/stage1/utils/iserv/build/Main.p_o
# _build/stage1/utils/iserv/build/c/cbits/iservmain.p_o
| ContextData oracle: resolving data for 'iserv' (Stage1, p)...
| Run Cc (FindCDependencies CDep) Stage1: utils/iserv/cbits/iservmain.c => _build/stage1/utils/iserv/build/c/cbits/iservmain.p_o.d
# _build/stage1/utils/iserv/build/Main.p_o _build/stage1/utils/iserv/build/Main.p_hi
| KeyValues oracle: reading '_build/stage1/utils/iserv/.dependencies'...
# _build/stage1/libraries/ghci/build/GHCi/Server.p_hi
| Run Ghc CompileHs Stage1: utils/iserv/src/Main.hs => _build/stage1/utils/iserv/build/Main.p_o
| Run Ghc CompileCWithGhc Stage1: utils/iserv/cbits/iservmain.c => _build/stage1/utils/iserv/build/c/cbits/iservmain.o
| Run Ghc CompileCWithGhc Stage1: utils/iserv/cbits/iservmain.c => _build/stage1/utils/iserv/build/c/cbits/iservmain.p_o
<command-line>: warning: "__STDC_NO_ATOMICS__" redefined
<command-line>: note: this is the location of the previous definition
<command-line>: warning: "__STDC_NO_ATOMICS__" redefined
<command-line>: note: this is the location of the previous definition
<command-line>: warning: "__STDC_NO_ATOMICS__" redefined
<command-line>: note: this is the location of the previous definition
<command-line>: warning: "__STDC_NO_ATOMICS__" redefined
<command-line>: note: this is the location of the previous definition
| Run Ghc LinkHs Stage1: _build/stage1/utils/iserv/build/c/cbits/iservmain.o (and 1 more) => _build/stage1/lib/bin/ghc-iserv
<command-line>: warning: "__STDC_NO_ATOMICS__" redefined
<command-line>: note: this is the location of the previous definition
| Run Ghc LinkHs Stage1: _build/stage1/utils/iserv/build/c/cbits/iservmain.p_o (and 1 more) => _build/stage1/lib/bin/ghc-iserv-prof
/-------------------------------------------------------------------------------\
| Successfully built program 'iserv' (Stage1).                                  |
| Executable: _build/stage1/lib/bin/ghc-iserv                                   |
| Program synopsis: iserv allows GHC to delegate Template Haskell computations. |
\-------------------------------------------------------------------------------/
/-------------------------------------------------------------------------------\
| Successfully built program 'iserv' (Stage1).                                  |
| Executable: _build/stage1/lib/bin/ghc-iserv-prof                              |
| Program synopsis: iserv allows GHC to delegate Template Haskell computations. |
\-------------------------------------------------------------------------------/
| Create directory _build/bindist/ghc-9.8.2-boot-x86_64-unknown-solaris2
| Create directory _build/bindist/ghc-9.8.2-boot-x86_64-unknown-solaris2/bin
| Create directory _build/bindist/ghc-9.8.2-boot-x86_64-unknown-solaris2/lib
| Copy file: _build/stage1/bin/ghc => _build/bindist/ghc-9.8.2-boot-x86_64-unknown-solaris2/bin/ghc-9.8.2
| Copy file: _build/stage1/bin/ghc-pkg => _build/bindist/ghc-9.8.2-boot-x86_64-unknown-solaris2/bin/ghc-pkg-9.8.2
| Copy file: _build/stage1/bin/hp2ps => _build/bindist/ghc-9.8.2-boot-x86_64-unknown-solaris2/bin/hp2ps-ghc-9.8.2
| Copy file: _build/stage1/bin/hsc2hs => _build/bindist/ghc-9.8.2-boot-x86_64-unknown-solaris2/bin/hsc2hs-ghc-9.8.2
| Copy file: _build/stage1/lib/bin/unlit => _build/bindist/ghc-9.8.2-boot-x86_64-unknown-solaris2/bin/unlit-ghc-9.8.2
| Copy file: _build/stage1/bin/haddock => _build/bindist/ghc-9.8.2-boot-x86_64-unknown-solaris2/bin/haddock-ghc-9.8.2
| Copy file: _build/stage1/bin/hpc => _build/bindist/ghc-9.8.2-boot-x86_64-unknown-solaris2/bin/hpc-ghc-9.8.2
| Copy file: _build/stage1/lib/bin/ghc-iserv-dyn => _build/bindist/ghc-9.8.2-boot-x86_64-unknown-solaris2/bin/ghc-iserv-dyn-ghc-9.8.2
| Copy file: _build/stage1/bin/runghc => _build/bindist/ghc-9.8.2-boot-x86_64-unknown-solaris2/bin/runghc-9.8.2
| Copy file: _build/stage1/lib/bin/ghc-iserv => _build/bindist/ghc-9.8.2-boot-x86_64-unknown-solaris2/bin/ghc-iserv-ghc-9.8.2
| Copy file: _build/stage1/lib/bin/ghc-iserv-prof => _build/bindist/ghc-9.8.2-boot-x86_64-unknown-solaris2/bin/ghc-iserv-prof-ghc-9.8.2
| Copy file: _build/stage1/lib/bin/ghc-iserv-dyn => _build/bindist/ghc-9.8.2-boot-x86_64-unknown-solaris2/bin/ghc-iserv-dyn-ghc-9.8.2
| Copy directory: _build/stage1/lib => _build/bindist/ghc-9.8.2-boot-x86_64-unknown-solaris2
| Copy directory: _build/stage1/lib/x86_64-solaris-ghc-9.8.2/rts-1.0.2/include => _build/bindist/ghc-9.8.2-boot-x86_64-unknown-solaris2
| Remove file _build/bindist/ghc-9.8.2-boot-x86_64-unknown-solaris2/lib/settings
# docs
| Copy directory: _build/doc => _build/bindist/ghc-9.8.2-boot-x86_64-unknown-solaris2
| Copy file: libraries/prologue.txt => _build/bindist/ghc-9.8.2-boot-x86_64-unknown-solaris2/docs-utils/prologue.txt
# libraries/gen_contents_index
| Copy file: libraries/gen_contents_index => _build/bindist/ghc-9.8.2-boot-x86_64-unknown-solaris2/docs-utils/gen_contents_index
| Copy directory: _build/stage1/share => _build/bindist/ghc-9.8.2-boot-x86_64-unknown-solaris2
| Copy directory: utils/completion => _build/bindist/ghc-9.8.2-boot-x86_64-unknown-solaris2
# hadrian/bindist/config.mk.in
# _build/bindist/ghc-9.8.2-boot-x86_64-unknown-solaris2/INSTALL
# _build/bindist/ghc-9.8.2-boot-x86_64-unknown-solaris2/config.guess
# _build/bindist/ghc-9.8.2-boot-x86_64-unknown-solaris2/config.sub
# /home/pbulk/build-disk/lang/ghc98/work/ghc-9.8.2/distrib/INSTALL
# _build/bindist/ghc-9.8.2-boot-x86_64-unknown-solaris2/configure
# /home/pbulk/build-disk/lang/ghc98/work/ghc-9.8.2/config.sub
| Copy file: /home/pbulk/build-disk/lang/ghc98/work/ghc-9.8.2/distrib/INSTALL => _build/bindist/ghc-9.8.2-boot-x86_64-unknown-solaris2/INSTALL
| Copy file: /home/pbulk/build-disk/lang/ghc98/work/ghc-9.8.2/config.sub => _build/bindist/ghc-9.8.2-boot-x86_64-unknown-solaris2/config.sub
# _build/bindist/ghc-9.8.2-boot-x86_64-unknown-solaris2/README
# /home/pbulk/build-disk/lang/ghc98/work/ghc-9.8.2/aclocal.m4
# /home/pbulk/build-disk/lang/ghc98/work/ghc-9.8.2/config.guess
| Copy file: /home/pbulk/build-disk/lang/ghc98/work/ghc-9.8.2/aclocal.m4 => /home/pbulk/build-disk/lang/ghc98/work/ghc-9.8.2/distrib/aclocal.m4
| Copy file: /home/pbulk/build-disk/lang/ghc98/work/ghc-9.8.2/config.guess => _build/bindist/ghc-9.8.2-boot-x86_64-unknown-solaris2/config.guess
| Copy directory: /home/pbulk/build-disk/lang/ghc98/work/ghc-9.8.2/m4 => /home/pbulk/build-disk/lang/ghc98/work/ghc-9.8.2/distrib
# _build/bindist/ghc-9.8.2-boot-x86_64-unknown-solaris2/mk/project.mk
# /home/pbulk/build-disk/lang/ghc98/work/ghc-9.8.2/mk/project.mk
| Copy file: /home/pbulk/build-disk/lang/ghc98/work/ghc-9.8.2/mk/project.mk => _build/bindist/ghc-9.8.2-boot-x86_64-unknown-solaris2/mk/project.mk
# /home/pbulk/build-disk/lang/ghc98/work/ghc-9.8.2/distrib/README
| Copy file: /home/pbulk/build-disk/lang/ghc98/work/ghc-9.8.2/distrib/README => _build/bindist/ghc-9.8.2-boot-x86_64-unknown-solaris2/README
# _build/bindist/ghc-9.8.2-boot-x86_64-unknown-solaris2/mk/relpath.sh
# /home/pbulk/build-disk/lang/ghc98/work/ghc-9.8.2/mk/relpath.sh
| Copy file: /home/pbulk/build-disk/lang/ghc98/work/ghc-9.8.2/mk/relpath.sh => _build/bindist/ghc-9.8.2-boot-x86_64-unknown-solaris2/mk/relpath.sh
# _build/bindist/ghc-9.8.2-boot-x86_64-unknown-solaris2/install-sh
# /home/pbulk/build-disk/lang/ghc98/work/ghc-9.8.2/install-sh
| Copy file: /home/pbulk/build-disk/lang/ghc98/work/ghc-9.8.2/install-sh => _build/bindist/ghc-9.8.2-boot-x86_64-unknown-solaris2/install-sh
# _build/bindist/ghc-9.8.2-boot-x86_64-unknown-solaris2/mk/system-cxx-std-lib-1.0.conf.in
# /home/pbulk/build-disk/lang/ghc98/work/ghc-9.8.2/mk/system-cxx-std-lib-1.0.conf.in
| Copy file: /home/pbulk/build-disk/lang/ghc98/work/ghc-9.8.2/mk/system-cxx-std-lib-1.0.conf.in => _build/bindist/ghc-9.8.2-boot-x86_64-unknown-solaris2/mk/system-cxx-std-lib-1.0.conf.in
# _build/bindist/ghc-9.8.2-boot-x86_64-unknown-solaris2/mk/install_script.sh
# /home/pbulk/build-disk/lang/ghc98/work/ghc-9.8.2/mk/install_script.sh
| Copy file: /home/pbulk/build-disk/lang/ghc98/work/ghc-9.8.2/mk/install_script.sh => _build/bindist/ghc-9.8.2-boot-x86_64-unknown-solaris2/mk/install_script.sh
# _build/bindist/ghc-9.8.2-boot-x86_64-unknown-solaris2/mk/hsc2hs.in
# /home/pbulk/build-disk/lang/ghc98/work/ghc-9.8.2/mk/hsc2hs.in
| Copy file: /home/pbulk/build-disk/lang/ghc98/work/ghc-9.8.2/mk/hsc2hs.in => _build/bindist/ghc-9.8.2-boot-x86_64-unknown-solaris2/mk/hsc2hs.in
# _build/bindist/ghc-9.8.2-boot-x86_64-unknown-solaris2/Makefile
# /home/pbulk/build-disk/lang/ghc98/work/ghc-9.8.2/hadrian/bindist/Makefile
| Copy file: /home/pbulk/build-disk/lang/ghc98/work/ghc-9.8.2/hadrian/bindist/Makefile => _build/bindist/ghc-9.8.2-boot-x86_64-unknown-solaris2/Makefile
| KeyValue oracle: reading 'hadrian/cfg/system.config'...
# /home/pbulk/build-disk/lang/ghc98/work/ghc-9.8.2/distrib/configure.ac
# /home/pbulk/build-disk/lang/ghc98/work/.tools/bin/autoreconf
| Run Autoreconf "/home/pbulk/build-disk/lang/ghc98/work/ghc-9.8.2/distrib": none => none
WARNING: 'aclocal' is missing on your system.  You should only need it if
         you modified 'acinclude.m4' or 'configure.ac'.  You might want
         to install the Automake and Perl packages.  Grab them from
         any GNU archive site.
configure.ac:115: warning: The macro 'AC_PROG_CC_C99' is obsolete.
configure.ac:115: You should run autoupdate.
./lib/autoconf/c.m4:1662: AC_PROG_CC_C99 is expanded from...
m4/fp_set_cflags_c99.m4:7: FP_SET_CFLAGS_C99 is expanded from...
configure.ac:115: the top level
configure.ac:117: warning: The macro 'AC_PROG_CC_C99' is obsolete.
configure.ac:117: You should run autoupdate.
./lib/autoconf/c.m4:1662: AC_PROG_CC_C99 is expanded from...
m4/fp_set_cflags_c99.m4:7: FP_SET_CFLAGS_C99 is expanded from...
configure.ac:117: the top level
configure.ac:118: warning: The macro 'AC_PROG_CC_C99' is obsolete.
configure.ac:118: You should run autoupdate.
./lib/autoconf/c.m4:1662: AC_PROG_CC_C99 is expanded from...
m4/fp_set_cflags_c99.m4:7: FP_SET_CFLAGS_C99 is expanded from...
configure.ac:118: the top level
configure.ac:302: warning: AC_C_BIGENDIAN should be used with AC_CONFIG_HEADERS
| Remove file /home/pbulk/build-disk/lang/ghc98/work/ghc-9.8.2/distrib/aclocal.m4
| Remove directory /home/pbulk/build-disk/lang/ghc98/work/ghc-9.8.2/distrib/m4
| Move file: /home/pbulk/build-disk/lang/ghc98/work/ghc-9.8.2/distrib/configure => _build/bindist/ghc-9.8.2-boot-x86_64-unknown-solaris2/configure
| Copy file: hadrian/bindist/config.mk.in => _build/bindist/ghc-9.8.2-boot-x86_64-unknown-solaris2/config.mk.in
Build completed in 2m28s

configure: WARNING: unrecognized options: --with-curses-libraries, --with-gmp-includes, --with-gmp-libraries, --with-iconv-includes, --with-iconv-libraries, --with-ffi-includes, --with-ffi-libraries, --with-system-libffi, --with-libiconv-prefix
checking build system type... x86_64-pc-solaris2.11
checking host system type... x86_64-pc-solaris2.11
checking target system type... x86_64-pc-solaris2.11
build platform inferred as: x86_64-unknown-solaris2
host platform inferred as: x86_64-unknown-solaris2
target platform inferred as: x86_64-unknown-solaris2
configure: GHC build : x86_64-unknown-solaris2
configure: GHC host : x86_64-unknown-solaris2
configure: GHC target : x86_64-unknown-solaris2
checking for path to top of build tree... /home/pbulk/build-disk/lang/ghc98/work/ghc-9.8.2/_build/bindist/ghc-9.8.2-boot-x86_64-unknown-solaris2
checking for a BSD-compatible install... /home/pbulk/build-disk/lang/ghc98/work/.tools/bin/install -c
checking whether ln -s works... yes
checking for gsed... sed
checking for python3... /opt/local/bin/python3.12
checking for gfind... no
checking for find... /home/pbulk/build-disk/lang/ghc98/work/.tools/bin/find
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether the compiler supports GNU C... yes
checking whether gcc accepts -g... yes
checking for gcc option to enable C11 features... none needed
checking whether the compiler supports GNU C++... yes
checking whether g++ accepts -g... yes
checking for g++ option to enable C++11 features... none needed
checking how to run the C preprocessor... gcc -E
checking for -ld... ld
checking for ld.gold object merging bug (binutils 22266)... ld: Software Generation Utilities - Solaris Link Editors: 5.11-1.1788 (illumos)
checking whether ld is GNU ld... NO
checking whether ld understands -no_compact_unwind... no
checking whether ld understands -filelist... no
checking whether ld supports -single_module... no
checking for -strip... no
checking for strip... strip
checking for gawk... /usr/bin/nawk
no
configure: We only support llvm 11 upto 16 (non-inclusive) (no version found).
no
configure: We only support llvm 11 upto 16 (non-inclusive) (no version found).
checking version of gcc... checking version of gcc... 13.3.0
13.3.0
checking whether CC supports -no-pie... yes
checking whether CC supports flags passed by GHC when compiling via C... yes
checking Setting up CFLAGS, LDFLAGS, IGNORE_LINKER_LD_FLAGS and CPPFLAGS... done
checking Setting up CONF_CC_OPTS_STAGE0, CONF_GCC_LINKER_OPTS_STAGE0, CONF_LD_LINKER_OPTS_STAGE0 and CONF_CPP_OPTS_STAGE0... done
checking Setting up CONF_CC_OPTS_STAGE1, CONF_GCC_LINKER_OPTS_STAGE1, CONF_LD_LINKER_OPTS_STAGE1 and CONF_CPP_OPTS_STAGE1... done
checking Setting up CONF_CC_OPTS_STAGE2, CONF_GCC_LINKER_OPTS_STAGE2, CONF_LD_LINKER_OPTS_STAGE2 and CONF_CPP_OPTS_STAGE2... done
checking whether ld supports response files... no
checking C++ standard library flavour... libstdc++
checking for linkage against 'stdc++'... success
checking for -otool... no
checking for otool... no
checking for -install_name_tool... no
checking for install_name_tool... no
checking for .subsections_via_symbols... no
checking whether your assembler supports .ident directive... yes
checking for GNU non-executable stack support... yes
checking whether gcc supports --target... no
checking whether gcc supports --target... no
checking whether gcc supports -Qunused-arguments... no
checking whether gcc supports -Qunused-arguments... no
checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking size of void *... 8
checking whether byte ordering is bigendian... no
checking for -ar... no
checking for ar... ar
checking whether ar is GNU ar... no
checking for ar arguments... qcls
checking whether ar supports @file... (cached) no
checking whether ar supports -L... ar: archive conftest.a not found
no
checking for ranlib... ranlib
configure: creating ./config.status
config.status: creating mk/system-cxx-std-lib-1.0.conf
config.status: creating config.mk
config.status: creating mk/hsc2hs
configure: WARNING: unrecognized options: --with-curses-libraries, --with-gmp-includes, --with-gmp-libraries, --with-iconv-includes, --with-iconv-libraries, --with-ffi-includes, --with-ffi-libraries, --with-system-libffi, --with-libiconv-prefix
****************************************************
Configuration done, ready to 'make install'
(see README and INSTALL files for more info.)
****************************************************
Copying binaries to /home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/bin
/home/pbulk/build-disk/lang/ghc98/work/.tools/bin/install -c -m 755 -d "/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/bin"
for i in ./bin/ghc ./bin/ghc-9.8.2 ./bin/ghc-iserv ./bin/ghc-iserv-dyn ./bin/ghc-iserv-dyn-ghc-9.8.2 ./bin/ghc-iserv-ghc-9.8.2 ./bin/ghc-iserv-prof ./bin/ghc-iserv-prof-ghc-9.8.2 ./bin/ghc-pkg ./bin/ghc-pkg-9.8.2 ./bin/haddock ./bin/haddock-ghc-9.8.2 ./bin/hp2ps ./bin/hp2ps-ghc-9.8.2 ./bin/hpc ./bin/hpc-ghc-9.8.2 ./bin/hsc2hs ./bin/hsc2hs-ghc-9.8.2 ./bin/runghc ./bin/runghc-9.8.2 ./bin/runhaskell ./bin/runhaskell-9.8.2 ./bin/unlit ./bin/unlit-ghc-9.8.2; do \
	if test -L "$i"; then \
		cp -RP "$i" "/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/bin"; \
	else \
		/home/pbulk/build-disk/lang/ghc98/work/.tools/bin/install -c -m 755 "$i" "/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/bin"; \
	fi; \
done
# Work around #17418 on Darwin
if [ -e "" ]; then \
	"" -c -r "/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/bin"; \
fi
Copying hsc2hs wrapper
cp mk/hsc2hs wrappers/hsc2hs-ghc-9.8.2
Installing wrapper scripts
/home/pbulk/build-disk/lang/ghc98/work/.tools/bin/install -c -m 755 -d "/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/bin"
for p in `cd wrappers; /home/pbulk/build-disk/lang/ghc98/work/.tools/bin/find . ! -type d`; do \
    mk/install_script.sh "$p" "/home/pbulk/build-disk/lang/ghc98/work/.destdir//opt/local/bin/$p" "/opt/local/bin" "/opt/local/lib/ghc-9.8.2/bin" "/opt/local/lib/ghc-9.8.2/bin/$p" "/opt/local/lib/ghc-9.8.2/lib" "/opt/local/share/doc/ghc-9.8.2" "/opt/local/include"; \
done
Installing ./ghc-9.8.2 -> /home/pbulk/build-disk/lang/ghc98/work/.destdir//opt/local/bin/./ghc-9.8.2
Installing ./haddock-ghc-9.8.2 -> /home/pbulk/build-disk/lang/ghc98/work/.destdir//opt/local/bin/./haddock-ghc-9.8.2
Installing ./ghc -> /home/pbulk/build-disk/lang/ghc98/work/.destdir//opt/local/bin/./ghc
Installing ./ghci -> /home/pbulk/build-disk/lang/ghc98/work/.destdir//opt/local/bin/./ghci
Installing ./runhaskell -> /home/pbulk/build-disk/lang/ghc98/work/.destdir//opt/local/bin/./runhaskell
Installing ./ghci-9.8.2 -> /home/pbulk/build-disk/lang/ghc98/work/.destdir//opt/local/bin/./ghci-9.8.2
Installing ./haddock -> /home/pbulk/build-disk/lang/ghc98/work/.destdir//opt/local/bin/./haddock
Installing ./hpc-ghc-9.8.2 -> /home/pbulk/build-disk/lang/ghc98/work/.destdir//opt/local/bin/./hpc-ghc-9.8.2
Installing ./runghc-9.8.2 -> /home/pbulk/build-disk/lang/ghc98/work/.destdir//opt/local/bin/./runghc-9.8.2
Installing ./runghc -> /home/pbulk/build-disk/lang/ghc98/work/.destdir//opt/local/bin/./runghc
Installing ./hp2ps-ghc-9.8.2 -> /home/pbulk/build-disk/lang/ghc98/work/.destdir//opt/local/bin/./hp2ps-ghc-9.8.2
Installing ./hsc2hs-ghc-9.8.2 -> /home/pbulk/build-disk/lang/ghc98/work/.destdir//opt/local/bin/./hsc2hs-ghc-9.8.2
Installing ./ghc-pkg -> /home/pbulk/build-disk/lang/ghc98/work/.destdir//opt/local/bin/./ghc-pkg
Installing ./hp2ps -> /home/pbulk/build-disk/lang/ghc98/work/.destdir//opt/local/bin/./hp2ps
Installing ./runhaskell-9.8.2 -> /home/pbulk/build-disk/lang/ghc98/work/.destdir//opt/local/bin/./runhaskell-9.8.2
Installing ./ghc-pkg-9.8.2 -> /home/pbulk/build-disk/lang/ghc98/work/.destdir//opt/local/bin/./ghc-pkg-9.8.2
Installing ./hsc2hs -> /home/pbulk/build-disk/lang/ghc98/work/.destdir//opt/local/bin/./hsc2hs
Installing ./hpc -> /home/pbulk/build-disk/lang/ghc98/work/.destdir//opt/local/bin/./hpc

Copying libraries to /home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib
/home/pbulk/build-disk/lang/ghc98/work/.tools/bin/install -c -m 755 -d "/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib"
# Work around #17418 on Darwin
if [ -e "" ]; then \
	"" -c -r "/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib"; \
fi
if [ -f manpage/ghc.1 ]; then \
	/home/pbulk/build-disk/lang/ghc98/work/.tools/bin/install -c -m 755 -d "/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/man"; \
	/home/pbulk/build-disk/lang/ghc98/work/.tools/bin/install -c -m 755 -d "/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/man/man1"; \
	/home/pbulk/build-disk/lang/ghc98/work/.tools/bin/install -c -m 644  manpage/ghc.1 "/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/man/man1"; \
fi
Copying docs to /home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/share/doc/ghc-9.8.2
/home/pbulk/build-disk/lang/ghc98/work/.tools/bin/install -c -m 755 -d "/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/share/doc/ghc-9.8.2"
if [ -d doc ]; then \
	cd doc; /home/pbulk/build-disk/lang/ghc98/work/.tools/bin/find . -type f -exec sh -c \
		'/home/pbulk/build-disk/lang/ghc98/work/.tools/bin/install -c -m 755 -d "/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/share/doc/ghc-9.8.2/`dirname $1`" && /home/pbulk/build-disk/lang/ghc98/work/.tools/bin/install -c -m 644 "$1" "/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/share/doc/ghc-9.8.2/`dirname $1`"' \
		sh '{}' ';'; \
fi
if [ -d docs-utils ]; then \
	/home/pbulk/build-disk/lang/ghc98/work/.tools/bin/install -c -m 755 -d "/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/share/doc/ghc-9.8.2/html/libraries/"; \
	/home/pbulk/build-disk/lang/ghc98/work/.tools/bin/install -c -m 644 docs-utils/prologue.txt "/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/share/doc/ghc-9.8.2/html/libraries/"; \
	/home/pbulk/build-disk/lang/ghc98/work/.tools/bin/install -c -m 755 docs-utils/gen_contents_index "/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/share/doc/ghc-9.8.2/html/libraries/"; \
fi
Installing C++ standard library virtual package
/home/pbulk/build-disk/lang/ghc98/work/.tools/bin/install -c -m 644 mk/system-cxx-std-lib-1.0.conf "/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d"
Updating the package DB
# to the doc files.
cat '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/hpc-0.7.0.0-inplace.conf' | sed 's|haddock-interfaces.*|haddock-interfaces: "${pkgroot}/../../../share/doc/ghc-9.8.2/html/libraries/hpc-0.7.0.0-inplace/hpc.haddock"|' | sed 's|haddock-html.*|haddock-html: "${pkgroot}/../../../share/doc/ghc-9.8.2/html/libraries/hpc-0.7.0.0-inplace"|' | sed 's|    ${pkgroot}/../../doc/html/.*||' > '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/hpc-0.7.0.0-inplace.conf.copy'
# The rts package doesn't actually supply haddocks, so we stop advertising them
# altogether.
((echo "hpc" | grep rts) && (cat '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/hpc-0.7.0.0-inplace.conf.copy' | sed 's|haddock-.*||' > '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/hpc-0.7.0.0-inplace.conf.copy.copy')) || (cat '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/hpc-0.7.0.0-inplace.conf.copy' > '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/hpc-0.7.0.0-inplace.conf.copy.copy')
# We finally replace the original file.
mv '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/hpc-0.7.0.0-inplace.conf.copy.copy' '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/hpc-0.7.0.0-inplace.conf'
# Fix the mode, in case umask is set
chmod 644 '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/hpc-0.7.0.0-inplace.conf'  	# to the doc files.
cat '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/text-2.1.1-inplace.conf' | sed 's|haddock-interfaces.*|haddock-interfaces: "${pkgroot}/../../../share/doc/ghc-9.8.2/html/libraries/text-2.1.1-inplace/text.haddock"|' | sed 's|haddock-html.*|haddock-html: "${pkgroot}/../../../share/doc/ghc-9.8.2/html/libraries/text-2.1.1-inplace"|' | sed 's|    ${pkgroot}/../../doc/html/.*||' > '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/text-2.1.1-inplace.conf.copy'
# The rts package doesn't actually supply haddocks, so we stop advertising them
# altogether.
((echo "text" | grep rts) && (cat '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/text-2.1.1-inplace.conf.copy' | sed 's|haddock-.*||' > '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/text-2.1.1-inplace.conf.copy.copy')) || (cat '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/text-2.1.1-inplace.conf.copy' > '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/text-2.1.1-inplace.conf.copy.copy')
# We finally replace the original file.
mv '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/text-2.1.1-inplace.conf.copy.copy' '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/text-2.1.1-inplace.conf'
# Fix the mode, in case umask is set
chmod 644 '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/text-2.1.1-inplace.conf'  	# to the doc files.
cat '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/terminfo-0.4.1.6-inplace.conf' | sed 's|haddock-interfaces.*|haddock-interfaces: "${pkgroot}/../../../share/doc/ghc-9.8.2/html/libraries/terminfo-0.4.1.6-inplace/terminfo.haddock"|' | sed 's|haddock-html.*|haddock-html: "${pkgroot}/../../../share/doc/ghc-9.8.2/html/libraries/terminfo-0.4.1.6-inplace"|' | sed 's|    ${pkgroot}/../../doc/html/.*||' > '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/terminfo-0.4.1.6-inplace.conf.copy'
# The rts package doesn't actually supply haddocks, so we stop advertising them
# altogether.
((echo "terminfo" | grep rts) && (cat '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/terminfo-0.4.1.6-inplace.conf.copy' | sed 's|haddock-.*||' > '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/terminfo-0.4.1.6-inplace.conf.copy.copy')) || (cat '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/terminfo-0.4.1.6-inplace.conf.copy' > '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/terminfo-0.4.1.6-inplace.conf.copy.copy')
# We finally replace the original file.
mv '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/terminfo-0.4.1.6-inplace.conf.copy.copy' '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/terminfo-0.4.1.6-inplace.conf'
# Fix the mode, in case umask is set
chmod 644 '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/terminfo-0.4.1.6-inplace.conf'  	# to the doc files.
cat '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/process-1.6.18.0-inplace.conf' | sed 's|haddock-interfaces.*|haddock-interfaces: "${pkgroot}/../../../share/doc/ghc-9.8.2/html/libraries/process-1.6.18.0-inplace/process.haddock"|' | sed 's|haddock-html.*|haddock-html: "${pkgroot}/../../../share/doc/ghc-9.8.2/html/libraries/process-1.6.18.0-inplace"|' | sed 's|    ${pkgroot}/../../doc/html/.*||' > '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/process-1.6.18.0-inplace.conf.copy'
# The rts package doesn't actually supply haddocks, so we stop advertising them
# altogether.
((echo "process" | grep rts) && (cat '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/process-1.6.18.0-inplace.conf.copy' | sed 's|haddock-.*||' > '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/process-1.6.18.0-inplace.conf.copy.copy')) || (cat '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/process-1.6.18.0-inplace.conf.copy' > '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/process-1.6.18.0-inplace.conf.copy.copy')
# We finally replace the original file.
mv '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/process-1.6.18.0-inplace.conf.copy.copy' '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/process-1.6.18.0-inplace.conf'
# Fix the mode, in case umask is set
chmod 644 '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/process-1.6.18.0-inplace.conf'  	# to the doc files.
cat '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/parsec-3.1.17.0-inplace.conf' | sed 's|haddock-interfaces.*|haddock-interfaces: "${pkgroot}/../../../share/doc/ghc-9.8.2/html/libraries/parsec-3.1.17.0-inplace/parsec.haddock"|' | sed 's|haddock-html.*|haddock-html: "${pkgroot}/../../../share/doc/ghc-9.8.2/html/libraries/parsec-3.1.17.0-inplace"|' | sed 's|    ${pkgroot}/../../doc/html/.*||' > '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/parsec-3.1.17.0-inplace.conf.copy'
# The rts package doesn't actually supply haddocks, so we stop advertising them
# altogether.
((echo "parsec" | grep rts) && (cat '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/parsec-3.1.17.0-inplace.conf.copy' | sed 's|haddock-.*||' > '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/parsec-3.1.17.0-inplace.conf.copy.copy')) || (cat '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/parsec-3.1.17.0-inplace.conf.copy' > '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/parsec-3.1.17.0-inplace.conf.copy.copy')
# We finally replace the original file.
mv '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/parsec-3.1.17.0-inplace.conf.copy.copy' '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/parsec-3.1.17.0-inplace.conf'
# Fix the mode, in case umask is set
chmod 644 '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/parsec-3.1.17.0-inplace.conf'  	# to the doc files.
cat '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/Cabal-syntax-3.10.2.0-inplace.conf' | sed 's|haddock-interfaces.*|haddock-interfaces: "${pkgroot}/../../../share/doc/ghc-9.8.2/html/libraries/Cabal-syntax-3.10.2.0-inplace/Cabal-syntax.haddock"|' | sed 's|haddock-html.*|haddock-html: "${pkgroot}/../../../share/doc/ghc-9.8.2/html/libraries/Cabal-syntax-3.10.2.0-inplace"|' | sed 's|    ${pkgroot}/../../doc/html/.*||' > '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/Cabal-syntax-3.10.2.0-inplace.conf.copy'
# The rts package doesn't actually supply haddocks, so we stop advertising them
# altogether.
((echo "Cabal-syntax" | grep rts) && (cat '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/Cabal-syntax-3.10.2.0-inplace.conf.copy' | sed 's|haddock-.*||' > '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/Cabal-syntax-3.10.2.0-inplace.conf.copy.copy')) || (cat '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/Cabal-syntax-3.10.2.0-inplace.conf.copy' > '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/Cabal-syntax-3.10.2.0-inplace.conf.copy.copy')
# We finally replace the original file.
mv '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/Cabal-syntax-3.10.2.0-inplace.conf.copy.copy' '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/Cabal-syntax-3.10.2.0-inplace.conf'
# Fix the mode, in case umask is set
chmod 644 '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/Cabal-syntax-3.10.2.0-inplace.conf'  	# to the doc files.
cat '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/ghc-boot-th-9.8.2-inplace.conf' | sed 's|haddock-interfaces.*|haddock-interfaces: "${pkgroot}/../../../share/doc/ghc-9.8.2/html/libraries/ghc-boot-th-9.8.2-inplace/ghc-boot-th.haddock"|' | sed 's|haddock-html.*|haddock-html: "${pkgroot}/../../../share/doc/ghc-9.8.2/html/libraries/ghc-boot-th-9.8.2-inplace"|' | sed 's|    ${pkgroot}/../../doc/html/.*||' > '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/ghc-boot-th-9.8.2-inplace.conf.copy'
# The rts package doesn't actually supply haddocks, so we stop advertising them
# altogether.
((echo "ghc-boot-th" | grep rts) && (cat '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/ghc-boot-th-9.8.2-inplace.conf.copy' | sed 's|haddock-.*||' > '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/ghc-boot-th-9.8.2-inplace.conf.copy.copy')) || (cat '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/ghc-boot-th-9.8.2-inplace.conf.copy' > '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/ghc-boot-th-9.8.2-inplace.conf.copy.copy')
# We finally replace the original file.
mv '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/ghc-boot-th-9.8.2-inplace.conf.copy.copy' '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/ghc-boot-th-9.8.2-inplace.conf'
# Fix the mode, in case umask is set
chmod 644 '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/ghc-boot-th-9.8.2-inplace.conf'  	# to the doc files.
cat '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/integer-gmp-1.1-inplace.conf' | sed 's|haddock-interfaces.*|haddock-interfaces: "${pkgroot}/../../../share/doc/ghc-9.8.2/html/libraries/integer-gmp-1.1-inplace/integer-gmp.haddock"|' | sed 's|haddock-html.*|haddock-html: "${pkgroot}/../../../share/doc/ghc-9.8.2/html/libraries/integer-gmp-1.1-inplace"|' | sed 's|    ${pkgroot}/../../doc/html/.*||' > '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/integer-gmp-1.1-inplace.conf.copy'
# The rts package doesn't actually supply haddocks, so we stop advertising them
# altogether.
((echo "integer-gmp" | grep rts) && (cat '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/integer-gmp-1.1-inplace.conf.copy' | sed 's|haddock-.*||' > '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/integer-gmp-1.1-inplace.conf.copy.copy')) || (cat '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/integer-gmp-1.1-inplace.conf.copy' > '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/integer-gmp-1.1-inplace.conf.copy.copy')
# We finally replace the original file.
mv '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/integer-gmp-1.1-inplace.conf.copy.copy' '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/integer-gmp-1.1-inplace.conf'
# Fix the mode, in case umask is set
chmod 644 '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/integer-gmp-1.1-inplace.conf'  	# to the doc files.
cat '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/containers-0.6.8-inplace.conf' | sed 's|haddock-interfaces.*|haddock-interfaces: "${pkgroot}/../../../share/doc/ghc-9.8.2/html/libraries/containers-0.6.8-inplace/containers.haddock"|' | sed 's|haddock-html.*|haddock-html: "${pkgroot}/../../../share/doc/ghc-9.8.2/html/libraries/containers-0.6.8-inplace"|' | sed 's|    ${pkgroot}/../../doc/html/.*||' > '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/containers-0.6.8-inplace.conf.copy'
# The rts package doesn't actually supply haddocks, so we stop advertising them
# altogether.
((echo "containers" | grep rts) && (cat '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/containers-0.6.8-inplace.conf.copy' | sed 's|haddock-.*||' > '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/containers-0.6.8-inplace.conf.copy.copy')) || (cat '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/containers-0.6.8-inplace.conf.copy' > '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/containers-0.6.8-inplace.conf.copy.copy')
# We finally replace the original file.
mv '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/containers-0.6.8-inplace.conf.copy.copy' '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/containers-0.6.8-inplace.conf'
# Fix the mode, in case umask is set
chmod 644 '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/containers-0.6.8-inplace.conf'  	# to the doc files.
cat '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/pretty-1.1.3.6-inplace.conf' | sed 's|haddock-interfaces.*|haddock-interfaces: "${pkgroot}/../../../share/doc/ghc-9.8.2/html/libraries/pretty-1.1.3.6-inplace/pretty.haddock"|' | sed 's|haddock-html.*|haddock-html: "${pkgroot}/../../../share/doc/ghc-9.8.2/html/libraries/pretty-1.1.3.6-inplace"|' | sed 's|    ${pkgroot}/../../doc/html/.*||' > '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/pretty-1.1.3.6-inplace.conf.copy'
# The rts package doesn't actually supply haddocks, so we stop advertising them
# altogether.
((echo "pretty" | grep rts) && (cat '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/pretty-1.1.3.6-inplace.conf.copy' | sed 's|haddock-.*||' > '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/pretty-1.1.3.6-inplace.conf.copy.copy')) || (cat '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/pretty-1.1.3.6-inplace.conf.copy' > '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/pretty-1.1.3.6-inplace.conf.copy.copy')
# We finally replace the original file.
mv '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/pretty-1.1.3.6-inplace.conf.copy.copy' '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/pretty-1.1.3.6-inplace.conf'
# Fix the mode, in case umask is set
chmod 644 '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/pretty-1.1.3.6-inplace.conf'  	# to the doc files.
cat '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/mtl-2.3.1-inplace.conf' | sed 's|haddock-interfaces.*|haddock-interfaces: "${pkgroot}/../../../share/doc/ghc-9.8.2/html/libraries/mtl-2.3.1-inplace/mtl.haddock"|' | sed 's|haddock-html.*|haddock-html: "${pkgroot}/../../../share/doc/ghc-9.8.2/html/libraries/mtl-2.3.1-inplace"|' | sed 's|    ${pkgroot}/../../doc/html/.*||' > '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/mtl-2.3.1-inplace.conf.copy'
# The rts package doesn't actually supply haddocks, so we stop advertising them
# altogether.
((echo "mtl" | grep rts) && (cat '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/mtl-2.3.1-inplace.conf.copy' | sed 's|haddock-.*||' > '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/mtl-2.3.1-inplace.conf.copy.copy')) || (cat '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/mtl-2.3.1-inplace.conf.copy' > '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/mtl-2.3.1-inplace.conf.copy.copy')
# We finally replace the original file.
mv '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/mtl-2.3.1-inplace.conf.copy.copy' '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/mtl-2.3.1-inplace.conf'
# Fix the mode, in case umask is set
chmod 644 '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/mtl-2.3.1-inplace.conf'  	# to the doc files.
cat '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/transformers-0.6.1.0-inplace.conf' | sed 's|haddock-interfaces.*|haddock-interfaces: "${pkgroot}/../../../share/doc/ghc-9.8.2/html/libraries/transformers-0.6.1.0-inplace/transformers.haddock"|' | sed 's|haddock-html.*|haddock-html: "${pkgroot}/../../../share/doc/ghc-9.8.2/html/libraries/transformers-0.6.1.0-inplace"|' | sed 's|    ${pkgroot}/../../doc/html/.*||' > '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/transformers-0.6.1.0-inplace.conf.copy'
# The rts package doesn't actually supply haddocks, so we stop advertising them
# altogether.
((echo "transformers" | grep rts) && (cat '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/transformers-0.6.1.0-inplace.conf.copy' | sed 's|haddock-.*||' > '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/transformers-0.6.1.0-inplace.conf.copy.copy')) || (cat '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/transformers-0.6.1.0-inplace.conf.copy' > '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/transformers-0.6.1.0-inplace.conf.copy.copy')
# We finally replace the original file.
mv '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/transformers-0.6.1.0-inplace.conf.copy.copy' '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/transformers-0.6.1.0-inplace.conf'
# Fix the mode, in case umask is set
chmod 644 '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/transformers-0.6.1.0-inplace.conf'  	# to the doc files.
cat '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/deepseq-1.5.0.0-inplace.conf' | sed 's|haddock-interfaces.*|haddock-interfaces: "${pkgroot}/../../../share/doc/ghc-9.8.2/html/libraries/deepseq-1.5.0.0-inplace/deepseq.haddock"|' | sed 's|haddock-html.*|haddock-html: "${pkgroot}/../../../share/doc/ghc-9.8.2/html/libraries/deepseq-1.5.0.0-inplace"|' | sed 's|    ${pkgroot}/../../doc/html/.*||' > '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/deepseq-1.5.0.0-inplace.conf.copy'
# The rts package doesn't actually supply haddocks, so we stop advertising them
# altogether.
((echo "deepseq" | grep rts) && (cat '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/deepseq-1.5.0.0-inplace.conf.copy' | sed 's|haddock-.*||' > '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/deepseq-1.5.0.0-inplace.conf.copy.copy')) || (cat '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/deepseq-1.5.0.0-inplace.conf.copy' > '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/deepseq-1.5.0.0-inplace.conf.copy.copy')
# We finally replace the original file.
mv '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/deepseq-1.5.0.0-inplace.conf.copy.copy' '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/deepseq-1.5.0.0-inplace.conf'
# Fix the mode, in case umask is set
chmod 644 '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/deepseq-1.5.0.0-inplace.conf'  	# to the doc files.
cat '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/rts-1.0.2.conf' | sed 's|haddock-interfaces.*|haddock-interfaces: "${pkgroot}/../../../share/doc/ghc-9.8.2/html/libraries/rts-1.0.2/rts-1.0.2.conf.haddock"|' | sed 's|haddock-html.*|haddock-html: "${pkgroot}/../../../share/doc/ghc-9.8.2/html/libraries/rts-1.0.2"|' | sed 's|    ${pkgroot}/../../doc/html/.*||' > '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/rts-1.0.2.conf.copy'
# The rts package doesn't actually supply haddocks, so we stop advertising them
# altogether.
((echo "rts-1.0.2.conf" | grep rts) && (cat '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/rts-1.0.2.conf.copy' | sed 's|haddock-.*||' > '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/rts-1.0.2.conf.copy.copy')) || (cat '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/rts-1.0.2.conf.copy' > '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/rts-1.0.2.conf.copy.copy')
rts-1.0.2.conf
# We finally replace the original file.
mv '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/rts-1.0.2.conf.copy.copy' '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/rts-1.0.2.conf'
# Fix the mode, in case umask is set
chmod 644 '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/rts-1.0.2.conf'  	# to the doc files.
cat '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/base-4.19.1.0-inplace.conf' | sed 's|haddock-interfaces.*|haddock-interfaces: "${pkgroot}/../../../share/doc/ghc-9.8.2/html/libraries/base-4.19.1.0-inplace/base.haddock"|' | sed 's|haddock-html.*|haddock-html: "${pkgroot}/../../../share/doc/ghc-9.8.2/html/libraries/base-4.19.1.0-inplace"|' | sed 's|    ${pkgroot}/../../doc/html/.*||' > '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/base-4.19.1.0-inplace.conf.copy'
# The rts package doesn't actually supply haddocks, so we stop advertising them
# altogether.
((echo "base" | grep rts) && (cat '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/base-4.19.1.0-inplace.conf.copy' | sed 's|haddock-.*||' > '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/base-4.19.1.0-inplace.conf.copy.copy')) || (cat '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/base-4.19.1.0-inplace.conf.copy' > '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/base-4.19.1.0-inplace.conf.copy.copy')
# We finally replace the original file.
mv '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/base-4.19.1.0-inplace.conf.copy.copy' '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/base-4.19.1.0-inplace.conf'
# Fix the mode, in case umask is set
chmod 644 '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/base-4.19.1.0-inplace.conf'  	# to the doc files.
cat '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/ghc-heap-9.8.2-inplace.conf' | sed 's|haddock-interfaces.*|haddock-interfaces: "${pkgroot}/../../../share/doc/ghc-9.8.2/html/libraries/ghc-heap-9.8.2-inplace/ghc-heap.haddock"|' | sed 's|haddock-html.*|haddock-html: "${pkgroot}/../../../share/doc/ghc-9.8.2/html/libraries/ghc-heap-9.8.2-inplace"|' | sed 's|    ${pkgroot}/../../doc/html/.*||' > '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/ghc-heap-9.8.2-inplace.conf.copy'
# The rts package doesn't actually supply haddocks, so we stop advertising them
# altogether.
((echo "ghc-heap" | grep rts) && (cat '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/ghc-heap-9.8.2-inplace.conf.copy' | sed 's|haddock-.*||' > '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/ghc-heap-9.8.2-inplace.conf.copy.copy')) || (cat '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/ghc-heap-9.8.2-inplace.conf.copy' > '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/ghc-heap-9.8.2-inplace.conf.copy.copy')
# We finally replace the original file.
mv '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/ghc-heap-9.8.2-inplace.conf.copy.copy' '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/ghc-heap-9.8.2-inplace.conf'
# Fix the mode, in case umask is set
chmod 644 '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/ghc-heap-9.8.2-inplace.conf'  	# to the doc files.
cat '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/filepath-1.4.200.1-inplace.conf' | sed 's|haddock-interfaces.*|haddock-interfaces: "${pkgroot}/../../../share/doc/ghc-9.8.2/html/libraries/filepath-1.4.200.1-inplace/filepath.haddock"|' | sed 's|haddock-html.*|haddock-html: "${pkgroot}/../../../share/doc/ghc-9.8.2/html/libraries/filepath-1.4.200.1-inplace"|' | sed 's|    ${pkgroot}/../../doc/html/.*||' > '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/filepath-1.4.200.1-inplace.conf.copy'
# The rts package doesn't actually supply haddocks, so we stop advertising them
# altogether.
((echo "filepath" | grep rts) && (cat '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/filepath-1.4.200.1-inplace.conf.copy' | sed 's|haddock-.*||' > '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/filepath-1.4.200.1-inplace.conf.copy.copy')) || (cat '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/filepath-1.4.200.1-inplace.conf.copy' > '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/filepath-1.4.200.1-inplace.conf.copy.copy')
# We finally replace the original file.
mv '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/filepath-1.4.200.1-inplace.conf.copy.copy' '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/filepath-1.4.200.1-inplace.conf'
# Fix the mode, in case umask is set
chmod 644 '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/filepath-1.4.200.1-inplace.conf'  	# to the doc files.
cat '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/ghc-9.8.2-inplace.conf' | sed 's|haddock-interfaces.*|haddock-interfaces: "${pkgroot}/../../../share/doc/ghc-9.8.2/html/libraries/ghc-9.8.2-inplace/ghc.haddock"|' | sed 's|haddock-html.*|haddock-html: "${pkgroot}/../../../share/doc/ghc-9.8.2/html/libraries/ghc-9.8.2-inplace"|' | sed 's|    ${pkgroot}/../../doc/html/.*||' > '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/ghc-9.8.2-inplace.conf.copy'
# The rts package doesn't actually supply haddocks, so we stop advertising them
# altogether.
((echo "ghc" | grep rts) && (cat '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/ghc-9.8.2-inplace.conf.copy' | sed 's|haddock-.*||' > '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/ghc-9.8.2-inplace.conf.copy.copy')) || (cat '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/ghc-9.8.2-inplace.conf.copy' > '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/ghc-9.8.2-inplace.conf.copy.copy')
# We finally replace the original file.
mv '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/ghc-9.8.2-inplace.conf.copy.copy' '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/ghc-9.8.2-inplace.conf'
# Fix the mode, in case umask is set
chmod 644 '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/ghc-9.8.2-inplace.conf'  	# to the doc files.
cat '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/bytestring-0.12.1.0-inplace.conf' | sed 's|haddock-interfaces.*|haddock-interfaces: "${pkgroot}/../../../share/doc/ghc-9.8.2/html/libraries/bytestring-0.12.1.0-inplace/bytestring.haddock"|' | sed 's|haddock-html.*|haddock-html: "${pkgroot}/../../../share/doc/ghc-9.8.2/html/libraries/bytestring-0.12.1.0-inplace"|' | sed 's|    ${pkgroot}/../../doc/html/.*||' > '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/bytestring-0.12.1.0-inplace.conf.copy'
# The rts package doesn't actually supply haddocks, so we stop advertising them
# altogether.
((echo "bytestring" | grep rts) && (cat '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/bytestring-0.12.1.0-inplace.conf.copy' | sed 's|haddock-.*||' > '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/bytestring-0.12.1.0-inplace.conf.copy.copy')) || (cat '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/bytestring-0.12.1.0-inplace.conf.copy' > '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/bytestring-0.12.1.0-inplace.conf.copy.copy')
# We finally replace the original file.
mv '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/bytestring-0.12.1.0-inplace.conf.copy.copy' '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/bytestring-0.12.1.0-inplace.conf'
# Fix the mode, in case umask is set
chmod 644 '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/bytestring-0.12.1.0-inplace.conf'  	# to the doc files.
cat '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/ghci-9.8.2-inplace.conf' | sed 's|haddock-interfaces.*|haddock-interfaces: "${pkgroot}/../../../share/doc/ghc-9.8.2/html/libraries/ghci-9.8.2-inplace/ghci.haddock"|' | sed 's|haddock-html.*|haddock-html: "${pkgroot}/../../../share/doc/ghc-9.8.2/html/libraries/ghci-9.8.2-inplace"|' | sed 's|    ${pkgroot}/../../doc/html/.*||' > '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/ghci-9.8.2-inplace.conf.copy'
# The rts package doesn't actually supply haddocks, so we stop advertising them
# altogether.
((echo "ghci" | grep rts) && (cat '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/ghci-9.8.2-inplace.conf.copy' | sed 's|haddock-.*||' > '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/ghci-9.8.2-inplace.conf.copy.copy')) || (cat '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/ghci-9.8.2-inplace.conf.copy' > '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/ghci-9.8.2-inplace.conf.copy.copy')
# We finally replace the original file.
mv '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/ghci-9.8.2-inplace.conf.copy.copy' '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/ghci-9.8.2-inplace.conf'
# Fix the mode, in case umask is set
chmod 644 '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/ghci-9.8.2-inplace.conf'  	# to the doc files.
cat '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/haskeline-0.8.2.1-inplace.conf' | sed 's|haddock-interfaces.*|haddock-interfaces: "${pkgroot}/../../../share/doc/ghc-9.8.2/html/libraries/haskeline-0.8.2.1-inplace/haskeline.haddock"|' | sed 's|haddock-html.*|haddock-html: "${pkgroot}/../../../share/doc/ghc-9.8.2/html/libraries/haskeline-0.8.2.1-inplace"|' | sed 's|    ${pkgroot}/../../doc/html/.*||' > '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/haskeline-0.8.2.1-inplace.conf.copy'
# The rts package doesn't actually supply haddocks, so we stop advertising them
# altogether.
((echo "haskeline" | grep rts) && (cat '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/haskeline-0.8.2.1-inplace.conf.copy' | sed 's|haddock-.*||' > '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/haskeline-0.8.2.1-inplace.conf.copy.copy')) || (cat '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/haskeline-0.8.2.1-inplace.conf.copy' > '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/haskeline-0.8.2.1-inplace.conf.copy.copy')
# We finally replace the original file.
mv '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/haskeline-0.8.2.1-inplace.conf.copy.copy' '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/haskeline-0.8.2.1-inplace.conf'
# Fix the mode, in case umask is set
chmod 644 '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/haskeline-0.8.2.1-inplace.conf'  	# to the doc files.
cat '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/exceptions-0.10.7-inplace.conf' | sed 's|haddock-interfaces.*|haddock-interfaces: "${pkgroot}/../../../share/doc/ghc-9.8.2/html/libraries/exceptions-0.10.7-inplace/exceptions.haddock"|' | sed 's|haddock-html.*|haddock-html: "${pkgroot}/../../../share/doc/ghc-9.8.2/html/libraries/exceptions-0.10.7-inplace"|' | sed 's|    ${pkgroot}/../../doc/html/.*||' > '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/exceptions-0.10.7-inplace.conf.copy'
# The rts package doesn't actually supply haddocks, so we stop advertising them
# altogether.
((echo "exceptions" | grep rts) && (cat '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/exceptions-0.10.7-inplace.conf.copy' | sed 's|haddock-.*||' > '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/exceptions-0.10.7-inplace.conf.copy.copy')) || (cat '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/exceptions-0.10.7-inplace.conf.copy' > '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/exceptions-0.10.7-inplace.conf.copy.copy')
# We finally replace the original file.
mv '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/exceptions-0.10.7-inplace.conf.copy.copy' '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/exceptions-0.10.7-inplace.conf'
# Fix the mode, in case umask is set
chmod 644 '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/exceptions-0.10.7-inplace.conf'  	# to the doc files.
cat '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/ghc-boot-9.8.2-inplace.conf' | sed 's|haddock-interfaces.*|haddock-interfaces: "${pkgroot}/../../../share/doc/ghc-9.8.2/html/libraries/ghc-boot-9.8.2-inplace/ghc-boot.haddock"|' | sed 's|haddock-html.*|haddock-html: "${pkgroot}/../../../share/doc/ghc-9.8.2/html/libraries/ghc-boot-9.8.2-inplace"|' | sed 's|    ${pkgroot}/../../doc/html/.*||' > '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/ghc-boot-9.8.2-inplace.conf.copy'
# The rts package doesn't actually supply haddocks, so we stop advertising them
# altogether.
((echo "ghc-boot" | grep rts) && (cat '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/ghc-boot-9.8.2-inplace.conf.copy' | sed 's|haddock-.*||' > '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/ghc-boot-9.8.2-inplace.conf.copy.copy')) || (cat '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/ghc-boot-9.8.2-inplace.conf.copy' > '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/ghc-boot-9.8.2-inplace.conf.copy.copy')
# We finally replace the original file.
mv '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/ghc-boot-9.8.2-inplace.conf.copy.copy' '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/ghc-boot-9.8.2-inplace.conf'
# Fix the mode, in case umask is set
chmod 644 '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/ghc-boot-9.8.2-inplace.conf'  	# to the doc files.
cat '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/array-0.5.6.0-inplace.conf' | sed 's|haddock-interfaces.*|haddock-interfaces: "${pkgroot}/../../../share/doc/ghc-9.8.2/html/libraries/array-0.5.6.0-inplace/array.haddock"|' | sed 's|haddock-html.*|haddock-html: "${pkgroot}/../../../share/doc/ghc-9.8.2/html/libraries/array-0.5.6.0-inplace"|' | sed 's|    ${pkgroot}/../../doc/html/.*||' > '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/array-0.5.6.0-inplace.conf.copy'
# The rts package doesn't actually supply haddocks, so we stop advertising them
# altogether.
((echo "array" | grep rts) && (cat '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/array-0.5.6.0-inplace.conf.copy' | sed 's|haddock-.*||' > '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/array-0.5.6.0-inplace.conf.copy.copy')) || (cat '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/array-0.5.6.0-inplace.conf.copy' > '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/array-0.5.6.0-inplace.conf.copy.copy')
# We finally replace the original file.
mv '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/array-0.5.6.0-inplace.conf.copy.copy' '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/array-0.5.6.0-inplace.conf'
# Fix the mode, in case umask is set
chmod 644 '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/array-0.5.6.0-inplace.conf'  	# to the doc files.
cat '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/binary-0.8.9.1-inplace.conf' | sed 's|haddock-interfaces.*|haddock-interfaces: "${pkgroot}/../../../share/doc/ghc-9.8.2/html/libraries/binary-0.8.9.1-inplace/binary.haddock"|' | sed 's|haddock-html.*|haddock-html: "${pkgroot}/../../../share/doc/ghc-9.8.2/html/libraries/binary-0.8.9.1-inplace"|' | sed 's|    ${pkgroot}/../../doc/html/.*||' > '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/binary-0.8.9.1-inplace.conf.copy'
# The rts package doesn't actually supply haddocks, so we stop advertising them
# altogether.
((echo "binary" | grep rts) && (cat '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/binary-0.8.9.1-inplace.conf.copy' | sed 's|haddock-.*||' > '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/binary-0.8.9.1-inplace.conf.copy.copy')) || (cat '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/binary-0.8.9.1-inplace.conf.copy' > '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/binary-0.8.9.1-inplace.conf.copy.copy')
# We finally replace the original file.
mv '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/binary-0.8.9.1-inplace.conf.copy.copy' '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/binary-0.8.9.1-inplace.conf'
# Fix the mode, in case umask is set
chmod 644 '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/binary-0.8.9.1-inplace.conf'  	# to the doc files.
cat '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/ghc-bignum-1.3-inplace.conf' | sed 's|haddock-interfaces.*|haddock-interfaces: "${pkgroot}/../../../share/doc/ghc-9.8.2/html/libraries/ghc-bignum-1.3-inplace/ghc-bignum.haddock"|' | sed 's|haddock-html.*|haddock-html: "${pkgroot}/../../../share/doc/ghc-9.8.2/html/libraries/ghc-bignum-1.3-inplace"|' | sed 's|    ${pkgroot}/../../doc/html/.*||' > '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/ghc-bignum-1.3-inplace.conf.copy'
# The rts package doesn't actually supply haddocks, so we stop advertising them
# altogether.
((echo "ghc-bignum" | grep rts) && (cat '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/ghc-bignum-1.3-inplace.conf.copy' | sed 's|haddock-.*||' > '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/ghc-bignum-1.3-inplace.conf.copy.copy')) || (cat '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/ghc-bignum-1.3-inplace.conf.copy' > '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/ghc-bignum-1.3-inplace.conf.copy.copy')
# We finally replace the original file.
mv '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/ghc-bignum-1.3-inplace.conf.copy.copy' '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/ghc-bignum-1.3-inplace.conf'
# Fix the mode, in case umask is set
chmod 644 '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/ghc-bignum-1.3-inplace.conf'  	# to the doc files.
cat '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/semaphore-compat-1.0.0-inplace.conf' | sed 's|haddock-interfaces.*|haddock-interfaces: "${pkgroot}/../../../share/doc/ghc-9.8.2/html/libraries/semaphore-compat-1.0.0-inplace/semaphore-compat.haddock"|' | sed 's|haddock-html.*|haddock-html: "${pkgroot}/../../../share/doc/ghc-9.8.2/html/libraries/semaphore-compat-1.0.0-inplace"|' | sed 's|    ${pkgroot}/../../doc/html/.*||' > '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/semaphore-compat-1.0.0-inplace.conf.copy'
# The rts package doesn't actually supply haddocks, so we stop advertising them
# altogether.
((echo "semaphore-compat" | grep rts) && (cat '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/semaphore-compat-1.0.0-inplace.conf.copy' | sed 's|haddock-.*||' > '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/semaphore-compat-1.0.0-inplace.conf.copy.copy')) || (cat '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/semaphore-compat-1.0.0-inplace.conf.copy' > '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/semaphore-compat-1.0.0-inplace.conf.copy.copy')
# We finally replace the original file.
mv '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/semaphore-compat-1.0.0-inplace.conf.copy.copy' '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/semaphore-compat-1.0.0-inplace.conf'
# Fix the mode, in case umask is set
chmod 644 '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/semaphore-compat-1.0.0-inplace.conf'  	# to the doc files.
cat '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/stm-2.5.2.1-inplace.conf' | sed 's|haddock-interfaces.*|haddock-interfaces: "${pkgroot}/../../../share/doc/ghc-9.8.2/html/libraries/stm-2.5.2.1-inplace/stm.haddock"|' | sed 's|haddock-html.*|haddock-html: "${pkgroot}/../../../share/doc/ghc-9.8.2/html/libraries/stm-2.5.2.1-inplace"|' | sed 's|    ${pkgroot}/../../doc/html/.*||' > '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/stm-2.5.2.1-inplace.conf.copy'
# The rts package doesn't actually supply haddocks, so we stop advertising them
# altogether.
((echo "stm" | grep rts) && (cat '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/stm-2.5.2.1-inplace.conf.copy' | sed 's|haddock-.*||' > '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/stm-2.5.2.1-inplace.conf.copy.copy')) || (cat '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/stm-2.5.2.1-inplace.conf.copy' > '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/stm-2.5.2.1-inplace.conf.copy.copy')
# We finally replace the original file.
mv '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/stm-2.5.2.1-inplace.conf.copy.copy' '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/stm-2.5.2.1-inplace.conf'
# Fix the mode, in case umask is set
chmod 644 '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/stm-2.5.2.1-inplace.conf'  	# to the doc files.
cat '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/Cabal-3.10.2.0-inplace.conf' | sed 's|haddock-interfaces.*|haddock-interfaces: "${pkgroot}/../../../share/doc/ghc-9.8.2/html/libraries/Cabal-3.10.2.0-inplace/Cabal.haddock"|' | sed 's|haddock-html.*|haddock-html: "${pkgroot}/../../../share/doc/ghc-9.8.2/html/libraries/Cabal-3.10.2.0-inplace"|' | sed 's|    ${pkgroot}/../../doc/html/.*||' > '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/Cabal-3.10.2.0-inplace.conf.copy'
# The rts package doesn't actually supply haddocks, so we stop advertising them
# altogether.
((echo "Cabal" | grep rts) && (cat '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/Cabal-3.10.2.0-inplace.conf.copy' | sed 's|haddock-.*||' > '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/Cabal-3.10.2.0-inplace.conf.copy.copy')) || (cat '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/Cabal-3.10.2.0-inplace.conf.copy' > '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/Cabal-3.10.2.0-inplace.conf.copy.copy')
# We finally replace the original file.
mv '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/Cabal-3.10.2.0-inplace.conf.copy.copy' '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/Cabal-3.10.2.0-inplace.conf'
# Fix the mode, in case umask is set
chmod 644 '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/Cabal-3.10.2.0-inplace.conf'  	# to the doc files.
cat '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/system-cxx-std-lib-1.0.conf' | sed 's|haddock-interfaces.*|haddock-interfaces: "${pkgroot}/../../../share/doc/ghc-9.8.2/html/libraries/system-cxx-std-lib-1.0/system-cxx-std-lib-1.0.conf.haddock"|' | sed 's|haddock-html.*|haddock-html: "${pkgroot}/../../../share/doc/ghc-9.8.2/html/libraries/system-cxx-std-lib-1.0"|' | sed 's|    ${pkgroot}/../../doc/html/.*||' > '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/system-cxx-std-lib-1.0.conf.copy'
# The rts package doesn't actually supply haddocks, so we stop advertising them
# altogether.
((echo "system-cxx-std-lib-1.0.conf" | grep rts) && (cat '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/system-cxx-std-lib-1.0.conf.copy' | sed 's|haddock-.*||' > '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/system-cxx-std-lib-1.0.conf.copy.copy')) || (cat '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/system-cxx-std-lib-1.0.conf.copy' > '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/system-cxx-std-lib-1.0.conf.copy.copy')
# We finally replace the original file.
mv '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/system-cxx-std-lib-1.0.conf.copy.copy' '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/system-cxx-std-lib-1.0.conf'
# Fix the mode, in case umask is set
chmod 644 '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/system-cxx-std-lib-1.0.conf'  	# to the doc files.
cat '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/ghc-prim-0.11.0-inplace.conf' | sed 's|haddock-interfaces.*|haddock-interfaces: "${pkgroot}/../../../share/doc/ghc-9.8.2/html/libraries/ghc-prim-0.11.0-inplace/ghc-prim.haddock"|' | sed 's|haddock-html.*|haddock-html: "${pkgroot}/../../../share/doc/ghc-9.8.2/html/libraries/ghc-prim-0.11.0-inplace"|' | sed 's|    ${pkgroot}/../../doc/html/.*||' > '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/ghc-prim-0.11.0-inplace.conf.copy'
# The rts package doesn't actually supply haddocks, so we stop advertising them
# altogether.
((echo "ghc-prim" | grep rts) && (cat '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/ghc-prim-0.11.0-inplace.conf.copy' | sed 's|haddock-.*||' > '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/ghc-prim-0.11.0-inplace.conf.copy.copy')) || (cat '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/ghc-prim-0.11.0-inplace.conf.copy' > '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/ghc-prim-0.11.0-inplace.conf.copy.copy')
# We finally replace the original file.
mv '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/ghc-prim-0.11.0-inplace.conf.copy.copy' '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/ghc-prim-0.11.0-inplace.conf'
# Fix the mode, in case umask is set
chmod 644 '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/ghc-prim-0.11.0-inplace.conf'  	# to the doc files.
cat '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/xhtml-3000.2.2.1-inplace.conf' | sed 's|haddock-interfaces.*|haddock-interfaces: "${pkgroot}/../../../share/doc/ghc-9.8.2/html/libraries/xhtml-3000.2.2.1-inplace/xhtml.haddock"|' | sed 's|haddock-html.*|haddock-html: "${pkgroot}/../../../share/doc/ghc-9.8.2/html/libraries/xhtml-3000.2.2.1-inplace"|' | sed 's|    ${pkgroot}/../../doc/html/.*||' > '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/xhtml-3000.2.2.1-inplace.conf.copy'
# The rts package doesn't actually supply haddocks, so we stop advertising them
# altogether.
((echo "xhtml" | grep rts) && (cat '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/xhtml-3000.2.2.1-inplace.conf.copy' | sed 's|haddock-.*||' > '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/xhtml-3000.2.2.1-inplace.conf.copy.copy')) || (cat '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/xhtml-3000.2.2.1-inplace.conf.copy' > '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/xhtml-3000.2.2.1-inplace.conf.copy.copy')
# We finally replace the original file.
mv '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/xhtml-3000.2.2.1-inplace.conf.copy.copy' '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/xhtml-3000.2.2.1-inplace.conf'
# Fix the mode, in case umask is set
chmod 644 '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/xhtml-3000.2.2.1-inplace.conf'  	# to the doc files.
cat '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/time-1.12.2-inplace.conf' | sed 's|haddock-interfaces.*|haddock-interfaces: "${pkgroot}/../../../share/doc/ghc-9.8.2/html/libraries/time-1.12.2-inplace/time.haddock"|' | sed 's|haddock-html.*|haddock-html: "${pkgroot}/../../../share/doc/ghc-9.8.2/html/libraries/time-1.12.2-inplace"|' | sed 's|    ${pkgroot}/../../doc/html/.*||' > '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/time-1.12.2-inplace.conf.copy'
# The rts package doesn't actually supply haddocks, so we stop advertising them
# altogether.
((echo "time" | grep rts) && (cat '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/time-1.12.2-inplace.conf.copy' | sed 's|haddock-.*||' > '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/time-1.12.2-inplace.conf.copy.copy')) || (cat '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/time-1.12.2-inplace.conf.copy' > '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/time-1.12.2-inplace.conf.copy.copy')
# We finally replace the original file.
mv '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/time-1.12.2-inplace.conf.copy.copy' '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/time-1.12.2-inplace.conf'
# Fix the mode, in case umask is set
chmod 644 '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/time-1.12.2-inplace.conf'  	# to the doc files.
cat '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/directory-1.3.8.1-inplace.conf' | sed 's|haddock-interfaces.*|haddock-interfaces: "${pkgroot}/../../../share/doc/ghc-9.8.2/html/libraries/directory-1.3.8.1-inplace/directory.haddock"|' | sed 's|haddock-html.*|haddock-html: "${pkgroot}/../../../share/doc/ghc-9.8.2/html/libraries/directory-1.3.8.1-inplace"|' | sed 's|    ${pkgroot}/../../doc/html/.*||' > '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/directory-1.3.8.1-inplace.conf.copy'
# The rts package doesn't actually supply haddocks, so we stop advertising them
# altogether.
((echo "directory" | grep rts) && (cat '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/directory-1.3.8.1-inplace.conf.copy' | sed 's|haddock-.*||' > '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/directory-1.3.8.1-inplace.conf.copy.copy')) || (cat '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/directory-1.3.8.1-inplace.conf.copy' > '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/directory-1.3.8.1-inplace.conf.copy.copy')
# We finally replace the original file.
mv '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/directory-1.3.8.1-inplace.conf.copy.copy' '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/directory-1.3.8.1-inplace.conf'
# Fix the mode, in case umask is set
chmod 644 '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/directory-1.3.8.1-inplace.conf'  	# to the doc files.
cat '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/unix-2.8.4.0-inplace.conf' | sed 's|haddock-interfaces.*|haddock-interfaces: "${pkgroot}/../../../share/doc/ghc-9.8.2/html/libraries/unix-2.8.4.0-inplace/unix.haddock"|' | sed 's|haddock-html.*|haddock-html: "${pkgroot}/../../../share/doc/ghc-9.8.2/html/libraries/unix-2.8.4.0-inplace"|' | sed 's|    ${pkgroot}/../../doc/html/.*||' > '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/unix-2.8.4.0-inplace.conf.copy'
# The rts package doesn't actually supply haddocks, so we stop advertising them
# altogether.
((echo "unix" | grep rts) && (cat '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/unix-2.8.4.0-inplace.conf.copy' | sed 's|haddock-.*||' > '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/unix-2.8.4.0-inplace.conf.copy.copy')) || (cat '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/unix-2.8.4.0-inplace.conf.copy' > '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/unix-2.8.4.0-inplace.conf.copy.copy')
# We finally replace the original file.
mv '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/unix-2.8.4.0-inplace.conf.copy.copy' '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/unix-2.8.4.0-inplace.conf'
# Fix the mode, in case umask is set
chmod 644 '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/unix-2.8.4.0-inplace.conf'  	# to the doc files.
cat '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/template-haskell-2.21.0.0-inplace.conf' | sed 's|haddock-interfaces.*|haddock-interfaces: "${pkgroot}/../../../share/doc/ghc-9.8.2/html/libraries/template-haskell-2.21.0.0-inplace/template-haskell.haddock"|' | sed 's|haddock-html.*|haddock-html: "${pkgroot}/../../../share/doc/ghc-9.8.2/html/libraries/template-haskell-2.21.0.0-inplace"|' | sed 's|    ${pkgroot}/../../doc/html/.*||' > '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/template-haskell-2.21.0.0-inplace.conf.copy'
# The rts package doesn't actually supply haddocks, so we stop advertising them
# altogether.
((echo "template-haskell" | grep rts) && (cat '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/template-haskell-2.21.0.0-inplace.conf.copy' | sed 's|haddock-.*||' > '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/template-haskell-2.21.0.0-inplace.conf.copy.copy')) || (cat '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/template-haskell-2.21.0.0-inplace.conf.copy' > '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/template-haskell-2.21.0.0-inplace.conf.copy.copy')
# We finally replace the original file.
mv '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/template-haskell-2.21.0.0-inplace.conf.copy.copy' '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/template-haskell-2.21.0.0-inplace.conf'
# Fix the mode, in case umask is set
chmod 644 '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/template-haskell-2.21.0.0-inplace.conf'  	# to the doc files.
cat '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/ghc-compact-0.1.0.0-inplace.conf' | sed 's|haddock-interfaces.*|haddock-interfaces: "${pkgroot}/../../../share/doc/ghc-9.8.2/html/libraries/ghc-compact-0.1.0.0-inplace/ghc-compact.haddock"|' | sed 's|haddock-html.*|haddock-html: "${pkgroot}/../../../share/doc/ghc-9.8.2/html/libraries/ghc-compact-0.1.0.0-inplace"|' | sed 's|    ${pkgroot}/../../doc/html/.*||' > '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/ghc-compact-0.1.0.0-inplace.conf.copy'
# The rts package doesn't actually supply haddocks, so we stop advertising them
# altogether.
((echo "ghc-compact" | grep rts) && (cat '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/ghc-compact-0.1.0.0-inplace.conf.copy' | sed 's|haddock-.*||' > '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/ghc-compact-0.1.0.0-inplace.conf.copy.copy')) || (cat '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/ghc-compact-0.1.0.0-inplace.conf.copy' > '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/ghc-compact-0.1.0.0-inplace.conf.copy.copy')
# We finally replace the original file.
mv '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/ghc-compact-0.1.0.0-inplace.conf.copy.copy' '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/ghc-compact-0.1.0.0-inplace.conf'
# Fix the mode, in case umask is set
chmod 644 '/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/ghc-compact-0.1.0.0-inplace.conf'
Copying data to /home/pbulk/build-disk/lang/ghc98/work/.destdirshare
/home/pbulk/build-disk/lang/ghc98/work/.tools/bin/install -c -m 755 -d "/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/share"
cd share; /home/pbulk/build-disk/lang/ghc98/work/.tools/bin/find . -type f -exec sh -c \
	'/home/pbulk/build-disk/lang/ghc98/work/.tools/bin/install -c -m 755 -d "/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/share/`dirname $1`" && \
	/home/pbulk/build-disk/lang/ghc98/work/.tools/bin/install -c -m 644 "$1" "/home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/share/`dirname $1`"' \
	sh '{}' ';';
/opt/local/bin/bsdinstall -c -o pbulk -g pbulk -m 644 /home/pbulk/build-disk/lang/ghc98/work/ghc-9.8.2/utils/completion/ghc.bash  /home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/share/bash-completion/completions/ghc
for f in package.cache package.cache.lock; do  /usr/bin/rm /home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/$f;  done
=> Generating CTF data
=> Automatic stripping of debug information
=> Automatic manual page handling
=> Generating post-install file lists
=> Checking file-check results for ghc-9.8.2nb1
=> Checking for non-existent script interpreters in ghc-9.8.2nb1
=> Checking file permissions in ghc-9.8.2nb1
=> Checking for missing run-time search paths in ghc-9.8.2nb1
=> Checking for work-directory references in ghc-9.8.2nb1
ERROR: /home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/system-cxx-std-lib-1.0.conf:library-dirs:         /opt/tools/gcc13/lib/gcc/x86_64-sun-solaris2.11/13.3.0/../../../../x86_64-sun-solaris2.11/lib/amd64
ERROR: /home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/system-cxx-std-lib-1.0.conf:dynamic-library-dirs: /opt/tools/gcc13/lib/gcc/x86_64-sun-solaris2.11/13.3.0/../../../../x86_64-sun-solaris2.11/lib/amd64
ERROR: /home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/system-cxx-std-lib-1.0.conf.copy:library-dirs:         /opt/tools/gcc13/lib/gcc/x86_64-sun-solaris2.11/13.3.0/../../../../x86_64-sun-solaris2.11/lib/amd64
ERROR: /home/pbulk/build-disk/lang/ghc98/work/.destdir/opt/local/lib/ghc-9.8.2/lib/package.conf.d/system-cxx-std-lib-1.0.conf.copy:dynamic-library-dirs: /opt/tools/gcc13/lib/gcc/x86_64-sun-solaris2.11/13.3.0/../../../../x86_64-sun-solaris2.11/lib/amd64
ERROR: *** The above files still have references to the build directory.
ERROR:     This is possibly an error that should be fixed by unwrapping
ERROR:     the files or adding missing tools to the package makefile!
*** Error code 1

Stop.
bmake[1]: stopped making "stage-install" in /data/jenkins/workspace/pkgsrc-trunk-x86_64/lang/ghc98
*** Error code 1

Stop.
bmake: stopped making "stage-install" in /data/jenkins/workspace/pkgsrc-trunk-x86_64/lang/ghc98