Mock Version: 1.4.9 Mock Version: 1.4.9 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/bison.spec'], chrootPath='/var/lib/mock/f29-build-19201-10257/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', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'}shell=Falselogger=timeout=345600uid=995gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/bison.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', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'} and shell False Building target platforms: riscv64 Building for target riscv64 Wrote: /builddir/build/SRPMS/bison-3.0.4-9.fc29.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/bison.spec'], chrootPath='/var/lib/mock/f29-build-19201-10257/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', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'}shell=Falselogger=timeout=345600uid=995gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/bison.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', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'} and shell False Building target platforms: riscv64 Building for target riscv64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.aU0BdT + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf bison-3.0.4 + /usr/bin/xz -dc /builddir/build/SOURCES/bison-3.0.4.tar.xz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd bison-3.0.4 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (bison-3.0.4-c++-test-failure.patch):' Patch #0 (bison-3.0.4-c++-test-failure.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file tests/c++.at + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.1nf9ZT + umask 022 + cd /builddir/build/BUILD + cd bison-3.0.4 + 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' + 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' + 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 -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 -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + '[' 1 = 1 ']' BUILDSTDERR: +++ dirname ./configure BUILDSTDERR: ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) BUILDSTDERR: ++ basename ./build-aux/config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./build-aux/config.sub BUILDSTDERR: ++ basename ./build-aux/config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./build-aux/config.sub '/usr/lib/rpm/redhat/config.sub' -> './build-aux/config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) BUILDSTDERR: ++ basename ./build-aux/config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./build-aux/config.guess BUILDSTDERR: ++ basename ./build-aux/config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./build-aux/config.guess '/usr/lib/rpm/redhat/config.guess' -> './build-aux/config.guess' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' BUILDSTDERR: ++ find . -name ltmain.sh + ./configure --build=riscv64-koji-linux-gnu --host=riscv64-koji-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 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 make supports nested variables... (cached) yes checking for style of include used by make... GNU checking for riscv64-koji-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 gcc option to accept ISO C99... none needed checking for gcc option to accept ISO Standard C... (cached) none needed checking for riscv64-koji-linux-gnu-g++... no checking for riscv64-koji-linux-gnu-c++... no checking for riscv64-koji-linux-gnu-gpp... no checking for riscv64-koji-linux-gnu-aCC... no checking for riscv64-koji-linux-gnu-CC... no checking for riscv64-koji-linux-gnu-cxx... no checking for riscv64-koji-linux-gnu-cc++... no checking for riscv64-koji-linux-gnu-cl.exe... no checking for riscv64-koji-linux-gnu-FCC... no checking for riscv64-koji-linux-gnu-KCC... no checking for riscv64-koji-linux-gnu-RCC... no checking for riscv64-koji-linux-gnu-xlC_r... no checking for riscv64-koji-linux-gnu-xlC... no checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking dependency style of g++... none 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 Minix Amsterdam compiler... no checking for riscv64-koji-linux-gnu-ar... no checking for ar... ar checking for riscv64-koji-linux-gnu-ranlib... no checking for ranlib... ranlib 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 whether _XOPEN_SOURCE should be defined... no checking build system type... riscv64-koji-linux-gnu checking host system type... riscv64-koji-linux-gnu checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking whether pragma GCC diagnostic push works... yes checking whether gcc supports POSIXLY_CORRECT=1... yes checking whether g++ builds executables that work... yes checking whether g++ supports POSIXLY_CORRECT=1... yes checking for flex... flex checking whether lex is flex... yes checking lex output file root... lex.yy checking lex library... none needed checking whether yytext is a pointer... no checking for bison... no checking for byacc... no checking for riscv64-koji-linux-gnu-ranlib... ranlib checking for GNU M4 that supports accurate traces... /usr/bin/m4 checking whether /usr/bin/m4 accepts --gnu... yes checking how m4 supports trace files... --debugfile checking for perl... /usr/bin/perl checking for xsltproc... no checking for locale.h... yes checking for sys/socket.h... yes checking for unistd.h... (cached) yes checking for stdio_ext.h... yes checking for features.h... yes checking for sys/stat.h... (cached) yes checking for getopt.h... yes checking for sys/time.h... yes checking for wchar.h... yes checking for stdint.h... (cached) yes checking for inttypes.h... (cached) yes checking for math.h... yes checking for sys/mman.h... yes checking for sys/param.h... yes checking for sched.h... yes checking for spawn.h... yes checking for sys/wait.h... yes checking for wctype.h... yes checking for inline... inline checking for size_t... yes checking for working alloca.h... yes checking for alloca... yes checking whether malloc, realloc, calloc are POSIX compliant... yes checking for _set_invalid_parameter_handler... no checking for getdtablesize... yes checking for fcntl... yes checking for symlink... yes checking for vasnprintf... no checking for snprintf... yes checking for __fseterr... no checking for gettimeofday... yes checking for lstat... yes checking for mbsinit... yes checking for mbrtowc... yes checking for isascii... yes checking for mprotect... yes checking for obstack_printf... yes checking for strerror_r... yes checking for __xpg_strerror_r... yes checking for pipe2... yes checking for sigaction... yes checking for sigaltstack... yes checking for siginterrupt... yes checking for strdup... yes checking for catgets... yes checking for strndup... yes checking for pipe... yes checking for iswcntrl... yes checking for wcwidth... yes checking for setlocale... yes checking whether // is distinct from /... no checking if environ is properly declared... yes checking whether the preprocessor supports include_next... yes checking whether system header files limit the line length... no checking for complete errno.h... yes checking whether strerror_r is declared... yes checking for strerror_r... (cached) yes checking whether strerror_r returns char *... yes checking for sig_atomic_t... yes checking for working fcntl.h... yes checking for pid_t... yes checking for mode_t... yes checking for stdint.h... yes checking for inttypes.h... yes checking whether printf supports size specifiers as in C99... yes checking whether printf supports 'long double' arguments... yes checking whether printf supports infinite 'double' arguments... yes checking whether byte ordering is bigendian... no checking whether long double and double are the same... no checking whether printf supports infinite 'long double' arguments... yes checking whether printf supports the 'a' and 'A' directives... yes checking whether printf supports the 'F' directive... yes checking whether printf supports the 'n' directive... no checking whether printf supports the 'ls' directive... yes checking whether printf supports POSIX/XSI format strings with positions... yes checking whether printf supports the grouping flag... yes checking whether printf supports the left-adjust flag correctly... yes checking whether printf supports the zero flag correctly... yes checking whether printf supports large precisions... yes checking whether printf survives out-of-memory conditions... yes checking for unsigned long long int... yes checking for long long int... yes checking for wchar_t... yes checking for wint_t... yes checking for intmax_t... yes checking where to find the exponent in a 'double'... word 1 bit 20 checking whether snprintf returns a byte count as in C99... yes checking for snprintf... (cached) yes checking for strnlen... yes checking for wcslen... yes checking for wcsnlen... yes checking for mbrtowc... (cached) yes checking for wcrtomb... yes checking whether _snprintf is declared... no checking whether frexp() can be used without linking with libm... yes checking whether alarm is declared... yes checking whether stat file-mode macros are broken... no checking for nlink_t... yes checking whether fchmodat is declared without a macro... yes checking whether fstat is declared without a macro... yes checking whether fstatat is declared without a macro... yes checking whether futimens is declared without a macro... yes checking whether lchmod is declared without a macro... yes checking whether lstat is declared without a macro... yes checking whether mkdirat is declared without a macro... yes checking whether mkfifo is declared without a macro... yes checking whether mkfifoat is declared without a macro... yes checking whether mknod is declared without a macro... yes checking whether mknodat is declared without a macro... yes checking whether stat is declared without a macro... yes checking whether utimensat is declared without a macro... yes checking for getopt.h... (cached) yes checking for getopt_long_only... yes checking whether getopt is POSIX compatible... yes checking for working GNU getopt function... yes checking for working GNU getopt_long function... yes checking whether getenv is declared... yes checking for C/C++ restrict keyword... __restrict checking for struct timeval... yes checking for wide-enough struct timeval.tv_sec member... yes checking whether gettimeofday is declared without a macro... yes checking whether stdint.h conforms to C99... yes checking whether imaxabs is declared without a macro... yes checking whether imaxdiv is declared without a macro... yes checking whether strtoimax is declared without a macro... yes checking whether strtoumax is declared without a macro... yes checking for inttypes.h... (cached) yes checking whether the inttypes.h PRIxNN macros are broken... no checking where to find the exponent in a 'float'... word 0 bit 23 checking whether isnan(float) can be used without linking with libm... yes checking whether isnan(float) works... yes checking whether isnan(double) can be used without linking with libm... yes checking whether isnan(long double) can be used without linking with libm... yes checking whether isnanl works... yes checking whether ldexp() can be used without linking with libm... yes checking for nl_langinfo and CODESET... yes checking whether getc_unlocked is declared... yes checking whether we are using the GNU C Library >= 2.1 or uClibc... yes checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for shared library run path origin... done BUILDSTDERR: ./configure: line 16487: cd: /lib64/lp64d/../lib64/lp64d/: No such file or directory BUILDSTDERR: ./configure: line 16487: cd: /usr/lib64/lp64d/../lib64/lp64d/: No such file or directory checking whether imported symbols can be declared weak... yes checking pthread.h usability... yes checking pthread.h presence... yes checking for pthread.h... yes checking for multithread API to use... posix checking whether lstat correctly handles trailing slash... yes checking for a sed that does not truncate output... /usr/bin/sed checking for mbstate_t... yes checking for a traditional japanese locale... ja_JP checking for a transitional chinese locale... zh_CN.GB18030 checking for a french Unicode locale... fr_FR.UTF-8 checking for mmap... yes checking for MAP_ANONYMOUS... yes checking whether memchr works... yes checking whether obstack_printf is declared... yes checking for promoted mode_t type... mode_t checking whether strerror(0) succeeds... yes checking for strerror_r with POSIX signature... no checking whether __xpg_strerror_r works... yes checking whether strerror_r is declared... (cached) yes checking for library containing posix_spawn... none required checking for posix_spawn... yes checking whether posix_spawn works... yes checking whether posix_spawnattr_setschedpolicy is supported... yes checking whether posix_spawnattr_setschedparam is supported... yes checking for ptrdiff_t... yes checking whether C symbols are prefixed with underscore at the linker level... no checking for sigset_t... yes checking for uid_t in sys/types.h... yes checking whether snprintf is declared... yes checking for stdbool.h that conforms to C99... yes checking for _Bool... yes checking whether strdup is declared... yes checking whether ffsl is declared without a macro... yes checking whether ffsll is declared without a macro... yes checking whether memmem is declared without a macro... yes checking whether mempcpy is declared without a macro... yes checking whether memrchr is declared without a macro... yes checking whether rawmemchr is declared without a macro... yes checking whether stpcpy is declared without a macro... yes checking whether stpncpy is declared without a macro... yes checking whether strchrnul is declared without a macro... yes checking whether strdup is declared without a macro... yes checking whether strncat is declared without a macro... yes checking whether strndup is declared without a macro... yes checking whether strnlen is declared without a macro... yes checking whether strpbrk is declared without a macro... yes checking whether strsep is declared without a macro... yes checking whether strcasestr is declared without a macro... yes checking whether strtok_r is declared without a macro... yes checking whether strerror_r is declared without a macro... yes checking whether strsignal is declared without a macro... yes checking whether strverscmp is declared without a macro... yes checking whether strndup is declared... (cached) yes checking whether strnlen is declared... (cached) yes checking for struct timespec in ... yes checking whether clearerr_unlocked is declared... yes checking whether feof_unlocked is declared... yes checking whether ferror_unlocked is declared... yes checking whether fflush_unlocked is declared... yes checking whether fgets_unlocked is declared... yes checking whether fputc_unlocked is declared... yes checking whether fputs_unlocked is declared... yes checking whether fread_unlocked is declared... yes checking whether fwrite_unlocked is declared... yes checking whether getchar_unlocked is declared... yes checking whether putc_unlocked is declared... yes checking whether putchar_unlocked is declared... yes checking whether unsetenv is declared... yes checking whether vsnprintf is declared... yes checking whether uses 'inline' correctly... yes checking for alloca as a compiler built-in... yes checking whether to enable assertions... yes checking whether // is distinct from /... (cached) no checking whether dup2 works... yes checking for error_at_line... yes checking whether fcntl handles F_DUPFD correctly... yes checking whether fcntl understands F_DUPFD_CLOEXEC... needs runtime check checking whether fcntl is declared without a macro... yes checking whether openat is declared without a macro... yes checking whether conversion from 'int' to 'long double' works... yes checking whether fopen recognizes a trailing slash... yes checking for __fpending... yes checking whether __fpending is declared... yes checking for ptrdiff_t... (cached) yes checking whether frexp works... yes checking whether frexpl is declared... yes checking whether frexpl() can be used without linking with libm... yes checking whether frexpl works... yes checking whether getdtablesize works... yes checking whether gettimeofday clobbers localtime buffer... no checking for gettimeofday with POSIX signature... almost checking whether INT32_MAX < INTMAX_MAX... yes checking whether INT64_MAX == LONG_MAX... yes checking whether UINT32_MAX < UINTMAX_MAX... yes checking whether UINT64_MAX == ULONG_MAX... yes checking whether isnan macro works... yes checking whether isnan(double) can be used without linking with libm... (cached) yes checking whether isnan(double) can be used without linking with libm... (cached) yes checking whether isnan(float) can be used without linking with libm... (cached) yes checking whether isnan(float) works... (cached) yes checking whether isnan(float) can be used without linking with libm... (cached) yes checking whether isnan(float) works... (cached) yes checking whether isnan(long double) can be used without linking with libm... (cached) yes checking whether isnanl works... (cached) yes checking whether isnan(long double) can be used without linking with libm... (cached) yes checking whether isnanl works... (cached) yes checking whether ldexpl is declared... yes checking whether ldexpl() can be used without linking with libm... yes checking whether ldexpl works... yes checking for pthread_rwlock_t... yes checking for stdlib.h... (cached) yes checking for GNU libc compatible malloc... yes checking whether NAN macro works... yes checking whether HUGE_VAL works... yes checking whether acosf is declared without a macro... yes checking whether acosl is declared without a macro... yes checking whether asinf is declared without a macro... yes checking whether asinl is declared without a macro... yes checking whether atanf is declared without a macro... yes checking whether atanl is declared without a macro... yes checking whether cbrt is declared without a macro... yes checking whether cbrtf is declared without a macro... yes checking whether cbrtl is declared without a macro... yes checking whether ceilf is declared without a macro... yes checking whether ceill is declared without a macro... yes checking whether copysign is declared without a macro... yes checking whether copysignf is declared without a macro... yes checking whether copysignl is declared without a macro... yes checking whether cosf is declared without a macro... yes checking whether cosl is declared without a macro... yes checking whether coshf is declared without a macro... yes checking whether expf is declared without a macro... yes checking whether expl is declared without a macro... yes checking whether exp2 is declared without a macro... yes checking whether exp2f is declared without a macro... yes checking whether exp2l is declared without a macro... yes checking whether expm1 is declared without a macro... yes checking whether expm1f is declared without a macro... yes checking whether expm1l is declared without a macro... yes checking whether fabsf is declared without a macro... yes checking whether fabsl is declared without a macro... yes checking whether floorf is declared without a macro... yes checking whether floorl is declared without a macro... yes checking whether fma is declared without a macro... yes checking whether fmaf is declared without a macro... yes checking whether fmal is declared without a macro... yes checking whether fmod is declared without a macro... yes checking whether fmodf is declared without a macro... yes checking whether fmodl is declared without a macro... yes checking whether frexpf is declared without a macro... yes checking whether frexpl is declared without a macro... yes checking whether hypotf is declared without a macro... yes checking whether hypotl is declared without a macro... yes checking whether ilogb is declared without a macro... yes checking whether ilogbf is declared without a macro... yes checking whether ilogbl is declared without a macro... yes checking whether ldexpf is declared without a macro... yes checking whether ldexpl is declared without a macro... yes checking whether log is declared without a macro... yes checking whether logf is declared without a macro... yes checking whether logl is declared without a macro... yes checking whether log10 is declared without a macro... yes checking whether log10f is declared without a macro... yes checking whether log10l is declared without a macro... yes checking whether log1p is declared without a macro... yes checking whether log1pf is declared without a macro... yes checking whether log1pl is declared without a macro... yes checking whether log2 is declared without a macro... yes checking whether log2f is declared without a macro... yes checking whether log2l is declared without a macro... yes checking whether logb is declared without a macro... yes checking whether logbf is declared without a macro... yes checking whether logbl is declared without a macro... yes checking whether modf is declared without a macro... yes checking whether modff is declared without a macro... yes checking whether modfl is declared without a macro... yes checking whether powf is declared without a macro... yes checking whether remainder is declared without a macro... yes checking whether remainderf is declared without a macro... yes checking whether remainderl is declared without a macro... yes checking whether rint is declared without a macro... yes checking whether rintf is declared without a macro... yes checking whether rintl is declared without a macro... yes checking whether round is declared without a macro... yes checking whether roundf is declared without a macro... yes checking whether roundl is declared without a macro... yes checking whether sinf is declared without a macro... yes checking whether sinl is declared without a macro... yes checking whether sinhf is declared without a macro... yes checking whether sqrtf is declared without a macro... yes checking whether sqrtl is declared without a macro... yes checking whether tanf is declared without a macro... yes checking whether tanl is declared without a macro... yes checking whether tanhf is declared without a macro... yes checking whether trunc is declared without a macro... yes checking whether truncf is declared without a macro... yes checking whether truncl is declared without a macro... yes checking whether mbrtowc handles incomplete characters... yes checking whether mbrtowc works as well as mbtowc... yes checking whether mbrtowc handles a NULL pwc argument... yes checking whether mbrtowc handles a NULL string argument... yes checking whether mbrtowc has a correct return value... yes checking whether mbrtowc returns 0 when parsing a NUL character... yes checking whether mbrtowc works on empty input... yes checking whether mbrtowc handles incomplete characters... (cached) yes checking whether mbrtowc works as well as mbtowc... (cached) yes checking whether mbswidth is declared in ... no checking for mbstate_t... (cached) yes checking for obstacks that work with any size object... no checking whether open recognizes a trailing slash... yes checking whether perror matches strerror... yes checking whether posix_spawn_file_actions_addclose works... yes checking whether posix_spawn_file_actions_adddup2 works... yes checking whether posix_spawn_file_actions_addopen works... yes checking whether frexp works... (cached) yes checking whether ldexp can be used without linking with libm... (cached) yes checking whether frexpl() can be used without linking with libm... (cached) yes checking whether frexpl works... (cached) yes checking whether frexpl is declared... (cached) yes checking whether ldexpl() can be used without linking with libm... (cached) yes checking whether ldexpl works... (cached) yes checking whether ldexpl is declared... (cached) yes checking whether program_invocation_name is declared... yes checking whether program_invocation_short_name is declared... yes checking for raise... yes checking for sigprocmask... yes checking for rawmemchr... yes checking for struct sigaction.sa_sigaction... yes checking for volatile sig_atomic_t... yes checking for sighandler_t... yes checking whether pthread_sigmask is declared without a macro... yes checking whether sigaction is declared without a macro... yes checking whether sigaddset is declared without a macro... yes checking whether sigdelset is declared without a macro... yes checking whether sigemptyset is declared without a macro... yes checking whether sigfillset is declared without a macro... yes checking whether sigismember is declared without a macro... yes checking whether sigpending is declared without a macro... yes checking whether sigprocmask is declared without a macro... yes checking for signbit macro... yes checking for signbit compiler built-ins... yes checking for sigprocmask... (cached) yes checking for stdint.h... (cached) yes checking for SIZE_MAX... yes checking for snprintf... (cached) yes checking whether snprintf respects a size of 1... yes checking whether printf supports POSIX/XSI format strings with positions... (cached) yes checking for snprintf... (cached) yes checking whether snprintf truncates the result as in C99... yes checking whether snprintf fully supports the 'n' directive... no checking whether snprintf respects a size of 1... (cached) yes checking whether vsnprintf respects a zero size as in C99... yes checking for ptrdiff_t... (cached) yes checking for posix_spawnattr_t... yes checking for posix_spawn_file_actions_t... yes checking whether posix_spawn is declared without a macro... yes checking whether posix_spawnp is declared without a macro... yes checking whether posix_spawnattr_init is declared without a macro... yes checking whether posix_spawnattr_destroy is declared without a macro... yes checking whether posix_spawnattr_getsigdefault is declared without a macro... yes checking whether posix_spawnattr_setsigdefault is declared without a macro... yes checking whether posix_spawnattr_getsigmask is declared without a macro... yes checking whether posix_spawnattr_setsigmask is declared without a macro... yes checking whether posix_spawnattr_getflags is declared without a macro... yes checking whether posix_spawnattr_setflags is declared without a macro... yes checking whether posix_spawnattr_getpgroup is declared without a macro... yes checking whether posix_spawnattr_setpgroup is declared without a macro... yes checking whether posix_spawnattr_getschedpolicy is declared without a macro... yes checking whether posix_spawnattr_setschedpolicy is declared without a macro... yes checking whether posix_spawnattr_getschedparam is declared without a macro... yes checking whether posix_spawnattr_setschedparam is declared without a macro... yes checking whether posix_spawn_file_actions_init is declared without a macro... yes checking whether posix_spawn_file_actions_destroy is declared without a macro... yes checking whether posix_spawn_file_actions_addopen is declared without a macro... yes checking whether posix_spawn_file_actions_addclose is declared without a macro... yes checking whether posix_spawn_file_actions_adddup2 is declared without a macro... yes checking for ptrdiff_t... (cached) yes checking for ssize_t... yes checking whether stat handles trailing slashes on directories... yes checking whether stat handles trailing slashes on files... yes checking for max_align_t... yes checking whether NULL can be used in arbitrary expressions... yes checking whether inttypes macros match system or gnu printf... system checking whether dprintf is declared without a macro... yes checking whether fpurge is declared without a macro... no checking whether fseeko is declared without a macro... yes checking whether ftello is declared without a macro... yes checking whether getdelim is declared without a macro... yes checking whether getline is declared without a macro... yes checking whether gets is declared without a macro... no checking whether pclose is declared without a macro... yes checking whether popen is declared without a macro... yes checking whether renameat is declared without a macro... yes checking whether snprintf is declared without a macro... yes checking whether tmpfile is declared without a macro... yes checking whether vdprintf is declared without a macro... yes checking whether vsnprintf is declared without a macro... yes checking whether _Exit is declared without a macro... yes checking whether atoll is declared without a macro... yes checking whether canonicalize_file_name is declared without a macro... yes checking whether getloadavg is declared without a macro... yes checking whether getsubopt is declared without a macro... yes checking whether grantpt is declared without a macro... yes checking whether initstate is declared without a macro... yes checking whether initstate_r is declared without a macro... yes checking whether mkdtemp is declared without a macro... yes checking whether mkostemp is declared without a macro... yes checking whether mkostemps is declared without a macro... yes checking whether mkstemp is declared without a macro... yes checking whether mkstemps is declared without a macro... yes checking whether posix_openpt is declared without a macro... yes checking whether ptsname is declared without a macro... yes checking whether ptsname_r is declared without a macro... yes checking whether random is declared without a macro... yes checking whether random_r is declared without a macro... yes checking whether realpath is declared without a macro... yes checking whether rpmatch is declared without a macro... yes checking whether secure_getenv is declared without a macro... yes checking whether setenv is declared without a macro... yes checking whether setstate is declared without a macro... yes checking whether setstate_r is declared without a macro... yes checking whether srandom is declared without a macro... yes checking whether srandom_r is declared without a macro... yes checking whether strtod is declared without a macro... yes checking whether strtoll is declared without a macro... yes checking whether strtoull is declared without a macro... yes checking whether unlockpt is declared without a macro... yes checking whether unsetenv is declared without a macro... yes checking for stpcpy... yes checking for strchrnul... yes checking whether strchrnul works... yes checking for working strerror function... yes checking for working strndup... yes checking for working strnlen... yes checking for strverscmp... yes checking for nlink_t... (cached) yes checking whether fchmodat is declared without a macro... (cached) yes checking whether fstat is declared without a macro... (cached) yes checking whether fstatat is declared without a macro... (cached) yes checking whether futimens is declared without a macro... (cached) yes checking whether lchmod is declared without a macro... (cached) yes checking whether lstat is declared without a macro... (cached) yes checking whether mkdirat is declared without a macro... (cached) yes checking whether mkfifo is declared without a macro... (cached) yes checking whether mkfifoat is declared without a macro... (cached) yes checking whether mknod is declared without a macro... (cached) yes checking whether mknodat is declared without a macro... (cached) yes checking whether stat is declared without a macro... (cached) yes checking whether utimensat is declared without a macro... (cached) yes checking whether waitpid is declared without a macro... yes checking whether chdir is declared without a macro... yes checking whether chown is declared without a macro... yes checking whether dup is declared without a macro... yes checking whether dup2 is declared without a macro... yes checking whether dup3 is declared without a macro... yes checking whether environ is declared without a macro... yes checking whether euidaccess is declared without a macro... yes checking whether faccessat is declared without a macro... yes checking whether fchdir is declared without a macro... yes checking whether fchownat is declared without a macro... yes checking whether fdatasync is declared without a macro... yes checking whether fsync is declared without a macro... yes checking whether ftruncate is declared without a macro... yes checking whether getcwd is declared without a macro... yes checking whether getdomainname is declared without a macro... yes checking whether getdtablesize is declared without a macro... yes checking whether getgroups is declared without a macro... yes checking whether gethostname is declared without a macro... yes checking whether getlogin is declared without a macro... yes checking whether getlogin_r is declared without a macro... yes checking whether getpagesize is declared without a macro... yes checking whether getusershell is declared without a macro... yes checking whether setusershell is declared without a macro... yes checking whether endusershell is declared without a macro... yes checking whether group_member is declared without a macro... yes checking whether isatty is declared without a macro... yes checking whether lchown is declared without a macro... yes checking whether link is declared without a macro... yes checking whether linkat is declared without a macro... yes checking whether lseek is declared without a macro... yes checking whether pipe is declared without a macro... yes checking whether pipe2 is declared without a macro... yes checking whether pread is declared without a macro... yes checking whether pwrite is declared without a macro... yes checking whether readlink is declared without a macro... yes checking whether readlinkat is declared without a macro... yes checking whether rmdir is declared without a macro... yes checking whether sethostname is declared without a macro... yes checking whether sleep is declared without a macro... yes checking whether symlink is declared without a macro... yes checking whether symlinkat is declared without a macro... yes checking whether ttyname_r is declared without a macro... yes checking whether unlink is declared without a macro... yes checking whether unlinkat is declared without a macro... yes checking whether usleep is declared without a macro... yes checking whether unlink honors trailing slashes... yes checking whether unlink of a parent directory fails as it should... guessing yes checking for unsetenv... yes checking for unsetenv() return type... int checking whether unsetenv obeys POSIX... yes checking for ptrdiff_t... (cached) yes checking for ptrdiff_t... (cached) yes checking for vsnprintf... yes checking whether snprintf respects a size of 1... (cached) yes checking whether printf supports POSIX/XSI format strings with positions... (cached) yes checking for vsnprintf... (cached) yes checking whether snprintf truncates the result as in C99... (cached) yes checking whether snprintf fully supports the 'n' directive... (cached) no checking whether snprintf respects a size of 1... (cached) yes checking whether vsnprintf respects a zero size as in C99... (cached) yes checking for ptrdiff_t... (cached) yes checking for ptrdiff_t... (cached) yes checking for waitid... yes checking whether btowc is declared without a macro... yes checking whether wctob is declared without a macro... yes checking whether mbsinit is declared without a macro... yes checking whether mbrtowc is declared without a macro... yes checking whether mbrlen is declared without a macro... yes checking whether mbsrtowcs is declared without a macro... yes checking whether mbsnrtowcs is declared without a macro... yes checking whether wcrtomb is declared without a macro... yes checking whether wcsrtombs is declared without a macro... yes checking whether wcsnrtombs is declared without a macro... yes checking whether wcwidth is declared without a macro... yes checking whether wmemchr is declared without a macro... yes checking whether wmemcmp is declared without a macro... yes checking whether wmemcpy is declared without a macro... yes checking whether wmemmove is declared without a macro... yes checking whether wmemset is declared without a macro... yes checking whether wcslen is declared without a macro... yes checking whether wcsnlen is declared without a macro... yes checking whether wcscpy is declared without a macro... yes checking whether wcpcpy is declared without a macro... yes checking whether wcsncpy is declared without a macro... yes checking whether wcpncpy is declared without a macro... yes checking whether wcscat is declared without a macro... yes checking whether wcsncat is declared without a macro... yes checking whether wcscmp is declared without a macro... yes checking whether wcsncmp is declared without a macro... yes checking whether wcscasecmp is declared without a macro... yes checking whether wcsncasecmp is declared without a macro... yes checking whether wcscoll is declared without a macro... yes checking whether wcsxfrm is declared without a macro... yes checking whether wcsdup is declared without a macro... yes checking whether wcschr is declared without a macro... yes checking whether wcsrchr is declared without a macro... yes checking whether wcscspn is declared without a macro... yes checking whether wcsspn is declared without a macro... yes checking whether wcspbrk is declared without a macro... yes checking whether wcsstr is declared without a macro... yes checking whether wcstok is declared without a macro... yes checking whether wcswidth is declared without a macro... yes checking whether iswcntrl works... yes checking for towlower... yes checking for wctype_t... yes checking for wctrans_t... yes checking whether wctype is declared without a macro... yes checking whether iswctype is declared without a macro... yes checking whether wctrans is declared without a macro... yes checking whether towctrans is declared without a macro... yes checking whether wcwidth is declared... (cached) yes checking whether wcwidth works reasonably in UTF-8 locales... yes checking for stdint.h... (cached) yes checking if malloc debugging is wanted... no checking for sys/time.h... (cached) yes checking sys/times.h usability... yes checking sys/times.h presence... yes checking for sys/times.h... yes checking for sys/resource.h... yes checking for times... yes checking whether getrusage is declared... yes checking whether times is declared... yes checking whether clock is declared... no checking whether sysconf is declared... yes checking for clock_t... yes checking for struct tms... yes checking whether NLS is requested... yes checking for msgfmt... no checking for gmsgfmt... : checking for xgettext... no checking for msgmerge... no checking for CFPreferencesCopyAppValue... no checking for CFLocaleCopyCurrent... no checking for GNU gettext in libc... yes checking whether to use NLS... yes checking where the gettext function comes from... libc checking for valgrind... no checking for Java compiler... no checking for Java virtual machine... no checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating javacomp.sh config.status: creating javaexec.sh config.status: creating runtime-po/Makefile.in config.status: creating etc/bench.pl config.status: creating tests/atlocal config.status: creating tests/bison config.status: creating Makefile config.status: creating po/Makefile.in config.status: creating doc/yacc.1 config.status: creating lib/config.h config.status: executing depfiles commands config.status: executing po-directories commands config.status: creating runtime-po/POTFILES config.status: creating runtime-po/Makefile config.status: creating po/POTFILES config.status: creating po/Makefile config.status: executing tests/atconfig commands + make GEN examples/extracted.stamp BUILDSTDERR: extexi: GEN examples/rpcalc/rpcalc.y BUILDSTDERR: extexi: GEN examples/mfcalc/mfcalc.y BUILDSTDERR: extexi: GEN examples/mfcalc/calc.h BUILDSTDERR: extexi: GEN examples/calc++/calc++-driver.hh BUILDSTDERR: extexi: GEN examples/calc++/calc++-driver.cc BUILDSTDERR: extexi: GEN examples/calc++/calc++-parser.yy BUILDSTDERR: extexi: GEN examples/calc++/calc++-scanner.ll BUILDSTDERR: extexi: GEN examples/calc++/calc++.cc GEN lib/alloca.h GEN lib/configmake.h GEN lib/c++defs.h GEN lib/arg-nonnull.h GEN lib/warn-on-use.h GEN lib/fcntl.h GEN lib/inttypes.h GEN lib/math.h GEN lib/signal.h GEN lib/spawn.h GEN lib/stdio.h GEN lib/stdlib.h GEN lib/string.h GEN lib/sys/stat.h GEN lib/sys/time.h GEN lib/sys/types.h GEN lib/sys/wait.h GEN lib/time.h GEN lib/unistd.h GEN lib/unitypes.h GEN lib/uniwidth.h GEN lib/wchar.h GEN lib/wctype.h make all-recursive make[1]: Entering directory '/builddir/build/BUILD/bison-3.0.4' Making all in po make[2]: Entering directory '/builddir/build/BUILD/bison-3.0.4/po' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/builddir/build/BUILD/bison-3.0.4/po' Making all in runtime-po make[2]: Entering directory '/builddir/build/BUILD/bison-3.0.4/runtime-po' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/builddir/build/BUILD/bison-3.0.4/runtime-po' Making all in . make[2]: Entering directory '/builddir/build/BUILD/bison-3.0.4' CC src/bison-AnnotationList.o CC src/bison-InadequacyList.o CC src/bison-LR0.o CC src/bison-Sbitset.o CC src/bison-assoc.o CC src/bison-closure.o CC src/bison-complain.o CC src/bison-conflicts.o CC src/bison-derives.o CC src/bison-files.o CC src/bison-getargs.o CC src/bison-gram.o CC src/bison-graphviz.o CC src/bison-lalr.o CC src/bison-ielr.o CC src/bison-location.o CC src/bison-main.o CC src/bison-muscle-tab.o CC src/bison-named-ref.o CC src/bison-nullable.o CC src/bison-output.o CC src/bison-parse-gram.o CC src/bison-print-xml.o CC src/bison-print.o CC src/bison-print_graph.o CC src/bison-reader.o CC src/bison-reduce.o CC src/bison-relation.o CC src/bison-scan-code-c.o CC src/bison-scan-gram-c.o CC src/bison-scan-skel-c.o CC src/bison-state.o CC src/bison-symlist.o CC src/bison-symtab.o CC src/bison-tables.o CC src/bison-uniqstr.o CC lib/argmatch.o CC lib/binary-io.o CC lib/bitrotate.o CC lib/c-ctype.o CC lib/c-strcasecmp.o CC lib/c-strncasecmp.o CC lib/cloexec.o CC lib/close-stream.o CC lib/closeout.o CC lib/concat-filename.o CC lib/dirname.o CC lib/basename.o CC lib/dirname-lgpl.o CC lib/basename-lgpl.o CC lib/stripslash.o CC lib/exitfail.o CC lib/fatal-signal.o CC lib/fd-hook.o CC lib/fd-safer-flag.o CC lib/dup-safer-flag.o CC lib/fopen-safer.o CC lib/hash.o CC lib/localcharset.o CC lib/glthread/lock.o CC lib/math.o CC lib/mbswidth.o CC lib/pipe2.o CC lib/pipe2-safer.o CC lib/printf-frexp.o CC lib/printf-frexpl.o CC lib/progname.o CC lib/quotearg.o CC lib/sig-handler.o CC lib/spawn-pipe.o CC lib/glthread/threadlib.o CC lib/unistd.o CC lib/dup-safer.o CC lib/fd-safer.o CC lib/pipe-safer.o CC lib/uniwidth/width.o CC lib/wait-process.o CC lib/wctype-h.o CC lib/xmalloc.o CC lib/xalloc-die.o CC lib/xconcat-filename.o CC lib/xsize.o CC lib/xstrndup.o CC lib/abitset.o CC lib/bitset.o CC lib/bitset_stats.o CC lib/bitsetv.o CC lib/ebitset.o CC lib/lbitset.o CC lib/vbitset.o CC lib/bitsetv-print.o CC lib/timevar.o CC lib/get-errno.o CC lib/asnprintf.o CC lib/fcntl.o CC lib/fprintf.o CC lib/fseterr.o BUILDSTDERR: lib/fseterr.c: In function 'fseterr': BUILDSTDERR: lib/fseterr.c:77:3: error: #error "Please port gnulib fseterr.c to your platform! Look at the definitions of ferror and clearerr on your system, then report this to bug-gnulib." BUILDSTDERR: #error "Please port gnulib fseterr.c to your platform! Look at the definitions of ferror and clearerr on your system, then report this to bug-gnulib." BUILDSTDERR: ^~~~~ make[2]: Leaving directory '/builddir/build/BUILD/bison-3.0.4' BUILDSTDERR: make[2]: *** [Makefile:3466: lib/fseterr.o] Error 1 make[1]: Leaving directory '/builddir/build/BUILD/bison-3.0.4' BUILDSTDERR: make[1]: *** [Makefile:4522: all-recursive] Error 1 BUILDSTDERR: make: *** [Makefile:2625: all] Error 2 RPM build errors: BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.1nf9ZT (%build) BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.1nf9ZT (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 96, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 626, in do 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/bison.spec