Mock Version: 2.15 Mock Version: 2.15 Mock Version: 2.15 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/ghc9.6.spec'], chrootPath='/var/lib/mock/f40-build-770103-125795/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/ghc9.6.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1695600000 Wrote: /builddir/build/SRPMS/ghc9.6-9.6.3-11.fc40.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/ghc9.6.spec'], chrootPath='/var/lib/mock/f40-build-770103-125795/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/ghc9.6.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1695600000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.GCGt1V + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf ghc-9.6.3 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/ghc-9.6.3-src.tar.lz + STATUS=0 + '[' 0 -ne 0 ']' + cd ghc-9.6.3 + rm -rf /builddir/build/BUILD/ghc-9.6.3-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/ghc-9.6.3-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #1 (ghc-gen_contents_index-haddock-path.patch):' Patch #1 (ghc-gen_contents_index-haddock-path.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .orig --fuzz=0 patching file libraries/gen_contents_index Hunk #1 succeeded at 59 (offset -1 lines). + echo 'Patch #3 (ghc-gen_contents_index-nodocs.patch):' Patch #3 (ghc-gen_contents_index-nodocs.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .orig --fuzz=0 patching file libraries/gen_contents_index Hunk #1 succeeded at 58 (offset 11 lines). + echo 'Patch #2 (ghc-Cabal-install-PATH-warning.patch):' Patch #2 (ghc-Cabal-install-PATH-warning.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .orig --fuzz=0 patching file libraries/Cabal/Cabal/src/Distribution/Simple/Install.hs Hunk #1 succeeded at 206 (offset -9 lines). + echo 'Patch #8 (ghc-configure-c99.patch):' Patch #8 (ghc-configure-c99.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .orig --fuzz=0 patching file m4/fp_leading_underscore.m4 patching file configure Hunk #1 succeeded at 17423 (offset 328 lines). + echo 'Patch #11 (11085.patch):' Patch #11 (11085.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .orig --fuzz=0 patching file hadrian/bindist/Makefile patching file hadrian/src/Rules/BinaryDist.hs Hunk #1 succeeded at 243 (offset -3 lines). patching file hadrian/src/Rules/Documentation.hs Hunk #1 succeeded at 41 (offset -2 lines). + rm libffi-tarballs/libffi-3.4.4.tar.gz + echo 'Patch #26 (no-missing-haddock-file-warning.patch):' Patch #26 (no-missing-haddock-file-warning.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .orig --fuzz=0 patching file utils/ghc-pkg/Main.hs Hunk #1 succeeded at 1905 (offset 317 lines). + echo 'Patch #27 (haddock-remove-googleapis-fonts.patch):' Patch #27 (haddock-remove-googleapis-fonts.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .orig --fuzz=0 patching file utils/haddock/haddock-api/src/Haddock/Backends/Xhtml.hs Hunk #1 succeeded at 155 (offset 18 lines). Hunk #2 succeeded at 164 (offset 18 lines). + echo 'Patch #30 (sphinx7.patch):' Patch #30 (sphinx7.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .orig --fuzz=0 patching file docs/users_guide/rtd-theme/layout.html + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.qO0q7M + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd ghc-9.6.3 + autoupdate + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + export 'LDFLAGS=-Wl,-z,relro -Wl,--as-needed -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + export CC=/usr/bin/gcc + CC=/usr/bin/gcc + export LD=/usr/bin/ld.gold + LD=/usr/bin/ld.gold + export GHC=/usr/bin/ghc + GHC=/usr/bin/ghc + ./configure --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --docdir=/usr/share/doc/ghc9.6 --with-system-libffi --enable-unregisterised checking for gfind... no checking for find... /usr/bin/find checking for sort... /usr/bin/sort checking for GHC Git commit id... given 6819b70a7739205a75f0b4fefcfcc9fdab39cab9 checking for ghc... /usr/bin/ghc checking version of ghc... 9.4.5 checking build system type... riscv64-unknown-linux-gnu checking host system type... riscv64-unknown-linux-gnu checking target system type... riscv64-unknown-linux-gnu build platform inferred as: riscv64-unknown-linux host platform inferred as: riscv64-unknown-linux target platform inferred as: riscv64-unknown-linux configure: GHC build : riscv64-unknown-linux configure: GHC host : riscv64-unknown-linux configure: GHC target : riscv64-unknown-linux checking for sh... /usr/bin/sh checking whether target supports a registerised ABI... yes configure: user chose registerised overriding for platform checking whether target supports tables next to code... no checking for path to top of build tree... /builddir/build/BUILD/ghc-9.6.3 checking for gcc... /usr/bin/gcc checking for g++... /usr/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 dllwrap... no 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 we are using the GNU C compiler... yes checking whether /usr/bin/gcc accepts -g... yes checking for /usr/bin/gcc option to accept ISO C89... none needed checking whether we are using the GNU C++ compiler... yes checking whether /usr/bin/g++ accepts -g... yes checking how to run the C preprocessor... /usr/bin/gcc -E 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 minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking how to run the C preprocessor... /usr/bin/gcc -E checking for /usr/bin/gcc option to accept ISO C99... none needed checking for gcc option to accept ISO C99... none needed checking for /usr/bin/gcc option to accept ISO C99... none needed checking for /usr/bin/gcc option to accept ISO C99... none needed checking for -ld... /usr/bin/ld.gold checking for ld.gold object merging bug (binutils 22266)... ./configure: line 9524: /usr/bin/ld.gold: No such file or directory checking whether ld is GNU ld... NO ./configure: line 9830: FP_PROG_LD_BUILD_ID: command not found checking whether ld understands -no_compact_unwind... no checking whether ld understands -filelist... no checking for -nm... /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 -clang... no checking for clang... no checking for gawk... gawk checking for llc-15... no checking for llc-15.0... no checking for llc15... no checking for llc-14... llc-14 checking llc-14 version (14.0.5) is between 11 and 16... yes checking for opt-15... no checking for opt-15.0... no checking for opt15... no checking for opt-14... opt-14 checking opt-14 version (14.0.5) is between 11 and 16... yes 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... 13.2.1 13.2.1 checking whether CC supports -no-pie... 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 for extra options to pass gcc when compiling via C... -fwrapv -fno-builtin 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 gcc supports --target... no checking whether /usr/bin/gcc supports --target... no checking whether /usr/bin/gcc supports --target... 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 GNU non-executable stack support... yes checking for a working context diff... diff -U 1 checking for a BSD-compatible install... /usr/bin/install -c 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... /usr/bin/sed checking for time... no checking for gnutar... no checking for gtar... /usr/bin/gtar checking for gpatch... no checking for patch... /usr/bin/patch checking for autoreconf... /usr/bin/autoreconf checking for dtrace... no checking for HsColour... no checking for sphinx-build... /usr/bin/sphinx-build checking for version of sphinx-build... 7.2.6 checking for xelatex... no checking for makeindex... no checking for git... no checking for makeinfo... no checking for cabal... no checking for python3... /usr/bin/python3 checking for ghc-pkg matching /usr/bin/ghc... /usr/bin/ghc-pkg checking for happy... /usr/bin/happy checking for version of happy... 1.20.1.1 checking for alex... /usr/bin/alex checking for version of alex... 3.2.7.1 checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking ctype.h usability... yes checking ctype.h presence... yes checking for ctype.h... yes checking dirent.h usability... yes checking dirent.h presence... yes checking for dirent.h... yes checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking errno.h usability... yes checking errno.h presence... yes checking for errno.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking grp.h usability... yes checking grp.h presence... yes checking for grp.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking nlist.h usability... no checking nlist.h presence... no checking for nlist.h... no checking pthread.h usability... yes checking pthread.h presence... yes checking for pthread.h... yes checking pwd.h usability... yes checking pwd.h presence... yes checking for pwd.h... yes checking signal.h usability... yes checking signal.h presence... yes checking for signal.h... yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking sys/mman.h usability... yes checking sys/mman.h presence... yes checking for sys/mman.h... yes checking sys/resource.h usability... yes checking sys/resource.h presence... yes checking for sys/resource.h... yes checking sys/select.h usability... yes checking sys/select.h presence... yes checking for sys/select.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking sys/timeb.h usability... yes checking sys/timeb.h presence... yes checking for sys/timeb.h... yes checking sys/timerfd.h usability... yes checking sys/timerfd.h presence... yes checking for sys/timerfd.h... yes checking sys/timers.h usability... no checking sys/timers.h presence... no checking for sys/timers.h... no checking sys/times.h usability... yes checking sys/times.h presence... yes checking for sys/times.h... yes checking sys/utsname.h usability... yes checking sys/utsname.h presence... yes checking for sys/utsname.h... yes checking sys/wait.h usability... yes checking sys/wait.h presence... yes checking for sys/wait.h... yes checking termios.h usability... yes checking termios.h presence... yes checking for termios.h... yes checking utime.h usability... yes checking utime.h presence... yes checking for utime.h... yes checking windows.h usability... no checking windows.h presence... no checking for windows.h... no checking winsock.h usability... no checking winsock.h presence... no checking for winsock.h... no checking sched.h usability... yes checking sched.h presence... yes checking for sched.h... yes checking for sys/cpuset.h... no checking whether environ is declared... yes checking for long long... yes checking size of char... 1 checking for char... yes checking alignment of char... 1 checking size of double... 8 checking for double... yes checking alignment of double... 8 checking size of float... 4 checking for float... yes checking alignment of float... 4 checking size of int... 4 checking for int... yes checking alignment of int... 4 checking size of long... 8 checking for long... yes checking alignment of long... 8 checking size of long long... 8 checking for long long... (cached) yes checking alignment of long long... 8 checking size of short... 2 checking for short... yes checking alignment of short... 2 checking size of unsigned char... 1 checking for unsigned char... yes checking alignment of unsigned char... 1 checking size of unsigned int... 4 checking for unsigned int... yes checking alignment of unsigned int... 4 checking size of unsigned long... 8 checking for unsigned long... yes checking alignment of unsigned long... 8 checking size of unsigned long long... 8 checking for unsigned long long... yes checking alignment of unsigned long long... 8 checking size of unsigned short... 2 checking for unsigned short... yes checking alignment of unsigned short... 2 checking size of void *... 8 checking for void *... yes checking alignment of void *... 8 checking size of int8_t... 1 checking for int8_t... yes checking alignment of int8_t... 1 checking size of uint8_t... 1 checking for uint8_t... yes checking alignment of uint8_t... 1 checking size of int16_t... 2 checking for int16_t... yes checking alignment of int16_t... 2 checking size of uint16_t... 2 checking for uint16_t... yes checking alignment of uint16_t... 2 checking size of int32_t... 4 checking for int32_t... yes checking alignment of int32_t... 4 checking size of uint32_t... 4 checking for uint32_t... yes checking alignment of uint32_t... 4 checking size of int64_t... 8 checking for int64_t... yes checking alignment of int64_t... 8 checking size of uint64_t... 8 checking for uint64_t... yes checking alignment of uint64_t... 8 checking whether byte ordering is bigendian... no checking for WinExec... no checking for GetModuleFileName... no checking for getclock... no checking for getrusage... yes checking for gettimeofday... yes checking for setitimer... yes checking for siginterrupt... yes checking for sysconf... yes checking for times... yes checking for ctime_r... yes checking for sched_setaffinity... yes checking for sched_getaffinity... yes checking for setlocale... yes checking for uselocale... yes checking whether ctime_r is declared... yes checking whether program_invocation_short_name is declared... yes checking for closedir in -lmingwex... no checking for atan in -lm... yes checking for ffi_call in -lffi... yes checking ffi.h usability... yes checking ffi.h presence... yes checking for ffi.h... yes checking for dlopen in -ldl... yes checking for dlopen in -ldl... (cached) yes checking for dlinfo... yes checking for size_t... yes checking for working alloca.h... yes checking for alloca... yes checking for pid_t... yes checking vfork.h usability... no checking vfork.h presence... no checking for vfork.h... no checking for fork... yes checking for vfork... yes checking for working fork... yes checking for working vfork... (cached) yes checking for an ANSI C-conforming const... yes checking whether byte ordering is bigendian... (cached) no checking whether float word order is big endian... no checking for nlist in -lelf... no checking leading underscore in symbol names... no checking whether __attribute__((visibility("hidden"))) is supported... yes checking whether __attribute__((musttail)) is supported... no checking for clock_gettime in -lrt... yes checking for clock_gettime in -lrt... (cached) yes checking for clock_gettime... yes checking for timer_settime... yes checking for timer_create... yes checking for a working timer_create(CLOCK_REALTIME)... yes checking for printf$LDBLStub... no checking for pthread_condattr_setclock... yes checking whether -lpthread is needed for pthreads... checking for pthread_create... yes no checking pthread_np.h usability... no checking pthread_np.h presence... no checking for pthread_np.h... no checking for pthread_setname_np in -lpthread... yes checking for pthread_setname_np (Darwin)... no checking for pthread_setname_np (glibc)... yes checking for pthread_setname_np (NetBSD)... no checking for pthread_set_name_np... no checking sys/eventfd.h usability... yes checking sys/eventfd.h presence... yes checking for sys/eventfd.h... yes checking for eventfd... yes checking for getpid... yes checking for getuid... yes checking for raise... yes checking for __thread support... yes checking whether MAP_NORESERVE is declared... yes checking whether MADV_FREE is declared... yes checking whether MADV_DONTNEED is declared... yes checking whether to use libffi for adjustors... yes checking for __aarch64_ldadd1_acq... no checking numa.h usability... no checking numa.h presence... no checking for numa.h... no checking numaif.h usability... no checking numaif.h presence... no checking for numaif.h... no 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 docs/users_guide/ghc_config.py config.status: creating distrib/configure.ac config.status: creating mk/config.h config.status: creating compiler/ghc-llvm-version.h ---------------------------------------------------------------------- Configure completed successfully. Building GHC version : 9.6.3 Git commit id : 6819b70a7739205a75f0b4fefcfcc9fdab39cab9 Build platform : riscv64-unknown-linux Host platform : riscv64-unknown-linux Target platform : riscv64-unknown-linux Bootstrapping using : /usr/bin/ghc which is version : 9.4.5 with threaded RTS? : YES Using (for bootstrapping) : gcc Using gcc : /usr/bin/gcc which is version : 13.2.1 linker options : Building a cross compiler : NO Unregisterised : YES TablesNextToCode : NO Build GMP in tree : NO hs-cpp : /usr/bin/gcc hs-cpp-flags : -E -undef -traditional ar : /usr/bin/ar ld : /usr/bin/ld.gold nm : /usr/bin/nm objdump : /usr/bin/objdump ranlib : /usr/bin/ranlib otool : otool install_name_tool : install_name_tool windres : dllwrap : genlib : Happy : /usr/bin/happy (1.20.1.1) Alex : /usr/bin/alex (3.2.7.1) sphinx-build : /usr/bin/sphinx-build xelatex : makeinfo : git : cabal-install : Using LLVM tools clang : clang llc : llc-14 opt : opt-14 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: NO ---------------------------------------------------------------------- For a standard build of GHC (fully optimised with profiling), type (g)make. To make changes to the default build configuration, copy the file mk/build.mk.sample to mk/build.mk, and edit the settings in there. For more information on how to configure your GHC build, see https://gitlab.haskell.org/ghc/ghc/wikis/building + export LANG=C.utf8 + LANG=C.utf8 + cd hadrian ++ ls ++ grep -i -e '^\(ANNOUNCE\|AUTHORS\|CHANGELOG\|CHANGES\|CONTRIBUTORS\|README\|TODO\)' + for f in $(ls | grep -i -e '^\(ANNOUNCE\|AUTHORS\|CHANGELOG\|CHANGES\|CONTRIBUTORS\|README\|TODO\)') + '[' -f README.md -a -x README.md ']' + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + export 'LDFLAGS=-Wl,-z,relro -Wl,--as-needed -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + '[' -f Setup.hs -o -f Setup.lhs ']' + '[' -d /usr/lib64/ghc-9.6.3/lib ']' + '[' -x Setup ']' + ghc --make -package Cabal -no-user-package-db -dynamic Setup [1 of 2] Compiling Main ( Setup.hs, Setup.o ) [2 of 2] Linking Setup + LANG=C.utf8 + ./Setup --version Cabal library version 3.8.1.0 + '[' -x Setup ']' + LANG=C.utf8 ++ echo ' -O2' -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ++ sed -e 's/ / -optc/g' ++ echo ' -Wl,-z,relro' -Wl,--as-needed -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ++ sed -e 's/ / -optl/g' + ./Setup configure --prefix=/usr --libdir=/usr/lib64 --docdir=/usr/share/licenses/ghc9.6 '--libsubdir=$compiler/$pkgid' '--datasubdir=$pkgid' '--libexecsubdir=$pkgid' --ghc --dynlibdir=/usr/lib64/ghc-9.6.3 --global '--ghc-options= -optc-O2 -optc-fexceptions -optc-g -optc-grecord-gcc-switches -optc-pipe -optc-Wall -optc-Werror=format-security -optc-Werror=implicit-function-declaration -optc-Werror=implicit-int -optc-Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -optc-Wp,-D_GLIBCXX_ASSERTIONS -optc-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -optc-fstack-protector-strong -optc-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -optc-fasynchronous-unwind-tables -optc-fno-omit-frame-pointer -optl-Wl,-z,relro -optl-Wl,--as-needed -optl-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -optl-Wl,--build-id=sha1 -fhide-source-paths' Configuring hadrian-0.1.0.0... + '[' -x Setup ']' + LANG=C.utf8 + ./Setup build -j1 Preprocessing executable 'hadrian' for hadrian-0.1.0.0.. Building executable 'hadrian' for hadrian-0.1.0.0.. [ 1 of 104] Compiling Environment [ 2 of 104] Compiling Hadrian.Target [ 3 of 104] Compiling Hadrian.Utilities [ 4 of 104] Compiling Hadrian.Package [ 5 of 104] Compiling Hadrian.Haskell.Cabal.Type [ 6 of 104] Compiling Hadrian.Oracles.Path [ 7 of 104] Compiling Hadrian.Oracles.DirectoryContents [ 8 of 104] Compiling Hadrian.Expression src/Hadrian/Expression.hs:38:10: warning: [-Wredundant-constraints] • Redundant constraint: Semigroup a • In the instance declaration for ‘Monoid (Expr c b a)’ | 38 | instance (Semigroup a, Monoid a) => Monoid (Expr c b a) where | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ src/Hadrian/Expression.hs:84:13: warning: [-Wtype-equality-requires-operators] The use of ‘~’ without TypeOperators will become an error in a future GHC release. Suggested fix: Perhaps you intended to use TypeOperators | 84 | instance (c ~ c', b ~ b', ToPredicate p c' b') => ToPredicate (Expr c b p) c' b' where | ^ src/Hadrian/Expression.hs:84:21: warning: [-Wtype-equality-requires-operators] The use of ‘~’ without TypeOperators will become an error in a future GHC release. Suggested fix: Perhaps you intended to use TypeOperators | 84 | instance (c ~ c', b ~ b', ToPredicate p c' b') => ToPredicate (Expr c b p) c' b' where | ^ [ 9 of 104] Compiling Hadrian.Oracles.ArgsHash [ 10 of 104] Compiling Hadrian.Builder.Tar [ 11 of 104] Compiling Hadrian.Builder.Sphinx [ 12 of 104] Compiling Hadrian.Builder.Ar [ 13 of 104] Compiling Hadrian.Builder [ 14 of 104] Compiling Settings.Parser [ 15 of 104] Compiling Stage [ 16 of 104] Compiling Way.Type [ 17 of 104] Compiling Way [ 18 of 104] Compiling Base [ 19 of 104] Compiling Rules.Clean [ 20 of 104] Compiling Hadrian.Oracles.TextFile [ 21 of 104] Compiling Oracles.Setting [ 22 of 104] Compiling Oracles.Flag [ 23 of 104] Compiling Hadrian.BuildPath [ 24 of 104] Compiling Context.Type [ 25 of 104] Compiling Hadrian.Oracles.Cabal.Type [ 26 of 104] Compiling Hadrian.Oracles.Cabal [ 27 of 104] Compiling Hadrian.Haskell.Cabal [ 28 of 104] Compiling Context.Path [ 29 of 104] Compiling Context [ 30 of 104] Compiling Packages [ 31 of 104] Compiling Builder [ 32 of 104] Compiling Target [ 33 of 104] Compiling Expression.Type [ 34 of 104] Compiling Expression [ 35 of 104] Compiling Settings.Warnings [ 36 of 104] Compiling Rules.Nofib [ 37 of 104] Compiling Oracles.ModuleFiles [ 38 of 104] Compiling Hadrian.Builder.Git [ 39 of 104] Compiling Flavour.Type [ 40 of 104] Compiling Settings.Default[boot] [ 41 of 104] Compiling UserSettings [ 42 of 104] Compiling Flavour src/Flavour.hs:40:1: warning: [-Wunused-imports] The import of ‘Oracles.Flag’ is redundant except perhaps to import instances from ‘Oracles.Flag’ To import instances alone, use: import Oracles.Flag() | 40 | import Oracles.Flag | ^^^^^^^^^^^^^^^^^^^ [ 43 of 104] Compiling CommandLine [ 44 of 104] Compiling Settings.Flavours.Validate [ 45 of 104] Compiling Settings.Flavours.Performance [ 46 of 104] Compiling Settings.Flavours.Release [ 47 of 104] Compiling Settings.Flavours.Quickest [ 48 of 104] Compiling Settings.Flavours.QuickCross [ 49 of 104] Compiling Settings.Flavours.Quick [ 50 of 104] Compiling Settings.Flavours.GhcInGhci [ 51 of 104] Compiling Settings.Flavours.Development [ 52 of 104] Compiling Settings.Flavours.Benchmark [ 53 of 104] Compiling Settings [ 54 of 104] Compiling Settings.Builders.Common [ 55 of 104] Compiling Settings.Builders.Xelatex [ 56 of 104] Compiling Settings.Builders.Win32Tarballs [ 57 of 104] Compiling Settings.Builders.MergeObjects [ 58 of 104] Compiling Settings.Builders.Ld [ 59 of 104] Compiling Settings.Builders.Hsc2Hs [ 60 of 104] Compiling Settings.Builders.HsCpp [ 61 of 104] Compiling Settings.Builders.Happy [ 62 of 104] Compiling Settings.Builders.GhcPkg [ 63 of 104] Compiling Settings.Builders.GenPrimopCode [ 64 of 104] Compiling Settings.Builders.DeriveConstants [ 65 of 104] Compiling Settings.Builders.Cc [ 66 of 104] Compiling Settings.Builders.Ar [ 67 of 104] Compiling Settings.Builders.Alex [ 68 of 104] Compiling Oracles.Flavour [ 69 of 104] Compiling Settings.Packages [ 70 of 104] Compiling Settings.Program [ 71 of 104] Compiling Oracles.TestSettings [ 72 of 104] Compiling Settings.Builders.RunTest [ 73 of 104] Compiling Settings.Builders.Cabal src/Settings/Builders/Cabal.hs:60:5: warning: [-Wunused-matches] Defined but not used: ‘threads’ | 60 | threads <- shakeThreads <$> expr getShakeOptions | ^^^^^^^ [ 74 of 104] Compiling Settings.Builders.SplitSections [ 75 of 104] Compiling Utilities [ 76 of 104] Compiling Rules.Gmp src/Rules/Gmp.hs:99:59: warning: [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a lambda abstraction: Patterns of type ‘[FilePath]’ not matched: [] [_] (_:_:_:_) | 99 | [gmpPath -/- "libgmp.a", gmpPath -/- "gmp.h"] &%> \[lib,header] -> do | ^^^^^^^^^^^^^^^^^^^... src/Rules/Gmp.hs:136:84: warning: [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a lambda abstraction: Patterns of type ‘[FilePath]’ not matched: [] [_] (_:_:_:_) | 136 | [gmpPath -/- "gmpbuild/Makefile.in", gmpPath -/- "gmpbuild/configure"] &%> \[mkIn,_] -> do | ^^^^^^^^^^^^^^^... [ 77 of 104] Compiling Settings.Builders.Make [ 78 of 104] Compiling Settings.Builders.Configure [ 79 of 104] Compiling Rules.Libffi src/Rules/Libffi.hs:205:61: warning: [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a lambda abstraction: Patterns of type ‘[FilePath]’ not matched: [] [_] (_:_:_:_) | 205 | fmap (libffiPath -/-) ["Makefile.in", "configure" ] &%> \[mkIn, _] -> do | ^^^^^^^^^^^^^^^^... src/Rules/Libffi.hs:228:74: warning: [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a lambda abstraction: Patterns of type ‘[FilePath]’ not matched: [] [_] [_, _] (_:_:_:_:_) | 228 | fmap (libffiPath -/-) ["Makefile", "config.guess", "config.sub"] &%> \[mk, _, _] -> do | ^^^^^^^^^^^^^^^^^... [ 80 of 104] Compiling Settings.Builders.Ghc [ 81 of 104] Compiling Rules.Generate [ 82 of 104] Compiling Rules.Documentation src/Rules/Documentation.hs:355:17: warning: [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a pattern binding: Patterns of type ‘[FilePath]’ not matched: [] [_] (_:_:_:_) | 355 | let [texipath, infopath] = map (p <.>) ["texi", "info"] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 83 of 104] Compiling Settings.Builders.Haddock [ 84 of 104] Compiling Settings.Default [ 85 of 104] Compiling Rules.SourceDist [ 86 of 104] Compiling Rules.Selftest [ 87 of 104] Compiling Rules.Lint [ 88 of 104] Compiling Rules.Rts [ 89 of 104] Compiling Rules.ToolArgs [ 90 of 104] Compiling Rules.Dependencies src/Rules/Dependencies.hs:4:1: warning: [-Wunused-imports] The import of ‘Data.Function’ is redundant except perhaps to import instances from ‘Data.Function’ To import instances alone, use: import Data.Function() | 4 | import Data.Function | ^^^^^^^^^^^^^^^^^^^^ [ 91 of 104] Compiling Rules.Compile src/Rules/Compile.hs:61:13: warning: [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a lambda abstraction: Patterns of type ‘[FilePath]’ not matched: [] [_] (_:_:_:_) | 61 | &%> \ [dyn_o, _dyn_hi] -> do | ^^^^^^^^^^^^^^^^^^^^^^^^... src/Rules/Compile.hs:85:15: warning: [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a lambda abstraction: Patterns of type ‘[FilePath]’ not matched: [] [_] (_:_:_:_) | 85 | &%> \ [o, _hi] -> compileHsObjectAndHi rs o | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 92 of 104] Compiling Rules.Docspec [ 93 of 104] Compiling Hadrian.Haskell.Cabal.Parse src/Hadrian/Haskell/Cabal/Parse.hs:224:9: warning: [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a pattern binding: Patterns of type ‘Maybe C.ConfiguredProgram’ not matched: Nothing | 224 | Just ghcProg = C.lookupProgram C.ghcProgram (C.withPrograms lbi') | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 94 of 104] Compiling Rules.Register [ 95 of 104] Compiling Rules.Library[boot] [ 96 of 104] Compiling Rules.Library [ 97 of 104] Compiling Rules.Program [ 98 of 104] Compiling Hadrian.Oracles.Cabal.Rules [ 99 of 104] Compiling Rules.Test [100 of 104] Compiling Rules.SimpleTargets [101 of 104] Compiling Rules.BinaryDist [102 of 104] Compiling Rules.CabalReinstall [103 of 104] Compiling Rules [104 of 104] Compiling Main [105 of 105] Linking dist/build/hadrian/hadrian