Mock Version: 1.4.21 Mock Version: 1.4.21 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/gauche.spec'], chrootPath='/var/lib/mock/f33-build-159227-43409/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': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/gauche.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': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1568678400 Wrote: /builddir/build/SRPMS/gauche-0.9.5-8.fc33.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/gauche.spec'], chrootPath='/var/lib/mock/f33-build-159227-43409/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': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/gauche.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': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1568678400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.3DUm23 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf Gauche-0.9.5 + /usr/bin/tar -xof - + /usr/bin/gzip -dc /builddir/build/SOURCES/Gauche-0.9.5.tgz + STATUS=0 + '[' 0 -ne 0 ']' + cd Gauche-0.9.5 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.IovQm7 + umask 022 + cd /builddir/build/BUILD + cd Gauche-0.9.5 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./gc/config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./gc/config.sub ++ basename ./gc/config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./gc/config.sub '/usr/lib/rpm/redhat/config.sub' -> './gc/config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./gc/config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./gc/config.guess ++ basename ./gc/config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./gc/config.guess '/usr/lib/rpm/redhat/config.guess' -> './gc/config.guess' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./gc/libatomic_ops/config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./gc/libatomic_ops/config.sub ++ basename ./gc/libatomic_ops/config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./gc/libatomic_ops/config.sub '/usr/lib/rpm/redhat/config.sub' -> './gc/libatomic_ops/config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./gc/libatomic_ops/config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./gc/libatomic_ops/config.guess ++ basename ./gc/libatomic_ops/config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./gc/libatomic_ops/config.guess '/usr/lib/rpm/redhat/config.guess' -> './gc/libatomic_ops/config.guess' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub '/usr/lib/rpm/redhat/config.sub' -> './config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess '/usr/lib/rpm/redhat/config.guess' -> './config.guess' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ find . -name ltmain.sh + for i in $(find . -name ltmain.sh) + /usr/bin/sed -i.backup -e 's~compiler_flags=$~compiler_flags="-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld"~' ./gc/libatomic_ops/ltmain.sh + for i in $(find . -name ltmain.sh) + /usr/bin/sed -i.backup -e 's~compiler_flags=$~compiler_flags="-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld"~' ./gc/ltmain.sh + for i in $(find . -name ltmain.sh) + /usr/bin/sed -i.backup -e 's~compiler_flags=$~compiler_flags="-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld"~' ./ltmain.sh + ./configure --build=riscv64-redhat-linux-gnu --host=riscv64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --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 --infodir=/usr/share/info --with-rpath=no --enable-threads=pthreads --enable-multibyte=utf-8 --with-slib=/usr/share/slib checking build system type... riscv64-redhat-linux-gnu checking host system type... riscv64-redhat-linux-gnu checking target system type... riscv64-redhat-linux-gnu checking for riscv64-redhat-linux-gnu-pkg-config... /usr/bin/riscv64-redhat-linux-gnu-pkg-config checking pkg-config is at least version 0.9.0... yes checking for ATOMIC_OPS... no checking which libatomic_ops to use... internal checking for riscv64-redhat-linux-gnu-gcc... no checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for gcc option to accept ISO C99... none needed checking for gcc option to accept ISO Standard C... (cached) none needed checking for an ANSI C-conforming const... yes checking whether make sets $(MAKE)... yes checking for a BSD-compatible install... /usr/bin/install -c checking whether ln -s works... yes checking for ar... ar checking for as... as checking for makeinfo... makeinfo checking for gzip... gzip checking for riscv64-redhat-linux-gnu-gcc... no checking for riscv64-redhat-linux-gnu-gcc... no checking for gcc... gcc checking for gosh... gosh checking how to run the C preprocessor... 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 whether time.h and sys/time.h may both be included... 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 time.h usability... yes checking time.h presence... yes checking for time.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking for sys/types.h... (cached) yes checking glob.h usability... yes checking glob.h presence... yes checking for glob.h... yes checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking getopt.h usability... yes checking getopt.h presence... yes checking for getopt.h... yes checking sched.h usability... yes checking sched.h presence... yes checking for sched.h... yes checking for unistd.h... (cached) yes checking for stdint.h... (cached) yes checking for inttypes.h... (cached) yes checking rpc/types.h usability... no checking rpc/types.h presence... no checking for rpc/types.h... no checking malloc.h usability... yes checking malloc.h presence... yes checking for malloc.h... yes checking syslog.h usability... yes checking syslog.h presence... yes checking for syslog.h... yes checking crypt.h usability... yes checking crypt.h presence... yes checking for crypt.h... yes checking pty.h usability... yes checking pty.h presence... yes checking for pty.h... yes checking util.h usability... no checking util.h presence... no checking for util.h... no checking bsd/libutil.h usability... no checking bsd/libutil.h presence... no checking for bsd/libutil.h... no checking libutil.h usability... no checking libutil.h presence... no checking for libutil.h... no checking sys/loadavg.h usability... no checking sys/loadavg.h presence... no checking for sys/loadavg.h... no checking sys/resource.h usability... yes checking sys/resource.h presence... yes checking for sys/resource.h... yes checking fpu_control.h usability... yes checking fpu_control.h presence... yes checking for fpu_control.h... yes checking sunmath.h usability... no checking sunmath.h presence... no checking for sunmath.h... no checking crt_externs.h usability... no checking crt_externs.h presence... no checking for crt_externs.h... no checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking for inline... inline checking whether byte ordering is bigendian... no checking whether struct tm is in sys/time.h or time.h... time.h checking size of long... 8 checking size of int... 4 checking size of off_t... 8 checking for uint16_t... yes checking for int32_t... yes checking for uint32_t... yes checking for int64_t... yes checking for uint64_t... yes checking for long long... yes checking for long double... yes checking for struct timespec... yes checking for pthread_spinlock_t... yes checking size of rlim_t... 8 checking for struct group.gr_passwd... yes checking for struct passwd.pw_passwd... yes checking for struct passwd.pw_gecos... yes checking for struct passwd.pw_class... no checking time_t is integral... yes checking whether gcc needs -traditional... no checking for sin in -lm... yes checking for isinf in -lsunmath... no checking for clock_gettime in -lrt... yes checking for size_t... yes checking for working alloca.h... yes checking for alloca... yes checking for isnan... yes checking for isinf... yes checking for trunc... yes checking for rint... yes checking for tgamma... yes checking for lgamma... yes checking for symlink... yes checking for readlink... yes checking for lchown... yes checking for realpath... yes checking for nanosleep... yes checking for usleep... yes checking for random... yes checking for srandom... yes checking for lrand48... yes checking for srand48... yes checking for putenv... yes checking for setenv... yes checking for unsetenv... yes checking for clearenv... yes checking for getpgid... yes checking for setgroups... yes checking for gethostname... yes checking for sethostname... yes checking for getdomainname... yes checking for setdomainname... yes checking for gettimeofday... yes checking for getloadavg... yes checking for clock_gettime... yes checking for clock_getres... yes checking for syslog... yes checking for setlogmask... yes checking for sigwait... yes checking for fpsetprec... no checking for mkdtemp... yes checking for mkstemp... yes checking for select... yes checking for library containing openpty... -lutil checking for library containing forkpty... none required checking for library containing crypt... -lcrypt checking for library containing dlopen... -ldl checking for library containing sched_yield... none required checking how to make dynamic loadable module... ok checking linker takes --soname flag... yes checking iconv.h usability... yes checking iconv.h presence... yes checking for iconv.h... yes checking gdbm.h usability... yes checking gdbm.h presence... yes checking for gdbm.h... yes checking for gdbm_open in -lgdbm... yes checking ndbm.h usability... yes checking ndbm.h presence... yes checking for ndbm.h... yes checking for dbm_open... no checking for dbm_open in -lndbm... no checking for dbm_open in -ldbm... no checking for dbm_open in -lgdbm... no checking for dbm_open in -lgdbm_compat... yes checking dbm.h usability... yes checking dbm.h presence... yes checking for dbm.h... yes checking for dbminit in -ldbm... no checking for dbminit in -lgdbm... no checking for dbminit in -lgdbm_compat... yes checking for IPv6... yes checking for struct sockaddr_storage... yes checking for net/if.h... yes checking for struct ifreq... yes checking for struct ifreq.ifr_ifindex... yes checking for struct ifreq.ifr_index... no checking for struct ifreq.ifr_netmask... yes checking for struct sockaddr_un.sun_len... no checking for struct sockaddr_in.sin_len... no checking for struct sockaddr_in6.sin6_len... no checking for library containing shutdown... none required checking for library containing gethostbyname_r... none required checking for gethostbyname_r... yes checking number of arguments for gethostbyname_r... 6 checking for gethostbyaddr_r... yes checking number of arguments for gethostbyaddr_r... 8 checking for getprotobyname_r... yes checking number of arguments for getprotobyname_r... 5 checking for getprotobynumber_r... yes checking number of arguments for getprotobynumber_r... 5 checking for getservbyname_r... yes checking for getservbyname_r... (cached) yes checking number of arguments for getservbyname_r... 6 checking for getservbyport_r... yes checking number of arguments for getservbyport_r... 6 checking for socklen_t... yes checking zlib.h usability... no checking zlib.h presence... no checking for zlib.h... no configure: WARNING: "Can't find zlib.h so I turned off using zlib; you may want to use --with-zlib=PATH." checking for openssl... no configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating src/genconfig config.status: creating src/makeverslink config.status: creating lib/Makefile config.status: creating lib/slib.scm config.status: creating doc/gosh.1 config.status: creating doc/gauche-config.1 config.status: creating doc/gauche-cesconv.1 config.status: creating doc/gauche-install.1 config.status: creating doc/gauche-package.1 config.status: creating doc/Makefile config.status: creating ext/Makefile config.status: creating ext/Makefile.ext config.status: creating ext/bcrypt/Makefile config.status: creating ext/binary/Makefile config.status: creating ext/charconv/Makefile config.status: creating ext/charconv/charconv.h config.status: creating ext/data/Makefile config.status: creating ext/dbm/Makefile config.status: creating ext/digest/Makefile config.status: creating ext/fcntl/Makefile config.status: creating ext/file/Makefile config.status: creating ext/gauche/Makefile config.status: creating ext/mt-random/Makefile config.status: creating ext/net/Makefile config.status: creating ext/peg/Makefile config.status: creating ext/sparse/Makefile config.status: creating ext/srfi/Makefile config.status: creating ext/sxml/Makefile config.status: creating ext/syslog/Makefile config.status: creating ext/tls/Makefile config.status: creating ext/termios/Makefile config.status: creating ext/text/Makefile config.status: creating ext/threads/Makefile config.status: creating ext/util/Makefile config.status: creating ext/uvector/Makefile config.status: creating ext/vport/Makefile config.status: creating ext/rfc/Makefile config.status: creating ext/zlib/Makefile config.status: creating ext/windows/Makefile config.status: creating examples/Makefile config.status: creating examples/standalone/Makefile config.status: creating gc/configure.gnu-gauche config.status: creating src/gauche/config.h config.status: creating ext/dbm/dbmconf.h config.status: executing VERSION commands === configuring in gc (/builddir/build/BUILD/Gauche-0.9.5/gc) configure: running /bin/sh ./configure.gnu --disable-option-checking '--prefix=/usr' '--build=riscv64-redhat-linux-gnu' '--host=riscv64-redhat-linux-gnu' '--program-prefix=' '--disable-dependency-tracking' '--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' '--infodir=/usr/share/info' '--with-rpath=no' '--enable-threads=pthreads' '--enable-multibyte=utf-8' '--with-slib=/usr/share/slib' 'build_alias=riscv64-redhat-linux-gnu' 'host_alias=riscv64-redhat-linux-gnu' 'PKG_CONFIG_PATH=:/usr/lib64/pkgconfig:/usr/share/pkgconfig' 'CFLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' 'LDFLAGS=-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' --cache-file=/dev/null --srcdir=. checking build system type... riscv64-redhat-linux-gnu checking host system type... riscv64-redhat-linux-gnu checking target system type... riscv64-redhat-linux-gnu checking GC version numbers... major=7 minor=6 micro=0 checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether to enable maintainer-specific portions of Makefiles... no checking for style of include used by make... GNU checking for riscv64-redhat-linux-gnu-gcc... no checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking dependency style of gcc... none checking for riscv64-redhat-linux-gnu-g++... no checking for riscv64-redhat-linux-gnu-c++... no checking for riscv64-redhat-linux-gnu-gpp... no checking for riscv64-redhat-linux-gnu-aCC... no checking for riscv64-redhat-linux-gnu-CC... no checking for riscv64-redhat-linux-gnu-cxx... no checking for riscv64-redhat-linux-gnu-cc++... no checking for riscv64-redhat-linux-gnu-cl.exe... no checking for riscv64-redhat-linux-gnu-FCC... no checking for riscv64-redhat-linux-gnu-KCC... no checking for riscv64-redhat-linux-gnu-RCC... no checking for riscv64-redhat-linux-gnu-xlC_r... no checking for riscv64-redhat-linux-gnu-xlC... no checking for g++... no checking for c++... no checking for gpp... no checking for aCC... no checking for CC... no checking for cxx... no checking for cc++... no checking for cl.exe... no checking for FCC... no checking for KCC... no checking for RCC... no checking for xlC_r... no checking for xlC... no checking whether we are using the GNU C++ compiler... no checking whether g++ accepts -g... no checking dependency style of g++... none checking dependency style of gcc... none checking how to print strings... printf checking for a sed that does not truncate output... /usr/bin/sed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for fgrep... /usr/bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking how to convert riscv64-redhat-linux-gnu file names to riscv64-redhat-linux-gnu format... func_convert_file_noop checking how to convert riscv64-redhat-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for riscv64-redhat-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for riscv64-redhat-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for riscv64-redhat-linux-gnu-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for riscv64-redhat-linux-gnu-strip... no checking for strip... strip checking for riscv64-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for riscv64-redhat-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no checking how to run the C preprocessor... gcc -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 for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking for inline... inline checking for pthread_self in -lpthread... yes checking for gcc -Wextra... yes checking for xlc... no checking whether gcc supports -fno-strict-aliasing... yes checking for dlopen in -ldl... yes checking execinfo.h usability... yes checking execinfo.h presence... yes checking for execinfo.h... yes checking whether to build shared libraries... yes checking which machine-dependent code should be used... checking whether Solaris gcc optimization fix is necessary... no checking for dladdr... yes checking sys/dg_sys_info.h usability... no checking sys/dg_sys_info.h presence... no checking for sys/dg_sys_info.h... no checking for riscv64-redhat-linux-gnu-pkg-config... /usr/bin/riscv64-redhat-linux-gnu-pkg-config checking pkg-config is at least version 0.9.0... yes checking for ATOMIC_OPS... no checking which libatomic_ops to use... internal checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating bdw-gc.pc config.status: creating include/config.h config.status: executing depfiles commands config.status: executing libtool commands config.status: executing default commands === configuring in libatomic_ops (/builddir/build/BUILD/Gauche-0.9.5/gc/libatomic_ops) configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr' '--build=riscv64-redhat-linux-gnu' '--host=riscv64-redhat-linux-gnu' '--program-prefix=' '--disable-dependency-tracking' '--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' '--infodir=/usr/share/info' '--with-rpath=no' '--enable-multibyte=utf-8' '--with-slib=/usr/share/slib' 'build_alias=riscv64-redhat-linux-gnu' 'host_alias=riscv64-redhat-linux-gnu' 'PKG_CONFIG_PATH=:/usr/lib64/pkgconfig:/usr/share/pkgconfig' 'CFLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' 'LDFLAGS=-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' '--enable-threads=pthreads' '--enable-large-config' '--disable-gcj-support' 'CPPFLAGS= -DDONT_ADD_BYTE_AT_END ' 'LDFLAGS=-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld ' 'CXXFLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' --cache-file=/dev/null --srcdir=. checking build system type... riscv64-redhat-linux-gnu checking host system type... riscv64-redhat-linux-gnu checking target system type... riscv64-redhat-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether to enable maintainer-specific portions of Makefiles... no checking for riscv64-redhat-linux-gnu-gcc... no checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking how to print strings... printf checking for a sed that does not truncate output... /usr/bin/sed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for fgrep... /usr/bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking how to convert riscv64-redhat-linux-gnu file names to riscv64-redhat-linux-gnu format... func_convert_file_noop checking how to convert riscv64-redhat-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for riscv64-redhat-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for riscv64-redhat-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for riscv64-redhat-linux-gnu-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for riscv64-redhat-linux-gnu-strip... no checking for strip... strip checking for riscv64-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for riscv64-redhat-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no checking how to run the C preprocessor... gcc -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 for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... no checking whether to build static libraries... yes checking for stdlib.h... (cached) yes checking for unistd.h... (cached) yes checking for sys/param.h... yes checking for getpagesize... yes checking for working mmap... yes checking for PIC compiler flag... -fPIC checking whether gcc -fPIC causes __PIC__ definition... yes checking for gcc -Wextra... yes checking for pthread_self in -lpthread... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating doc/Makefile config.status: creating src/Makefile config.status: creating tests/Makefile config.status: creating pkgconfig/atomic_ops.pc config.status: creating pkgconfig/atomic_ops-uninstalled.pc config.status: creating src/config.h config.status: executing libtool commands config.status: executing default commands This Gauche has been configured with the following parameters: version: 0.9.5 multibyte: utf8 slib: /usr/share/slib thread: pthreads tls/ssl: axTLS optional modules: odbm ndbm gdbm ++ pwd + LD_LIBRARY_PATH=/builddir/build/BUILD/Gauche-0.9.5/src + make if [ . != "." ]; then ./wirebuildlibs "." "ln -s"; fi for d in gc src lib ext doc examples; do (cd $d; make all) || exit 1; done make[1]: Entering directory '/builddir/build/BUILD/Gauche-0.9.5/gc' make[2]: Entering directory '/builddir/build/BUILD/Gauche-0.9.5/gc' /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I./include -I./include -I./libatomic_ops/src -I./libatomic_ops/src -DDONT_ADD_BYTE_AT_END -fexceptions -Wall -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -c -o allchblk.lo allchblk.c libtool: compile: gcc -DHAVE_CONFIG_H -I./include -I./include -I./libatomic_ops/src -I./libatomic_ops/src -DDONT_ADD_BYTE_AT_END -fexceptions -Wall -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -c allchblk.c -fPIC -DPIC -o .libs/allchblk.o In file included from ./include/private/gc_priv.h:94, from allchblk.c:17: ./include/private/gcconfig.h:604:5: error: #error "The collector has not been ported to this machine/OS combination." 604 | # error "The collector has not been ported to this machine/OS combination." | ^~~~~ In file included from ./include/private/gc_priv.h:94, from allchblk.c:17: ./include/private/gcconfig.h:2786:3: error: #error --> undefined ALIGNMENT 2786 | # error --> undefined ALIGNMENT | ^~~~~ make[2]: *** [Makefile:1522: allchblk.lo] Error 1 make[2]: Leaving directory '/builddir/build/BUILD/Gauche-0.9.5/gc' make[1]: *** [Makefile:1700: all-recursive] Error 1 make[1]: Leaving directory '/builddir/build/BUILD/Gauche-0.9.5/gc' make: *** [Makefile:40: all] Error 1 error: Bad exit status from /var/tmp/rpm-tmp.IovQm7 (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.IovQm7 (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.8/site-packages/mockbuild/trace_decorator.py", line 95, in trace result = func(*args, **kw) File "/usr/lib/python3.8/site-packages/mockbuild/util.py", line 746, 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/gauche.spec