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/ghc.spec'], chrootPath='/var/lib/mock/f38-build-707741-91939/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=1209600uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --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 warning: bogus date in %changelog: Sun Apr 15 2023 David Abdurachmanov - 9.2.6-130.4.riscv64 warning: bogus date in %changelog: Sun Apr 15 2023 David Abdurachmanov - 9.2.6-130.3.riscv64 Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1681516800 Wrote: /builddir/build/SRPMS/ghc-9.2.6-130.4.riscv64.fc38.src.rpm RPM build warnings: bogus date in %changelog: Sun Apr 15 2023 David Abdurachmanov - 9.2.6-130.4.riscv64 bogus date in %changelog: Sun Apr 15 2023 David Abdurachmanov - 9.2.6-130.3.riscv64 Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/ghc.spec'], chrootPath='/var/lib/mock/f38-build-707741-91939/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=1209600uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --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 warning: bogus date in %changelog: Sun Apr 15 2023 David Abdurachmanov - 9.2.6-130.4.riscv64 warning: bogus date in %changelog: Sun Apr 15 2023 David Abdurachmanov - 9.2.6-130.3.riscv64 Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1681516800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.CYNmIc + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf ghc-9.2.6 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/ghc-9.2.6-src.tar.xz + STATUS=0 + '[' 0 -ne 0 ']' + cd ghc-9.2.6 + /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 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/src/Distribution/Simple/Install.hs Hunk #1 succeeded at 206 (offset -9 lines). Patch #10 (9aace0eaf6279f17368a1753b65afbdc466e8291.patch): + echo 'Patch #10 (9aace0eaf6279f17368a1753b65afbdc466e8291.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .orig --fuzz=0 patching file utils/deriveConstants/Main.hs patching file utils/deriveConstants/deriveConstants.cabal Patch #11 (9394.patch): + echo 'Patch #11 (9394.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .orig11 --fuzz=0 patching file m4/fp_leading_underscore.m4 + rm libffi-tarballs/libffi-3.3-rc2+git20191103+88a7647.tar.gz Patch #20 (5725.patch): + echo 'Patch #20 (5725.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .orig --fuzz=0 patching file hadrian/src/Oracles/Flag.hs Hunk #1 succeeded at 72 (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/GHC/Iface/Recomp.hs Hunk #1 succeeded at 1090 (offset 19 lines). Hunk #2 succeeded at 1125 (offset 19 lines). 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 1924 (offset 336 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 Patch #30 (allow-newer-llvm-versions.patch): + echo 'Patch #30 (allow-newer-llvm-versions.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .orig --fuzz=0 patching file configure.ac + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.1NM8zL + umask 022 + cd /builddir/build/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 -fasynchronous-unwind-tables -fstack-clash-protection -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 -fstack-clash-protection -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-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 -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-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 -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + 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.2.6 + autoreconf configure.ac:73: warning: The macro `AC_CONFIG_HEADER' is obsolete. configure.ac:73: You should run autoupdate. ./lib/autoconf/status.m4:719: AC_CONFIG_HEADER is expanded from... configure.ac:73: the top level configure.ac:608: warning: The macro `AC_PROG_CC_C99' is obsolete. configure.ac:608: You should run autoupdate. ./lib/autoconf/c.m4:1659: AC_PROG_CC_C99 is expanded from... m4/fp_set_cflags_c99.m4:7: FP_SET_CFLAGS_C99 is expanded from... configure.ac:608: the top level configure.ac:609: warning: The macro `AC_PROG_CC_C99' is obsolete. configure.ac:609: You should run autoupdate. ./lib/autoconf/c.m4:1659: AC_PROG_CC_C99 is expanded from... m4/fp_set_cflags_c99.m4:7: FP_SET_CFLAGS_C99 is expanded from... configure.ac:609: the top level configure.ac:610: warning: The macro `AC_PROG_CC_C99' is obsolete. configure.ac:610: You should run autoupdate. ./lib/autoconf/c.m4:1659: AC_PROG_CC_C99 is expanded from... m4/fp_set_cflags_c99.m4:7: FP_SET_CFLAGS_C99 is expanded from... configure.ac:610: the top level configure.ac:611: warning: The macro `AC_PROG_CC_C99' is obsolete. configure.ac:611: You should run autoupdate. ./lib/autoconf/c.m4:1659: AC_PROG_CC_C99 is expanded from... m4/fp_set_cflags_c99.m4:7: FP_SET_CFLAGS_C99 is expanded from... configure.ac:611: the top level configure.ac:959: warning: The macro `AC_HEADER_TIME' is obsolete. configure.ac:959: You should run autoupdate. ./lib/autoconf/headers.m4:743: AC_HEADER_TIME is expanded from... configure.ac:959: the top level configure.ac:1151: warning: The macro `AC_TRY_RUN' is obsolete. configure.ac:1151: You should run autoupdate. ./lib/autoconf/general.m4:2997: AC_TRY_RUN is expanded from... lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from... ./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from... m4/fp_check_timer_create.m4:5: FP_CHECK_TIMER_CREATE is expanded from... configure.ac:1151: the top level ++ echo -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 -fstack-clash-protection -fno-omit-frame-pointer ++ sed -e 's/-Wall //' -e 's/-Werror=format-security //' + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -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 -fstack-clash-protection -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 + ./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 checking for gfind... no checking for find... /usr/bin/find checking for sort... /usr/bin/sort checking for GHC Git commit id... given 5383016c78fe4b2555e0aae9248bea5b42f67a78 checking for ghc... /usr/bin/ghc checking version of ghc... 9.2.6 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 GHC build : riscv64-unknown-linux GHC host : riscv64-unknown-linux GHC target : riscv64-unknown-linux LLVM target: riscv64-unknown-linux checking for sh... /usr/bin/sh checking whether target supports a registerised ABI... yes checking whether target supports tables next to code... no checking for path to top of build tree... /builddir/build/BUILD/ghc-9.2.6 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 whether GCC supports -no-pie... yes 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-17... no checking for llc-17.0... no checking for llc-16... no checking for llc-16.0... no checking for llc-15... no checking for llc-15.0... no checking for llc-14... no checking for llc-14.0... no checking for llc-13... llc-13 checking llc-13 version (13.0.1) is between 10 and 17... yes checking for opt-17... no checking for opt-17.0... no checking for opt-16... no checking for opt-16.0... no checking for opt-15... no checking for opt-15.0... no checking for opt-14... no checking for opt-14.0... no checking for opt-13... opt-13 checking opt-13 version (13.0.1) is between 10 and 17... yes 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.0.1 13.0.1 checking whether GCC supports -no-pie... yes checking whether C compiler supports __atomic_ builtins... yes checking whether -latomic is needed for sub-word-sized atomic operations... yes checking whether -latomic is needed for 64-bit atomic operations... no 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 whether CC supports --target... no 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... /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... 5.3.0 checking for xelatex... no checking for makeindex... no checking for git... no checking for makeinfo... 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.0 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 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 /usr/bin/gcc options needed to detect all undeclared functions... none needed 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 whether ctime_r is declared... yes checking for closedir in -lmingwex... no checking for atan in -lm... yes checking for ffi_call in -lffi... 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 for fork... yes checking for vfork... yes checking for pthread_condattr_setclock... 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 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 whether to use libffi for adjustors... checking for numa.h... no checking for numaif.h... no configure: creating ./config.status config.status: creating hadrian/cfg/system.config config.status: creating hadrian/ghci-cabal config.status: creating hadrian/ghci-stack 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/runghc/runghc.cabal config.status: creating driver/ghci/ghci-wrapper.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/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 : 9.2.6 Git commit id : 5383016c78fe4b2555e0aae9248bea5b42f67a78 Build platform : riscv64-unknown-linux Host platform : riscv64-unknown-linux Target platform : riscv64-unknown-linux Bootstrapping using : /usr/bin/ghc which is version : 9.2.6 with threaded RTS? : NO Using (for bootstrapping) : gcc Using gcc : /usr/bin/gcc which is version : 13.0.1 linker options : -fuse-ld=bfd Building a cross compiler : NO Unregisterised : NO TablesNextToCode : NO Build GMP in tree : NO 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 : /usr/bin/happy (1.20.0) Alex : /usr/bin/alex (3.2.7.1) sphinx-build : /usr/bin/sphinx-build xelatex : makeinfo : git : Using LLVM tools clang : llc : llc-13 opt : opt-13 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 ']' ++ echo -O2 -fexceptions -g -grecord-gcc-switches -pipe -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 -fstack-clash-protection -fno-omit-frame-pointer ++ sed -e 's/-Wall //' -e 's/-Werror=format-security //' + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -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 -fstack-clash-protection -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.2.6/lib ']' + subsubdir=/lib + '[' -x Setup ']' + ghc --make -package Cabal -no-user-package-db -dynamic Setup [1 of 1] Compiling Main ( Setup.hs, Setup.o ) Linking Setup ... + LANG=C.utf8 + ./Setup --version Cabal library version 3.6.3.0 + '[' -x Setup ']' + LANG=C.utf8 ++ echo ' -O2' -fexceptions -g -grecord-gcc-switches -pipe -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 -fstack-clash-protection -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/ghc '--libsubdir=$compiler/lib/$pkgid' '--datasubdir=$pkgid' '--libexecsubdir=$pkgid' --ghc --dynlibdir=/usr/lib64/ghc-9.2.6/lib --global '--ghc-options= -optc-O2 -optc-fexceptions -optc-g -optc-grecord-gcc-switches -optc-pipe -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-fstack-clash-protection -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 -j4 Preprocessing executable 'hadrian' for hadrian-0.1.0.0.. Building executable 'hadrian' for hadrian-0.1.0.0.. ghc-9.2.6: setNumCapabilities: not supported on this platform [ 1 of 101] Compiling Environment [ 2 of 101] Compiling Hadrian.Target [ 3 of 101] Compiling Hadrian.Utilities [ 4 of 101] Compiling Hadrian.Package [ 5 of 101] Compiling Hadrian.Haskell.Cabal.Type [ 6 of 101] Compiling Hadrian.Oracles.TextFile [ 7 of 101] Compiling Hadrian.Oracles.Path [ 8 of 101] Compiling Hadrian.Oracles.DirectoryContents [ 9 of 101] Compiling Hadrian.Expression src/Hadrian/Expression.hs:39:10: warning: [-Wredundant-constraints] • Redundant constraint: Semigroup a • In the instance declaration for ‘Monoid (Expr c b a)’ | 39 | instance (Semigroup a, Monoid a) => Monoid (Expr c b a) where | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 10 of 101] Compiling Hadrian.Oracles.ArgsHash [ 11 of 101] Compiling Hadrian.Builder.Tar [ 12 of 101] Compiling Hadrian.Builder.Sphinx [ 13 of 101] Compiling Hadrian.Builder.Ar [ 14 of 101] Compiling Settings.Parser [ 15 of 101] Compiling Stage [ 16 of 101] Compiling Way.Type [ 17 of 101] Compiling Way [ 18 of 101] Compiling Base [ 19 of 101] Compiling Rules.Clean [ 20 of 101] Compiling Oracles.Setting [ 21 of 101] Compiling Oracles.Flag [ 22 of 101] Compiling Hadrian.Builder [ 23 of 101] Compiling Hadrian.BuildPath [ 24 of 101] Compiling Context.Type [ 25 of 101] Compiling Hadrian.Oracles.Cabal.Type [ 26 of 101] Compiling Hadrian.Oracles.Cabal [ 27 of 101] Compiling Hadrian.Haskell.Cabal [ 28 of 101] Compiling Context.Path [ 29 of 101] Compiling Context [ 30 of 101] Compiling Rules.Library[boot] [ 31 of 101] Compiling Packages [ 32 of 101] Compiling Builder [ 33 of 101] Compiling Target [ 34 of 101] Compiling Expression.Type [ 35 of 101] Compiling Expression [ 36 of 101] Compiling Settings.Warnings [ 37 of 101] Compiling Rules.Nofib [ 38 of 101] Compiling Oracles.ModuleFiles [ 39 of 101] Compiling Hadrian.Builder.Git [ 40 of 101] Compiling Flavour [ 41 of 101] Compiling Settings.Default[boot] [ 42 of 101] Compiling UserSettings [ 43 of 101] Compiling Settings.Flavours.Validate [ 44 of 101] Compiling Settings.Flavours.Quickest [ 45 of 101] Compiling Settings.Flavours.QuickCross [ 46 of 101] Compiling Settings.Flavours.Quick [ 47 of 101] Compiling Settings.Flavours.Performance [ 48 of 101] Compiling Settings.Flavours.Static [ 49 of 101] Compiling Settings.Flavours.GhcInGhci [ 50 of 101] Compiling Settings.Flavours.Development [ 51 of 101] Compiling Settings.Flavours.Benchmark [ 52 of 101] Compiling CommandLine [ 53 of 101] Compiling Settings [ 54 of 101] Compiling Utilities [ 55 of 101] Compiling Rules.SourceDist src/Rules/SourceDist.hs:138:13: warning: [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a pattern binding: Patterns of type ‘Maybe Builder’ not matched: Nothing | 138 | Just builder = determineBuilder stg inp | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 56 of 101] Compiling Settings.Packages [ 57 of 101] Compiling Settings.Builders.Common [ 58 of 101] Compiling Settings.Builders.Xelatex [ 59 of 101] Compiling Settings.Builders.Win32Tarballs [ 60 of 101] Compiling Settings.Builders.MergeObjects [ 61 of 101] Compiling Settings.Builders.Ld [ 62 of 101] Compiling Settings.Builders.Hsc2Hs [ 63 of 101] Compiling Settings.Builders.HsCpp [ 64 of 101] Compiling Settings.Builders.Happy [ 65 of 101] Compiling Settings.Builders.GhcPkg [ 66 of 101] Compiling Settings.Builders.GenPrimopCode [ 67 of 101] Compiling Settings.Builders.DeriveConstants [ 68 of 101] Compiling Settings.Builders.Cc [ 69 of 101] Compiling Settings.Builders.Cabal [ 70 of 101] Compiling Settings.Builders.Alex [ 71 of 101] Compiling Rules.Lint [ 72 of 101] Compiling Rules.Libffi src/Rules/Libffi.hs:190:61: warning: [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a lambda abstraction: Patterns of type ‘[FilePath]’ not matched: [] [[]] [(_:_)] ([]:[]:_:_) ... | 190 | fmap (libffiPath -/-) ["Makefile.in", "configure" ] &%> \[mkIn, _] -> do | ^^^^^^^^^^^^^^^^... [ 73 of 101] Compiling Settings.Builders.Ghc src/Rules/Libffi.hs:213:74: warning: [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a lambda abstraction: Patterns of type ‘[FilePath]’ not matched: [] [[]] [(_:_)] [[], []] ... | 213 | fmap (libffiPath -/-) ["Makefile", "config.guess", "config.sub"] &%> \[mk, _, _] -> do | ^^^^^^^^^^^^^^^^^... [ 74 of 101] Compiling Rules.Rts [ 75 of 101] 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 | ^^^^^^^^^^^^^^^^^^^... [ 76 of 101] Compiling Settings.Builders.Configure [ 77 of 101] Compiling Rules.Docspec [ 78 of 101] Compiling Rules.Selftest [ 79 of 101] Compiling Rules.Generate 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 | ^^^^^^^^^^^^^^^... [ 80 of 101] Compiling Rules.ToolArgs [ 81 of 101] Compiling Rules.Documentation src/Rules/Documentation.hs:336:17: warning: [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a pattern binding: Patterns of type ‘[FilePath]’ not matched: [] [[]] [(_:_)] ([]:[]:_:_) ... | 336 | let [texipath, infopath] = map (p <.>) ["texi", "info"] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 82 of 101] Compiling Settings.Builders.Haddock [ 83 of 101] Compiling Rules.Dependencies [ 84 of 101] Compiling Rules.Compile src/Rules/Compile.hs:58:13: warning: [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a lambda abstraction: Patterns of type ‘[FilePath]’ not matched: [] [[]] [(_:_)] ([]:[]:_:_) ... | 58 | &%> \ [dyn_o, _dyn_hi] -> do | ^^^^^^^^^^^^^^^^^^^^^^^^... src/Rules/Compile.hs:82:15: warning: [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a lambda abstraction: Patterns of type ‘[FilePath]’ not matched: [ 85 of 101] Compiling Oracles.Flavour [ 86 of 101] Compiling Settings.Program [ 87 of 101] Compiling Settings.Builders.Make [ 88 of 101] Compiling Oracles.TestSettings [ 89 of 101] Compiling Settings.Builders.RunTest [ 90 of 101] Compiling Settings.Default [] [[]] [(_:_)] ([]:[]:_:_) ... | 82 | &%> \ [o, _hi] -> compileHsObjectAndHi rs o | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 91 of 101] Compiling Hadrian.Haskell.Cabal.Parse src/Hadrian/Haskell/Cabal/Parse.hs:218:9: warning: [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a pattern binding: Patterns of type ‘Maybe C.ConfiguredProgram’ not matched: Nothing | 218 | Just ghcProg = C.lookupProgram C.ghcProgram (C.withPrograms lbi') | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 92 of 101] Compiling Rules.Register [ 93 of 101] Compiling Rules.Library [ 94 of 101] Compiling Rules.Program [ 95 of 101] Compiling Hadrian.Oracles.Cabal.Rules [ 96 of 101] Compiling Rules.Test [ 97 of 101] Compiling Rules.SimpleTargets [ 98 of 101] Compiling Rules.Configure [ 99 of 101] Compiling Rules.BinaryDist [100 of 101] Compiling Rules [101 of 101] Compiling Main Linking dist/build/hadrian/hadrian ... + hadrian/dist/build/hadrian/hadrian -j4 --flavour=perf+llvm --docs=no-haddocks --docs=no-sphinx-pdfs binary-dist-dir hadrian: unknown RTS option: -qg hadrian: hadrian: Usage: [+RTS | -RTS ] ... --RTS hadrian: hadrian: +RTS Indicates run time system options follow hadrian: -RTS Indicates program arguments follow hadrian: --RTS Indicates that ALL subsequent arguments will be given to the hadrian: program (including any of these RTS flags) hadrian: hadrian: The following run time system options are available: hadrian: hadrian: -? Prints this message and exits; the program is not executed hadrian: --info Print information about the RTS used by this program hadrian: hadrian: --nonmoving-gc hadrian: RPM build warnings: RPM build errors: Selects the non-moving mark-and-sweep garbage collector to hadrian: manage the oldest generation. hadrian: --copying-gc hadrian: Selects the copying garbage collector to manage all generations. hadrian: hadrian: -K Sets the maximum stack size (default: 80% of the heap) hadrian: Egs: -K32k -K512k -K8M hadrian: -ki Sets the initial thread stack size (default 1k) Egs: -ki4k -ki2m hadrian: -kc Sets the stack chunk size (default 32k) hadrian: -kb Sets the stack chunk buffer size (default 1k) hadrian: hadrian: -A Sets the minimum allocation area size (default 4m) Egs: -A20m -A10k hadrian: -AL Sets the amount of large-object memory that can be allocated hadrian: before a GC is triggered (default: the value of -A) hadrian: -F Sets the collecting threshold for old generations as a factor of hadrian: the live data in that generation the last time it was collected hadrian: (default: 2.0) hadrian: -Fd Sets the inverse rate which memory is returned to the OS after being hadrian: optimistically retained after being allocated. Subsequent major hadrian: collections not caused by heap overflow will return an amount of hadrian: memory controlled by this factor (higher is slower). Setting the factor hadrian: to 0 means memory is not returned. hadrian: (default 4.0) hadrian: -n Allocation area chunk size (0 = disabled, default: 0) hadrian: -O Sets the minimum size of the old generation (default 1M) hadrian: -M Sets the maximum heap size (default unlimited) Egs: -M256k -M1G hadrian: -H Sets the minimum heap size (default 0M) Egs: -H24m -H1G hadrian: -xb Sets the address from which a suitable start for the heap memory hadrian: will be searched from. This is useful if the default address hadrian: clashes with some third-party library. hadrian: -xn Use the non-moving collector for the old generation. hadrian: -m Minimum % of heap which must be available (default 3%) hadrian: -G Number of generations (default: 2) hadrian: -c Use in-place compaction instead of copying in the oldest generation hadrian: when live data is at least % of the maximum heap size set with hadrian: -M (default: 30%) hadrian: -c Use in-place compaction for all oldest generation collections hadrian: (the default is to use copying) hadrian: -w Use mark-region for the oldest generation (experimental) hadrian: -I Perform full GC after idle time (default: 0.3, 0 == off) hadrian: hadrian: -T Collect GC statistics (useful for in-program statistics access) hadrian: -t[] One-line GC statistics (if omitted, uses stderr) hadrian: -s[] Summary GC statistics (if omitted, uses stderr) hadrian: -S[] Detailed GC statistics (if omitted, uses stderr) hadrian: hadrian: hadrian: -Z Don't squeeze out update frames on context switch hadrian: -B Sound the bell at the start of each garbage collection hadrian: -h Heap residency profile (output file .hp) hadrian: -hT Produce a heap profile grouped by closure type hadrian: -po Override profiling output file name prefix (program name by default) hadrian: -i Time between heap profile samples (seconds, default: 0.1) hadrian: --no-automatic-heap-samples Do not start the heap profile interval timer on start-up, hadrian: Rather, the application will be responsible for triggering hadrian: heap profiler samples. hadrian: -C Context-switch interval in seconds. hadrian: 0 or no argument means switch as often as possible. hadrian: Default: 0.02 sec. hadrian: -V Master tick interval in seconds (0 == disable timer). hadrian: This sets the resolution for -C and the heap profile timer -i, hadrian: and is the frequency of time profile samples. hadrian: Default: 0.01 sec. hadrian: hadrian: --install-signal-handlers= hadrian: Install signal handlers (default: yes) hadrian: --io-manager= hadrian: The I/O manager subsystem to use. (default: posix) hadrian: -e Maximum number of outstanding local sparks (default: 4096) hadrian: -xq The allocation limit given to a thread after it receives hadrian: an AllocationLimitExceeded exception. (default: 100k) hadrian: hadrian: -Mgrace= hadrian: The amount of allocation after the program receives a hadrian: HeapOverflow exception before the exception is thrown again, if hadrian: the program is still exceeding the heap limit. hadrian: hadrian: RTS options may also be specified using the GHCRTS environment variable. hadrian: hadrian: Other RTS options may be available for programs compiled a different way. hadrian: The GHC User's Guide has full details. hadrian: error: Bad exit status from /var/tmp/rpm-tmp.1NM8zL (%build) bogus date in %changelog: Sun Apr 15 2023 David Abdurachmanov - 9.2.6-130.4.riscv64 bogus date in %changelog: Sun Apr 15 2023 David Abdurachmanov - 9.2.6-130.3.riscv64 Bad exit status from /var/tmp/rpm-tmp.1NM8zL (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.9/site-packages/mockbuild/util.py", line 600, 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 --target riscv64 --nodeps /builddir/build/SPECS/ghc.spec