validate-x86_64-linux-deb10-make CI bindist artifacts unusable on Ubuntu 20.04
When I try to download a validate-x86_64-linux-deb10-make
CI bindist artifact and make install
it, it ultimately fails with:
$ ./configure --prefix /home/ryanglscott/Software/ghc-9.3.20220412
<snip>
$ make install
<snip>
"utils/ghc-cabal/dist-install/build/tmp/ghc-cabal-bindist" copy libraries/ghc-prim dist-install "strip" '' '/home/ryanglscott/Software/ghc-9.3.20220412' '/home/ryanglscott/Software/ghc-9.3.20220412/lib/ghc-9.3.20220412' '/home/ryanglscott/Software/ghc-9.3.20220412/share/doc/ghc-9.3.20220412/html/libraries' 'v dyn'
Saved package config file is corrupt. Re-run the 'configure' command.
make[1]: *** [ghc.mk:1002: install_packages] Error 1
make: *** [Makefile:51: install] Error 2
Here is the full log:
$ ./configure --prefix /home/ryanglscott/Software/ghc-9.3.20220412
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking target system type... x86_64-pc-linux-gnu
build platform inferred as: x86_64-unknown-linux
host platform inferred as: x86_64-unknown-linux
target platform inferred as: x86_64-unknown-linux
configure: GHC build : x86_64-unknown-linux
configure: GHC host : x86_64-unknown-linux
configure: GHC target : x86_64-unknown-linux
checking for path to top of build tree... /home/ryanglscott/Software/ghc-9.3.20220412-staging
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking for gsed... sed
checking for python3... /usr/bin/python3
checking for gcc... gcc
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 we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... gcc -E
checking for gcc option to accept ISO C99... none needed
checking for gcc option to accept ISO C99... none needed
checking for gcc option to accept ISO C99... none needed
checking for -ld.lld... no
checking for ld.lld... no
checking for -ld.gold... no
checking for ld.gold... ld.gold
checking whether C compiler supports -fuse-ld=gold... yes
checking for ld.gold object merging bug (binutils 22266)... not affected
checking whether ld is GNU ld... YES
checking whether ld understands --build-id... yes
checking whether ld understands -no_compact_unwind... yes
checking whether ld understands -filelist... no
checking for -strip... no
checking for strip... strip
checking for gawk... no
checking for mawk... mawk
checking for llc-14... no
checking for llc-14.0... no
checking for llc-13... no
checking for llc-13.0... no
checking for llc-12... no
checking for llc-12.0... no
checking for llc-11... no
checking for llc-11.0... no
checking for llc-10... llc-10
checking llc-10 version (10.0.0) is between 9 and 14... yes
checking for opt-14... no
checking for opt-14.0... no
checking for opt-13... no
checking for opt-13.0... no
checking for opt-12... no
checking for opt-12.0... no
checking for opt-11... no
checking for opt-11.0... no
checking for opt-10... opt-10
checking opt-10 version (10.0.0) is between 9 and 14... yes
checking version of gcc... checking version of gcc... 9.4.0
9.4.0
checking whether CC supports -no-pie... yes
checking for extra options to pass gcc when compiling via C...
checking Setting up CFLAGS, LDFLAGS, IGNORE_LINKER_LD_FLAGS and CPPFLAGS... done
checking Setting up CONF_CC_OPTS_STAGE0, CONF_GCC_LINKER_OPTS_STAGE0, CONF_LD_LINKER_OPTS_STAGE0 and CONF_CPP_OPTS_STAGE0... done
checking Setting up CONF_CC_OPTS_STAGE1, CONF_GCC_LINKER_OPTS_STAGE1, CONF_LD_LINKER_OPTS_STAGE1 and CONF_CPP_OPTS_STAGE1... done
checking Setting up CONF_CC_OPTS_STAGE2, CONF_GCC_LINKER_OPTS_STAGE2, CONF_LD_LINKER_OPTS_STAGE2 and CONF_CPP_OPTS_STAGE2... done
checking for .subsections_via_symbols... no
checking whether your assembler supports .ident directive... yes
checking for GNU non-executable stack support... yes
checking whether CC supports --target... no
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.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/config.mk
config.status: creating mk/install.mk
****************************************************
Configuration done, ready to 'make install'
(see README and INSTALL files for more info.)
****************************************************
$ make install
make --no-print-directory -f ghc.mk install BINDIST=YES NO_INCLUDE_DEPS=YES
"rm" -f libraries/ghc-boot/dist-install/build/GHC/Version.hs
done.
"rm" -f libraries/ghc-boot/dist-install/build/GHC/Platform/Host.hs
done.
"inplace/bin/mkdirhier" libraries/ghc-boot/dist-boot/build/GHC//.
"rm" -f libraries/ghc-boot/dist-boot/build/GHC/Version.hs
done.
"inplace/bin/mkdirhier" libraries/ghc-boot/dist-boot/build/GHC/Platform//.
"rm" -f libraries/ghc-boot/dist-boot/build/GHC/Platform/Host.hs
done.
/usr/bin/install -c -m 755 -d "/home/ryanglscott/Software/ghc-9.3.20220412/bin"
"rm" -f "/home/ryanglscott/Software/ghc-9.3.20220412/bin/hp2ps"
create () { touch "$1" && chmod 755 "$1" ; } && create "/home/ryanglscott/Software/ghc-9.3.20220412/bin/hp2ps"
echo '#!/bin/sh' >> "/home/ryanglscott/Software/ghc-9.3.20220412/bin/hp2ps"
echo 'exedir="/home/ryanglscott/Software/ghc-9.3.20220412/lib/ghc-9.3.20220412/bin"' >> "/home/ryanglscott/Software/ghc-9.3.20220412/bin/hp2ps"
echo 'exeprog="hp2ps"' >> "/home/ryanglscott/Software/ghc-9.3.20220412/bin/hp2ps"
echo 'executablename="$exedir/$exeprog"' >> "/home/ryanglscott/Software/ghc-9.3.20220412/bin/hp2ps"
echo 'datadir="/home/ryanglscott/Software/ghc-9.3.20220412/share"' >> "/home/ryanglscott/Software/ghc-9.3.20220412/bin/hp2ps"
echo 'bindir="/home/ryanglscott/Software/ghc-9.3.20220412/bin"' >> "/home/ryanglscott/Software/ghc-9.3.20220412/bin/hp2ps"
echo 'topdir="/home/ryanglscott/Software/ghc-9.3.20220412/lib/ghc-9.3.20220412"' >> "/home/ryanglscott/Software/ghc-9.3.20220412/bin/hp2ps"
cat utils/hp2ps/hp2ps.wrapper >> "/home/ryanglscott/Software/ghc-9.3.20220412/bin/hp2ps"
chmod +x "/home/ryanglscott/Software/ghc-9.3.20220412/bin/hp2ps"
/usr/bin/install -c -m 755 -d "/home/ryanglscott/Software/ghc-9.3.20220412/bin"
"rm" -f "/home/ryanglscott/Software/ghc-9.3.20220412/bin/ghci-9.3.20220412"
create () { touch "$1" && chmod 755 "$1" ; } && create "/home/ryanglscott/Software/ghc-9.3.20220412/bin/ghci-9.3.20220412"
echo '#!/bin/sh' >> "/home/ryanglscott/Software/ghc-9.3.20220412/bin/ghci-9.3.20220412"
echo 'exec "/home/ryanglscott/Software/ghc-9.3.20220412/bin/ghc-9.3.20220412" --interactive "$@"' >> "/home/ryanglscott/Software/ghc-9.3.20220412/bin/ghci-9.3.20220412"
chmod +x "/home/ryanglscott/Software/ghc-9.3.20220412/bin/ghci-9.3.20220412"
"rm" -f "/home/ryanglscott/Software/ghc-9.3.20220412/bin/ghci"
ln -s ghci-9.3.20220412 "/home/ryanglscott/Software/ghc-9.3.20220412/bin/ghci"
/usr/bin/install -c -m 755 -d "/home/ryanglscott/Software/ghc-9.3.20220412/lib/ghc-9.3.20220412/rts/include"
/usr/bin/install -c -m 755 -d "/home/ryanglscott/Software/ghc-9.3.20220412/lib/ghc-9.3.20220412/rts/include/." && /usr/bin/install -c -m 644 rts/include/./*.h "/home/ryanglscott/Software/ghc-9.3.20220412/lib/ghc-9.3.20220412/rts/include/./" && /usr/bin/install -c -m 755 -d "/home/ryanglscott/Software/ghc-9.3.20220412/lib/ghc-9.3.20220412/rts/include/rts" && /usr/bin/install -c -m 644 rts/include/rts/*.h "/home/ryanglscott/Software/ghc-9.3.20220412/lib/ghc-9.3.20220412/rts/include/rts/" && /usr/bin/install -c -m 755 -d "/home/ryanglscott/Software/ghc-9.3.20220412/lib/ghc-9.3.20220412/rts/include/rts/prof" && /usr/bin/install -c -m 644 rts/include/rts/prof/*.h "/home/ryanglscott/Software/ghc-9.3.20220412/lib/ghc-9.3.20220412/rts/include/rts/prof/" && /usr/bin/install -c -m 755 -d "/home/ryanglscott/Software/ghc-9.3.20220412/lib/ghc-9.3.20220412/rts/include/rts/storage" && /usr/bin/install -c -m 644 rts/include/rts/storage/*.h "/home/ryanglscott/Software/ghc-9.3.20220412/lib/ghc-9.3.20220412/rts/include/rts/storage/" && /usr/bin/install -c -m 755 -d "/home/ryanglscott/Software/ghc-9.3.20220412/lib/ghc-9.3.20220412/rts/include/stg" && /usr/bin/install -c -m 644 rts/include/stg/*.h "/home/ryanglscott/Software/ghc-9.3.20220412/lib/ghc-9.3.20220412/rts/include/stg/" && true
/usr/bin/install -c -m 644 \
rts/dist-install/build/include/ghcautoconf.h rts/dist-install/build/include/ghcplatform.h rts/dist-install/build/include/DerivedConstants.h rts/dist-install/build/include/rts/EventLogConstants.h rts/dist-install/build/include/rts/EventTypes.h \
"/home/ryanglscott/Software/ghc-9.3.20220412/lib/ghc-9.3.20220412/rts/include/"
/usr/bin/install -c -m 755 -d "/home/ryanglscott/Software/ghc-9.3.20220412/lib/ghc-9.3.20220412/rts/include"
/usr/bin/install -c -m 644 rts/dist-install/build/include/ffi.h rts/dist-install/build/include/ffitarget.h "/home/ryanglscott/Software/ghc-9.3.20220412/lib/ghc-9.3.20220412/rts/include/"
/usr/bin/install -c -m 755 -d "/home/ryanglscott/Software/ghc-9.3.20220412/bin"
"rm" -f "/home/ryanglscott/Software/ghc-9.3.20220412/bin/haddock-ghc-9.3.20220412"
create () { touch "$1" && chmod 755 "$1" ; } && create "/home/ryanglscott/Software/ghc-9.3.20220412/bin/haddock-ghc-9.3.20220412"
echo '#!/bin/sh' >> "/home/ryanglscott/Software/ghc-9.3.20220412/bin/haddock-ghc-9.3.20220412"
echo 'exedir="/home/ryanglscott/Software/ghc-9.3.20220412/lib/ghc-9.3.20220412/bin"' >> "/home/ryanglscott/Software/ghc-9.3.20220412/bin/haddock-ghc-9.3.20220412"
echo 'exeprog="haddock"' >> "/home/ryanglscott/Software/ghc-9.3.20220412/bin/haddock-ghc-9.3.20220412"
echo 'executablename="$exedir/$exeprog"' >> "/home/ryanglscott/Software/ghc-9.3.20220412/bin/haddock-ghc-9.3.20220412"
echo 'datadir="/home/ryanglscott/Software/ghc-9.3.20220412/share"' >> "/home/ryanglscott/Software/ghc-9.3.20220412/bin/haddock-ghc-9.3.20220412"
echo 'bindir="/home/ryanglscott/Software/ghc-9.3.20220412/bin"' >> "/home/ryanglscott/Software/ghc-9.3.20220412/bin/haddock-ghc-9.3.20220412"
echo 'topdir="/home/ryanglscott/Software/ghc-9.3.20220412/lib/ghc-9.3.20220412"' >> "/home/ryanglscott/Software/ghc-9.3.20220412/bin/haddock-ghc-9.3.20220412"
cat utils/haddock/haddock.wrapper >> "/home/ryanglscott/Software/ghc-9.3.20220412/bin/haddock-ghc-9.3.20220412"
chmod +x "/home/ryanglscott/Software/ghc-9.3.20220412/bin/haddock-ghc-9.3.20220412"
/usr/bin/install -c -m 755 -d "/home/ryanglscott/Software/ghc-9.3.20220412/lib/ghc-9.3.20220412/html/"
/usr/bin/install -c -m 755 -d "/home/ryanglscott/Software/ghc-9.3.20220412/lib/ghc-9.3.20220412/html/Classic.theme/"
/usr/bin/install -c -m 755 -d "/home/ryanglscott/Software/ghc-9.3.20220412/lib/ghc-9.3.20220412/html/Linuwial.std-theme/"
/usr/bin/install -c -m 755 -d "/home/ryanglscott/Software/ghc-9.3.20220412/lib/ghc-9.3.20220412/html/Ocean.theme/"
/usr/bin/install -c -m 755 -d "/home/ryanglscott/Software/ghc-9.3.20220412/lib/ghc-9.3.20220412/latex/"
/usr/bin/install -c -m 644 utils/haddock/haddock-api/resources/html/quick-jump.min.js "/home/ryanglscott/Software/ghc-9.3.20220412/lib/ghc-9.3.20220412/html/"
/usr/bin/install -c -m 644 utils/haddock/haddock-api/resources/html/quick-jump.css "/home/ryanglscott/Software/ghc-9.3.20220412/lib/ghc-9.3.20220412/html/"
/usr/bin/install -c -m 644 utils/haddock/haddock-api/resources/html/haddock-bundle.min.js "/home/ryanglscott/Software/ghc-9.3.20220412/lib/ghc-9.3.20220412/html/"
/usr/bin/install -c -m 644 utils/haddock/haddock-api/resources/html/Classic.theme/haskell_icon.gif "/home/ryanglscott/Software/ghc-9.3.20220412/lib/ghc-9.3.20220412/html/Classic.theme/"
/usr/bin/install -c -m 644 utils/haddock/haddock-api/resources/html/Classic.theme/minus.gif "/home/ryanglscott/Software/ghc-9.3.20220412/lib/ghc-9.3.20220412/html/Classic.theme/"
/usr/bin/install -c -m 644 utils/haddock/haddock-api/resources/html/Classic.theme/plus.gif "/home/ryanglscott/Software/ghc-9.3.20220412/lib/ghc-9.3.20220412/html/Classic.theme/"
/usr/bin/install -c -m 644 utils/haddock/haddock-api/resources/html/Classic.theme/xhaddock.css "/home/ryanglscott/Software/ghc-9.3.20220412/lib/ghc-9.3.20220412/html/Classic.theme/"
/usr/bin/install -c -m 644 utils/haddock/haddock-api/resources/html/Ocean.theme/hslogo-16.png "/home/ryanglscott/Software/ghc-9.3.20220412/lib/ghc-9.3.20220412/html/Ocean.theme/"
/usr/bin/install -c -m 644 utils/haddock/haddock-api/resources/html/Ocean.theme/minus.gif "/home/ryanglscott/Software/ghc-9.3.20220412/lib/ghc-9.3.20220412/html/Ocean.theme/"
/usr/bin/install -c -m 644 utils/haddock/haddock-api/resources/html/Ocean.theme/ocean.css "/home/ryanglscott/Software/ghc-9.3.20220412/lib/ghc-9.3.20220412/html/Ocean.theme/"
/usr/bin/install -c -m 644 utils/haddock/haddock-api/resources/html/Ocean.theme/plus.gif "/home/ryanglscott/Software/ghc-9.3.20220412/lib/ghc-9.3.20220412/html/Ocean.theme/"
/usr/bin/install -c -m 644 utils/haddock/haddock-api/resources/html/Ocean.theme/synopsis.png "/home/ryanglscott/Software/ghc-9.3.20220412/lib/ghc-9.3.20220412/html/Ocean.theme/"
/usr/bin/install -c -m 644 utils/haddock/haddock-api/resources/html/Linuwial.std-theme/linuwial.css "/home/ryanglscott/Software/ghc-9.3.20220412/lib/ghc-9.3.20220412/html/Linuwial.std-theme/"
/usr/bin/install -c -m 644 utils/haddock/haddock-api/resources/html/Linuwial.std-theme/synopsis.png "/home/ryanglscott/Software/ghc-9.3.20220412/lib/ghc-9.3.20220412/html/Linuwial.std-theme/"
/usr/bin/install -c -m 644 utils/haddock/haddock-api/resources/html/solarized.css "/home/ryanglscott/Software/ghc-9.3.20220412/lib/ghc-9.3.20220412/html/"
/usr/bin/install -c -m 644 utils/haddock/haddock-api/resources/html/highlight.js "/home/ryanglscott/Software/ghc-9.3.20220412/lib/ghc-9.3.20220412/html/"
/usr/bin/install -c -m 644 utils/haddock/haddock-api/resources/latex/haddock.sty "/home/ryanglscott/Software/ghc-9.3.20220412/lib/ghc-9.3.20220412/latex/"
"rm" -f "/home/ryanglscott/Software/ghc-9.3.20220412/bin/haddock"
ln -s haddock-ghc-9.3.20220412 "/home/ryanglscott/Software/ghc-9.3.20220412/bin/haddock"
/usr/bin/install -c -m 755 -d "/home/ryanglscott/Software/ghc-9.3.20220412/bin"
"rm" -f "/home/ryanglscott/Software/ghc-9.3.20220412/bin/hsc2hs"
create () { touch "$1" && chmod 755 "$1" ; } && create "/home/ryanglscott/Software/ghc-9.3.20220412/bin/hsc2hs"
echo '#!/bin/sh' >> "/home/ryanglscott/Software/ghc-9.3.20220412/bin/hsc2hs"
echo 'exedir="/home/ryanglscott/Software/ghc-9.3.20220412/lib/ghc-9.3.20220412/bin"' >> "/home/ryanglscott/Software/ghc-9.3.20220412/bin/hsc2hs"
echo 'exeprog="hsc2hs"' >> "/home/ryanglscott/Software/ghc-9.3.20220412/bin/hsc2hs"
echo 'executablename="$exedir/$exeprog"' >> "/home/ryanglscott/Software/ghc-9.3.20220412/bin/hsc2hs"
echo 'datadir="/home/ryanglscott/Software/ghc-9.3.20220412/share"' >> "/home/ryanglscott/Software/ghc-9.3.20220412/bin/hsc2hs"
echo 'bindir="/home/ryanglscott/Software/ghc-9.3.20220412/bin"' >> "/home/ryanglscott/Software/ghc-9.3.20220412/bin/hsc2hs"
echo 'topdir="/home/ryanglscott/Software/ghc-9.3.20220412/lib/ghc-9.3.20220412"' >> "/home/ryanglscott/Software/ghc-9.3.20220412/bin/hsc2hs"
echo 'HSC2HS_EXTRA=" --lflag=-fuse-ld=gold"' >> "/home/ryanglscott/Software/ghc-9.3.20220412/bin/hsc2hs"
cat utils/hsc2hs/hsc2hs.wrapper >> "/home/ryanglscott/Software/ghc-9.3.20220412/bin/hsc2hs"
chmod +x "/home/ryanglscott/Software/ghc-9.3.20220412/bin/hsc2hs"
/usr/bin/install -c -m 644 utils/hsc2hs/data/template-hsc.h "/home/ryanglscott/Software/ghc-9.3.20220412/lib/ghc-9.3.20220412"
/usr/bin/install -c -m 755 -d "/home/ryanglscott/Software/ghc-9.3.20220412/bin"
"rm" -f "/home/ryanglscott/Software/ghc-9.3.20220412/bin/ghc-pkg-9.3.20220412"
create () { touch "$1" && chmod 755 "$1" ; } && create "/home/ryanglscott/Software/ghc-9.3.20220412/bin/ghc-pkg-9.3.20220412"
echo '#!/bin/sh' >> "/home/ryanglscott/Software/ghc-9.3.20220412/bin/ghc-pkg-9.3.20220412"
echo 'exedir="/home/ryanglscott/Software/ghc-9.3.20220412/lib/ghc-9.3.20220412/bin"' >> "/home/ryanglscott/Software/ghc-9.3.20220412/bin/ghc-pkg-9.3.20220412"
echo 'exeprog="ghc-pkg"' >> "/home/ryanglscott/Software/ghc-9.3.20220412/bin/ghc-pkg-9.3.20220412"
echo 'executablename="$exedir/$exeprog"' >> "/home/ryanglscott/Software/ghc-9.3.20220412/bin/ghc-pkg-9.3.20220412"
echo 'datadir="/home/ryanglscott/Software/ghc-9.3.20220412/share"' >> "/home/ryanglscott/Software/ghc-9.3.20220412/bin/ghc-pkg-9.3.20220412"
echo 'bindir="/home/ryanglscott/Software/ghc-9.3.20220412/bin"' >> "/home/ryanglscott/Software/ghc-9.3.20220412/bin/ghc-pkg-9.3.20220412"
echo 'topdir="/home/ryanglscott/Software/ghc-9.3.20220412/lib/ghc-9.3.20220412"' >> "/home/ryanglscott/Software/ghc-9.3.20220412/bin/ghc-pkg-9.3.20220412"
cat utils/ghc-pkg/ghc-pkg.wrapper >> "/home/ryanglscott/Software/ghc-9.3.20220412/bin/ghc-pkg-9.3.20220412"
chmod +x "/home/ryanglscott/Software/ghc-9.3.20220412/bin/ghc-pkg-9.3.20220412"
/usr/bin/install -c -m 755 -d "/home/ryanglscott/Software/ghc-9.3.20220412/bin"
"rm" -f "/home/ryanglscott/Software/ghc-9.3.20220412/bin/ghc-pkg"
ln -s ghc-pkg-9.3.20220412 "/home/ryanglscott/Software/ghc-9.3.20220412/bin/ghc-pkg"
/usr/bin/install -c -m 755 -d "/home/ryanglscott/Software/ghc-9.3.20220412/bin"
"rm" -f "/home/ryanglscott/Software/ghc-9.3.20220412/bin/hpc"
create () { touch "$1" && chmod 755 "$1" ; } && create "/home/ryanglscott/Software/ghc-9.3.20220412/bin/hpc"
echo '#!/bin/sh' >> "/home/ryanglscott/Software/ghc-9.3.20220412/bin/hpc"
echo 'exedir="/home/ryanglscott/Software/ghc-9.3.20220412/lib/ghc-9.3.20220412/bin"' >> "/home/ryanglscott/Software/ghc-9.3.20220412/bin/hpc"
echo 'exeprog="hpc"' >> "/home/ryanglscott/Software/ghc-9.3.20220412/bin/hpc"
echo 'executablename="$exedir/$exeprog"' >> "/home/ryanglscott/Software/ghc-9.3.20220412/bin/hpc"
echo 'datadir="/home/ryanglscott/Software/ghc-9.3.20220412/share"' >> "/home/ryanglscott/Software/ghc-9.3.20220412/bin/hpc"
echo 'bindir="/home/ryanglscott/Software/ghc-9.3.20220412/bin"' >> "/home/ryanglscott/Software/ghc-9.3.20220412/bin/hpc"
echo 'topdir="/home/ryanglscott/Software/ghc-9.3.20220412/lib/ghc-9.3.20220412"' >> "/home/ryanglscott/Software/ghc-9.3.20220412/bin/hpc"
cat utils/hpc/hpc.wrapper >> "/home/ryanglscott/Software/ghc-9.3.20220412/bin/hpc"
chmod +x "/home/ryanglscott/Software/ghc-9.3.20220412/bin/hpc"
/usr/bin/install -c -m 755 -d "/home/ryanglscott/Software/ghc-9.3.20220412/bin"
"rm" -f "/home/ryanglscott/Software/ghc-9.3.20220412/bin/runghc-9.3.20220412"
create () { touch "$1" && chmod 755 "$1" ; } && create "/home/ryanglscott/Software/ghc-9.3.20220412/bin/runghc-9.3.20220412"
echo '#!/bin/sh' >> "/home/ryanglscott/Software/ghc-9.3.20220412/bin/runghc-9.3.20220412"
echo 'exedir="/home/ryanglscott/Software/ghc-9.3.20220412/lib/ghc-9.3.20220412/bin"' >> "/home/ryanglscott/Software/ghc-9.3.20220412/bin/runghc-9.3.20220412"
echo 'exeprog="runghc"' >> "/home/ryanglscott/Software/ghc-9.3.20220412/bin/runghc-9.3.20220412"
echo 'executablename="$exedir/$exeprog"' >> "/home/ryanglscott/Software/ghc-9.3.20220412/bin/runghc-9.3.20220412"
echo 'datadir="/home/ryanglscott/Software/ghc-9.3.20220412/share"' >> "/home/ryanglscott/Software/ghc-9.3.20220412/bin/runghc-9.3.20220412"
echo 'bindir="/home/ryanglscott/Software/ghc-9.3.20220412/bin"' >> "/home/ryanglscott/Software/ghc-9.3.20220412/bin/runghc-9.3.20220412"
echo 'topdir="/home/ryanglscott/Software/ghc-9.3.20220412/lib/ghc-9.3.20220412"' >> "/home/ryanglscott/Software/ghc-9.3.20220412/bin/runghc-9.3.20220412"
echo 'ghcprog="ghc-9.3.20220412"' >> "/home/ryanglscott/Software/ghc-9.3.20220412/bin/runghc-9.3.20220412"
cat utils/runghc/runghc.wrapper >> "/home/ryanglscott/Software/ghc-9.3.20220412/bin/runghc-9.3.20220412"
chmod +x "/home/ryanglscott/Software/ghc-9.3.20220412/bin/runghc-9.3.20220412"
"rm" -f "/home/ryanglscott/Software/ghc-9.3.20220412/bin/runhaskell"
ln -s runghc "/home/ryanglscott/Software/ghc-9.3.20220412/bin/runhaskell"
"rm" -f "/home/ryanglscott/Software/ghc-9.3.20220412/bin/runghc"
ln -s runghc-9.3.20220412 "/home/ryanglscott/Software/ghc-9.3.20220412/bin/runghc"
/usr/bin/install -c -m 755 -d "/home/ryanglscott/Software/ghc-9.3.20220412/bin"
"rm" -f "/home/ryanglscott/Software/ghc-9.3.20220412/bin/ghc-9.3.20220412"
create () { touch "$1" && chmod 755 "$1" ; } && create "/home/ryanglscott/Software/ghc-9.3.20220412/bin/ghc-9.3.20220412"
echo '#!/bin/sh' >> "/home/ryanglscott/Software/ghc-9.3.20220412/bin/ghc-9.3.20220412"
echo 'exedir="/home/ryanglscott/Software/ghc-9.3.20220412/lib/ghc-9.3.20220412/bin"' >> "/home/ryanglscott/Software/ghc-9.3.20220412/bin/ghc-9.3.20220412"
echo 'exeprog="ghc-stage2"' >> "/home/ryanglscott/Software/ghc-9.3.20220412/bin/ghc-9.3.20220412"
echo 'executablename="$exedir/$exeprog"' >> "/home/ryanglscott/Software/ghc-9.3.20220412/bin/ghc-9.3.20220412"
echo 'datadir="/home/ryanglscott/Software/ghc-9.3.20220412/share"' >> "/home/ryanglscott/Software/ghc-9.3.20220412/bin/ghc-9.3.20220412"
echo 'bindir="/home/ryanglscott/Software/ghc-9.3.20220412/bin"' >> "/home/ryanglscott/Software/ghc-9.3.20220412/bin/ghc-9.3.20220412"
echo 'topdir="/home/ryanglscott/Software/ghc-9.3.20220412/lib/ghc-9.3.20220412"' >> "/home/ryanglscott/Software/ghc-9.3.20220412/bin/ghc-9.3.20220412"
echo 'executablename="$exedir/ghc"' >> "/home/ryanglscott/Software/ghc-9.3.20220412/bin/ghc-9.3.20220412"
cat ghc/ghc.wrapper >> "/home/ryanglscott/Software/ghc-9.3.20220412/bin/ghc-9.3.20220412"
chmod +x "/home/ryanglscott/Software/ghc-9.3.20220412/bin/ghc-9.3.20220412"
"rm" -f "/home/ryanglscott/Software/ghc-9.3.20220412/bin/ghc"
ln -s ghc-9.3.20220412 "/home/ryanglscott/Software/ghc-9.3.20220412/bin/ghc"
/usr/bin/install -c -m 755 -d "/home/ryanglscott/Software/ghc-9.3.20220412/share/man"
/usr/bin/install -c -m 755 -d "/home/ryanglscott/Software/ghc-9.3.20220412/share/man/man1"
/usr/bin/install -c -m 644 docs/users_guide/build-man/ghc.1 "/home/ryanglscott/Software/ghc-9.3.20220412/share/man/man1"
"rm" -f rts/dist-install/build/include/settings
# driver/ghc-usage.txt driver/ghci-usage.txt rts/dist-install/build/include/settings llvm-targets llvm-passes = libraries to install
# "/home/ryanglscott/Software/ghc-9.3.20220412/lib/ghc-9.3.20220412" = directory to install to
#
# The .dll case calls STRIP_CMD explicitly, instead of `install -s`, because
# on Win64, "install -s" calls a strip that doesn't understand 64bit binaries.
# For some reason, this means the DLLs end up non-executable, which means
# executables that use them just segfault.
/usr/bin/install -c -m 755 -d "/home/ryanglscott/Software/ghc-9.3.20220412/lib/ghc-9.3.20220412"
for i in driver/ghc-usage.txt driver/ghci-usage.txt rts/dist-install/build/include/settings llvm-targets llvm-passes; do case $i in *.a) /usr/bin/install -c -m 644 $i "/home/ryanglscott/Software/ghc-9.3.20220412/lib/ghc-9.3.20220412"; true "/home/ryanglscott/Software/ghc-9.3.20220412/lib/ghc-9.3.20220412"/`basename $i` ;; *.dll) /usr/bin/install -c -m 755 $i "/home/ryanglscott/Software/ghc-9.3.20220412/lib/ghc-9.3.20220412" ; strip "/home/ryanglscott/Software/ghc-9.3.20220412/lib/ghc-9.3.20220412"/`basename $i` ;; *.so) /usr/bin/install -c -m 755 $i "/home/ryanglscott/Software/ghc-9.3.20220412/lib/ghc-9.3.20220412" ;; *.dylib) /usr/bin/install -c -m 755 $i "/home/ryanglscott/Software/ghc-9.3.20220412/lib/ghc-9.3.20220412";; *) /usr/bin/install -c -m 644 $i "/home/ryanglscott/Software/ghc-9.3.20220412/lib/ghc-9.3.20220412"; esac; done
gcc -E -undef -traditional -P -DINSTALLING -DLIB_DIR='"/home/ryanglscott/Software/ghc-9.3.20220412/lib/ghc-9.3.20220412/rts"' -DINCLUDE_DIR='"/home/ryanglscott/Software/ghc-9.3.20220412/lib/ghc-9.3.20220412/rts/include"' -DFFI_INCLUDE_DIR= -DFFI_LIB_DIR= '-DFFI_LIB="Cffi"' -DLIBDW_INCLUDE_DIR= -DLIBDW_LIB_DIR= -Irts/include/../dist-install/build/include -Irts/include/. -Irts/. -x c rts/package.conf.in -o rts/dist-install/package.conf.install.raw
grep -v '^#pragma GCC' rts/dist-install/package.conf.install.raw | sed -e 's/""//g' -e 's/:[ ]*,/: /g' >rts/dist-install/package.conf.install
/usr/bin/install -c -m 755 -d "/home/ryanglscott/Software/ghc-9.3.20220412/lib/ghc-9.3.20220412/bin"
for i in utils/unlit/dist-install/build/tmp/unlit utils/hp2ps/dist-install/build/tmp/hp2ps utils/hp2ps/dist-install/build/tmp/hp2ps utils/haddock/dist/build/tmp/haddock utils/haddock/dist/build/tmp/haddock utils/hsc2hs/dist-install/build/tmp/hsc2hs utils/hsc2hs/dist-install/build/tmp/hsc2hs utils/ghc-pkg/dist-install/build/tmp/ghc-pkg utils/ghc-pkg/dist-install/build/tmp/ghc-pkg utils/hpc/dist-install/build/tmp/hpc utils/hpc/dist-install/build/tmp/hpc utils/runghc/dist-install/build/tmp/runghc utils/runghc/dist-install/build/tmp/runghc ghc/stage2/build/tmp/ghc-stage2 ghc/stage2/build/tmp/ghc-stage2 utils/iserv/stage2/build/tmp/ghc-iserv utils/iserv/stage2_dyn/build/tmp/ghc-iserv-dyn; do \
/usr/bin/install -c -m 755 $i "/home/ryanglscott/Software/ghc-9.3.20220412/lib/ghc-9.3.20220412/bin"; \
done
"mv" "/home/ryanglscott/Software/ghc-9.3.20220412/lib/ghc-9.3.20220412/bin/ghc-stage2" "/home/ryanglscott/Software/ghc-9.3.20220412/lib/ghc-9.3.20220412/bin/ghc"
/usr/bin/install -c -m 755 -d "/home/ryanglscott/Software/ghc-9.3.20220412/lib/ghc-9.3.20220412"
"rm" -rf "/home/ryanglscott/Software/ghc-9.3.20220412/lib/ghc-9.3.20220412/package.conf.d"
/usr/bin/install -c -m 755 -d "/home/ryanglscott/Software/ghc-9.3.20220412/lib/ghc-9.3.20220412/package.conf.d"
/usr/bin/install -c -m 755 -d "/home/ryanglscott/Software/ghc-9.3.20220412/lib/ghc-9.3.20220412/rts"
# rts/dist-install/build/libHSrts.a rts/dist-install/build/libHSrts-ghc9.3.20220412.so rts/dist-install/build/libHSrts_l.a rts/dist-install/build/libHSrts_debug.a rts/dist-install/build/libHSrts_thr.a rts/dist-install/build/libHSrts_thr_debug.a rts/dist-install/build/libHSrts_thr_l.a rts/dist-install/build/libHSrts_debug-ghc9.3.20220412.so rts/dist-install/build/libHSrts_thr-ghc9.3.20220412.so rts/dist-install/build/libHSrts_thr_debug-ghc9.3.20220412.so rts/dist-install/build/libHSrts_l-ghc9.3.20220412.so rts/dist-install/build/libHSrts_thr_l-ghc9.3.20220412.so rts/dist-install/build/libffi.so.8.1.0 rts/dist-install/build/libffi.so.8 rts/dist-install/build/libffi.so rts/dist-install/build/libCffi.a rts/dist-install/build/libCffi_l.a rts/dist-install/build/libCffi_debug.a rts/dist-install/build/libCffi_thr.a rts/dist-install/build/libCffi_thr_debug.a rts/dist-install/build/libCffi_thr_l.a = libraries to install
# "/home/ryanglscott/Software/ghc-9.3.20220412/lib/ghc-9.3.20220412/rts" = directory to install to
#
# The .dll case calls STRIP_CMD explicitly, instead of `install -s`, because
# on Win64, "install -s" calls a strip that doesn't understand 64bit binaries.
# For some reason, this means the DLLs end up non-executable, which means
# executables that use them just segfault.
/usr/bin/install -c -m 755 -d "/home/ryanglscott/Software/ghc-9.3.20220412/lib/ghc-9.3.20220412/rts"
for i in rts/dist-install/build/libHSrts.a rts/dist-install/build/libHSrts-ghc9.3.20220412.so rts/dist-install/build/libHSrts_l.a rts/dist-install/build/libHSrts_debug.a rts/dist-install/build/libHSrts_thr.a rts/dist-install/build/libHSrts_thr_debug.a rts/dist-install/build/libHSrts_thr_l.a rts/dist-install/build/libHSrts_debug-ghc9.3.20220412.so rts/dist-install/build/libHSrts_thr-ghc9.3.20220412.so rts/dist-install/build/libHSrts_thr_debug-ghc9.3.20220412.so rts/dist-install/build/libHSrts_l-ghc9.3.20220412.so rts/dist-install/build/libHSrts_thr_l-ghc9.3.20220412.so rts/dist-install/build/libffi.so.8.1.0 rts/dist-install/build/libffi.so.8 rts/dist-install/build/libffi.so rts/dist-install/build/libCffi.a rts/dist-install/build/libCffi_l.a rts/dist-install/build/libCffi_debug.a rts/dist-install/build/libCffi_thr.a rts/dist-install/build/libCffi_thr_debug.a rts/dist-install/build/libCffi_thr_l.a; do case $i in *.a) /usr/bin/install -c -m 644 $i "/home/ryanglscott/Software/ghc-9.3.20220412/lib/ghc-9.3.20220412/rts"; true "/home/ryanglscott/Software/ghc-9.3.20220412/lib/ghc-9.3.20220412/rts"/`basename $i` ;; *.dll) /usr/bin/install -c -m 755 $i "/home/ryanglscott/Software/ghc-9.3.20220412/lib/ghc-9.3.20220412/rts" ; strip "/home/ryanglscott/Software/ghc-9.3.20220412/lib/ghc-9.3.20220412/rts"/`basename $i` ;; *.so) /usr/bin/install -c -m 755 $i "/home/ryanglscott/Software/ghc-9.3.20220412/lib/ghc-9.3.20220412/rts" ;; *.dylib) /usr/bin/install -c -m 755 $i "/home/ryanglscott/Software/ghc-9.3.20220412/lib/ghc-9.3.20220412/rts";; *) /usr/bin/install -c -m 644 $i "/home/ryanglscott/Software/ghc-9.3.20220412/lib/ghc-9.3.20220412/rts"; esac; done
"utils/ghc-cabal/dist-install/build/tmp/ghc-cabal-bindist" copy libraries/ghc-prim dist-install "strip" '' '/home/ryanglscott/Software/ghc-9.3.20220412' '/home/ryanglscott/Software/ghc-9.3.20220412/lib/ghc-9.3.20220412' '/home/ryanglscott/Software/ghc-9.3.20220412/share/doc/ghc-9.3.20220412/html/libraries' 'v dyn'
Saved package config file is corrupt. Re-run the 'configure' command.
make[1]: *** [ghc.mk:1002: install_packages] Error 1
make: *** [Makefile:51: install] Error 2
I've tried re-running ./configure --prefix /home/ryanglscott/Software/ghc-9.3.20220412
, but the error persists.