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/libnih.spec'], chrootPath='/var/lib/mock/f33-build-217685-48451/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/libnih.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=1564012800 Wrote: /builddir/build/SRPMS/libnih-1.0.2-20.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/libnih.spec'], chrootPath='/var/lib/mock/f33-build-217685-48451/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/libnih.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=1564012800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.30SArF + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf libnih-1.0.2 + /usr/bin/gzip -dc /builddir/build/SOURCES/libnih-1.0.2.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd libnih-1.0.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #1 (libnih-file-isdir.patch):' Patch #1 (libnih-file-isdir.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .xfsdir --fuzz=0 patching file nih/file.c patching file nih/tests/test_file.c + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.KmiNCE + umask 022 + cd /builddir/build/BUILD + cd libnih-1.0.2 + sed -i 's:$(prefix)/lib:$(prefix)/lib64:g' nih/Makefile.am nih-dbus/Makefile.am + autoreconf -i --force Copying file intl/plural.c Copying file m4/intldir.m4 Copying file po/Makevars.template aclocal: overwriting 'm4/libtool.m4' with '/usr/share/aclocal/libtool.m4' aclocal: overwriting 'm4/ltoptions.m4' with '/usr/share/aclocal/ltoptions.m4' aclocal: overwriting 'm4/ltversion.m4' with '/usr/share/aclocal/ltversion.m4' aclocal: overwriting 'm4/lt~obsolete.m4' with '/usr/share/aclocal/lt~obsolete.m4' aclocal: overwriting 'm4/pkg.m4' with '/usr/share/aclocal/pkg.m4' libtoolize: putting auxiliary files in '.'. libtoolize: copying file './ltmain.sh' libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'. libtoolize: copying file 'm4/libtool.m4' libtoolize: copying file 'm4/ltoptions.m4' libtoolize: copying file 'm4/ltsugar.m4' libtoolize: copying file 'm4/ltversion.m4' libtoolize: copying file 'm4/lt~obsolete.m4' configure.ac:19: warning: The 'AM_PROG_MKDIR_P' macro is deprecated, and its use is discouraged. configure.ac:19: You should use the Autoconf-provided 'AC_PROG_MKDIR_P' macro instead, configure.ac:19: and use '$(MKDIR_P)' instead of '$(mkdir_p)'in your Makefile.am files. configure.ac:9: installing './compile' configure.ac:11: installing './missing' nih-dbus-tool/Makefile.am:291: warning: source file 'tests/demarshal_factory.c' is in a subdirectory, nih-dbus-tool/Makefile.am:291: but option 'subdir-objects' is disabled automake: warning: possible forward-incompatibility. automake: At least a source file is in a subdirectory, but the 'subdir-objects' automake: automake option hasn't been enabled. For now, the corresponding output automake: object file(s) will be placed in the top-level directory. However, automake: this behaviour will change in future Automake versions: they will automake: unconditionally cause object files to be placed in the same subdirectory automake: of the corresponding sources. automake: You are advised to start using 'subdir-objects' option throughout your automake: project, to avoid future incompatibilities. nih-dbus-tool/Makefile.am:302: warning: source file 'tests/interface_factory.c' is in a subdirectory, nih-dbus-tool/Makefile.am:302: but option 'subdir-objects' is disabled nih-dbus-tool/Makefile.am:280: warning: source file 'tests/marshal_factory.c' is in a subdirectory, nih-dbus-tool/Makefile.am:280: but option 'subdir-objects' is disabled nih-dbus-tool/Makefile.am:316: warning: source file 'tests/method_factory.c' is in a subdirectory, nih-dbus-tool/Makefile.am:316: but option 'subdir-objects' is disabled nih-dbus-tool/Makefile.am:344: warning: source file 'tests/property_factory.c' is in a subdirectory, nih-dbus-tool/Makefile.am:344: but option 'subdir-objects' is disabled nih-dbus-tool/Makefile.am:330: warning: source file 'tests/signal_factory.c' is in a subdirectory, nih-dbus-tool/Makefile.am:330: but option 'subdir-objects' is disabled nih-dbus-tool/Makefile.am:192: warning: source file 'tests/test_annotation.c' is in a subdirectory, nih-dbus-tool/Makefile.am:192: but option 'subdir-objects' is disabled nih-dbus-tool/Makefile.am:182: warning: source file 'tests/test_argument.c' is in a subdirectory, nih-dbus-tool/Makefile.am:182: but option 'subdir-objects' is disabled nih-dbus-tool/Makefile.am:223: warning: source file 'tests/test_com.netsplit.Nih.Test_object.c' is in a subdirectory, nih-dbus-tool/Makefile.am:223: but option 'subdir-objects' is disabled nih-dbus-tool/Makefile.am:223: warning: source file 'tests/com.netsplit.Nih.Test_impl.c' is in a subdirectory, nih-dbus-tool/Makefile.am:223: but option 'subdir-objects' is disabled nih-dbus-tool/Makefile.am:241: warning: source file 'tests/com.netsplit.Nih.Test_object.c' is in a subdirectory, nih-dbus-tool/Makefile.am:241: but option 'subdir-objects' is disabled nih-dbus-tool/Makefile.am:231: warning: source file 'tests/test_com.netsplit.Nih.Test_proxy.c' is in a subdirectory, nih-dbus-tool/Makefile.am:231: but option 'subdir-objects' is disabled nih-dbus-tool/Makefile.am:231: warning: source file 'tests/com.netsplit.Nih.Test_impl.c' is in a subdirectory, nih-dbus-tool/Makefile.am:231: but option 'subdir-objects' is disabled nih-dbus-tool/Makefile.am:255: warning: source file 'tests/com.netsplit.Nih.Test_proxy.c' is in a subdirectory, nih-dbus-tool/Makefile.am:255: but option 'subdir-objects' is disabled nih-dbus-tool/Makefile.am:106: warning: source file 'tests/test_demarshal.c' is in a subdirectory, nih-dbus-tool/Makefile.am:106: but option 'subdir-objects' is disabled nih-dbus-tool/Makefile.am:108: warning: source file 'tests/demarshal_code.c' is in a subdirectory, nih-dbus-tool/Makefile.am:108: but option 'subdir-objects' is disabled nih-dbus-tool/Makefile.am:83: warning: source file 'tests/test_indent.c' is in a subdirectory, nih-dbus-tool/Makefile.am:83: but option 'subdir-objects' is disabled nih-dbus-tool/Makefile.am:126: warning: source file 'tests/test_interface.c' is in a subdirectory, nih-dbus-tool/Makefile.am:126: but option 'subdir-objects' is disabled nih-dbus-tool/Makefile.am:128: warning: source file 'tests/interface_code.c' is in a subdirectory, nih-dbus-tool/Makefile.am:128: but option 'subdir-objects' is disabled nih-dbus-tool/Makefile.am:72: warning: source file 'tests/test_main.c' is in a subdirectory, nih-dbus-tool/Makefile.am:72: but option 'subdir-objects' is disabled nih-dbus-tool/Makefile.am:96: warning: source file 'tests/test_marshal.c' is in a subdirectory, nih-dbus-tool/Makefile.am:96: but option 'subdir-objects' is disabled nih-dbus-tool/Makefile.am:98: warning: source file 'tests/marshal_code.c' is in a subdirectory, nih-dbus-tool/Makefile.am:98: but option 'subdir-objects' is disabled nih-dbus-tool/Makefile.am:140: warning: source file 'tests/test_method.c' is in a subdirectory, nih-dbus-tool/Makefile.am:140: but option 'subdir-objects' is disabled nih-dbus-tool/Makefile.am:142: warning: source file 'tests/method_code.c' is in a subdirectory, nih-dbus-tool/Makefile.am:142: but option 'subdir-objects' is disabled nih-dbus-tool/Makefile.am:116: warning: source file 'tests/test_node.c' is in a subdirectory, nih-dbus-tool/Makefile.am:116: but option 'subdir-objects' is disabled nih-dbus-tool/Makefile.am:212: warning: source file 'tests/test_output.c' is in a subdirectory, nih-dbus-tool/Makefile.am:212: but option 'subdir-objects' is disabled nih-dbus-tool/Makefile.am:202: warning: source file 'tests/test_parse.c' is in a subdirectory, nih-dbus-tool/Makefile.am:202: but option 'subdir-objects' is disabled nih-dbus-tool/Makefile.am:168: warning: source file 'tests/test_property.c' is in a subdirectory, nih-dbus-tool/Makefile.am:168: but option 'subdir-objects' is disabled nih-dbus-tool/Makefile.am:170: warning: source file 'tests/property_code.c' is in a subdirectory, nih-dbus-tool/Makefile.am:170: but option 'subdir-objects' is disabled nih-dbus-tool/Makefile.am:154: warning: source file 'tests/test_signal.c' is in a subdirectory, nih-dbus-tool/Makefile.am:154: but option 'subdir-objects' is disabled nih-dbus-tool/Makefile.am:156: warning: source file 'tests/signal_code.c' is in a subdirectory, nih-dbus-tool/Makefile.am:156: but option 'subdir-objects' is disabled nih-dbus-tool/Makefile.am:77: warning: source file 'tests/test_symbol.c' is in a subdirectory, nih-dbus-tool/Makefile.am:77: but option 'subdir-objects' is disabled nih-dbus-tool/Makefile.am:89: warning: source file 'tests/test_type.c' is in a subdirectory, nih-dbus-tool/Makefile.am:89: but option 'subdir-objects' is disabled nih-dbus-tool/Makefile.am: installing './depcomp' parallel-tests: installing './test-driver' nih-dbus/Makefile.am:74: warning: source file 'tests/test_dbus_connection.c' is in a subdirectory, nih-dbus/Makefile.am:74: but option 'subdir-objects' is disabled nih-dbus/Makefile.am:70: warning: source file 'tests/test_dbus_error.c' is in a subdirectory, nih-dbus/Makefile.am:70: but option 'subdir-objects' is disabled nih-dbus/Makefile.am:78: warning: source file 'tests/test_dbus_message.c' is in a subdirectory, nih-dbus/Makefile.am:78: but option 'subdir-objects' is disabled nih-dbus/Makefile.am:82: warning: source file 'tests/test_dbus_object.c' is in a subdirectory, nih-dbus/Makefile.am:82: but option 'subdir-objects' is disabled nih-dbus/Makefile.am:86: warning: source file 'tests/test_dbus_pending_data.c' is in a subdirectory, nih-dbus/Makefile.am:86: but option 'subdir-objects' is disabled nih-dbus/Makefile.am:90: warning: source file 'tests/test_dbus_proxy.c' is in a subdirectory, nih-dbus/Makefile.am:90: but option 'subdir-objects' is disabled nih-dbus/Makefile.am:94: warning: source file 'tests/test_dbus_util.c' is in a subdirectory, nih-dbus/Makefile.am:94: but option 'subdir-objects' is disabled nih/Makefile.am:102: warning: source file 'tests/test_alloc.c' is in a subdirectory, nih/Makefile.am:102: but option 'subdir-objects' is disabled nih/Makefile.am:130: warning: source file 'tests/test_child.c' is in a subdirectory, nih/Makefile.am:130: but option 'subdir-objects' is disabled nih/Makefile.am:154: warning: source file 'tests/test_command.c' is in a subdirectory, nih/Makefile.am:154: but option 'subdir-objects' is disabled nih/Makefile.am:158: warning: source file 'tests/test_config.c' is in a subdirectory, nih/Makefile.am:158: but option 'subdir-objects' is disabled nih/Makefile.am:166: warning: source file 'tests/test_error.c' is in a subdirectory, nih/Makefile.am:166: but option 'subdir-objects' is disabled nih/Makefile.am:138: warning: source file 'tests/test_file.c' is in a subdirectory, nih/Makefile.am:138: but option 'subdir-objects' is disabled nih/Makefile.am:114: warning: source file 'tests/test_hash.c' is in a subdirectory, nih/Makefile.am:114: but option 'subdir-objects' is disabled nih/Makefile.am:134: warning: source file 'tests/test_io.c' is in a subdirectory, nih/Makefile.am:134: but option 'subdir-objects' is disabled nih/Makefile.am:110: warning: source file 'tests/test_list.c' is in a subdirectory, nih/Makefile.am:110: but option 'subdir-objects' is disabled nih/Makefile.am:162: warning: source file 'tests/test_logging.c' is in a subdirectory, nih/Makefile.am:162: but option 'subdir-objects' is disabled nih/Makefile.am:146: warning: source file 'tests/test_main.c' is in a subdirectory, nih/Makefile.am:146: but option 'subdir-objects' is disabled nih/Makefile.am:150: warning: source file 'tests/test_option.c' is in a subdirectory, nih/Makefile.am:150: but option 'subdir-objects' is disabled nih/Makefile.am:126: warning: source file 'tests/test_signal.c' is in a subdirectory, nih/Makefile.am:126: but option 'subdir-objects' is disabled nih/Makefile.am:106: warning: source file 'tests/test_string.c' is in a subdirectory, nih/Makefile.am:106: but option 'subdir-objects' is disabled nih/Makefile.am:122: warning: source file 'tests/test_timer.c' is in a subdirectory, nih/Makefile.am:122: but option 'subdir-objects' is disabled nih/Makefile.am:118: warning: source file 'tests/test_tree.c' is in a subdirectory, nih/Makefile.am:118: but option 'subdir-objects' is disabled nih/Makefile.am:142: warning: source file 'tests/test_watch.c' is in a subdirectory, nih/Makefile.am:142: but option 'subdir-objects' is disabled + 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 ./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"~' ./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 --disable-static --disable-rpath --libdir=/lib64 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 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 for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking for 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 the include directive... yes (GNU style) checking whether make supports nested variables... yes checking dependency style of gcc... none checking whether make supports nested variables... (cached) yes checking whether to enable maintainer-specific portions of Makefiles... yes checking build system type... riscv64-redhat-linux-gnu checking host system type... riscv64-redhat-linux-gnu checking how to print strings... printf checking for a sed that does not truncate output... /usr/bin/sed 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 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 a working dd... /usr/bin/dd checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 checking for riscv64-redhat-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no 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... no checking whether NLS is requested... yes checking for msgfmt... /usr/bin/msgfmt checking for gmsgfmt... /usr/bin/msgfmt checking for xgettext... /usr/bin/xgettext checking for msgmerge... /usr/bin/msgmerge checking whether we are using the GNU C Library 2 or newer... yes checking for riscv64-redhat-linux-gnu-ranlib... ranlib checking for simple visibility declarations... yes checking for inline... inline checking for size_t... yes checking for stdint.h... yes checking for working alloca.h... yes checking for alloca... 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 whether integer division by zero raises SIGFPE... no checking for inttypes.h... yes checking for unsigned long long int... yes checking for inttypes.h... (cached) yes checking whether the inttypes.h PRIxNN macros are broken... no 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 ./configure: line 10602: cd: /lib64/lp64d/../lib64/lp64d/: No such file or directory ./configure: line 10602: 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 pthread_kill in -lpthread... yes checking for pthread_rwlock_t... yes checking for multithread API to use... posix checking argz.h usability... yes checking argz.h presence... yes checking for argz.h... yes checking for inttypes.h... (cached) yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking for unistd.h... (cached) yes checking for sys/param.h... (cached) yes checking for getcwd... yes checking for getegid... yes checking for geteuid... yes checking for getgid... yes checking for getuid... yes checking for mempcpy... yes checking for munmap... yes checking for stpcpy... yes checking for strcasecmp... yes checking for strdup... yes checking for strtoul... yes checking for tsearch... yes checking for argz_count... yes checking for argz_stringify... yes checking for argz_next... yes checking for __fsetlocking... yes checking whether feof_unlocked is declared... yes checking whether fgets_unlocked is declared... yes checking for iconv... yes checking for working iconv... yes checking for iconv declaration... extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft); checking for NL_LOCALE_NAME macro... yes checking for bison... no checking for long long int... yes checking for wchar_t... yes checking for wint_t... yes checking for intmax_t... yes checking whether printf() supports POSIX/XSI format strings... yes checking whether we are using the GNU C Library 2.1 or newer... yes checking for stdint.h... (cached) yes checking for SIZE_MAX... yes checking for stdint.h... (cached) yes checking for CFPreferencesCopyAppValue... no checking for CFLocaleCopyCurrent... no checking for ptrdiff_t... yes checking stddef.h usability... yes checking stddef.h presence... yes checking for stddef.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for asprintf... yes checking for fwprintf... yes checking for putenv... yes checking for setenv... yes checking for setlocale... yes checking for snprintf... yes checking for wcslen... yes checking whether _snprintf is declared... no checking whether _snwprintf is declared... no checking whether getc_unlocked is declared... yes checking for nl_langinfo and CODESET... yes checking for LC_MESSAGES... yes checking for CFPreferencesCopyAppValue... (cached) no checking for CFLocaleCopyCurrent... (cached) no checking whether included gettext is requested... no checking for GNU gettext in libc... yes checking whether to use NLS... yes checking where the gettext function comes from... libc checking for riscv64-redhat-linux-gnu-gcc... gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking whether gcc understands -c and -o together... (cached) yes checking for riscv64-redhat-linux-gnu-pkg-config... /usr/bin/riscv64-redhat-linux-gnu-pkg-config checking pkg-config is at least version 0.22... yes checking for DBUS... yes checking for XML_ParserCreate in -lexpat... yes checking for XML_StopParser in -lexpat... yes checking valgrind/valgrind.h usability... no checking valgrind/valgrind.h presence... no checking for valgrind/valgrind.h... no checking for gcc option to accept ISO C99... none needed checking for linker version script argument... -Wl,--version-script checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating m4/Makefile config.status: creating intl/Makefile config.status: creating nih/Makefile config.status: creating nih/libnih.pc config.status: creating nih-dbus/Makefile config.status: creating nih-dbus/libnih-dbus.pc config.status: creating nih-dbus-tool/Makefile config.status: creating po/Makefile.in config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands config.status: executing po-directories commands config.status: creating po/POTFILES config.status: creating po/Makefile + sed -i -e 's! -shared ! -Wl,--as-needed\0!g' libtool + make -j4 make all-recursive make[1]: Entering directory '/builddir/build/BUILD/libnih-1.0.2' Making all in m4 make[2]: Entering directory '/builddir/build/BUILD/libnih-1.0.2/m4' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/builddir/build/BUILD/libnih-1.0.2/m4' Making all in intl make[2]: Entering directory '/builddir/build/BUILD/libnih-1.0.2/intl' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/builddir/build/BUILD/libnih-1.0.2/intl' Making all in nih make[2]: Entering directory '/builddir/build/BUILD/libnih-1.0.2/nih' CC alloc.lo CC list.lo CC string.lo CC hash.lo CC tree.lo CC timer.lo CC signal.lo CC child.lo CC io.lo CC file.lo CC watch.lo CC main.lo CC option.lo CC command.lo CC config.lo CC logging.lo CC error.lo CCLD libnih.la make[2]: Leaving directory '/builddir/build/BUILD/libnih-1.0.2/nih' Making all in nih-dbus make[2]: Entering directory '/builddir/build/BUILD/libnih-1.0.2/nih-dbus' CC dbus_error.lo CC dbus_connection.lo CC dbus_message.lo CC dbus_object.lo CC dbus_pending_data.lo CC dbus_proxy.lo CC dbus_util.lo CCLD libnih-dbus.la make[2]: Leaving directory '/builddir/build/BUILD/libnih-1.0.2/nih-dbus' Making all in nih-dbus-tool make[2]: Entering directory '/builddir/build/BUILD/libnih-1.0.2/nih-dbus-tool' CC main.o CC symbol.o CC type.o CC indent.o CC marshal.o CC demarshal.o CC node.o CC interface.o CC method.o CC signal.o CC property.o In file included from /usr/include/string.h:495, from interface.c:26: In function 'memset', inlined from 'interface_properties_array' at interface.c:1005:4: /usr/include/bits/string_fortified.h:71:10: warning: '__builtin_memset' specified size between 18446744073709551611 and 18446744073709551615 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=] 71 | return __builtin___memset_chk (__dest, __ch, __len, __bos0 (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC argument.o CC annotation.o CC parse.o CC output.o CCLD nih-dbus-tool /usr/bin/ld: output.o: in function `.LANCHOR1': /builddir/build/BUILD/libnih-1.0.2/nih-dbus-tool/output.h:30: multiple definition of `output_package'; main.o:/builddir/build/BUILD/libnih-1.0.2/nih-dbus-tool/output.h:30: first defined here collect2: error: ld returned 1 exit status make[2]: *** [Makefile:1386: nih-dbus-tool] Error 1 make[2]: Leaving directory '/builddir/build/BUILD/libnih-1.0.2/nih-dbus-tool' make[1]: *** [Makefile:470: all-recursive] Error 1 make[1]: Leaving directory '/builddir/build/BUILD/libnih-1.0.2' make: *** [Makefile:400: all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.KmiNCE (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.KmiNCE (%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/libnih.spec