Mock Version: 4.1 Mock Version: 4.1 Mock Version: 4.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/ghc.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-186456-80295/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=86400uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/ghc.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: aarch64 Building for target aarch64 Wrote: /builddir/build/SRPMS/ghc-9.8.4-1.oc9.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/ghc.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-186456-80295/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=86400uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/ghc.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: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.XevEPr + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf ghc-9.8.4 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/ghc-9.8.4-src.tar.xz + STATUS=0 + '[' 0 -ne 0 ']' + cd ghc-9.8.4 + /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). 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/src/Distribution/Simple/Install.hs Hunk #1 succeeded at 206 (offset -9 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). Patch #4 (disable-Cabal-upperbounds-check-warning.patch): + echo 'Patch #4 (disable-Cabal-upperbounds-check-warning.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .orig --fuzz=0 patching file libraries/Cabal/Cabal/src/Distribution/PackageDescription/Check.hs Patch #5 (hp2ps-C-gnu17.patch): + echo 'Patch #5 (hp2ps-C-gnu17.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .orig --fuzz=0 patching file utils/hp2ps/Utilities.c + rm libffi-tarballs/libffi-3.4.6.tar.gz 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 1906 (offset 318 lines). Patch #27 (haddock-remove-googleapis-fonts.patch): + echo '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 152 (offset 15 lines). Hunk #2 succeeded at 161 (offset 15 lines). + cd libraries/directory Patch #50 (184.patch): + echo 'Patch #50 (184.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .orig --fuzz=0 patching file directory.buildinfo patching file directory.cabal + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.0bD6uP + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -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.8.4 + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + export 'LDFLAGS=-Wl,-z,relro -Wl,--as-needed -Wl,--build-id=sha1' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,--build-id=sha1' + 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/ghc --with-system-libffi --disable-ld-override checking for gfind... no checking for find... /usr/bin/find checking for sort... /usr/bin/sort checking for GHC Git commit id... given a3401159f2846605abb517e71af463df47398e72 checking for ghc... /usr/bin/ghc checking version of ghc... 9.4.5 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 configure: GHC build : aarch64-unknown-linux configure: GHC host : aarch64-unknown-linux configure: GHC target : aarch64-unknown-linux checking for sh... /usr/bin/sh checking whether target supports a registerised ABI... yes checking whether target supports tables next to code... yes checking for path to top of build tree... /builddir/build/BUILD/ghc-9.8.4 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 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... no checking for ld... ld checking for ld.gold object merging bug (binutils 22266)... checking whether ld is GNU ld... YES checking whether ld understands -no_compact_unwind... no checking whether ld understands -filelist... no checking whether ld supports -single_module... 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... no checking for llc-14.0... no checking for llc14... no checking for llc-13... no checking for llc-13.0... no checking for llc13... no checking for llc-12... no checking for llc-12.0... no checking for llc12... no checking for llc-11... no checking for llc-11.0... no checking for llc11... no checking for llc... no checking for opt-15... no checking for opt-15.0... no checking for opt15... no checking for opt-14... no checking for opt-14.0... no checking for opt14... no checking for opt-13... no checking for opt-13.0... no checking for opt13... no checking for opt-12... no checking for opt-12.0... no checking for opt12... no checking for opt-11... no checking for opt-11.0... no checking for opt11... no checking for opt... no 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... 12.3.1 12.3.1 checking whether CC supports -no-pie... yes checking whether CC supports flags passed by GHC when compiling via C... yes checking whether C compiler supports __atomic_ builtins... yes checking whether -latomic is needed for sub-word-sized atomic operations... no checking whether -latomic is needed for 64-bit atomic operations... no checking whether C compiler has an LLVM back end... no checking Setting up CFLAGS, LDFLAGS, IGNORE_LINKER_LD_FLAGS and CPPFLAGS... done checking Setting up CONF_CC_OPTS_STAGE0, CONF_GCC_LINKER_OPTS_STAGE0, CONF_LD_LINKER_OPTS_STAGE0 and CONF_CPP_OPTS_STAGE0... done checking Setting up CONF_CC_OPTS_STAGE1, CONF_GCC_LINKER_OPTS_STAGE1, CONF_LD_LINKER_OPTS_STAGE1 and CONF_CPP_OPTS_STAGE1... done checking Setting up CONF_CC_OPTS_STAGE2, CONF_GCC_LINKER_OPTS_STAGE2, CONF_LD_LINKER_OPTS_STAGE2 and CONF_CPP_OPTS_STAGE2... done checking whether ld supports response files... yes checking whether gcc supports --target... no checking whether /usr/bin/gcc supports --target... no checking whether /usr/bin/gcc supports --target... no checking whether gcc supports -Qunused-arguments... no checking whether /usr/bin/gcc supports -Qunused-arguments... no checking whether /usr/bin/gcc supports -Qunused-arguments... no checking C++ standard library flavour... libstdc++ checking for linkage against 'stdc++'... success checking for .subsections_via_symbols... no checking whether your assembler supports .ident directive... yes checking for 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... no checking for version of sphinx-build... configure: WARNING: Sphinx version 1.0.0 or later is required to build documentation 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... no checking for version of happy... checking for alex... no checking for version of alex... 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... yes 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.8.4 Git commit id : a3401159f2846605abb517e71af463df47398e72 Build platform : aarch64-unknown-linux Host platform : aarch64-unknown-linux Target platform : aarch64-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 : 12.3.1 linker options : Building a cross compiler : NO Unregisterised : NO TablesNextToCode : YES Build GMP in tree : NO hs-cpp : /usr/bin/gcc hs-cpp-flags : -E -undef -traditional ar : /usr/bin/ar ld : ld nm : /usr/bin/nm objdump : /usr/bin/objdump ranlib : /usr/bin/ranlib otool : otool install_name_tool : install_name_tool windres : dllwrap : genlib : Happy : () Alex : () sphinx-build : xelatex : makeinfo : git : cabal-install : Using optional dependencies: libnuma : NO libzstd : NO statically linked? : NO libdw : NO Using LLVM tools clang : clang llc : llc opt : opt HsColour was not found; documentation will not contain source links Tools to build Sphinx HTML documentation available: NO 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 + /usr/bin/hadrian -j8 --flavour=quick+no_profiled_libs --docs=no-haddocks --docs=no-sphinx binary-dist-dir --hash-unit-ids shake: unrecognized option `--hash-unit-ids' Usage: hadrian [options] [target] ... Standard options: --abbrev=FULL=SHORT Use abbreviation in status messages. --allow-redefine-rules Allow redefining built-in rules --no-allow-redefine-rules Forbid redefining built-in rules (default) --no-build Don't build anything. -C DIRECTORY, --directory=DIRECTORY Change to DIRECTORY before doing anything. --color, --colour Colorize the output. --no-color, --no-colour Don't colorize the output. --compact[=yes|no|auto] Use a compact Bazel/Buck style output. -d[FILE], --debug[=FILE] Print lots of debugging information. --demo Run in demo mode. --digest Files change when digest changes. --digest-and Files change when modtime and digest change. --digest-and-input Files change on modtime (and digest for inputs). --digest-or Files change when modtime or digest change. --digest-not Files change when modtime changes. --exception Throw exceptions directly. --flush=N Flush metadata every N seconds. --never-flush Never explicitly flush metadata. -h, --help Print this message and exit. -j[N], --jobs[=N] Allow N jobs/threads at once [default CPUs]. --keep-going Keep going when some targets can't be made. -l, --lint Perform limited validation after the run. --lint-watch=PATTERN Error if any of the patterns are created (expensive). --lint-fsatrace[=DIR] Use fsatrace to do validation [in current dir]. --lint-ignore=PATTERN Ignore any lint errors in these patterns. --no-lint Turn off --lint. --live[=FILE] List the files that are live [to live.txt]. -m PREFIX, --metadata=PREFIX Prefix for storing metadata files. --numeric-version Print just the version number and exit. --skip-commands Try and avoid running external programs. -B[PATTERN], --rebuild[=PATTERN] If required, these files will rebuild even if nothing has changed. --no-rebuild[=PATTERN] If required, these files will rebuild only if things have changed (default). --skip[=PATTERN] Don't rebuild matching files this run. -r[FILE], --report[=FILE], --profile[=FILE] Write out profiling information [to report.html]. --no-reports Turn off --report. --rule-version=VERSION Version of the build rules. --no-rule-version Ignore the build rules version. --share[=DIRECTORY] Shared cache location. --share-list List the shared cache files. --share-sanity Sanity check the shared cache files. --share-remove[=SUBSTRING] Remove the shared cache keys. --share-copy Copy files into the cache. --share-symlink Symlink files into the cache. -s, --silent Don't print anything. --sleep Sleep for a second before building. -S, --no-keep-going, --stop Turns off -k. --storage Write a storage log. -p[N], --progress[=N] Show progress messages [every N secs, default 5]. --no-progress Don't show progress messages. -q, --quiet Print less (pass repeatedly for even less). --no-time Don't print build time. --timings Print phase timings. -V, --verbose, --trace Print more (pass repeatedly for even more). -v, --version Print the version number and exit. -w, --print-directory Print the current directory. --no-print-directory Turn off -w, even if it was turned on implicitly. Extra options: -c, --configure Deprecated: Run the boot and configure scripts. -o[BUILD_ROOT], --build-root[=BUILD_ROOT] Where to store build artifacts. (Default _build). --flavour[=FLAVOUR] Build flavour (Default, Devel1, Devel2, Perf, Prof, Quick or Quickest). --freeze1 Freeze Stage1 GHC. --freeze2 Freeze Stage2 GHC. --skip-depends Skip rebuilding dependency information. --bignum[=BACKEND] Select ghc-bignum backend: native, gmp (default), check-gmp, ffi. --progress-info[=STYLE] Progress info style (None, Brief, Normal or Unicorn). --docs[=TARGET] Strip down docs targets (none, no-haddocks, no-sphinx[-{html, pdfs, man}]. -k, --keep-test-files Keep all the files generated when running the testsuite. --test-compiler[=TEST_COMPILER] Use given compiler [Default=stage2]. --test-config-file[=CONFIG_FILE] configuration file for testsuite. Default=testsuite/config/ghc --config[=EXTRA_TEST_CONFIG] Configurations to run test, in key=value format. --summary-junit[=TEST_SUMMARY_JUNIT] Output testsuite summary in JUnit format. --summary-metrics[=METRICS_FILE] Output testsuite performance metrics summary. --only[=TESTS] Test cases to run. --only-perf Only run performance tests. --skip-perf Skip performance tests. --test-root-dirs[=DIR1:[DIR2:...:DIRn]] Test root directories to look at (all by default). --test-speed[=SPEED] fast, slow or normal. Normal by default --summary[=TEST_SUMMARY] Where to output the test summary file. --test-verbose[=TEST_VERBOSE] A verbosity value between 0 and 5. 0 is silent, 4 and higher activates extra output. --test-way[=TEST_WAY] only run these ways --broken-test[=TEST_NAME] consider these tests to be broken -a, --test-accept Accept new output of tests --test-have-intree-files Run the in-tree tests even with an out of tree compiler --prefix[=PATH] Destination path for the bindist 'install' rule --complete-setting[=SETTING] Setting key to autocomplete, for the 'autocomplete' target. --haddock-base-url[=BASE_URL] Generate documentation suitable for upload to hackage or for another base URL (for example a local hackage server). error: Bad exit status from /var/tmp/rpm-tmp.0bD6uP (%build) Bad exit status from /var/tmp/rpm-tmp.0bD6uP (%build) RPM build errors: Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/ghc.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 597, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/ghc.spec