=> Bootstrap dependency digest>=20211023: found digest-20220214 => Checksum BLAKE2s OK for ghc-9.10.1-src.tar.xz => Checksum SHA512 OK for ghc-9.10.1-src.tar.xz => Checksum BLAKE2s OK for ghc-9.8.2-boot-hadrian-ghc910.tar.gz => Checksum SHA512 OK for ghc-9.8.2-boot-hadrian-ghc910.tar.gz => Checksum BLAKE2s OK for ghc-9.8.2-boot-x86_64-unknown-netbsd.tar.xz => Checksum SHA512 OK for ghc-9.8.2-boot-x86_64-unknown-netbsd.tar.xz ===> Installing dependencies for ghc-9.10.1nb3 ========================================================================== The supported build options for ghc are: doc llvm The currently selected options are: doc You can select which build options to use by setting PKG_DEFAULT_OPTIONS or the following variable. Its current value is shown: PKG_OPTIONS.ghc (not defined) ========================================================================== ========================================================================== The following variables will affect the build process of this package, ghc-9.10.1nb3. Their current value is shown below: * CURSES_DEFAULT = curses * PYTHON_VERSION_DEFAULT = 312 Based on these variables, the following variables have been set: * CURSES_TYPE = curses * PYPACKAGE = python312 You may want to abort the process now with CTRL-C and change the value of variables in the first group before continuing. Be sure to run `/usr/bin/make clean' after the changes. ========================================================================== => Tool dependency py312-sphinx-[0-9]*: found py312-sphinx-8.2.3 => Tool dependency python312>=3.12: found python312-3.12.10nb1 => Tool dependency compat90-[0-9]*: found compat90-9.0nb2 => Tool dependency libtool-base>=2.4.2nb9: found libtool-base-2.4.7nb1 => Tool dependency mktools-[0-9]*: found mktools-20250213 => Tool dependency autoconf>=2.50: found autoconf-2.72 => Tool dependency gmake>=3.81: found gmake-4.4.1 => Tool dependency gtar-base>=1.13.25: found gtar-base-1.35 => Tool dependency cwrappers>=20150314: found cwrappers-20220403 => Full dependency gmp>=5.0.1: found gmp-6.3.0 => Full dependency libffi>=3.4.2nb3: found libffi-3.4.8 ===> Skipping vulnerability checks. WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'. ===> Overriding tools for ghc-9.10.1nb3 ===> Extracting for ghc-9.10.1nb3 => Substituting "ghc-wrapper-sh" in mk/install_script.sh ===> Patching for ghc-9.10.1nb3 => Applying pkgsrc patches for ghc-9.10.1nb3 ===> Regenerating configuration scripts for ghc-9.10.1nb3 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:422: warning: The macro 'AC_PROG_CC_C99' is obsolete. configure.ac:422: You should run autoupdate. ./lib/autoconf/c.m4:1662: AC_PROG_CC_C99 is expanded from... m4/fp_set_cflags_c99.m4:7: FP_SET_CFLAGS_C99 is expanded from... configure.ac:422: the top level configure.ac:423: warning: The macro 'AC_PROG_CC_C99' is obsolete. configure.ac:423: You should run autoupdate. ./lib/autoconf/c.m4:1662: AC_PROG_CC_C99 is expanded from... m4/fp_set_cflags_c99.m4:7: FP_SET_CFLAGS_C99 is expanded from... configure.ac:423: the top level configure.ac:424: warning: The macro 'AC_PROG_CC_C99' is obsolete. configure.ac:424: You should run autoupdate. ./lib/autoconf/c.m4:1662: AC_PROG_CC_C99 is expanded from... m4/fp_set_cflags_c99.m4:7: FP_SET_CFLAGS_C99 is expanded from... configure.ac:424: the top level configure.ac:425: warning: The macro 'AC_PROG_CC_C99' is obsolete. configure.ac:425: You should run autoupdate. ./lib/autoconf/c.m4:1662: AC_PROG_CC_C99 is expanded from... m4/fp_set_cflags_c99.m4:7: FP_SET_CFLAGS_C99 is expanded from... configure.ac:425: the top level configure.ac:962: warning: AC_C_BIGENDIAN should be used with AC_CONFIG_HEADERS 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:9: warning: The macro 'AC_HELP_STRING' is obsolete. configure.ac:9: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... ./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from... configure.ac:9: the top level ===> Creating toolchain wrappers for ghc-9.10.1nb3 ===> Configuring for ghc-9.10.1nb3 ===> Extracting bootstrapping compiler for ghc-9.10.1nb3 ===> Preparing bootstrapping compiler for ghc-9.10.1nb3 configure: WARNING: unrecognized options: --with-curses-libraries, --with-gmp-includes, --with-gmp-libraries, --with-iconv-includes, --with-iconv-libraries, --with-ffi-includes, --with-ffi-libraries, --with-bindist-prefix, --with-system-libffi checking build system type... x86_64-unknown-netbsd10.0 checking host system type... x86_64-unknown-netbsd10.0 checking target system type... x86_64-unknown-netbsd10.0 build platform inferred as: x86_64-unknown-netbsd host platform inferred as: x86_64-unknown-netbsd target platform inferred as: x86_64-unknown-netbsd configure: GHC build : x86_64-unknown-netbsd configure: GHC host : x86_64-unknown-netbsd configure: GHC target : x86_64-unknown-netbsd checking for path to top of build tree... /pbulk/work/lang/ghc910/work/bootkit-dist/ghc-9.8.2-boot-x86_64-unknown-netbsd checking for a BSD-compatible install... /pbulk/work/lang/ghc910/work/.tools/bin/install -c checking whether ln -s works... yes checking for gsed... sed checking for python3... /usr/pkg/bin/python3.12 checking for gfind... no checking for find... /pbulk/work/lang/ghc910/work/.tools/bin/find checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether the compiler supports GNU C... yes checking whether gcc accepts -g... yes checking for gcc option to enable C11 features... none needed checking whether the compiler supports GNU C++... yes checking whether c++ accepts -g... yes checking for c++ option to enable C++11 features... none needed checking how to run the C preprocessor... gcc -E checking for -ld... ld checking for ld.gold object merging bug (binutils 22266)... checking whether ld is GNU ld... YES checking whether ld understands -no_compact_unwind... yes checking whether ld understands -filelist... no checking whether ld supports -single_module... no checking for -strip... no checking for strip... strip checking for gawk... /usr/bin/awk no configure: We only support llvm 11 upto 16 (non-inclusive) (no version found). no configure: We only support llvm 11 upto 16 (non-inclusive) (no version found). checking version of gcc... checking version of gcc... 10.5.0 10.5.0 checking whether CC supports -no-pie... yes checking whether CC supports flags passed by GHC when compiling via C... yes checking Setting up CFLAGS, LDFLAGS, IGNORE_LINKER_LD_FLAGS and CPPFLAGS... done checking Setting up CONF_CC_OPTS_STAGE0, CONF_GCC_LINKER_OPTS_STAGE0, CONF_LD_LINKER_OPTS_STAGE0 and CONF_CPP_OPTS_STAGE0... done checking Setting up CONF_CC_OPTS_STAGE1, CONF_GCC_LINKER_OPTS_STAGE1, CONF_LD_LINKER_OPTS_STAGE1 and CONF_CPP_OPTS_STAGE1... done checking Setting up CONF_CC_OPTS_STAGE2, CONF_GCC_LINKER_OPTS_STAGE2, CONF_LD_LINKER_OPTS_STAGE2 and CONF_CPP_OPTS_STAGE2... done checking whether ld supports response files... yes checking C++ standard library flavour... libstdc++ checking for linkage against 'stdc++'... success checking for -otool... no checking for otool... no checking for -install_name_tool... no checking for install_name_tool... no checking for .subsections_via_symbols... no checking whether your assembler supports .ident directive... yes checking whether gcc supports --target... no checking whether gcc supports --target... no checking whether gcc supports -Qunused-arguments... no checking whether gcc supports -Qunused-arguments... no checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking size of void *... 8 checking whether byte ordering is bigendian... no checking for -ar... no checking for ar... ar checking whether ar is GNU ar... yes checking for ar arguments... q checking whether ar supports @file... yes checking whether ar supports -L... ar: conftest.a: No such file or directory no checking for ranlib... ranlib configure: creating ./config.status config.status: creating mk/system-cxx-std-lib-1.0.conf config.status: creating config.mk config.status: creating mk/hsc2hs configure: WARNING: unrecognized options: --with-curses-libraries, --with-gmp-includes, --with-gmp-libraries, --with-iconv-includes, --with-iconv-libraries, --with-ffi-includes, --with-ffi-libraries, --with-bindist-prefix, --with-system-libffi **************************************************** Configuration done, ready to 'make install' (see README and INSTALL files for more info.) **************************************************** Copying binaries to /pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/bin /pbulk/work/lang/ghc910/work/.tools/bin/install -c -m 755 -d "/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/bin" for i in ./bin/ghc ./bin/ghc-9.8.2 ./bin/ghc-iserv ./bin/ghc-iserv-ghc-9.8.2 ./bin/ghc-pkg ./bin/ghc-pkg-9.8.2 ./bin/haddock ./bin/haddock-ghc-9.8.2 ./bin/hp2ps ./bin/hp2ps-ghc-9.8.2 ./bin/hpc ./bin/hpc-ghc-9.8.2 ./bin/hsc2hs ./bin/hsc2hs-ghc-9.8.2 ./bin/runghc ./bin/runghc-9.8.2 ./bin/runhaskell ./bin/runhaskell-9.8.2 ./bin/unlit ./bin/unlit-ghc-9.8.2; do \ if test -L "$i"; then \ cp -RP "$i" "/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/bin"; \ else \ /pbulk/work/lang/ghc910/work/.tools/bin/install -c -m 755 "$i" "/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/bin"; \ fi; \ done # Work around #17418 on Darwin if [ -e "" ]; then \ "" -c -r "/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/bin"; \ fi Copying hsc2hs wrapper cp mk/hsc2hs wrappers/hsc2hs-ghc-9.8.2 Installing wrapper scripts /pbulk/work/lang/ghc910/work/.tools/bin/install -c -m 755 -d "/pbulk/work/lang/ghc910/work/.tools/bin" for p in `cd wrappers; /pbulk/work/lang/ghc910/work/.tools/bin/find . ! -type d`; do \ mk/install_script.sh "$p" "//pbulk/work/lang/ghc910/work/.tools/bin/$p" "/pbulk/work/lang/ghc910/work/.tools/bin" "/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/bin" "/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/bin/$p" "/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib" "/pbulk/work/lang/ghc910/work/.tools/share/doc/ghc-9.8.2" "/pbulk/work/lang/ghc910/work/.tools/include"; \ done Installing ./ghc-9.8.2 -> //pbulk/work/lang/ghc910/work/.tools/bin/./ghc-9.8.2 Installing ./ghc -> //pbulk/work/lang/ghc910/work/.tools/bin/./ghc Installing ./ghci-9.8.2 -> //pbulk/work/lang/ghc910/work/.tools/bin/./ghci-9.8.2 Installing ./ghci -> //pbulk/work/lang/ghc910/work/.tools/bin/./ghci Installing ./ghc-pkg-9.8.2 -> //pbulk/work/lang/ghc910/work/.tools/bin/./ghc-pkg-9.8.2 Installing ./ghc-pkg -> //pbulk/work/lang/ghc910/work/.tools/bin/./ghc-pkg Installing ./hp2ps-ghc-9.8.2 -> //pbulk/work/lang/ghc910/work/.tools/bin/./hp2ps-ghc-9.8.2 Installing ./hp2ps -> //pbulk/work/lang/ghc910/work/.tools/bin/./hp2ps Installing ./hsc2hs-ghc-9.8.2 -> //pbulk/work/lang/ghc910/work/.tools/bin/./hsc2hs-ghc-9.8.2 Installing ./hsc2hs -> //pbulk/work/lang/ghc910/work/.tools/bin/./hsc2hs Installing ./haddock-ghc-9.8.2 -> //pbulk/work/lang/ghc910/work/.tools/bin/./haddock-ghc-9.8.2 Installing ./haddock -> //pbulk/work/lang/ghc910/work/.tools/bin/./haddock Installing ./hpc-ghc-9.8.2 -> //pbulk/work/lang/ghc910/work/.tools/bin/./hpc-ghc-9.8.2 Installing ./hpc -> //pbulk/work/lang/ghc910/work/.tools/bin/./hpc Installing ./runghc-9.8.2 -> //pbulk/work/lang/ghc910/work/.tools/bin/./runghc-9.8.2 Installing ./runghc -> //pbulk/work/lang/ghc910/work/.tools/bin/./runghc Installing ./runhaskell-9.8.2 -> //pbulk/work/lang/ghc910/work/.tools/bin/./runhaskell-9.8.2 Installing ./runhaskell -> //pbulk/work/lang/ghc910/work/.tools/bin/./runhaskell Copying libraries to /pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib /pbulk/work/lang/ghc910/work/.tools/bin/install -c -m 755 -d "/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib" # Work around #17418 on Darwin if [ -e "" ]; then \ "" -c -r "/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib"; \ fi if [ -f manpage/ghc.1 ]; then \ /pbulk/work/lang/ghc910/work/.tools/bin/install -c -m 755 -d "/pbulk/work/lang/ghc910/work/.tools/share/man"; \ /pbulk/work/lang/ghc910/work/.tools/bin/install -c -m 755 -d "/pbulk/work/lang/ghc910/work/.tools/share/man/man1"; \ /pbulk/work/lang/ghc910/work/.tools/bin/install -c -m 644 manpage/ghc.1 "/pbulk/work/lang/ghc910/work/.tools/share/man/man1"; \ fi Copying docs to /pbulk/work/lang/ghc910/work/.tools/share/doc/ghc-9.8.2 /pbulk/work/lang/ghc910/work/.tools/bin/install -c -m 755 -d "/pbulk/work/lang/ghc910/work/.tools/share/doc/ghc-9.8.2" if [ -d doc ]; then \ cd doc; /pbulk/work/lang/ghc910/work/.tools/bin/find . -type f -exec sh -c \ '/pbulk/work/lang/ghc910/work/.tools/bin/install -c -m 755 -d "/pbulk/work/lang/ghc910/work/.tools/share/doc/ghc-9.8.2/`dirname $1`" && /pbulk/work/lang/ghc910/work/.tools/bin/install -c -m 644 "$1" "/pbulk/work/lang/ghc910/work/.tools/share/doc/ghc-9.8.2/`dirname $1`"' \ sh '{}' ';'; \ fi if [ -d docs-utils ]; then \ /pbulk/work/lang/ghc910/work/.tools/bin/install -c -m 755 -d "/pbulk/work/lang/ghc910/work/.tools/share/doc/ghc-9.8.2/html/libraries/"; \ /pbulk/work/lang/ghc910/work/.tools/bin/install -c -m 644 docs-utils/prologue.txt "/pbulk/work/lang/ghc910/work/.tools/share/doc/ghc-9.8.2/html/libraries/"; \ /pbulk/work/lang/ghc910/work/.tools/bin/install -c -m 755 docs-utils/gen_contents_index "/pbulk/work/lang/ghc910/work/.tools/share/doc/ghc-9.8.2/html/libraries/"; \ fi Installing C++ standard library virtual package /pbulk/work/lang/ghc910/work/.tools/bin/install -c -m 644 mk/system-cxx-std-lib-1.0.conf "/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d" Updating the package DB # to the doc files. cat '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/rts-1.0.2.conf' | sed 's|haddock-interfaces.*|haddock-interfaces: "${pkgroot}/../../../share/doc/ghc-9.8.2/html/libraries/rts-1.0.2/rts-1.0.2.conf.haddock"|' | sed 's|haddock-html.*|haddock-html: "${pkgroot}/../../../share/doc/ghc-9.8.2/html/libraries/rts-1.0.2"|' | sed 's| ${pkgroot}/../../doc/html/.*||' > '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/rts-1.0.2.conf.copy' # The rts package doesn't actually supply haddocks, so we stop advertising them # altogether. ((echo "rts-1.0.2.conf" | grep rts) && (cat '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/rts-1.0.2.conf.copy' | sed 's|haddock-.*||' > '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/rts-1.0.2.conf.copy.copy')) || (cat '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/rts-1.0.2.conf.copy' > '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/rts-1.0.2.conf.copy.copy') rts-1.0.2.conf # We finally replace the original file. mv '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/rts-1.0.2.conf.copy.copy' '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/rts-1.0.2.conf' # Fix the mode, in case umask is set chmod 644 '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/rts-1.0.2.conf' # to the doc files. cat '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/system-cxx-std-lib-1.0.conf' | sed 's|haddock-interfaces.*|haddock-interfaces: "${pkgroot}/../../../share/doc/ghc-9.8.2/html/libraries/system-cxx-std-lib-1.0/system-cxx-std-lib-1.0.conf.haddock"|' | sed 's|haddock-html.*|haddock-html: "${pkgroot}/../../../share/doc/ghc-9.8.2/html/libraries/system-cxx-std-lib-1.0"|' | sed 's| ${pkgroot}/../../doc/html/.*||' > '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/system-cxx-std-lib-1.0.conf.copy' # The rts package doesn't actually supply haddocks, so we stop advertising them # altogether. ((echo "system-cxx-std-lib-1.0.conf" | grep rts) && (cat '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/system-cxx-std-lib-1.0.conf.copy' | sed 's|haddock-.*||' > '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/system-cxx-std-lib-1.0.conf.copy.copy')) || (cat '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/system-cxx-std-lib-1.0.conf.copy' > '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/system-cxx-std-lib-1.0.conf.copy.copy') # We finally replace the original file. mv '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/system-cxx-std-lib-1.0.conf.copy.copy' '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/system-cxx-std-lib-1.0.conf' # Fix the mode, in case umask is set chmod 644 '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/system-cxx-std-lib-1.0.conf' # to the doc files. cat '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/ghc-boot-th-9.8.2-inplace.conf' | sed 's|haddock-interfaces.*|haddock-interfaces: "${pkgroot}/../../../share/doc/ghc-9.8.2/html/libraries/ghc-boot-th-9.8.2-inplace/ghc-boot-th.haddock"|' | sed 's|haddock-html.*|haddock-html: "${pkgroot}/../../../share/doc/ghc-9.8.2/html/libraries/ghc-boot-th-9.8.2-inplace"|' | sed 's| ${pkgroot}/../../doc/html/.*||' > '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/ghc-boot-th-9.8.2-inplace.conf.copy' # The rts package doesn't actually supply haddocks, so we stop advertising them # altogether. ((echo "ghc-boot-th" | grep rts) && (cat '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/ghc-boot-th-9.8.2-inplace.conf.copy' | sed 's|haddock-.*||' > '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/ghc-boot-th-9.8.2-inplace.conf.copy.copy')) || (cat '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/ghc-boot-th-9.8.2-inplace.conf.copy' > '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/ghc-boot-th-9.8.2-inplace.conf.copy.copy') # We finally replace the original file. mv '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/ghc-boot-th-9.8.2-inplace.conf.copy.copy' '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/ghc-boot-th-9.8.2-inplace.conf' # Fix the mode, in case umask is set chmod 644 '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/ghc-boot-th-9.8.2-inplace.conf' # to the doc files. cat '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/integer-gmp-1.1-inplace.conf' | sed 's|haddock-interfaces.*|haddock-interfaces: "${pkgroot}/../../../share/doc/ghc-9.8.2/html/libraries/integer-gmp-1.1-inplace/integer-gmp.haddock"|' | sed 's|haddock-html.*|haddock-html: "${pkgroot}/../../../share/doc/ghc-9.8.2/html/libraries/integer-gmp-1.1-inplace"|' | sed 's| ${pkgroot}/../../doc/html/.*||' > '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/integer-gmp-1.1-inplace.conf.copy' # The rts package doesn't actually supply haddocks, so we stop advertising them # altogether. ((echo "integer-gmp" | grep rts) && (cat '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/integer-gmp-1.1-inplace.conf.copy' | sed 's|haddock-.*||' > '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/integer-gmp-1.1-inplace.conf.copy.copy')) || (cat '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/integer-gmp-1.1-inplace.conf.copy' > '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/integer-gmp-1.1-inplace.conf.copy.copy') # We finally replace the original file. mv '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/integer-gmp-1.1-inplace.conf.copy.copy' '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/integer-gmp-1.1-inplace.conf' # Fix the mode, in case umask is set chmod 644 '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/integer-gmp-1.1-inplace.conf' # to the doc files. cat '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/ghc-prim-0.11.0-inplace.conf' | sed 's|haddock-interfaces.*|haddock-interfaces: "${pkgroot}/../../../share/doc/ghc-9.8.2/html/libraries/ghc-prim-0.11.0-inplace/ghc-prim.haddock"|' | sed 's|haddock-html.*|haddock-html: "${pkgroot}/../../../share/doc/ghc-9.8.2/html/libraries/ghc-prim-0.11.0-inplace"|' | sed 's| ${pkgroot}/../../doc/html/.*||' > '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/ghc-prim-0.11.0-inplace.conf.copy' # The rts package doesn't actually supply haddocks, so we stop advertising them # altogether. ((echo "ghc-prim" | grep rts) && (cat '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/ghc-prim-0.11.0-inplace.conf.copy' | sed 's|haddock-.*||' > '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/ghc-prim-0.11.0-inplace.conf.copy.copy')) || (cat '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/ghc-prim-0.11.0-inplace.conf.copy' > '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/ghc-prim-0.11.0-inplace.conf.copy.copy') # We finally replace the original file. mv '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/ghc-prim-0.11.0-inplace.conf.copy.copy' '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/ghc-prim-0.11.0-inplace.conf' # Fix the mode, in case umask is set chmod 644 '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/ghc-prim-0.11.0-inplace.conf' # to the doc files. cat '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/ghc-bignum-1.3-inplace.conf' | sed 's|haddock-interfaces.*|haddock-interfaces: "${pkgroot}/../../../share/doc/ghc-9.8.2/html/libraries/ghc-bignum-1.3-inplace/ghc-bignum.haddock"|' | sed 's|haddock-html.*|haddock-html: "${pkgroot}/../../../share/doc/ghc-9.8.2/html/libraries/ghc-bignum-1.3-inplace"|' | sed 's| ${pkgroot}/../../doc/html/.*||' > '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/ghc-bignum-1.3-inplace.conf.copy' # The rts package doesn't actually supply haddocks, so we stop advertising them # altogether. ((echo "ghc-bignum" | grep rts) && (cat '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/ghc-bignum-1.3-inplace.conf.copy' | sed 's|haddock-.*||' > '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/ghc-bignum-1.3-inplace.conf.copy.copy')) || (cat '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/ghc-bignum-1.3-inplace.conf.copy' > '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/ghc-bignum-1.3-inplace.conf.copy.copy') # We finally replace the original file. mv '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/ghc-bignum-1.3-inplace.conf.copy.copy' '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/ghc-bignum-1.3-inplace.conf' # Fix the mode, in case umask is set chmod 644 '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/ghc-bignum-1.3-inplace.conf' # to the doc files. cat '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/base-4.19.1.0-inplace.conf' | sed 's|haddock-interfaces.*|haddock-interfaces: "${pkgroot}/../../../share/doc/ghc-9.8.2/html/libraries/base-4.19.1.0-inplace/base.haddock"|' | sed 's|haddock-html.*|haddock-html: "${pkgroot}/../../../share/doc/ghc-9.8.2/html/libraries/base-4.19.1.0-inplace"|' | sed 's| ${pkgroot}/../../doc/html/.*||' > '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/base-4.19.1.0-inplace.conf.copy' # The rts package doesn't actually supply haddocks, so we stop advertising them # altogether. ((echo "base" | grep rts) && (cat '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/base-4.19.1.0-inplace.conf.copy' | sed 's|haddock-.*||' > '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/base-4.19.1.0-inplace.conf.copy.copy')) || (cat '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/base-4.19.1.0-inplace.conf.copy' > '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/base-4.19.1.0-inplace.conf.copy.copy') # We finally replace the original file. mv '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/base-4.19.1.0-inplace.conf.copy.copy' '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/base-4.19.1.0-inplace.conf' # Fix the mode, in case umask is set chmod 644 '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/base-4.19.1.0-inplace.conf' # to the doc files. cat '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/array-0.5.6.0-inplace.conf' | sed 's|haddock-interfaces.*|haddock-interfaces: "${pkgroot}/../../../share/doc/ghc-9.8.2/html/libraries/array-0.5.6.0-inplace/array.haddock"|' | sed 's|haddock-html.*|haddock-html: "${pkgroot}/../../../share/doc/ghc-9.8.2/html/libraries/array-0.5.6.0-inplace"|' | sed 's| ${pkgroot}/../../doc/html/.*||' > '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/array-0.5.6.0-inplace.conf.copy' # The rts package doesn't actually supply haddocks, so we stop advertising them # altogether. ((echo "array" | grep rts) && (cat '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/array-0.5.6.0-inplace.conf.copy' | sed 's|haddock-.*||' > '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/array-0.5.6.0-inplace.conf.copy.copy')) || (cat '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/array-0.5.6.0-inplace.conf.copy' > '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/array-0.5.6.0-inplace.conf.copy.copy') # We finally replace the original file. mv '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/array-0.5.6.0-inplace.conf.copy.copy' '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/array-0.5.6.0-inplace.conf' # Fix the mode, in case umask is set chmod 644 '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/array-0.5.6.0-inplace.conf' # to the doc files. cat '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/terminfo-0.4.1.6-inplace.conf' | sed 's|haddock-interfaces.*|haddock-interfaces: "${pkgroot}/../../../share/doc/ghc-9.8.2/html/libraries/terminfo-0.4.1.6-inplace/terminfo.haddock"|' | sed 's|haddock-html.*|haddock-html: "${pkgroot}/../../../share/doc/ghc-9.8.2/html/libraries/terminfo-0.4.1.6-inplace"|' | sed 's| ${pkgroot}/../../doc/html/.*||' > '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/terminfo-0.4.1.6-inplace.conf.copy' # The rts package doesn't actually supply haddocks, so we stop advertising them # altogether. ((echo "terminfo" | grep rts) && (cat '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/terminfo-0.4.1.6-inplace.conf.copy' | sed 's|haddock-.*||' > '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/terminfo-0.4.1.6-inplace.conf.copy.copy')) || (cat '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/terminfo-0.4.1.6-inplace.conf.copy' > '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/terminfo-0.4.1.6-inplace.conf.copy.copy') # We finally replace the original file. mv '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/terminfo-0.4.1.6-inplace.conf.copy.copy' '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/terminfo-0.4.1.6-inplace.conf' # Fix the mode, in case umask is set chmod 644 '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/terminfo-0.4.1.6-inplace.conf' # to the doc files. cat '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/transformers-0.6.1.0-inplace.conf' | sed 's|haddock-interfaces.*|haddock-interfaces: "${pkgroot}/../../../share/doc/ghc-9.8.2/html/libraries/transformers-0.6.1.0-inplace/transformers.haddock"|' | sed 's|haddock-html.*|haddock-html: "${pkgroot}/../../../share/doc/ghc-9.8.2/html/libraries/transformers-0.6.1.0-inplace"|' | sed 's| ${pkgroot}/../../doc/html/.*||' > '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/transformers-0.6.1.0-inplace.conf.copy' # The rts package doesn't actually supply haddocks, so we stop advertising them # altogether. ((echo "transformers" | grep rts) && (cat '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/transformers-0.6.1.0-inplace.conf.copy' | sed 's|haddock-.*||' > '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/transformers-0.6.1.0-inplace.conf.copy.copy')) || (cat '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/transformers-0.6.1.0-inplace.conf.copy' > '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/transformers-0.6.1.0-inplace.conf.copy.copy') # We finally replace the original file. mv '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/transformers-0.6.1.0-inplace.conf.copy.copy' '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/transformers-0.6.1.0-inplace.conf' # Fix the mode, in case umask is set chmod 644 '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/transformers-0.6.1.0-inplace.conf' # to the doc files. cat '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/xhtml-3000.2.2.1-inplace.conf' | sed 's|haddock-interfaces.*|haddock-interfaces: "${pkgroot}/../../../share/doc/ghc-9.8.2/html/libraries/xhtml-3000.2.2.1-inplace/xhtml.haddock"|' | sed 's|haddock-html.*|haddock-html: "${pkgroot}/../../../share/doc/ghc-9.8.2/html/libraries/xhtml-3000.2.2.1-inplace"|' | sed 's| ${pkgroot}/../../doc/html/.*||' > '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/xhtml-3000.2.2.1-inplace.conf.copy' # The rts package doesn't actually supply haddocks, so we stop advertising them # altogether. ((echo "xhtml" | grep rts) && (cat '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/xhtml-3000.2.2.1-inplace.conf.copy' | sed 's|haddock-.*||' > '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/xhtml-3000.2.2.1-inplace.conf.copy.copy')) || (cat '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/xhtml-3000.2.2.1-inplace.conf.copy' > '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/xhtml-3000.2.2.1-inplace.conf.copy.copy') # We finally replace the original file. mv '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/xhtml-3000.2.2.1-inplace.conf.copy.copy' '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/xhtml-3000.2.2.1-inplace.conf' # Fix the mode, in case umask is set chmod 644 '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/xhtml-3000.2.2.1-inplace.conf' # to the doc files. cat '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/template-haskell-2.21.0.0-inplace.conf' | sed 's|haddock-interfaces.*|haddock-interfaces: "${pkgroot}/../../../share/doc/ghc-9.8.2/html/libraries/template-haskell-2.21.0.0-inplace/template-haskell.haddock"|' | sed 's|haddock-html.*|haddock-html: "${pkgroot}/../../../share/doc/ghc-9.8.2/html/libraries/template-haskell-2.21.0.0-inplace"|' | sed 's| ${pkgroot}/../../doc/html/.*||' > '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/template-haskell-2.21.0.0-inplace.conf.copy' # The rts package doesn't actually supply haddocks, so we stop advertising them # altogether. ((echo "template-haskell" | grep rts) && (cat '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/template-haskell-2.21.0.0-inplace.conf.copy' | sed 's|haddock-.*||' > '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/template-haskell-2.21.0.0-inplace.conf.copy.copy')) || (cat '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/template-haskell-2.21.0.0-inplace.conf.copy' > '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/template-haskell-2.21.0.0-inplace.conf.copy.copy') # We finally replace the original file. mv '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/template-haskell-2.21.0.0-inplace.conf.copy.copy' '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/template-haskell-2.21.0.0-inplace.conf' # Fix the mode, in case umask is set chmod 644 '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/template-haskell-2.21.0.0-inplace.conf' # to the doc files. cat '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/deepseq-1.5.0.0-inplace.conf' | sed 's|haddock-interfaces.*|haddock-interfaces: "${pkgroot}/../../../share/doc/ghc-9.8.2/html/libraries/deepseq-1.5.0.0-inplace/deepseq.haddock"|' | sed 's|haddock-html.*|haddock-html: "${pkgroot}/../../../share/doc/ghc-9.8.2/html/libraries/deepseq-1.5.0.0-inplace"|' | sed 's| ${pkgroot}/../../doc/html/.*||' > '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/deepseq-1.5.0.0-inplace.conf.copy' # The rts package doesn't actually supply haddocks, so we stop advertising them # altogether. ((echo "deepseq" | grep rts) && (cat '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/deepseq-1.5.0.0-inplace.conf.copy' | sed 's|haddock-.*||' > '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/deepseq-1.5.0.0-inplace.conf.copy.copy')) || (cat '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/deepseq-1.5.0.0-inplace.conf.copy' > '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/deepseq-1.5.0.0-inplace.conf.copy.copy') # We finally replace the original file. mv '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/deepseq-1.5.0.0-inplace.conf.copy.copy' '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/deepseq-1.5.0.0-inplace.conf' # Fix the mode, in case umask is set chmod 644 '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/deepseq-1.5.0.0-inplace.conf' # to the doc files. cat '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/stm-2.5.2.1-inplace.conf' | sed 's|haddock-interfaces.*|haddock-interfaces: "${pkgroot}/../../../share/doc/ghc-9.8.2/html/libraries/stm-2.5.2.1-inplace/stm.haddock"|' | sed 's|haddock-html.*|haddock-html: "${pkgroot}/../../../share/doc/ghc-9.8.2/html/libraries/stm-2.5.2.1-inplace"|' | sed 's| ${pkgroot}/../../doc/html/.*||' > '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/stm-2.5.2.1-inplace.conf.copy' # The rts package doesn't actually supply haddocks, so we stop advertising them # altogether. ((echo "stm" | grep rts) && (cat '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/stm-2.5.2.1-inplace.conf.copy' | sed 's|haddock-.*||' > '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/stm-2.5.2.1-inplace.conf.copy.copy')) || (cat '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/stm-2.5.2.1-inplace.conf.copy' > '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/stm-2.5.2.1-inplace.conf.copy.copy') # We finally replace the original file. mv '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/stm-2.5.2.1-inplace.conf.copy.copy' '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/stm-2.5.2.1-inplace.conf' # Fix the mode, in case umask is set chmod 644 '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/stm-2.5.2.1-inplace.conf' # to the doc files. cat '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/mtl-2.3.1-inplace.conf' | sed 's|haddock-interfaces.*|haddock-interfaces: "${pkgroot}/../../../share/doc/ghc-9.8.2/html/libraries/mtl-2.3.1-inplace/mtl.haddock"|' | sed 's|haddock-html.*|haddock-html: "${pkgroot}/../../../share/doc/ghc-9.8.2/html/libraries/mtl-2.3.1-inplace"|' | sed 's| ${pkgroot}/../../doc/html/.*||' > '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/mtl-2.3.1-inplace.conf.copy' # The rts package doesn't actually supply haddocks, so we stop advertising them # altogether. ((echo "mtl" | grep rts) && (cat '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/mtl-2.3.1-inplace.conf.copy' | sed 's|haddock-.*||' > '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/mtl-2.3.1-inplace.conf.copy.copy')) || (cat '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/mtl-2.3.1-inplace.conf.copy' > '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/mtl-2.3.1-inplace.conf.copy.copy') # We finally replace the original file. mv '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/mtl-2.3.1-inplace.conf.copy.copy' '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/mtl-2.3.1-inplace.conf' # Fix the mode, in case umask is set chmod 644 '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/mtl-2.3.1-inplace.conf' # to the doc files. cat '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/pretty-1.1.3.6-inplace.conf' | sed 's|haddock-interfaces.*|haddock-interfaces: "${pkgroot}/../../../share/doc/ghc-9.8.2/html/libraries/pretty-1.1.3.6-inplace/pretty.haddock"|' | sed 's|haddock-html.*|haddock-html: "${pkgroot}/../../../share/doc/ghc-9.8.2/html/libraries/pretty-1.1.3.6-inplace"|' | sed 's| ${pkgroot}/../../doc/html/.*||' > '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/pretty-1.1.3.6-inplace.conf.copy' # The rts package doesn't actually supply haddocks, so we stop advertising them # altogether. ((echo "pretty" | grep rts) && (cat '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/pretty-1.1.3.6-inplace.conf.copy' | sed 's|haddock-.*||' > '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/pretty-1.1.3.6-inplace.conf.copy.copy')) || (cat '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/pretty-1.1.3.6-inplace.conf.copy' > '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/pretty-1.1.3.6-inplace.conf.copy.copy') # We finally replace the original file. mv '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/pretty-1.1.3.6-inplace.conf.copy.copy' '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/pretty-1.1.3.6-inplace.conf' # Fix the mode, in case umask is set chmod 644 '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/pretty-1.1.3.6-inplace.conf' # to the doc files. cat '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/time-1.12.2-inplace.conf' | sed 's|haddock-interfaces.*|haddock-interfaces: "${pkgroot}/../../../share/doc/ghc-9.8.2/html/libraries/time-1.12.2-inplace/time.haddock"|' | sed 's|haddock-html.*|haddock-html: "${pkgroot}/../../../share/doc/ghc-9.8.2/html/libraries/time-1.12.2-inplace"|' | sed 's| ${pkgroot}/../../doc/html/.*||' > '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/time-1.12.2-inplace.conf.copy' # The rts package doesn't actually supply haddocks, so we stop advertising them # altogether. ((echo "time" | grep rts) && (cat '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/time-1.12.2-inplace.conf.copy' | sed 's|haddock-.*||' > '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/time-1.12.2-inplace.conf.copy.copy')) || (cat '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/time-1.12.2-inplace.conf.copy' > '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/time-1.12.2-inplace.conf.copy.copy') # We finally replace the original file. mv '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/time-1.12.2-inplace.conf.copy.copy' '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/time-1.12.2-inplace.conf' # Fix the mode, in case umask is set chmod 644 '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/time-1.12.2-inplace.conf' # to the doc files. cat '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/semaphore-compat-1.0.0-inplace.conf' | sed 's|haddock-interfaces.*|haddock-interfaces: "${pkgroot}/../../../share/doc/ghc-9.8.2/html/libraries/semaphore-compat-1.0.0-inplace/semaphore-compat.haddock"|' | sed 's|haddock-html.*|haddock-html: "${pkgroot}/../../../share/doc/ghc-9.8.2/html/libraries/semaphore-compat-1.0.0-inplace"|' | sed 's| ${pkgroot}/../../doc/html/.*||' > '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/semaphore-compat-1.0.0-inplace.conf.copy' # The rts package doesn't actually supply haddocks, so we stop advertising them # altogether. ((echo "semaphore-compat" | grep rts) && (cat '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/semaphore-compat-1.0.0-inplace.conf.copy' | sed 's|haddock-.*||' > '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/semaphore-compat-1.0.0-inplace.conf.copy.copy')) || (cat '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/semaphore-compat-1.0.0-inplace.conf.copy' > '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/semaphore-compat-1.0.0-inplace.conf.copy.copy') # We finally replace the original file. mv '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/semaphore-compat-1.0.0-inplace.conf.copy.copy' '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/semaphore-compat-1.0.0-inplace.conf' # Fix the mode, in case umask is set chmod 644 '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/semaphore-compat-1.0.0-inplace.conf' # to the doc files. cat '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/exceptions-0.10.7-inplace.conf' | sed 's|haddock-interfaces.*|haddock-interfaces: "${pkgroot}/../../../share/doc/ghc-9.8.2/html/libraries/exceptions-0.10.7-inplace/exceptions.haddock"|' | sed 's|haddock-html.*|haddock-html: "${pkgroot}/../../../share/doc/ghc-9.8.2/html/libraries/exceptions-0.10.7-inplace"|' | sed 's| ${pkgroot}/../../doc/html/.*||' > '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/exceptions-0.10.7-inplace.conf.copy' # The rts package doesn't actually supply haddocks, so we stop advertising them # altogether. ((echo "exceptions" | grep rts) && (cat '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/exceptions-0.10.7-inplace.conf.copy' | sed 's|haddock-.*||' > '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/exceptions-0.10.7-inplace.conf.copy.copy')) || (cat '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/exceptions-0.10.7-inplace.conf.copy' > '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/exceptions-0.10.7-inplace.conf.copy.copy') # We finally replace the original file. mv '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/exceptions-0.10.7-inplace.conf.copy.copy' '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/exceptions-0.10.7-inplace.conf' # Fix the mode, in case umask is set chmod 644 '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/exceptions-0.10.7-inplace.conf' # to the doc files. cat '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/bytestring-0.12.1.0-inplace.conf' | sed 's|haddock-interfaces.*|haddock-interfaces: "${pkgroot}/../../../share/doc/ghc-9.8.2/html/libraries/bytestring-0.12.1.0-inplace/bytestring.haddock"|' | sed 's|haddock-html.*|haddock-html: "${pkgroot}/../../../share/doc/ghc-9.8.2/html/libraries/bytestring-0.12.1.0-inplace"|' | sed 's| ${pkgroot}/../../doc/html/.*||' > '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/bytestring-0.12.1.0-inplace.conf.copy' # The rts package doesn't actually supply haddocks, so we stop advertising them # altogether. ((echo "bytestring" | grep rts) && (cat '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/bytestring-0.12.1.0-inplace.conf.copy' | sed 's|haddock-.*||' > '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/bytestring-0.12.1.0-inplace.conf.copy.copy')) || (cat '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/bytestring-0.12.1.0-inplace.conf.copy' > '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/bytestring-0.12.1.0-inplace.conf.copy.copy') # We finally replace the original file. mv '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/bytestring-0.12.1.0-inplace.conf.copy.copy' '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/bytestring-0.12.1.0-inplace.conf' # Fix the mode, in case umask is set chmod 644 '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/bytestring-0.12.1.0-inplace.conf' # to the doc files. cat '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/containers-0.6.8-inplace.conf' | sed 's|haddock-interfaces.*|haddock-interfaces: "${pkgroot}/../../../share/doc/ghc-9.8.2/html/libraries/containers-0.6.8-inplace/containers.haddock"|' | sed 's|haddock-html.*|haddock-html: "${pkgroot}/../../../share/doc/ghc-9.8.2/html/libraries/containers-0.6.8-inplace"|' | sed 's| ${pkgroot}/../../doc/html/.*||' > '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/containers-0.6.8-inplace.conf.copy' # The rts package doesn't actually supply haddocks, so we stop advertising them # altogether. ((echo "containers" | grep rts) && (cat '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/containers-0.6.8-inplace.conf.copy' | sed 's|haddock-.*||' > '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/containers-0.6.8-inplace.conf.copy.copy')) || (cat '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/containers-0.6.8-inplace.conf.copy' > '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/containers-0.6.8-inplace.conf.copy.copy') # We finally replace the original file. mv '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/containers-0.6.8-inplace.conf.copy.copy' '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/containers-0.6.8-inplace.conf' # Fix the mode, in case umask is set chmod 644 '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/containers-0.6.8-inplace.conf' # to the doc files. cat '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/ghc-compact-0.1.0.0-inplace.conf' | sed 's|haddock-interfaces.*|haddock-interfaces: "${pkgroot}/../../../share/doc/ghc-9.8.2/html/libraries/ghc-compact-0.1.0.0-inplace/ghc-compact.haddock"|' | sed 's|haddock-html.*|haddock-html: "${pkgroot}/../../../share/doc/ghc-9.8.2/html/libraries/ghc-compact-0.1.0.0-inplace"|' | sed 's| ${pkgroot}/../../doc/html/.*||' > '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/ghc-compact-0.1.0.0-inplace.conf.copy' # The rts package doesn't actually supply haddocks, so we stop advertising them # altogether. ((echo "ghc-compact" | grep rts) && (cat '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/ghc-compact-0.1.0.0-inplace.conf.copy' | sed 's|haddock-.*||' > '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/ghc-compact-0.1.0.0-inplace.conf.copy.copy')) || (cat '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/ghc-compact-0.1.0.0-inplace.conf.copy' > '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/ghc-compact-0.1.0.0-inplace.conf.copy.copy') # We finally replace the original file. mv '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/ghc-compact-0.1.0.0-inplace.conf.copy.copy' '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/ghc-compact-0.1.0.0-inplace.conf' # Fix the mode, in case umask is set chmod 644 '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/ghc-compact-0.1.0.0-inplace.conf' # to the doc files. cat '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/filepath-1.4.200.1-inplace.conf' | sed 's|haddock-interfaces.*|haddock-interfaces: "${pkgroot}/../../../share/doc/ghc-9.8.2/html/libraries/filepath-1.4.200.1-inplace/filepath.haddock"|' | sed 's|haddock-html.*|haddock-html: "${pkgroot}/../../../share/doc/ghc-9.8.2/html/libraries/filepath-1.4.200.1-inplace"|' | sed 's| ${pkgroot}/../../doc/html/.*||' > '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/filepath-1.4.200.1-inplace.conf.copy' # The rts package doesn't actually supply haddocks, so we stop advertising them # altogether. ((echo "filepath" | grep rts) && (cat '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/filepath-1.4.200.1-inplace.conf.copy' | sed 's|haddock-.*||' > '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/filepath-1.4.200.1-inplace.conf.copy.copy')) || (cat '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/filepath-1.4.200.1-inplace.conf.copy' > '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/filepath-1.4.200.1-inplace.conf.copy.copy') # We finally replace the original file. mv '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/filepath-1.4.200.1-inplace.conf.copy.copy' '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/filepath-1.4.200.1-inplace.conf' # Fix the mode, in case umask is set chmod 644 '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/filepath-1.4.200.1-inplace.conf' # to the doc files. cat '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/text-2.1.1-inplace.conf' | sed 's|haddock-interfaces.*|haddock-interfaces: "${pkgroot}/../../../share/doc/ghc-9.8.2/html/libraries/text-2.1.1-inplace/text.haddock"|' | sed 's|haddock-html.*|haddock-html: "${pkgroot}/../../../share/doc/ghc-9.8.2/html/libraries/text-2.1.1-inplace"|' | sed 's| ${pkgroot}/../../doc/html/.*||' > '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/text-2.1.1-inplace.conf.copy' # The rts package doesn't actually supply haddocks, so we stop advertising them # altogether. ((echo "text" | grep rts) && (cat '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/text-2.1.1-inplace.conf.copy' | sed 's|haddock-.*||' > '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/text-2.1.1-inplace.conf.copy.copy')) || (cat '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/text-2.1.1-inplace.conf.copy' > '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/text-2.1.1-inplace.conf.copy.copy') # We finally replace the original file. mv '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/text-2.1.1-inplace.conf.copy.copy' '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/text-2.1.1-inplace.conf' # Fix the mode, in case umask is set chmod 644 '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/text-2.1.1-inplace.conf' # to the doc files. cat '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/binary-0.8.9.1-inplace.conf' | sed 's|haddock-interfaces.*|haddock-interfaces: "${pkgroot}/../../../share/doc/ghc-9.8.2/html/libraries/binary-0.8.9.1-inplace/binary.haddock"|' | sed 's|haddock-html.*|haddock-html: "${pkgroot}/../../../share/doc/ghc-9.8.2/html/libraries/binary-0.8.9.1-inplace"|' | sed 's| ${pkgroot}/../../doc/html/.*||' > '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/binary-0.8.9.1-inplace.conf.copy' # The rts package doesn't actually supply haddocks, so we stop advertising them # altogether. ((echo "binary" | grep rts) && (cat '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/binary-0.8.9.1-inplace.conf.copy' | sed 's|haddock-.*||' > '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/binary-0.8.9.1-inplace.conf.copy.copy')) || (cat '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/binary-0.8.9.1-inplace.conf.copy' > '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/binary-0.8.9.1-inplace.conf.copy.copy') # We finally replace the original file. mv '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/binary-0.8.9.1-inplace.conf.copy.copy' '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/binary-0.8.9.1-inplace.conf' # Fix the mode, in case umask is set chmod 644 '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/binary-0.8.9.1-inplace.conf' # to the doc files. cat '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/ghc-heap-9.8.2-inplace.conf' | sed 's|haddock-interfaces.*|haddock-interfaces: "${pkgroot}/../../../share/doc/ghc-9.8.2/html/libraries/ghc-heap-9.8.2-inplace/ghc-heap.haddock"|' | sed 's|haddock-html.*|haddock-html: "${pkgroot}/../../../share/doc/ghc-9.8.2/html/libraries/ghc-heap-9.8.2-inplace"|' | sed 's| ${pkgroot}/../../doc/html/.*||' > '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/ghc-heap-9.8.2-inplace.conf.copy' # The rts package doesn't actually supply haddocks, so we stop advertising them # altogether. ((echo "ghc-heap" | grep rts) && (cat '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/ghc-heap-9.8.2-inplace.conf.copy' | sed 's|haddock-.*||' > '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/ghc-heap-9.8.2-inplace.conf.copy.copy')) || (cat '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/ghc-heap-9.8.2-inplace.conf.copy' > '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/ghc-heap-9.8.2-inplace.conf.copy.copy') # We finally replace the original file. mv '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/ghc-heap-9.8.2-inplace.conf.copy.copy' '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/ghc-heap-9.8.2-inplace.conf' # Fix the mode, in case umask is set chmod 644 '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/ghc-heap-9.8.2-inplace.conf' # to the doc files. cat '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/unix-2.8.4.0-inplace.conf' | sed 's|haddock-interfaces.*|haddock-interfaces: "${pkgroot}/../../../share/doc/ghc-9.8.2/html/libraries/unix-2.8.4.0-inplace/unix.haddock"|' | sed 's|haddock-html.*|haddock-html: "${pkgroot}/../../../share/doc/ghc-9.8.2/html/libraries/unix-2.8.4.0-inplace"|' | sed 's| ${pkgroot}/../../doc/html/.*||' > '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/unix-2.8.4.0-inplace.conf.copy' # The rts package doesn't actually supply haddocks, so we stop advertising them # altogether. ((echo "unix" | grep rts) && (cat '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/unix-2.8.4.0-inplace.conf.copy' | sed 's|haddock-.*||' > '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/unix-2.8.4.0-inplace.conf.copy.copy')) || (cat '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/unix-2.8.4.0-inplace.conf.copy' > '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/unix-2.8.4.0-inplace.conf.copy.copy') # We finally replace the original file. mv '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/unix-2.8.4.0-inplace.conf.copy.copy' '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/unix-2.8.4.0-inplace.conf' # Fix the mode, in case umask is set chmod 644 '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/unix-2.8.4.0-inplace.conf' # to the doc files. cat '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/process-1.6.18.0-inplace.conf' | sed 's|haddock-interfaces.*|haddock-interfaces: "${pkgroot}/../../../share/doc/ghc-9.8.2/html/libraries/process-1.6.18.0-inplace/process.haddock"|' | sed 's|haddock-html.*|haddock-html: "${pkgroot}/../../../share/doc/ghc-9.8.2/html/libraries/process-1.6.18.0-inplace"|' | sed 's| ${pkgroot}/../../doc/html/.*||' > '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/process-1.6.18.0-inplace.conf.copy' # The rts package doesn't actually supply haddocks, so we stop advertising them # altogether. ((echo "process" | grep rts) && (cat '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/process-1.6.18.0-inplace.conf.copy' | sed 's|haddock-.*||' > '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/process-1.6.18.0-inplace.conf.copy.copy')) || (cat '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/process-1.6.18.0-inplace.conf.copy' > '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/process-1.6.18.0-inplace.conf.copy.copy') # We finally replace the original file. mv '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/process-1.6.18.0-inplace.conf.copy.copy' '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/process-1.6.18.0-inplace.conf' # Fix the mode, in case umask is set chmod 644 '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/process-1.6.18.0-inplace.conf' # to the doc files. cat '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/directory-1.3.8.1-inplace.conf' | sed 's|haddock-interfaces.*|haddock-interfaces: "${pkgroot}/../../../share/doc/ghc-9.8.2/html/libraries/directory-1.3.8.1-inplace/directory.haddock"|' | sed 's|haddock-html.*|haddock-html: "${pkgroot}/../../../share/doc/ghc-9.8.2/html/libraries/directory-1.3.8.1-inplace"|' | sed 's| ${pkgroot}/../../doc/html/.*||' > '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/directory-1.3.8.1-inplace.conf.copy' # The rts package doesn't actually supply haddocks, so we stop advertising them # altogether. ((echo "directory" | grep rts) && (cat '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/directory-1.3.8.1-inplace.conf.copy' | sed 's|haddock-.*||' > '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/directory-1.3.8.1-inplace.conf.copy.copy')) || (cat '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/directory-1.3.8.1-inplace.conf.copy' > '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/directory-1.3.8.1-inplace.conf.copy.copy') # We finally replace the original file. mv '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/directory-1.3.8.1-inplace.conf.copy.copy' '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/directory-1.3.8.1-inplace.conf' # Fix the mode, in case umask is set chmod 644 '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/directory-1.3.8.1-inplace.conf' # to the doc files. cat '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/parsec-3.1.17.0-inplace.conf' | sed 's|haddock-interfaces.*|haddock-interfaces: "${pkgroot}/../../../share/doc/ghc-9.8.2/html/libraries/parsec-3.1.17.0-inplace/parsec.haddock"|' | sed 's|haddock-html.*|haddock-html: "${pkgroot}/../../../share/doc/ghc-9.8.2/html/libraries/parsec-3.1.17.0-inplace"|' | sed 's| ${pkgroot}/../../doc/html/.*||' > '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/parsec-3.1.17.0-inplace.conf.copy' # The rts package doesn't actually supply haddocks, so we stop advertising them # altogether. ((echo "parsec" | grep rts) && (cat '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/parsec-3.1.17.0-inplace.conf.copy' | sed 's|haddock-.*||' > '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/parsec-3.1.17.0-inplace.conf.copy.copy')) || (cat '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/parsec-3.1.17.0-inplace.conf.copy' > '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/parsec-3.1.17.0-inplace.conf.copy.copy') # We finally replace the original file. mv '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/parsec-3.1.17.0-inplace.conf.copy.copy' '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/parsec-3.1.17.0-inplace.conf' # Fix the mode, in case umask is set chmod 644 '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/parsec-3.1.17.0-inplace.conf' # to the doc files. cat '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/hpc-0.7.0.0-inplace.conf' | sed 's|haddock-interfaces.*|haddock-interfaces: "${pkgroot}/../../../share/doc/ghc-9.8.2/html/libraries/hpc-0.7.0.0-inplace/hpc.haddock"|' | sed 's|haddock-html.*|haddock-html: "${pkgroot}/../../../share/doc/ghc-9.8.2/html/libraries/hpc-0.7.0.0-inplace"|' | sed 's| ${pkgroot}/../../doc/html/.*||' > '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/hpc-0.7.0.0-inplace.conf.copy' # The rts package doesn't actually supply haddocks, so we stop advertising them # altogether. ((echo "hpc" | grep rts) && (cat '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/hpc-0.7.0.0-inplace.conf.copy' | sed 's|haddock-.*||' > '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/hpc-0.7.0.0-inplace.conf.copy.copy')) || (cat '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/hpc-0.7.0.0-inplace.conf.copy' > '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/hpc-0.7.0.0-inplace.conf.copy.copy') # We finally replace the original file. mv '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/hpc-0.7.0.0-inplace.conf.copy.copy' '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/hpc-0.7.0.0-inplace.conf' # Fix the mode, in case umask is set chmod 644 '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/hpc-0.7.0.0-inplace.conf' # to the doc files. cat '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/Cabal-syntax-3.10.2.0-inplace.conf' | sed 's|haddock-interfaces.*|haddock-interfaces: "${pkgroot}/../../../share/doc/ghc-9.8.2/html/libraries/Cabal-syntax-3.10.2.0-inplace/Cabal-syntax.haddock"|' | sed 's|haddock-html.*|haddock-html: "${pkgroot}/../../../share/doc/ghc-9.8.2/html/libraries/Cabal-syntax-3.10.2.0-inplace"|' | sed 's| ${pkgroot}/../../doc/html/.*||' > '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/Cabal-syntax-3.10.2.0-inplace.conf.copy' # The rts package doesn't actually supply haddocks, so we stop advertising them # altogether. ((echo "Cabal-syntax" | grep rts) && (cat '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/Cabal-syntax-3.10.2.0-inplace.conf.copy' | sed 's|haddock-.*||' > '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/Cabal-syntax-3.10.2.0-inplace.conf.copy.copy')) || (cat '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/Cabal-syntax-3.10.2.0-inplace.conf.copy' > '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/Cabal-syntax-3.10.2.0-inplace.conf.copy.copy') # We finally replace the original file. mv '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/Cabal-syntax-3.10.2.0-inplace.conf.copy.copy' '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/Cabal-syntax-3.10.2.0-inplace.conf' # Fix the mode, in case umask is set chmod 644 '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/Cabal-syntax-3.10.2.0-inplace.conf' # to the doc files. cat '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/ghc-boot-9.8.2-inplace.conf' | sed 's|haddock-interfaces.*|haddock-interfaces: "${pkgroot}/../../../share/doc/ghc-9.8.2/html/libraries/ghc-boot-9.8.2-inplace/ghc-boot.haddock"|' | sed 's|haddock-html.*|haddock-html: "${pkgroot}/../../../share/doc/ghc-9.8.2/html/libraries/ghc-boot-9.8.2-inplace"|' | sed 's| ${pkgroot}/../../doc/html/.*||' > '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/ghc-boot-9.8.2-inplace.conf.copy' # The rts package doesn't actually supply haddocks, so we stop advertising them # altogether. ((echo "ghc-boot" | grep rts) && (cat '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/ghc-boot-9.8.2-inplace.conf.copy' | sed 's|haddock-.*||' > '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/ghc-boot-9.8.2-inplace.conf.copy.copy')) || (cat '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/ghc-boot-9.8.2-inplace.conf.copy' > '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/ghc-boot-9.8.2-inplace.conf.copy.copy') # We finally replace the original file. mv '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/ghc-boot-9.8.2-inplace.conf.copy.copy' '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/ghc-boot-9.8.2-inplace.conf' # Fix the mode, in case umask is set chmod 644 '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/ghc-boot-9.8.2-inplace.conf' # to the doc files. cat '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/ghci-9.8.2-inplace.conf' | sed 's|haddock-interfaces.*|haddock-interfaces: "${pkgroot}/../../../share/doc/ghc-9.8.2/html/libraries/ghci-9.8.2-inplace/ghci.haddock"|' | sed 's|haddock-html.*|haddock-html: "${pkgroot}/../../../share/doc/ghc-9.8.2/html/libraries/ghci-9.8.2-inplace"|' | sed 's| ${pkgroot}/../../doc/html/.*||' > '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/ghci-9.8.2-inplace.conf.copy' # The rts package doesn't actually supply haddocks, so we stop advertising them # altogether. ((echo "ghci" | grep rts) && (cat '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/ghci-9.8.2-inplace.conf.copy' | sed 's|haddock-.*||' > '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/ghci-9.8.2-inplace.conf.copy.copy')) || (cat '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/ghci-9.8.2-inplace.conf.copy' > '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/ghci-9.8.2-inplace.conf.copy.copy') # We finally replace the original file. mv '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/ghci-9.8.2-inplace.conf.copy.copy' '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/ghci-9.8.2-inplace.conf' # Fix the mode, in case umask is set chmod 644 '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/ghci-9.8.2-inplace.conf' # to the doc files. cat '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/haskeline-0.8.2.1-inplace.conf' | sed 's|haddock-interfaces.*|haddock-interfaces: "${pkgroot}/../../../share/doc/ghc-9.8.2/html/libraries/haskeline-0.8.2.1-inplace/haskeline.haddock"|' | sed 's|haddock-html.*|haddock-html: "${pkgroot}/../../../share/doc/ghc-9.8.2/html/libraries/haskeline-0.8.2.1-inplace"|' | sed 's| ${pkgroot}/../../doc/html/.*||' > '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/haskeline-0.8.2.1-inplace.conf.copy' # The rts package doesn't actually supply haddocks, so we stop advertising them # altogether. ((echo "haskeline" | grep rts) && (cat '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/haskeline-0.8.2.1-inplace.conf.copy' | sed 's|haddock-.*||' > '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/haskeline-0.8.2.1-inplace.conf.copy.copy')) || (cat '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/haskeline-0.8.2.1-inplace.conf.copy' > '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/haskeline-0.8.2.1-inplace.conf.copy.copy') # We finally replace the original file. mv '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/haskeline-0.8.2.1-inplace.conf.copy.copy' '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/haskeline-0.8.2.1-inplace.conf' # Fix the mode, in case umask is set chmod 644 '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/haskeline-0.8.2.1-inplace.conf' # to the doc files. cat '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/Cabal-3.10.2.0-inplace.conf' | sed 's|haddock-interfaces.*|haddock-interfaces: "${pkgroot}/../../../share/doc/ghc-9.8.2/html/libraries/Cabal-3.10.2.0-inplace/Cabal.haddock"|' | sed 's|haddock-html.*|haddock-html: "${pkgroot}/../../../share/doc/ghc-9.8.2/html/libraries/Cabal-3.10.2.0-inplace"|' | sed 's| ${pkgroot}/../../doc/html/.*||' > '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/Cabal-3.10.2.0-inplace.conf.copy' # The rts package doesn't actually supply haddocks, so we stop advertising them # altogether. ((echo "Cabal" | grep rts) && (cat '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/Cabal-3.10.2.0-inplace.conf.copy' | sed 's|haddock-.*||' > '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/Cabal-3.10.2.0-inplace.conf.copy.copy')) || (cat '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/Cabal-3.10.2.0-inplace.conf.copy' > '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/Cabal-3.10.2.0-inplace.conf.copy.copy') # We finally replace the original file. mv '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/Cabal-3.10.2.0-inplace.conf.copy.copy' '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/Cabal-3.10.2.0-inplace.conf' # Fix the mode, in case umask is set chmod 644 '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/Cabal-3.10.2.0-inplace.conf' # to the doc files. cat '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/ghc-9.8.2-inplace.conf' | sed 's|haddock-interfaces.*|haddock-interfaces: "${pkgroot}/../../../share/doc/ghc-9.8.2/html/libraries/ghc-9.8.2-inplace/ghc.haddock"|' | sed 's|haddock-html.*|haddock-html: "${pkgroot}/../../../share/doc/ghc-9.8.2/html/libraries/ghc-9.8.2-inplace"|' | sed 's| ${pkgroot}/../../doc/html/.*||' > '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/ghc-9.8.2-inplace.conf.copy' # The rts package doesn't actually supply haddocks, so we stop advertising them # altogether. ((echo "ghc" | grep rts) && (cat '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/ghc-9.8.2-inplace.conf.copy' | sed 's|haddock-.*||' > '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/ghc-9.8.2-inplace.conf.copy.copy')) || (cat '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/ghc-9.8.2-inplace.conf.copy' > '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/ghc-9.8.2-inplace.conf.copy.copy') # We finally replace the original file. mv '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/ghc-9.8.2-inplace.conf.copy.copy' '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/ghc-9.8.2-inplace.conf' # Fix the mode, in case umask is set chmod 644 '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d/ghc-9.8.2-inplace.conf' '/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/bin/ghc-pkg' --global-package-db "/pbulk/work/lang/ghc910/work/.tools/lib/ghc-9.8.2/lib/package.conf.d" recache Copying data to share /pbulk/work/lang/ghc910/work/.tools/bin/install -c -m 755 -d "/pbulk/work/lang/ghc910/work/.tools/share" cd share; /pbulk/work/lang/ghc910/work/.tools/bin/find . -type f -exec sh -c \ '/pbulk/work/lang/ghc910/work/.tools/bin/install -c -m 755 -d "/pbulk/work/lang/ghc910/work/.tools/share/`dirname $1`" && \ /pbulk/work/lang/ghc910/work/.tools/bin/install -c -m 644 "$1" "/pbulk/work/lang/ghc910/work/.tools/share/`dirname $1`"' \ sh '{}' ';'; => Modifying GNU configure scripts to avoid --recheck => Replacing config-guess with pkgsrc versions => Replacing config-sub with pkgsrc versions => Replacing install-sh with pkgsrc version checking for gfind... no checking for find... /pbulk/work/lang/ghc910/work/.tools/bin/find checking for sort... /pbulk/work/lang/ghc910/work/.tools/bin/sort checking for GHC Git commit id... given 6d779c0fab30c39475aef50d39064ed67ce839d7 checking for ghc... /pbulk/work/lang/ghc910/work/.tools/bin/ghc checking version of ghc... 9.8.2 checking build system type... x86_64-unknown-netbsd10.0 checking host system type... x86_64-unknown-netbsd10.0 checking target system type... x86_64-unknown-netbsd10.0 build platform inferred as: x86_64-unknown-netbsd host platform inferred as: x86_64-unknown-netbsd target platform inferred as: x86_64-unknown-netbsd configure: GHC build : x86_64-unknown-netbsd configure: GHC host : x86_64-unknown-netbsd configure: GHC target : x86_64-unknown-netbsd checking for sh... /pbulk/work/lang/ghc910/work/.tools/bin/sh checking whether target supports a registerised ABI... yes checking whether target supports tables next to code... yes checking for path to top of build tree... /pbulk/work/lang/ghc910/work/ghc-9.10.1 checking for gcc... /pbulk/work/lang/ghc910/work/.cwrapper/bin/gcc checking for g++... /pbulk/work/lang/ghc910/work/.cwrapper/bin/g++ checking for nm... /usr/bin/nm checking for ar... /usr/bin/ar checking for ranlib... /usr/bin/ranlib checking for objdump... /usr/bin/objdump checking for windres... no checking for genlib... no checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether the compiler supports GNU C... yes checking whether /pbulk/work/lang/ghc910/work/.cwrapper/bin/gcc accepts -g... yes checking for /pbulk/work/lang/ghc910/work/.cwrapper/bin/gcc option to enable C11 features... none needed checking whether the compiler supports GNU C++... yes checking whether /pbulk/work/lang/ghc910/work/.cwrapper/bin/g++ accepts -g... yes checking for /pbulk/work/lang/ghc910/work/.cwrapper/bin/g++ option to enable C++11 features... none needed checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for wchar.h... yes checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking whether _XOPEN_SOURCE should be defined... no checking for -ld... ld checking for -nm... /usr/bin/nm checking for ld.gold object merging bug (binutils 22266)... configure: Checking whether ld can merge objects checking whether ld is GNU ld... YES checking whether ld understands -no_compact_unwind... no checking whether ld understands -filelist... no checking whether ld supports -single_module... no checking for -nm... (cached) /usr/bin/nm checking for ranlib... /usr/bin/ranlib checking for -strip... no checking for strip... strip checking for -otool... no checking for otool... no checking for -install_name_tool... no checking for install_name_tool... no checking for gawk... /usr/bin/awk no configure: We only support llvm 13 upto 16 (non-inclusive) (no version found). no configure: We only support llvm 13 upto 16 (non-inclusive) (no version found). checking for clang-15... no checking for clang-15.0... no checking for clang15... no checking for clang-14... no checking for clang-14.0... no checking for clang14... no checking for clang-13... no checking for clang-13.0... no checking for clang13... no checking for clang... clang no configure: We only support llvm 13 upto 16 (non-inclusive) (no version found). configure: Creating links for headers shared by the RTS and compiler configure: done. configure: Creating links for in-tree file handling routines configure: Routines in place. Packages can now be build normally. configure: Creating links for ghci wrapper configure: done. checking whether #! works in shell scripts... yes checking version of gcc... checking version of gcc... 10.5.0 10.5.0 checking whether CC supports flags passed by GHC when compiling via C... yes checking whether C compiler supports __atomic_ builtins... yes checking whether -latomic is needed for sub-word-sized atomic operations... no checking whether -latomic is needed for 64-bit atomic operations... no checking whether C compiler has an LLVM back end... no checking Setting up CFLAGS, LDFLAGS, IGNORE_LINKER_LD_FLAGS and CPPFLAGS... done checking Setting up CONF_CC_OPTS_STAGE0, CONF_GCC_LINKER_OPTS_STAGE0, CONF_LD_LINKER_OPTS_STAGE0 and CONF_CPP_OPTS_STAGE0... done checking Setting up CONF_CC_OPTS_STAGE1, CONF_GCC_LINKER_OPTS_STAGE1, CONF_LD_LINKER_OPTS_STAGE1 and CONF_CPP_OPTS_STAGE1... done checking Setting up CONF_CC_OPTS_STAGE2, CONF_GCC_LINKER_OPTS_STAGE2, CONF_LD_LINKER_OPTS_STAGE2 and CONF_CPP_OPTS_STAGE2... done checking whether ld supports response files... yes checking whether gcc supports --target... no checking whether /pbulk/work/lang/ghc910/work/.cwrapper/bin/gcc supports --target... no checking whether /pbulk/work/lang/ghc910/work/.cwrapper/bin/gcc supports --target... no checking whether /pbulk/work/lang/ghc910/work/.cwrapper/bin/gcc used as a linker understands --target... gcc: error: unrecognized command-line option '--target=x86_64-unknown-netbsd' no checking whether /pbulk/work/lang/ghc910/work/.cwrapper/bin/gcc used as a linker understands --target... gcc: error: unrecognized command-line option '--target=x86_64-unknown-netbsd' no checking whether /pbulk/work/lang/ghc910/work/.cwrapper/bin/gcc used as a linker understands --target... gcc: error: unrecognized command-line option '--target=x86_64-unknown-netbsd' no checking whether CC supports -no-pie... yes checking whether gcc supports -Qunused-arguments... no checking whether /pbulk/work/lang/ghc910/work/.cwrapper/bin/gcc supports -Qunused-arguments... no checking whether /pbulk/work/lang/ghc910/work/.cwrapper/bin/gcc supports -Qunused-arguments... no checking C++ standard library flavour... libstdc++ checking for linkage against 'stdc++'... success checking for .subsections_via_symbols... no checking whether your assembler supports .ident directive... yes checking for a working context diff... diff -U 1 checking for a BSD-compatible install... /usr/bin/install -c -o pbulk -g users checking whether /usr/bin/ar is GNU ar... yes checking for ar arguments... q checking whether /usr/bin/ar supports @file... yes checking whether /usr/bin/ar supports -L... /usr/bin/ar: conftest.a: No such file or directory no checking for ranlib... (cached) /usr/bin/ranlib checking whether ln -s works... yes checking for gsed... no checking for sed... /pbulk/work/lang/ghc910/work/.tools/bin/sed checking for time... /usr/bin/time checking for gnutar... no checking for gtar... /pbulk/work/lang/ghc910/work/.tools/bin/gtar checking for autoreconf... /pbulk/work/lang/ghc910/work/.tools/bin/autoreconf checking for dtrace... /usr/sbin/dtrace checking for HsColour... (cached) no checking for sphinx-build... /usr/pkg/bin/sphinx-build-3.12 checking for version of sphinx-build... 8.2.3 checking for xelatex... no checking for makeindex... no checking for git... no checking for makeinfo... /pbulk/work/lang/ghc910/work/.tools/bin/makeinfo checking for cabal... no checking for python3... /usr/pkg/bin/python3.12 checking for ghc-pkg matching /pbulk/work/lang/ghc910/work/.tools/bin/ghc... /pbulk/work/lang/ghc910/work/.tools/bin/ghc-pkg checking for happy... (cached) no checking for version of happy... checking for alex... (cached) no checking for version of alex... checking size of void *... 8 checking whether byte ordering is bigendian... no checking for atan in -lm... yes checking for ffi_call in -lffi... yes checking for ffi.h... yes checking for dlopen in -ldl... no checking for nlist in -lelf... yes checking leading underscore in symbol names... no checking for clock_gettime in -lrt... yes checking whether -lpthread is needed for pthreads... checking for pthread_create... no checking for pthread_create in -lpthread... yes yes checking whether to use libffi for adjustors... no checking for numa.h... no checking for numaif.h... no Execute: sh config.sub x86_64-unknown-netbsd Normalised triple: x86_64-unknown-netbsd ~> x86_64-unknown-netbsd checking for C compiler... Entering: checking for C compiler found for C compiler: Cc {ccProgram = Program { prgPath = "gcc" , prgFlags = [] }} checking for C compiler... Entering: checking for C compiler found for C compiler: Cc {ccProgram = Program { prgPath = "gcc" , prgFlags = [] }} checking for -Qunused-arguments support... Entering: checking for -Qunused-arguments support Execute: gcc -Qunused-arguments -c -o /tmp/tmp0/test.o /tmp/tmp0/test.o.c Command failed: gcc -Qunused-arguments -c -o /tmp/tmp0/test.o /tmp/tmp0/test.o.c Exited with code 1 found for -Qunused-arguments support: Cc {ccProgram = Program { prgPath = "gcc" , prgFlags = [] }} checking whether Cc supports --target... Entering: checking whether Cc supports --target Execute: gcc -Werror --target=x86_64-unknown-netbsd -c -o /tmp/tmp0/test.o /tmp/tmp0/test.o.c Command failed: gcc -Werror --target=x86_64-unknown-netbsd -c -o /tmp/tmp0/test.o /tmp/tmp0/test.o.c Exited with code 1 found whether Cc supports --target: Cc {ccProgram = Program { prgPath = "gcc" , prgFlags = [] }} checking whether Cc works... Entering: checking whether Cc works Execute: gcc -c -o /tmp/tmp0/test.o /tmp/tmp0/test.o.c found whether Cc works: () checking for C99 support... Entering: checking for C99 support Execute: gcc -c -o /tmp/tmp0/test.o /tmp/tmp0/test.o.c found for C99 support: Cc {ccProgram = Program { prgPath = "gcc" , prgFlags = [] }} checking whether cc supports extra via-c flags... Entering: checking whether cc supports extra via-c flags Execute: gcc -c -fwrapv -fno-builtin -Werror -x c -o /tmp/tmp0/test.o /tmp/tmp0/test.c found whether cc supports extra via-c flags: () checking for C++ compiler... Entering: checking for C++ compiler x86_64-unknown-netbsd-g++ not found in search path x86_64-unknown-netbsd-clang++ not found in search path x86_64-unknown-netbsd-c++ not found in search path checking whether C++ supports --target... Entering: checking whether C++ supports --target Execute: g++ -Werror --target=x86_64-unknown-netbsd -c -o /tmp/tmp0/test.o /tmp/tmp0/test.o.cpp Command failed: g++ -Werror --target=x86_64-unknown-netbsd -c -o /tmp/tmp0/test.o /tmp/tmp0/test.o.cpp Exited with code 1 found whether C++ supports --target: Cxx {cxxProgram = Program { prgPath = "g++" , prgFlags = [] }} Execute: g++ -c -o /tmp/tmp0/test.o /tmp/tmp0/test.o.cpp found for C++ compiler: Cxx {cxxProgram = Program { prgPath = "g++" , prgFlags = [] }} checking for C preprocessor... Entering: checking for C preprocessor Failed to find C preprocessor. Looked for one of [] in the system search path. Failed to find C preprocessor. Looked for one of [] in the system search path. checking for C99 support... Entering: checking for C99 support Execute: gcc -c -o /tmp/tmp0/test.o /tmp/tmp0/test.o.c found for C99 support: Cc {ccProgram = Program { prgPath = "gcc" , prgFlags = [] }} found for C preprocessor: Cpp {cppProgram = Program { prgPath = "gcc" , prgFlags = ["-E"] }} checking for Haskell C preprocessor... Entering: checking for Haskell C preprocessor Failed to find Haskell C preprocessor. Looked for one of [] in the system search path. Failed to find Haskell C preprocessor. Looked for one of [] in the system search path. Execute: gcc -E -x c /tmp/tmp0/tmp.c -dM -E Execute: gcc -E -v found for Haskell C preprocessor: HsCpp {hsCppProgram = Program { prgPath = "gcc" , prgFlags = ["-E","-undef","-traditional"] }} checking for 'readelf'... Entering: checking for 'readelf' x86_64-unknown-netbsd-readelf not found in search path found for 'readelf': Readelf {readelfProgram = Program { prgPath = "readelf" , prgFlags = [] }} checking for C compiler for linking command... Entering: checking for C compiler for linking command checking whether cc linker supports --target... Entering: checking whether cc linker supports --target Execute: gcc -c -o /tmp/tmp0/test.o /tmp/tmp0/test.o.c Execute: gcc -c -o /tmp/tmp0/main.o /tmp/tmp0/main.o.c Execute: gcc -Werror --target=x86_64-unknown-netbsd -Werror -o /tmp/tmp0/test /tmp/tmp0/test.o /tmp/tmp0/main.o Command failed: gcc -Werror --target=x86_64-unknown-netbsd -Werror -o /tmp/tmp0/test /tmp/tmp0/test.o /tmp/tmp0/main.o Exited with code 1 found whether cc linker supports --target: Program { prgPath = "gcc" , prgFlags = [] } checking whether the cc linker supports -no-pie... Entering: checking whether the cc linker supports -no-pie Execute: gcc -c -o /tmp/tmp0/test.o /tmp/tmp0/test.o.c Execute: gcc -no-pie -Werror /tmp/tmp0/test.o -o /tmp/tmp0/test found whether the cc linker supports -no-pie: True checking whether the cc linker understands -filelist... Entering: checking whether the cc linker understands -filelist Execute: gcc -c -o /tmp/tmp0/test1.o /tmp/tmp0/test1.o.c Execute: gcc -c -o /tmp/tmp0/test2.o /tmp/tmp0/test2.o.c Execute: gcc -r -Wl,-filelist /tmp/tmp0/test.o-files -o /tmp/tmp0/test.o found whether the cc linker understands -filelist: False Execute: gcc -Wl,--version checking that --no-as-needed works... Entering: checking that --no-as-needed works Execute: gcc -c -o /tmp/tmp0/test.o /tmp/tmp0/test.o.c Execute: gcc -c -o /tmp/tmp0/main.o /tmp/tmp0/main.o.c Execute: gcc -Wl,--no-as-needed -Werror -o /tmp/tmp0/test /tmp/tmp0/test.o /tmp/tmp0/main.o found that --no-as-needed works: Program { prgPath = "gcc" , prgFlags = ["-Wl,--no-as-needed"] } found for C compiler for linking command: CcLink { ccLinkProgram = Program { prgPath = "gcc" , prgFlags = ["-Wl,--no-as-needed"] } , ccLinkSupportsNoPie = True , ccLinkSupportsCompactUnwind = False , ccLinkSupportsFilelist = False , ccLinkSupportsSingleModule = False , ccLinkIsGnu = True } checking for 'ar'... Entering: checking for 'ar' Execute: ar --version checking for how to make archives... Entering: checking for how to make archives checking that ar works... Entering: checking that ar works Execute: ar q /tmp/tmp0/conftest.a /tmp/tmp0/conftest.dummy found that ar works: () found for how to make archives: Program { prgPath = "ar" , prgFlags = ["q"] } checking that ar supports @-files... Entering: checking that ar supports @-files Execute: ar q /tmp/tmp0/conftest.a @/tmp/tmp0/conftest.atfile Execute: ar t /tmp/tmp0/conftest.a found that ar supports @-files: True checking that ar supports -L... Entering: checking that ar supports -L Execute: ar qc /tmp/tmp0/conftest-a.a /tmp/tmp0/conftest.a0 /tmp/tmp0/conftest.a1 Execute: ar qc /tmp/tmp0/conftest-b.a /tmp/tmp0/conftest.b0 /tmp/tmp0/conftest.b1 Execute: ar qcL /tmp/tmp0/conftest.a /tmp/tmp0/conftest-a.a /tmp/tmp0/conftest-b.a Command failed: ar qcL /tmp/tmp0/conftest.a /tmp/tmp0/conftest-a.a /tmp/tmp0/conftest-b.a Exited with code 1 found that ar supports -L: False found for 'ar': Ar { arMkArchive = Program { prgPath = "ar" , prgFlags = ["q"] } , arIsGnu = True , arSupportsAtFile = True , arSupportsDashL = False , arNeedsRanlib = False } checking for 'ranlib'... Entering: checking for 'ranlib' x86_64-unknown-netbsd-ranlib not found in search path x86_64-unknown-netbsd-llvm-ranlib not found in search path found for 'ranlib': Ranlib {ranlibProgram = Program { prgPath = "ranlib" , prgFlags = [] }} checking for 'nm'... Entering: checking for 'nm' x86_64-unknown-netbsd-nm not found in search path x86_64-unknown-netbsd-llvm-nm not found in search path found for 'nm': Nm {nmProgram = Program { prgPath = "nm" , prgFlags = [] }} checking for linker for merging objects... Entering: checking for linker for merging objects x86_64-unknown-netbsd-ld.gold not found in search path x86_64-unknown-netbsd-ld not found in search path ld.gold not found in search path checking whether object merging works... Entering: checking whether object merging works Execute: gcc -c -o /tmp/tmp0/a.o /tmp/tmp0/a.o.c Execute: gcc -c -o /tmp/tmp0/b.o /tmp/tmp0/b.o.c Execute: ld -r /tmp/tmp0/a.o /tmp/tmp0/b.o -o /tmp/tmp0/out.o Execute: nm /tmp/tmp0/out.o found whether object merging works: () checking for ld.gold object merging bug (binutils #22266)... Entering: checking for ld.gold object merging bug (binutils #22266) Execute: ld -r --version found for ld.gold object merging bug (binutils #22266): "GNU ld (NetBSD Binutils nb1) 2.34\nCopyright (C) 2020 Free Software Foundation, Inc.\nThis program is free software; you may redistribute it under the terms of\nthe GNU General Public License version 3 or (at your option) a later version.\nThis program has absolutely no warranty.\n" checking whether the merge objects tool supports response files... Entering: checking whether the merge objects tool supports response files Execute: gcc -c -o /tmp/tmp0/a.o /tmp/tmp0/a.o.c Execute: gcc -c -o /tmp/tmp0/b.o /tmp/tmp0/b.o.c Execute: ld -r @/tmp/tmp0/args.txt Execute: nm /tmp/tmp0/out.o found whether the merge objects tool supports response files: True found for linker for merging objects: MergeObjs {mergeObjsProgram = Program { prgPath = "ld" , prgFlags = ["-r"] }, mergeObjsSupportsResponseFiles = True} checking word size... Entering: checking word size Execute: gcc -E -o /tmp/tmp0/test.c /tmp/tmp0/test.c.c found word size: WS8 checking endianness (param.h)... Entering: checking endianness (param.h) Execute: gcc -E -o /tmp/tmp0/test.c /tmp/tmp0/test.c.c found endianness (param.h): LittleEndian checking whether symbols have leading underscores... Entering: checking whether symbols have leading underscores Execute: gcc -c -o /tmp/tmp0/test.o /tmp/tmp0/test.o.c Execute: nm /tmp/tmp0/test.o found whether symbols have leading underscores: False checking whether .subsections-via-symbols directive is supported... Entering: checking whether .subsections-via-symbols directive is supported Execute: gcc -c -o /tmp/tmp0/test.o /tmp/tmp0/test.o.c Command failed: gcc -c -o /tmp/tmp0/test.o /tmp/tmp0/test.o.c Exited with code 1 found whether .subsections-via-symbols directive is supported: False checking whether the .ident directive is supported... Entering: checking whether the .ident directive is supported Execute: gcc -c -o /tmp/tmp0/test.o /tmp/tmp0/test.o.c found whether the .ident directive is supported: True checking whether GNU non-executable stack directives are supported... Entering: checking whether GNU non-executable stack directives are supported Execute: gcc -c -o /tmp/tmp0/test.o /tmp/tmp0/test.o.c found whether GNU non-executable stack directives are supported: True checking whether to use libffi for adjustors... Entering: checking whether to use libffi for adjustors found whether to use libffi for adjustors: False Final Target: Target { tgtArchOs = ArchOS {archOS_arch = ArchX86_64, archOS_OS = OSNetBSD} , tgtVendor = Just "unknown" , tgtLocallyExecutable = True , tgtSupportsGnuNonexecStack = True , tgtSupportsSubsectionsViaSymbols = False , tgtSupportsIdentDirective = True , tgtWordSize = WS8 , tgtEndianness = LittleEndian , tgtSymbolsHaveLeadingUnderscore = False , tgtLlvmTarget = "x86_64-unknown-netbsd" , tgtUnregisterised = False , tgtTablesNextToCode = True , tgtUseLibffiForAdjustors = False , tgtCCompiler = Cc {ccProgram = Program { prgPath = "gcc" , prgFlags = [] }} , tgtCxxCompiler = Cxx {cxxProgram = Program { prgPath = "g++" , prgFlags = [] }} , tgtCPreprocessor = Cpp {cppProgram = Program { prgPath = "gcc" , prgFlags = ["-E"] }} , tgtHsCPreprocessor = HsCpp {hsCppProgram = Program { prgPath = "gcc" , prgFlags = ["-E","-undef","-traditional"] }} , tgtCCompilerLink = CcLink { ccLinkProgram = Program { prgPath = "gcc" , prgFlags = ["-Wl,--no-as-needed"] } , ccLinkSupportsNoPie = True , ccLinkSupportsCompactUnwind = False , ccLinkSupportsFilelist = False , ccLinkSupportsSingleModule = False , ccLinkIsGnu = True } , tgtAr = Ar { arMkArchive = Program { prgPath = "ar" , prgFlags = ["q"] } , arIsGnu = True , arSupportsAtFile = True , arSupportsDashL = False , arNeedsRanlib = False } , tgtRanlib = Just (Ranlib {ranlibProgram = Program { prgPath = "ranlib" , prgFlags = [] }}) , tgtNm = Nm {nmProgram = Program { prgPath = "nm" , prgFlags = [] }} , tgtMergeObjs = Just (MergeObjs {mergeObjsProgram = Program { prgPath = "ld" , prgFlags = ["-r"] }, mergeObjsSupportsResponseFiles = True}) , tgtWindres = Nothing } Execute: sh config.sub x86_64-unknown-netbsd Normalised triple: x86_64-unknown-netbsd ~> x86_64-unknown-netbsd checking for C compiler... Entering: checking for C compiler found for C compiler: Cc {ccProgram = Program { prgPath = "/pbulk/work/lang/ghc910/work/.cwrapper/bin/gcc" , prgFlags = ["-O2","-I/usr/include","-I/usr/pkg/include","-fPIC"] }} checking for C compiler... Entering: checking for C compiler found for C compiler: Cc {ccProgram = Program { prgPath = "/pbulk/work/lang/ghc910/work/.cwrapper/bin/gcc" , prgFlags = ["-O2","-I/usr/include","-I/usr/pkg/include","-fPIC"] }} checking for -Qunused-arguments support... Entering: checking for -Qunused-arguments support Execute: /pbulk/work/lang/ghc910/work/.cwrapper/bin/gcc -O2 -I/usr/include -I/usr/pkg/include -fPIC -Qunused-arguments -c -o /tmp/tmp0/test.o /tmp/tmp0/test.o.c Command failed: /pbulk/work/lang/ghc910/work/.cwrapper/bin/gcc -O2 -I/usr/include -I/usr/pkg/include -fPIC -Qunused-arguments -c -o /tmp/tmp0/test.o /tmp/tmp0/test.o.c Exited with code 1 found for -Qunused-arguments support: Cc {ccProgram = Program { prgPath = "/pbulk/work/lang/ghc910/work/.cwrapper/bin/gcc" , prgFlags = ["-O2","-I/usr/include","-I/usr/pkg/include","-fPIC"] }} checking whether Cc supports --target... Entering: checking whether Cc supports --target Execute: /pbulk/work/lang/ghc910/work/.cwrapper/bin/gcc -Werror --target=x86_64-unknown-netbsd -O2 -I/usr/include -I/usr/pkg/include -fPIC -c -o /tmp/tmp0/test.o /tmp/tmp0/test.o.c Command failed: /pbulk/work/lang/ghc910/work/.cwrapper/bin/gcc -Werror --target=x86_64-unknown-netbsd -O2 -I/usr/include -I/usr/pkg/include -fPIC -c -o /tmp/tmp0/test.o /tmp/tmp0/test.o.c Exited with code 1 found whether Cc supports --target: Cc {ccProgram = Program { prgPath = "/pbulk/work/lang/ghc910/work/.cwrapper/bin/gcc" , prgFlags = ["-O2","-I/usr/include","-I/usr/pkg/include","-fPIC"] }} checking whether Cc works... Entering: checking whether Cc works Execute: /pbulk/work/lang/ghc910/work/.cwrapper/bin/gcc -O2 -I/usr/include -I/usr/pkg/include -fPIC -c -o /tmp/tmp0/test.o /tmp/tmp0/test.o.c found whether Cc works: () checking for C99 support... Entering: checking for C99 support Execute: /pbulk/work/lang/ghc910/work/.cwrapper/bin/gcc -O2 -I/usr/include -I/usr/pkg/include -fPIC -c -o /tmp/tmp0/test.o /tmp/tmp0/test.o.c found for C99 support: Cc {ccProgram = Program { prgPath = "/pbulk/work/lang/ghc910/work/.cwrapper/bin/gcc" , prgFlags = ["-O2","-I/usr/include","-I/usr/pkg/include","-fPIC"] }} checking whether cc supports extra via-c flags... Entering: checking whether cc supports extra via-c flags Execute: /pbulk/work/lang/ghc910/work/.cwrapper/bin/gcc -O2 -I/usr/include -I/usr/pkg/include -fPIC -c -fwrapv -fno-builtin -Werror -x c -o /tmp/tmp0/test.o /tmp/tmp0/test.c found whether cc supports extra via-c flags: () checking for C++ compiler... Entering: checking for C++ compiler checking whether C++ supports --target... Entering: checking whether C++ supports --target Execute: /pbulk/work/lang/ghc910/work/.cwrapper/bin/g++ -Werror --target=x86_64-unknown-netbsd -O2 -I/usr/include -I/usr/pkg/include -c -o /tmp/tmp0/test.o /tmp/tmp0/test.o.cpp Command failed: /pbulk/work/lang/ghc910/work/.cwrapper/bin/g++ -Werror --target=x86_64-unknown-netbsd -O2 -I/usr/include -I/usr/pkg/include -c -o /tmp/tmp0/test.o /tmp/tmp0/test.o.cpp Exited with code 1 found whether C++ supports --target: Cxx {cxxProgram = Program { prgPath = "/pbulk/work/lang/ghc910/work/.cwrapper/bin/g++" , prgFlags = ["-O2","-I/usr/include","-I/usr/pkg/include"] }} Execute: /pbulk/work/lang/ghc910/work/.cwrapper/bin/g++ -O2 -I/usr/include -I/usr/pkg/include -c -o /tmp/tmp0/test.o /tmp/tmp0/test.o.cpp found for C++ compiler: Cxx {cxxProgram = Program { prgPath = "/pbulk/work/lang/ghc910/work/.cwrapper/bin/g++" , prgFlags = ["-O2","-I/usr/include","-I/usr/pkg/include"] }} checking for C preprocessor... Entering: checking for C preprocessor checking for C99 support... Entering: checking for C99 support Execute: /pbulk/work/lang/ghc910/work/.cwrapper/bin/gcc -c -o /tmp/tmp0/test.o /tmp/tmp0/test.o.c found for C99 support: Cc {ccProgram = Program { prgPath = "/pbulk/work/lang/ghc910/work/.cwrapper/bin/gcc" , prgFlags = [] }} found for C preprocessor: Cpp {cppProgram = Program { prgPath = "/pbulk/work/lang/ghc910/work/.cwrapper/bin/gcc" , prgFlags = ["-E"] }} checking for Haskell C preprocessor... Entering: checking for Haskell C preprocessor Execute: /pbulk/work/lang/ghc910/work/.cwrapper/bin/gcc -E -x c /tmp/tmp0/tmp.c -dM -E Execute: /pbulk/work/lang/ghc910/work/.cwrapper/bin/gcc -E -v found for Haskell C preprocessor: HsCpp {hsCppProgram = Program { prgPath = "/pbulk/work/lang/ghc910/work/.cwrapper/bin/gcc" , prgFlags = ["-E","-undef","-traditional"] }} checking for 'readelf'... Entering: checking for 'readelf' x86_64-unknown-netbsd-readelf not found in search path found for 'readelf': Readelf {readelfProgram = Program { prgPath = "readelf" , prgFlags = [] }} checking for C compiler for linking command... Entering: checking for C compiler for linking command checking whether cc linker supports --target... Entering: checking whether cc linker supports --target Execute: /pbulk/work/lang/ghc910/work/.cwrapper/bin/gcc -O2 -I/usr/include -I/usr/pkg/include -fPIC -c -o /tmp/tmp0/test.o /tmp/tmp0/test.o.c Execute: /pbulk/work/lang/ghc910/work/.cwrapper/bin/gcc -O2 -I/usr/include -I/usr/pkg/include -fPIC -c -o /tmp/tmp0/main.o /tmp/tmp0/main.o.c Execute: /pbulk/work/lang/ghc910/work/.cwrapper/bin/gcc -Werror --target=x86_64-unknown-netbsd -Wl,-zrelro -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -Werror -o /tmp/tmp0/test /tmp/tmp0/test.o /tmp/tmp0/main.o Command failed: /pbulk/work/lang/ghc910/work/.cwrapper/bin/gcc -Werror --target=x86_64-unknown-netbsd -Wl,-zrelro -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -Werror -o /tmp/tmp0/test /tmp/tmp0/test.o /tmp/tmp0/main.o Exited with code 1 found whether cc linker supports --target: Program { prgPath = "/pbulk/work/lang/ghc910/work/.cwrapper/bin/gcc" , prgFlags = ["-Wl,-zrelro","-L/usr/lib","-Wl,-R/usr/lib","-L/usr/pkg/lib","-Wl,-R/usr/pkg/lib"] } checking whether the cc linker supports -no-pie... Entering: checking whether the cc linker supports -no-pie Execute: /pbulk/work/lang/ghc910/work/.cwrapper/bin/gcc -O2 -I/usr/include -I/usr/pkg/include -fPIC -c -o /tmp/tmp0/test.o /tmp/tmp0/test.o.c Execute: /pbulk/work/lang/ghc910/work/.cwrapper/bin/gcc -Wl,-zrelro -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -no-pie -Werror /tmp/tmp0/test.o -o /tmp/tmp0/test found whether the cc linker supports -no-pie: True checking whether the cc linker understands -filelist... Entering: checking whether the cc linker understands -filelist Execute: /pbulk/work/lang/ghc910/work/.cwrapper/bin/gcc -O2 -I/usr/include -I/usr/pkg/include -fPIC -c -o /tmp/tmp0/test1.o /tmp/tmp0/test1.o.c Execute: /pbulk/work/lang/ghc910/work/.cwrapper/bin/gcc -O2 -I/usr/include -I/usr/pkg/include -fPIC -c -o /tmp/tmp0/test2.o /tmp/tmp0/test2.o.c Execute: /pbulk/work/lang/ghc910/work/.cwrapper/bin/gcc -Wl,-zrelro -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -r -Wl,-filelist /tmp/tmp0/test.o-files -o /tmp/tmp0/test.o found whether the cc linker understands -filelist: False Execute: /pbulk/work/lang/ghc910/work/.cwrapper/bin/gcc -Wl,-zrelro -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -Wl,--version checking that --no-as-needed works... Entering: checking that --no-as-needed works Execute: /pbulk/work/lang/ghc910/work/.cwrapper/bin/gcc -O2 -I/usr/include -I/usr/pkg/include -fPIC -c -o /tmp/tmp0/test.o /tmp/tmp0/test.o.c Execute: /pbulk/work/lang/ghc910/work/.cwrapper/bin/gcc -O2 -I/usr/include -I/usr/pkg/include -fPIC -c -o /tmp/tmp0/main.o /tmp/tmp0/main.o.c Execute: /pbulk/work/lang/ghc910/work/.cwrapper/bin/gcc -Wl,-zrelro -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -Wl,--no-as-needed -Werror -o /tmp/tmp0/test /tmp/tmp0/test.o /tmp/tmp0/main.o found that --no-as-needed works: Program { prgPath = "/pbulk/work/lang/ghc910/work/.cwrapper/bin/gcc" , prgFlags = ["-Wl,-zrelro","-L/usr/lib","-Wl,-R/usr/lib","-L/usr/pkg/lib","-Wl,-R/usr/pkg/lib","-Wl,--no-as-needed"] } found for C compiler for linking command: CcLink { ccLinkProgram = Program { prgPath = "/pbulk/work/lang/ghc910/work/.cwrapper/bin/gcc" , prgFlags = ["-Wl,-zrelro","-L/usr/lib","-Wl,-R/usr/lib","-L/usr/pkg/lib","-Wl,-R/usr/pkg/lib","-Wl,--no-as-needed"] } , ccLinkSupportsNoPie = True , ccLinkSupportsCompactUnwind = False , ccLinkSupportsFilelist = False , ccLinkSupportsSingleModule = False , ccLinkIsGnu = True } checking for 'ar'... Entering: checking for 'ar' Execute: /usr/bin/ar --version checking for how to make archives... Entering: checking for how to make archives checking that ar works... Entering: checking that ar works Execute: /usr/bin/ar q /tmp/tmp0/conftest.a /tmp/tmp0/conftest.dummy found that ar works: () found for how to make archives: Program { prgPath = "/usr/bin/ar" , prgFlags = ["q"] } checking that ar supports @-files... Entering: checking that ar supports @-files Execute: /usr/bin/ar q /tmp/tmp0/conftest.a @/tmp/tmp0/conftest.atfile Execute: /usr/bin/ar t /tmp/tmp0/conftest.a found that ar supports @-files: True checking that ar supports -L... Entering: checking that ar supports -L Execute: /usr/bin/ar qc /tmp/tmp0/conftest-a.a /tmp/tmp0/conftest.a0 /tmp/tmp0/conftest.a1 Execute: /usr/bin/ar qc /tmp/tmp0/conftest-b.a /tmp/tmp0/conftest.b0 /tmp/tmp0/conftest.b1 Execute: /usr/bin/ar qcL /tmp/tmp0/conftest.a /tmp/tmp0/conftest-a.a /tmp/tmp0/conftest-b.a Command failed: /usr/bin/ar qcL /tmp/tmp0/conftest.a /tmp/tmp0/conftest-a.a /tmp/tmp0/conftest-b.a Exited with code 1 found that ar supports -L: False found for 'ar': Ar { arMkArchive = Program { prgPath = "/usr/bin/ar" , prgFlags = ["q"] } , arIsGnu = True , arSupportsAtFile = True , arSupportsDashL = False , arNeedsRanlib = False } checking for 'ranlib'... Entering: checking for 'ranlib' found for 'ranlib': Ranlib {ranlibProgram = Program { prgPath = "/usr/bin/ranlib" , prgFlags = [] }} checking for 'nm'... Entering: checking for 'nm' found for 'nm': Nm {nmProgram = Program { prgPath = "/usr/bin/nm" , prgFlags = [] }} checking for linker for merging objects... Entering: checking for linker for merging objects checking whether object merging works... Entering: checking whether object merging works Execute: /pbulk/work/lang/ghc910/work/.cwrapper/bin/gcc -O2 -I/usr/include -I/usr/pkg/include -fPIC -c -o /tmp/tmp0/a.o /tmp/tmp0/a.o.c Execute: /pbulk/work/lang/ghc910/work/.cwrapper/bin/gcc -O2 -I/usr/include -I/usr/pkg/include -fPIC -c -o /tmp/tmp0/b.o /tmp/tmp0/b.o.c Execute: ld -r /tmp/tmp0/a.o /tmp/tmp0/b.o -o /tmp/tmp0/out.o Execute: /usr/bin/nm /tmp/tmp0/out.o found whether object merging works: () checking for ld.gold object merging bug (binutils #22266)... Entering: checking for ld.gold object merging bug (binutils #22266) Execute: ld -r --version found for ld.gold object merging bug (binutils #22266): "GNU ld (NetBSD Binutils nb1) 2.34\nCopyright (C) 2020 Free Software Foundation, Inc.\nThis program is free software; you may redistribute it under the terms of\nthe GNU General Public License version 3 or (at your option) a later version.\nThis program has absolutely no warranty.\n" checking whether the merge objects tool supports response files... Entering: checking whether the merge objects tool supports response files Execute: /pbulk/work/lang/ghc910/work/.cwrapper/bin/gcc -O2 -I/usr/include -I/usr/pkg/include -fPIC -c -o /tmp/tmp0/a.o /tmp/tmp0/a.o.c Execute: /pbulk/work/lang/ghc910/work/.cwrapper/bin/gcc -O2 -I/usr/include -I/usr/pkg/include -fPIC -c -o /tmp/tmp0/b.o /tmp/tmp0/b.o.c Execute: ld -r @/tmp/tmp0/args.txt Execute: /usr/bin/nm /tmp/tmp0/out.o found whether the merge objects tool supports response files: True found for linker for merging objects: MergeObjs {mergeObjsProgram = Program { prgPath = "ld" , prgFlags = ["-r"] }, mergeObjsSupportsResponseFiles = True} checking word size... Entering: checking word size Execute: /pbulk/work/lang/ghc910/work/.cwrapper/bin/gcc -O2 -I/usr/include -I/usr/pkg/include -fPIC -E -o /tmp/tmp0/test.c /tmp/tmp0/test.c.c found word size: WS8 checking endianness (param.h)... Entering: checking endianness (param.h) Execute: /pbulk/work/lang/ghc910/work/.cwrapper/bin/gcc -O2 -I/usr/include -I/usr/pkg/include -fPIC -E -o /tmp/tmp0/test.c /tmp/tmp0/test.c.c found endianness (param.h): LittleEndian checking whether symbols have leading underscores... Entering: checking whether symbols have leading underscores Execute: /pbulk/work/lang/ghc910/work/.cwrapper/bin/gcc -O2 -I/usr/include -I/usr/pkg/include -fPIC -c -o /tmp/tmp0/test.o /tmp/tmp0/test.o.c Execute: /usr/bin/nm /tmp/tmp0/test.o found whether symbols have leading underscores: False checking whether .subsections-via-symbols directive is supported... Entering: checking whether .subsections-via-symbols directive is supported Execute: /pbulk/work/lang/ghc910/work/.cwrapper/bin/gcc -O2 -I/usr/include -I/usr/pkg/include -fPIC -c -o /tmp/tmp0/test.o /tmp/tmp0/test.o.c Command failed: /pbulk/work/lang/ghc910/work/.cwrapper/bin/gcc -O2 -I/usr/include -I/usr/pkg/include -fPIC -c -o /tmp/tmp0/test.o /tmp/tmp0/test.o.c Exited with code 1 found whether .subsections-via-symbols directive is supported: False checking whether the .ident directive is supported... Entering: checking whether the .ident directive is supported Execute: /pbulk/work/lang/ghc910/work/.cwrapper/bin/gcc -O2 -I/usr/include -I/usr/pkg/include -fPIC -c -o /tmp/tmp0/test.o /tmp/tmp0/test.o.c found whether the .ident directive is supported: True checking whether GNU non-executable stack directives are supported... Entering: checking whether GNU non-executable stack directives are supported Execute: /pbulk/work/lang/ghc910/work/.cwrapper/bin/gcc -O2 -I/usr/include -I/usr/pkg/include -fPIC -c -o /tmp/tmp0/test.o /tmp/tmp0/test.o.c found whether GNU non-executable stack directives are supported: True checking whether to use libffi for adjustors... Entering: checking whether to use libffi for adjustors found whether to use libffi for adjustors: False Final Target: Target { tgtArchOs = ArchOS {archOS_arch = ArchX86_64, archOS_OS = OSNetBSD} , tgtVendor = Just "unknown" , tgtLocallyExecutable = True , tgtSupportsGnuNonexecStack = True , tgtSupportsSubsectionsViaSymbols = False , tgtSupportsIdentDirective = True , tgtWordSize = WS8 , tgtEndianness = LittleEndian , tgtSymbolsHaveLeadingUnderscore = False , tgtLlvmTarget = "x86_64-unknown-netbsd" , tgtUnregisterised = False , tgtTablesNextToCode = True , tgtUseLibffiForAdjustors = False , tgtCCompiler = Cc {ccProgram = Program { prgPath = "/pbulk/work/lang/ghc910/work/.cwrapper/bin/gcc" , prgFlags = ["-O2","-I/usr/include","-I/usr/pkg/include","-fPIC"] }} , tgtCxxCompiler = Cxx {cxxProgram = Program { prgPath = "/pbulk/work/lang/ghc910/work/.cwrapper/bin/g++" , prgFlags = ["-O2","-I/usr/include","-I/usr/pkg/include"] }} , tgtCPreprocessor = Cpp {cppProgram = Program { prgPath = "/pbulk/work/lang/ghc910/work/.cwrapper/bin/gcc" , prgFlags = ["-E"] }} , tgtHsCPreprocessor = HsCpp {hsCppProgram = Program { prgPath = "/pbulk/work/lang/ghc910/work/.cwrapper/bin/gcc" , prgFlags = ["-E","-undef","-traditional"] }} , tgtCCompilerLink = CcLink { ccLinkProgram = Program { prgPath = "/pbulk/work/lang/ghc910/work/.cwrapper/bin/gcc" , prgFlags = ["-Wl,-zrelro","-L/usr/lib","-Wl,-R/usr/lib","-L/usr/pkg/lib","-Wl,-R/usr/pkg/lib","-Wl,--no-as-needed"] } , ccLinkSupportsNoPie = True , ccLinkSupportsCompactUnwind = False , ccLinkSupportsFilelist = False , ccLinkSupportsSingleModule = False , ccLinkIsGnu = True } , tgtAr = Ar { arMkArchive = Program { prgPath = "/usr/bin/ar" , prgFlags = ["q"] } , arIsGnu = True , arSupportsAtFile = True , arSupportsDashL = False , arNeedsRanlib = False } , tgtRanlib = Just (Ranlib {ranlibProgram = Program { prgPath = "/usr/bin/ranlib" , prgFlags = [] }}) , tgtNm = Nm {nmProgram = Program { prgPath = "/usr/bin/nm" , prgFlags = [] }} , tgtMergeObjs = Just (MergeObjs {mergeObjsProgram = Program { prgPath = "ld" , prgFlags = ["-r"] }, mergeObjsSupportsResponseFiles = True}) , tgtWindres = Nothing } configure: creating ./config.status config.status: creating mk/system-cxx-std-lib-1.0.conf config.status: creating mk/project.mk config.status: creating hadrian/cfg/system.config config.status: creating hadrian/ghci-cabal config.status: creating hadrian/ghci-multi-cabal config.status: creating hadrian/ghci-stack config.status: creating distrib/configure.ac config.status: creating hadrian/cfg/default.host.target config.status: creating hadrian/cfg/default.target ---------------------------------------------------------------------- Configure completed successfully. Building GHC version : 9.10.1 Git commit id : 6d779c0fab30c39475aef50d39064ed67ce839d7 Build platform : x86_64-unknown-netbsd Host platform : x86_64-unknown-netbsd Target platform : x86_64-unknown-netbsd Bootstrapping using : /pbulk/work/lang/ghc910/work/.tools/bin/ghc which is version : 9.8.2 with threaded RTS? : NO Using (for bootstrapping) : gcc Using gcc : /pbulk/work/lang/ghc910/work/.cwrapper/bin/gcc which is version : 10.5.0 linker options : Building a cross compiler : NO Unregisterised : NO TablesNextToCode : YES Build GMP in tree : NO cpp : /pbulk/work/lang/ghc910/work/.cwrapper/bin/gcc cpp-flags : -E hs-cpp : /pbulk/work/lang/ghc910/work/.cwrapper/bin/gcc hs-cpp-flags : -E -undef -traditional ar : /usr/bin/ar nm : /usr/bin/nm objdump : /usr/bin/objdump ranlib : /usr/bin/ranlib otool : otool install_name_tool : install_name_tool windres : genlib : Happy : () Alex : () sphinx-build : /usr/pkg/bin/sphinx-build-3.12 xelatex : makeinfo : /pbulk/work/lang/ghc910/work/.tools/bin/makeinfo git : cabal-install : Using optional dependencies: libnuma : NO libzstd : NO statically linked? : N/A libdw : NO Using LLVM tools llc : llc opt : opt llvm-as : clang HsColour was not found; documentation will not contain source links Tools to build Sphinx HTML documentation available: YES Tools to build Sphinx PDF documentation available: NO Tools to build Sphinx INFO documentation available: YES ---------------------------------------------------------------------- For a standard build of GHC (fully optimised with profiling), type ./hadrian/build You can customise the build with flags such as ./hadrian/build -j --flavour=devel2 [--freeze1] To make changes to the default build configuration, see the file hadrian/src/UserSettings.hs For more information on how to configure your GHC build, see https://gitlab.haskell.org/ghc/ghc/-/wikis/building/hadrian configure: WARNING: There are some differences between the toolchain configured by "configure" (hadrian/cfg/default.target) and the toolchain configured by the "ghc-toolchain" program (hadrian/cfg/default.target.ghc-toolchain). 5c5 < , tgtSupportsGnuNonexecStack = False --- > , tgtSupportsGnuNonexecStack = True 16c16 < , tgtCxxCompiler = Cxx {cxxProgram = Program { prgPath = "/pbulk/work/lang/ghc910/work/.cwrapper/bin/g++" , prgFlags = [] }} --- > , tgtCxxCompiler = Cxx {cxxProgram = Program { prgPath = "/pbulk/work/lang/ghc910/work/.cwrapper/bin/g++" , prgFlags = ["-O2","-I/usr/include","-I/usr/pkg/include"] }} 20c20 < { ccLinkProgram = Program { prgPath = "/pbulk/work/lang/ghc910/work/.cwrapper/bin/gcc" , prgFlags = ["-Wl,-zrelro","-L/usr/lib","-Wl,-R/usr/lib","-L/usr/pkg/lib","-Wl,-R/usr/pkg/lib"] } --- > { ccLinkProgram = Program { prgPath = "/pbulk/work/lang/ghc910/work/.cwrapper/bin/gcc" , prgFlags = ["-Wl,-zrelro","-L/usr/lib","-Wl,-R/usr/lib","-L/usr/pkg/lib","-Wl,-R/usr/pkg/lib","-Wl,--no-as-needed"] } Don't worry! This won't affect your ghc in any way. However, in a near future, we will move to configuring toolchains with "ghc-toolchain" by default, so you might have discovered a future bug. In light of it, if you've spotted this difference, please report a GHC bug at https://www.haskell.org/ghc/reportabug => Modifying libtool scripts to use pkgsrc libtool => Modifying libtool scripts to use pkgsrc depcomp