Mock Version: 5.6 Mock Version: 5.6 Mock Version: 5.6 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/ghc8.10.spec'], chrootPath='/var/lib/mock/f41-build-51736514-6196061/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=201600uid=1000gid=425user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.zds6yjxu:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.zds6yjxu:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '924f13652c254c5895f8ff678af03def', '-D', '/var/lib/mock/f41-build-51736514-6196061/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.zds6yjxu:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/ghc8.10.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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1706054400 Wrote: /builddir/build/SRPMS/ghc8.10-8.10.7-14.fc41.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/ghc8.10.spec'], chrootPath='/var/lib/mock/f41-build-51736514-6196061/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=201600uid=1000gid=425user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.zds6yjxu:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.zds6yjxu:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '185841026ba54df196ca85a67692e01f', '-D', '/var/lib/mock/f41-build-51736514-6196061/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.zds6yjxu:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/ghc8.10.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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1706054400 Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.Ba3ths + umask 022 + cd /builddir/build/BUILD/ghc8.10-8.10.7-build + test -d /builddir/build/BUILD/ghc8.10-8.10.7-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILD/ghc8.10-8.10.7-build + /usr/bin/rm -rf /builddir/build/BUILD/ghc8.10-8.10.7-build + /usr/bin/mkdir -p /builddir/build/BUILD/ghc8.10-8.10.7-build + /usr/bin/mkdir -p /builddir/build/BUILD/ghc8.10-8.10.7-build/SPECPARTS + RPM_EC=0 ++ jobs -p + exit 0 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.8WMcJz + umask 022 + cd /builddir/build/BUILD/ghc8.10-8.10.7-build + cd /builddir/build/BUILD/ghc8.10-8.10.7-build + rm -rf ghc-8.10.7 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/ghc-8.10.7-src.tar.xz + STATUS=0 + '[' 0 -ne 0 ']' + cd ghc-8.10.7 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #1 (ghc-gen_contents_index-haddock-path.patch): + echo '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 48 (offset -12 lines). Patch #3 (ghc-gen_contents_index-nodocs.patch): + echo '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 Patch #2 (ghc-Cabal-install-PATH-warning.patch): + echo '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/Distribution/Simple/Install.hs Hunk #1 succeeded at 204 (offset -11 lines). Patch #6 (ghc-8.6.3-sphinx-1.8.patch): + echo 'Patch #6 (ghc-8.6.3-sphinx-1.8.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .orig --fuzz=0 patching file docs/users_guide/flags.py Hunk #2 succeeded at 630 (offset 25 lines). Patch #9 (00dc51060881df81258ba3b3bdf447294618a4de.patch): + echo 'Patch #9 (00dc51060881df81258ba3b3bdf447294618a4de.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .orig --fuzz=0 patching file docs/users_guide/ghc_config.py.in Patch #10 (10922-9.0.patch): + echo 'Patch #10 (10922-9.0.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .orig --fuzz=0 patching file docs/users_guide/flags.py Hunk #2 succeeded at 627 (offset -2 lines). Patch #24 (buildpath-abi-stability.patch): + echo 'Patch #24 (buildpath-abi-stability.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .orig --fuzz=0 patching file compiler/iface/MkIface.hs Patch #26 (no-missing-haddock-file-warning.patch): + echo '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 1914 (offset 326 lines). Patch #27 (ghc-configure-c99.patch): + echo 'Patch #27 (ghc-configure-c99.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file aclocal.m4 patching file configure + '[' '!' -f libraries/gen_contents_index.orig ']' + cat + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.3xfdEj + umask 022 + cd /builddir/build/BUILD/ghc8.10-8.10.7-build + CFLAGS='-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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-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 --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -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-8.10.7 + export CC=/usr/bin/gcc + CC=/usr/bin/gcc + ./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/ghc8.10 GHC=/usr/bin/ghc-8.10 checking for gfind... no checking for find... /usr/bin/find checking for sort... /usr/bin/sort checking for GHC Git commit id... given 1f02b7430b2fbab403d7ffdde9cfd006e884678e checking for ghc... /usr/bin/ghc-8.10 checking version of ghc... 8.10.7 checking build system type... aarch64-unknown-linux-gnu checking host system type... aarch64-unknown-linux-gnu checking target system type... aarch64-unknown-linux-gnu Build platform inferred as: aarch64-unknown-linux Host platform inferred as: aarch64-unknown-linux Target platform inferred as: aarch64-unknown-linux GHC build : aarch64-unknown-linux GHC host : aarch64-unknown-linux GHC target : aarch64-unknown-linux LLVM target: aarch64-unknown-linux 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... /builddir/build/BUILD/ghc8.10-8.10.7-build/ghc-8.10.7 checking for -windres... no checking for windres... no checking for -dllwrap... no checking for dllwrap... no checking for -objdump... no checking for objdump... objdump 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 /usr/bin/gcc accepts -g... yes checking for /usr/bin/gcc option to enable C11 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 for sys/time.h... yes checking for vfork.h... no checking whether it is safe to define __EXTENSIONS__... yes checking whether _XOPEN_SOURCE should be defined... no checking how to run the C preprocessor... /usr/bin/gcc -E checking for -ld.lld... no checking for ld.lld... no checking for -ld.gold... no checking for ld.gold... no checking for -ld... no checking for ld... ld checking whether C compiler supports -fuse-ld=bfd... yes checking for ld.gold object merging bug (binutils 22266)... checking whether ld is GNU ld... YES checking whether ld understands --build-id... yes checking whether ld understands -no_compact_unwind... no checking whether ld understands -filelist... no checking for -nm... no checking for nm... nm checking for ranlib... ranlib checking for -strip... no checking for strip... strip checking for -libtool... no checking for libtool... no 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-13... no checking for llc-13.0... no checking for llc-12... llc-12 checking llc-12 version (12.0.1) is between 9 and 13... yes checking for opt-13... no checking for opt-13.0... no checking for opt-12... opt-12 checking opt-12 version (12.0.1) is between 9 and 13... yes configure: Creating links for in-tree file handling routines. configure: Routines in place. Packages can now be build normally. checking whether #! works in shell scripts... yes checking version of gcc... checking version of gcc... 14.1.1 14.1.1 checking whether GCC supports -no-pie... yes checking whether GCC supports __atomic_ builtins... yes checking for extra options to pass gcc when compiling via C... 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 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 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 for ranlib... (cached) 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 bzip2... /usr/bin/bzip2 checking for gzip... /usr/bin/gzip checking for pxz... no checking for xz... /usr/bin/xz checking for gpatch... no checking for patch... /usr/bin/patch checking for autoreconf... autoreconf checking for dtrace... no checking for HsColour... /usr/bin/HsColour checking for sphinx-build... /usr/bin/sphinx-build checking for version of sphinx-build... 7.2.6 checking for xelatex... no checking for makeinfo... no checking for python3... /usr/bin/python3 checking for ghc-pkg matching /usr/bin/ghc-8.10... /usr/bin/ghc-pkg-8.10 checking for happy... no checking for version of happy... checking for alex... /usr/bin/alex checking for version of alex... 3.3.0.0 checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking for ctype.h... yes checking for dirent.h... yes checking for dlfcn.h... yes checking for errno.h... yes checking for fcntl.h... yes checking for grp.h... yes checking for limits.h... yes checking for locale.h... yes checking for nlist.h... no checking for pthread.h... yes checking for pwd.h... yes checking for signal.h... yes checking for sys/param.h... yes checking for sys/mman.h... yes checking for sys/resource.h... yes checking for sys/select.h... yes checking for sys/time.h... (cached) yes checking for sys/timeb.h... yes checking for sys/timerfd.h... yes checking for sys/timers.h... no checking for sys/times.h... yes checking for sys/utsname.h... yes checking for sys/wait.h... yes checking for termios.h... yes checking for time.h... yes checking for utime.h... yes checking for windows.h... no checking for winsock.h... no checking for sched.h... yes checking for sys/cpuset.h... no 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 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 setlocale... yes checking for /usr/bin/gcc options needed to detect all undeclared functions... none needed checking whether ctime_r is declared... yes checking for closedir in -lmingwex... no checking for atan in -lm... yes checking for dlopen in -ldl... yes checking for dlopen in -ldl... (cached) yes checking for size_t... yes checking for working alloca.h... yes checking for alloca... yes checking for pid_t... yes 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... 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 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 whether -lpthread is needed for pthreads... checking for pthread_create... yes 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_set_name_np... no checking for sys/eventfd.h... yes checking for eventfd... 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 for numa.h... no checking for numaif.h... no grep: libraries/parallel/parallel.cabal: No such file or directory configure: creating ./config.status config.status: creating mk/config.mk config.status: creating mk/install.mk config.status: creating mk/project.mk config.status: creating rts/rts.cabal config.status: creating compiler/ghc.cabal config.status: creating ghc/ghc-bin.cabal config.status: creating utils/iserv/iserv.cabal config.status: creating utils/iserv-proxy/iserv-proxy.cabal config.status: creating utils/ghc-pkg/ghc-pkg.cabal config.status: creating utils/remote-iserv/remote-iserv.cabal config.status: creating utils/runghc/runghc.cabal config.status: creating utils/gen-dll/gen-dll.cabal config.status: creating libraries/ghc-boot/ghc-boot.cabal config.status: creating libraries/ghc-boot-th/ghc-boot-th.cabal config.status: creating libraries/ghci/ghci.cabal config.status: creating libraries/ghc-heap/ghc-heap.cabal config.status: creating libraries/libiserv/libiserv.cabal config.status: creating libraries/template-haskell/template-haskell.cabal config.status: creating docs/users_guide/ghc_config.py config.status: creating docs/index.html config.status: creating libraries/prologue.txt config.status: creating distrib/configure.ac config.status: creating mk/config.h ---------------------------------------------------------------------- Configure completed successfully. Building GHC version : 8.10.7 Git commit id : 1f02b7430b2fbab403d7ffdde9cfd006e884678e Build platform : aarch64-unknown-linux Host platform : aarch64-unknown-linux Target platform : aarch64-unknown-linux Bootstrapping using : /usr/bin/ghc-8.10 which is version : 8.10.7 with threaded RTS? : YES Using (for bootstrapping) : /usr/bin/gcc Using gcc : /usr/bin/gcc which is version : 14.1.1 Building a cross compiler : NO Unregisterised : NO TablesNextToCode : YES hs-cpp : /usr/bin/gcc hs-cpp-flags : -E -undef -traditional ar : ar ld : ld nm : nm libtool : objdump : objdump ranlib : ranlib otool : install_name_tool : windres : dllwrap : genlib : Happy : () Alex : /usr/bin/alex (3.3.0.0) sphinx-build : /usr/bin/sphinx-build xelatex : makeinfo : Using LLVM tools clang : llc : llc-12 opt : opt-12 HsColour : /usr/bin/HsColour 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 + make -j12 + test -f mk/config.mk.old + cp -p mk/config.mk mk/config.mk.old touch -r mk/config.mk.old mk/config.mk + test -f mk/project.mk.old + cp -p mk/project.mk mk/project.mk.old touch -r mk/project.mk.old mk/project.mk + test -f compiler/ghc.cabal.old + cp -p compiler/ghc.cabal compiler/ghc.cabal.old touch -r compiler/ghc.cabal.old compiler/ghc.cabal ===--- building phase 0 make --no-print-directory -f ghc.mk phase=0 phase_0_builds mkdir -p inplace/bin mkdir -p inplace/lib "rm" -f inplace/bin/mkdirhier echo '#!/bin/sh' >> inplace/bin/mkdirhier cat utils/mkdirhier/mkdirhier.sh >> inplace/bin/mkdirhier chmod +x inplace/bin/mkdirhier "inplace/bin/mkdirhier" utils/ghc-cabal/dist/build/tmp//. "inplace/bin/mkdirhier" bootstrapping/. "inplace/bin/mkdirhier" libraries/ghc-boot/dist-boot/build/GHC//. "inplace/bin/mkdirhier" libraries/ghc-boot/dist-boot/build/GHC/Platform//. "inplace/bin/mkdirhier" includes/dist/build//. "inplace/bin/mkdirhier" compiler/stage1/build//. "/usr/bin/ghc-8.10" -H32m -O -Wall \ -optc-Wall \ -optl-Wl,-z,noexecstack \ -O0 \ -hide-all-packages \ -package-env - \ -package ghc-prim -package base -package array -package transformers -package time -package containers -package bytestring -package deepseq -package process -package pretty -package directory -package filepath -package unix -package template-haskell \ --make utils/ghc-cabal/Main.hs -o utils/ghc-cabal/dist/build/tmp/ghc-cabal \ -no-user-package-db \ -Wall -fno-warn-unused-imports -fno-warn-warnings-deprecations \ -DCABAL_VERSION=3,2,1,0 \ -DCABAL_PARSEC \ -DBOOTSTRAPPING \ -odir bootstrapping \ -hidir bootstrapping \ libraries/Cabal/Cabal/Distribution/Fields/Lexer.hs \ -ilibraries/Cabal/Cabal \ -ilibraries/binary/src \ -ilibraries/filepath \ -ilibraries/hpc \ -ilibraries/mtl \ -ilibraries/text/src \ libraries/text/cbits/cbits.c \ -Ilibraries/text/include \ -ilibraries/parsec/src \ \ "rm" -f libraries/ghc-boot/dist-boot/build/GHC/Version.hs "rm" -f libraries/ghc-boot/dist-boot/build/GHC/Platform/Host.hs "rm" -f includes/dist/build/ghcplatform.h "rm" -f includes/dist/build/ghcautoconf.h "rm" -f compiler/stage1/build/Config.hs Creating includes/dist/build/ghcplatform.h... Creating includes/dist/build/ghcautoconf.h... Creating compiler/stage1/build/Config.hs ... Done. done. done. Done. done. [ 1 of 293] Compiling Control.Monad.Cont.Class ( libraries/mtl/Control/Monad/Cont/Class.hs, bootstrapping/Control/Monad/Cont/Class.o ) [ 2 of 293] Compiling Control.Monad.Error.Class ( libraries/mtl/Control/Monad/Error/Class.hs, bootstrapping/Control/Monad/Error/Class.o ) [ 3 of 293] Compiling Control.Monad.Identity ( libraries/mtl/Control/Monad/Identity.hs, bootstrapping/Control/Monad/Identity.o ) [ 4 of 293] Compiling Control.Monad.Reader.Class ( libraries/mtl/Control/Monad/Reader/Class.hs, bootstrapping/Control/Monad/Reader/Class.o ) [ 5 of 293] Compiling Control.Monad.State.Class ( libraries/mtl/Control/Monad/State/Class.hs, bootstrapping/Control/Monad/State/Class.o ) [ 6 of 293] Compiling Control.Monad.Trans ( libraries/mtl/Control/Monad/Trans.hs, bootstrapping/Control/Monad/Trans.o ) [ 7 of 293] Compiling Control.Monad.State.Strict ( libraries/mtl/Control/Monad/State/Strict.hs, bootstrapping/Control/Monad/State/Strict.o ) [ 8 of 293] Compiling Data.Binary.Builder ( libraries/binary/src/Data/Binary/Builder.hs, bootstrapping/Data/Binary/Builder.o ) [ 9 of 293] Compiling Data.Binary.FloatCast ( libraries/binary/src/Data/Binary/FloatCast.hs, bootstrapping/Data/Binary/FloatCast.o ) [ 10 of 293] Compiling Data.Binary.Internal ( libraries/binary/src/Data/Binary/Internal.hs, bootstrapping/Data/Binary/Internal.o ) [ 11 of 293] Compiling Data.Binary.Get.Internal ( libraries/binary/src/Data/Binary/Get/Internal.hs, bootstrapping/Data/Binary/Get/Internal.o ) [ 12 of 293] Compiling Data.Binary.Get ( libraries/binary/src/Data/Binary/Get.hs, bootstrapping/Data/Binary/Get.o ) [ 13 of 293] Compiling Data.Binary.Put ( libraries/binary/src/Data/Binary/Put.hs, bootstrapping/Data/Binary/Put.o ) [ 14 of 293] Compiling Data.Binary.Class ( libraries/binary/src/Data/Binary/Class.hs, bootstrapping/Data/Binary/Class.o ) [ 15 of 293] Compiling Data.Binary.Generic ( libraries/binary/src/Data/Binary/Generic.hs, bootstrapping/Data/Binary/Generic.o ) [ 16 of 293] Compiling Data.Binary ( libraries/binary/src/Data/Binary.hs, bootstrapping/Data/Binary.o ) [ 17 of 293] Compiling Data.Text.Encoding.Error ( libraries/text/src/Data/Text/Encoding/Error.hs, bootstrapping/Data/Text/Encoding/Error.o ) [ 18 of 293] Compiling Data.Text.Internal.ByteStringCompat ( libraries/text/src/Data/Text/Internal/ByteStringCompat.hs, bootstrapping/Data/Text/Internal/ByteStringCompat.o ) [ 19 of 293] Compiling Data.Text.Internal.Encoding.Utf16 ( libraries/text/src/Data/Text/Internal/Encoding/Utf16.hs, bootstrapping/Data/Text/Internal/Encoding/Utf16.o ) [ 20 of 293] Compiling Data.Text.Internal.Encoding.Utf32 ( libraries/text/src/Data/Text/Internal/Encoding/Utf32.hs, bootstrapping/Data/Text/Internal/Encoding/Utf32.o ) [ 21 of 293] Compiling Data.Text.Internal.Functions ( libraries/text/src/Data/Text/Internal/Functions.hs, bootstrapping/Data/Text/Internal/Functions.o ) [ 22 of 293] Compiling Data.Text.Internal.Unsafe ( libraries/text/src/Data/Text/Internal/Unsafe.hs, bootstrapping/Data/Text/Internal/Unsafe.o ) [ 23 of 293] Compiling Data.Text.Internal.Unsafe.Shift ( libraries/text/src/Data/Text/Internal/Unsafe/Shift.hs, bootstrapping/Data/Text/Internal/Unsafe/Shift.o ) [ 24 of 293] Compiling Data.Text.Array ( libraries/text/src/Data/Text/Array.hs, bootstrapping/Data/Text/Array.o ) ghc: could not execute: ld.gold ghc/ghc.mk:126: ghc/stage1/package-data.mk: No such file or directory make[1]: *** [utils/ghc-cabal/ghc.mk:58: utils/ghc-cabal/dist/build/tmp/ghc-cabal] Error 1 make: *** [Makefile:124: all] Error 2 RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.3xfdEj (%build) Bad exit status from /var/tmp/rpm-tmp.3xfdEj (%build) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # /usr/bin/systemd-nspawn -q -M 185841026ba54df196ca85a67692e01f -D /var/lib/mock/f41-build-51736514-6196061/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.zds6yjxu:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/mapper/control --bind=/dev/fuse --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --console=pipe --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin \'--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"\' \'--setenv=PS1= \\s-\\v\\$ \' --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c \'/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/ghc8.10.spec\'\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.12/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) ^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/site-packages/mockbuild/util.py", line 612, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (cmd_pretty(command, env), output), child.returncode) mockbuild.exception.Error: Command failed: # /usr/bin/systemd-nspawn -q -M 185841026ba54df196ca85a67692e01f -D /var/lib/mock/f41-build-51736514-6196061/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.zds6yjxu:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/mapper/control --bind=/dev/fuse --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --console=pipe --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin '--setenv=PROMPT_COMMAND=printf "\033]0;\007"' '--setenv=PS1= \s-\v\$ ' --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/ghc8.10.spec'