Mock Version: 3.0 Mock Version: 3.0 Mock Version: 3.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/nsca-ng.spec'], chrootPath='/var/lib/mock/f37-build-side-32-misc-devel-402205-16056/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=864000uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/nsca-ng.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1658448000 Wrote: /builddir/build/SRPMS/nsca-ng-1.6-7.fc37.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/nsca-ng.spec'], chrootPath='/var/lib/mock/f37-build-side-32-misc-devel-402205-16056/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=864000uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/nsca-ng.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1658448000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.C7jZjk + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf nsca-ng-1.6 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/nsca-ng-1.6.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd nsca-ng-1.6 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + sed -i -e '/lib\/ev\/libev.m4/d' m4/ev.m4 + sed -r -i -e '/lib\/(ev|pidfile)\/Makefile/d' configure.ac + sed -r -i -e '/^MAYBE_(EV|PIDFILE)/d' lib/Makefile.am + rm -vr lib/pidfile lib/ev removed 'lib/pidfile/flopen.c' removed 'lib/pidfile/pidfile.c' removed 'lib/pidfile/flock.c' removed 'lib/pidfile/Makefile.am' removed 'lib/pidfile/libutil.h' removed directory 'lib/pidfile' removed 'lib/ev/ev_select.c' removed 'lib/ev/ev_wrap.h' removed 'lib/ev/ev_epoll.c' removed 'lib/ev/ev_win32.c' removed 'lib/ev/ev.h' removed 'lib/ev/ev.c' removed 'lib/ev/ev_poll.c' removed 'lib/ev/ev_port.c' removed 'lib/ev/libev.m4' removed 'lib/ev/Makefile.am' removed 'lib/ev/ev_vars.h' removed 'lib/ev/ev_kqueue.c' removed directory 'lib/ev' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.jOs7FX + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd nsca-ng-1.6 + autoreconf -vfi autoreconf: export WARNINGS= autoreconf: Entering directory '.' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal --force -I m4 autoreconf: configure.ac: tracing autoreconf: configure.ac: not using Libtool autoreconf: configure.ac: not using Intltool autoreconf: configure.ac: not using Gtkdoc autoreconf: running: /usr/bin/autoconf --force configure.ac:90: warning: The macro `AC_PROG_CC_STDC' is obsolete. configure.ac:90: You should run autoupdate. ./lib/autoconf/c.m4:1666: AC_PROG_CC_STDC is expanded from... configure.ac:90: the top level autoreconf: running: /usr/bin/autoheader --force autoreconf: running: automake --add-missing --copy --force-missing configure.ac:95: installing 'build-aux/ar-lib' configure.ac:87: installing 'build-aux/compile' configure.ac:39: installing 'build-aux/install-sh' configure.ac:39: installing 'build-aux/missing' Makefile.am: installing './INSTALL' lib/Makefile.am: installing 'build-aux/depcomp' autoreconf: Leaving directory '.' + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + '[' '-flto=auto -ffat-lto-objectsx' '!=' x ']' ++ find . -type f -name configure -print + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./configure + diff -u ./configure.backup ./configure --- ./configure.backup 2023-02-27 02:45:46.918039425 -0500 +++ ./configure 2023-02-27 02:46:21.258040594 -0500 @@ -1789,7 +1789,7 @@ #ifdef __cplusplus extern "C" #endif -char $2 (); +__attribute__ ((used)) char $2 (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ + /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ 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 --enable-client --enable-server --with-ev=external checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a race-free 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... yes checking whether make supports nested variables... (cached) yes checking whether the NSCA-ng client should be built... yes checking whether the NSCA-ng server should be built... yes checking whether make supports the include directive... yes (GNU style) checking for riscv64-koji-linux-gnu-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 the compiler supports GNU C... yes checking whether gcc accepts -g... yes checking for gcc option to enable C11 features... none needed checking whether gcc understands -c and -o together... yes checking dependency style of gcc... none checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for wchar.h... yes checking for minix/config.h... no checking for stdarg.h... yes checking for varargs.h... no checking whether it is safe to define __EXTENSIONS__... yes checking whether _XOPEN_SOURCE should be defined... no checking for riscv64-koji-linux-gnu-gcc... (cached) gcc checking whether the compiler supports GNU C... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to enable C11 features... (cached) none needed checking whether gcc understands -c and -o together... (cached) yes checking dependency style of gcc... (cached) none checking for riscv64-koji-linux-gnu-ranlib... no checking for ranlib... ranlib checking for riscv64-koji-linux-gnu-ar... no checking for riscv64-koji-linux-gnu-lib... no checking for riscv64-koji-linux-gnu-link... no checking for ar... ar checking the archiver (ar) interface... ar checking for arpa/inet.h... yes checking for netinet/in.h... yes checking for sys/socket.h... yes checking for struct sockaddr_storage... yes checking for struct sockaddr_in6... yes checking for library containing inet_ntop... none required checking for library containing getpeername... none required checking whether libev is desired... yes checking for the location of libev... /usr checking for ev.h... yes checking for ev_version_major in -lev... yes checking for ev_run in -lev... yes checking whether OpenSSL is desired... yes checking for the location of OpenSSL... /usr checking for openssl/ssl.h... yes checking for BIO_new in -lcrypto... yes checking for RAND_bytes in -lcrypto... yes checking for SSL_new in -lssl... yes checking for SSL_get_psk_identity in -lssl... yes checking for gcc options needed to detect all undeclared functions... none needed checking whether libConfuse is desired... yes checking for the location of libConfuse... /usr checking for confuse.h... yes checking for cfg_init in -lconfuse... yes checking whether CFGF_NO_TITLE_DUPES is declared... yes checking whether systemd is desired... maybe checking for the location of systemd... /usr checking for systemd/sd-daemon.h... yes checking for sd_notify in -lsystemd... yes checking for sys/param.h... yes checking for bsd/libutil.h... yes checking for pidfile_open... no checking for pidfile_open in -lbsd... no checking for pidfile_open in -lutil... no checking for sys/file.h... yes checking for mode_t... yes checking for flock... yes checking for aio_return... yes checking whether POSIX AIO works... yes checking for aio_init... yes checking for struct aioinit.aio_threads... yes checking for struct aioinit.aio_num... yes checking for struct aioinit.aio_locks... yes checking for struct aioinit.aio_usedba... yes checking for struct aioinit.aio_debug... yes checking for struct aioinit.aio_numusers... yes checking for struct aioinit.aio_idle_time... yes checking for _Bool... yes checking for stdbool.h that conforms to C99... yes checking for inttypes.h... (cached) yes checking for inline... inline checking for C/C++ restrict keyword... __restrict__ checking for size_t... yes checking for unsigned long long int... yes checking for long long int... yes checking for ssize_t... yes checking for intmax_t... yes checking for pid_t... yes checking for vsnprintf... yes checking whether vsnprintf is C99-compliant... yes checking for snprintf... yes checking whether snprintf is C99-compliant... yes checking for vasprintf... yes checking for asprintf... yes checking whether getprogname is declared... no checking whether setprogname is declared... no checking for strdup... yes checking for strcasecmp... yes checking for strncasecmp... yes checking for nanosleep... yes checking for closefrom... yes checking for daemon... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating build-aux/Makefile config.status: creating contrib/Makefile config.status: creating etc/Makefile config.status: creating lib/Makefile config.status: creating man/Makefile config.status: creating perl/Makefile config.status: creating python/Makefile config.status: creating src/Makefile config.status: creating src/client/Makefile config.status: creating src/common/Makefile config.status: creating src/server/Makefile config.status: creating tests/Makefile config.status: creating tests/atlocal config.status: creating config.h config.status: executing tests/atconfig commands config.status: executing depfiles commands configure: summary of build options: Build NSCA-ng client: yes Build NSCA-ng server: yes Use embedded libev: no Compiler: gcc + /usr/bin/make -O -j8 V=1 VERBOSE=1 /usr/bin/make all-recursive Making all in lib make[3]: Entering directory '/builddir/build/BUILD/nsca-ng-1.6/lib' gcc -DHAVE_CONFIG_H -I. -I.. -I../src/common -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o progname.o progname.c make[3]: Leaving directory '/builddir/build/BUILD/nsca-ng-1.6/lib' make[3]: Entering directory '/builddir/build/BUILD/nsca-ng-1.6/lib' gcc -DHAVE_CONFIG_H -I. -I.. -I../src/common -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o wrappers.o wrappers.c make[3]: Leaving directory '/builddir/build/BUILD/nsca-ng-1.6/lib' make[3]: Entering directory '/builddir/build/BUILD/nsca-ng-1.6/lib' rm -f libcompat.a ar cru libcompat.a wrappers.o progname.o ranlib libcompat.a make[3]: Leaving directory '/builddir/build/BUILD/nsca-ng-1.6/lib' Making all in src Making all in common make[3]: Entering directory '/builddir/build/BUILD/nsca-ng-1.6/src/common' gcc -DHAVE_CONFIG_H -I. -I../.. -DNSCA_VERSION=\"`(git describe --tags --match 'v[0-9]*' --dirty 2>/dev/null || echo 1.6) | sed 's/^v//'`\" -I../../lib -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o log.o log.c make[3]: Leaving directory '/builddir/build/BUILD/nsca-ng-1.6/src/common' make[3]: Entering directory '/builddir/build/BUILD/nsca-ng-1.6/src/common' gcc -DHAVE_CONFIG_H -I. -I../.. -DNSCA_VERSION=\"`(git describe --tags --match 'v[0-9]*' --dirty 2>/dev/null || echo 1.6) | sed 's/^v//'`\" -I../../lib -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o buffer.o buffer.c make[3]: Leaving directory '/builddir/build/BUILD/nsca-ng-1.6/src/common' make[3]: Entering directory '/builddir/build/BUILD/nsca-ng-1.6/src/common' gcc -DHAVE_CONFIG_H -I. -I../.. -DNSCA_VERSION=\"`(git describe --tags --match 'v[0-9]*' --dirty 2>/dev/null || echo 1.6) | sed 's/^v//'`\" -I../../lib -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o util.o util.c make[3]: Leaving directory '/builddir/build/BUILD/nsca-ng-1.6/src/common' make[3]: Entering directory '/builddir/build/BUILD/nsca-ng-1.6/src/common' gcc -DHAVE_CONFIG_H -I. -I../.. -DNSCA_VERSION=\"`(git describe --tags --match 'v[0-9]*' --dirty 2>/dev/null || echo 1.6) | sed 's/^v//'`\" -I../../lib -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o tls.o tls.c make[3]: Leaving directory '/builddir/build/BUILD/nsca-ng-1.6/src/common' make[3]: Entering directory '/builddir/build/BUILD/nsca-ng-1.6/src/common' rm -f libcommon.a ar cru libcommon.a buffer.o log.o tls.o util.o ranlib libcommon.a make[3]: Leaving directory '/builddir/build/BUILD/nsca-ng-1.6/src/common' Making all in client make[3]: Entering directory '/builddir/build/BUILD/nsca-ng-1.6/src/client' gcc -DHAVE_CONFIG_H -I. -I../.. -DSYSCONFDIR='"/etc"' -I../../src/common -I../../lib -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o parse.o parse.c make[3]: Leaving directory '/builddir/build/BUILD/nsca-ng-1.6/src/client' make[3]: Entering directory '/builddir/build/BUILD/nsca-ng-1.6/src/client' gcc -DHAVE_CONFIG_H -I. -I../.. -DSYSCONFDIR='"/etc"' -I../../src/common -I../../lib -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o input.o input.c make[3]: Leaving directory '/builddir/build/BUILD/nsca-ng-1.6/src/client' make[3]: Entering directory '/builddir/build/BUILD/nsca-ng-1.6/src/client' gcc -DHAVE_CONFIG_H -I. -I../.. -DSYSCONFDIR='"/etc"' -I../../src/common -I../../lib -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o auth.o auth.c make[3]: Leaving directory '/builddir/build/BUILD/nsca-ng-1.6/src/client' make[3]: Entering directory '/builddir/build/BUILD/nsca-ng-1.6/src/client' gcc -DHAVE_CONFIG_H -I. -I../.. -DSYSCONFDIR='"/etc"' -I../../src/common -I../../lib -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o conf.o conf.c make[3]: Leaving directory '/builddir/build/BUILD/nsca-ng-1.6/src/client' make[3]: Entering directory '/builddir/build/BUILD/nsca-ng-1.6/src/client' gcc -DHAVE_CONFIG_H -I. -I../.. -DSYSCONFDIR='"/etc"' -I../../src/common -I../../lib -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o send_nsca.o send_nsca.c make[3]: Leaving directory '/builddir/build/BUILD/nsca-ng-1.6/src/client' make[3]: Entering directory '/builddir/build/BUILD/nsca-ng-1.6/src/client' gcc -DHAVE_CONFIG_H -I. -I../.. -DSYSCONFDIR='"/etc"' -I../../src/common -I../../lib -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o client.o client.c make[3]: Leaving directory '/builddir/build/BUILD/nsca-ng-1.6/src/client' make[3]: Entering directory '/builddir/build/BUILD/nsca-ng-1.6/src/client' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o send_nsca auth.o client.o conf.o input.o parse.o send_nsca.o ../common/libcommon.a ../../lib/libcompat.a -lev -lssl -lcrypto make[3]: Leaving directory '/builddir/build/BUILD/nsca-ng-1.6/src/client' Making all in server make[3]: *** No rule to make target '../../lib/pidfile/libpidfile.a', needed by 'nsca-ng'. Stop. make[3]: *** Waiting for unfinished jobs.... make[3]: Entering directory '/builddir/build/BUILD/nsca-ng-1.6/src/server' gcc -DHAVE_CONFIG_H -I. -I../.. -DSYSCONFDIR='"/etc"' -DLOCALSTATEDIR='"/var"' -I../../src/common -I../../lib -I../../lib/pidfile -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o hash.o hash.c make[3]: Leaving directory '/builddir/build/BUILD/nsca-ng-1.6/src/server' make[3]: Entering directory '/builddir/build/BUILD/nsca-ng-1.6/src/server' gcc -DHAVE_CONFIG_H -I. -I../.. -DSYSCONFDIR='"/etc"' -DLOCALSTATEDIR='"/var"' -I../../src/common -I../../lib -I../../lib/pidfile -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o conf.o conf.c make[3]: Leaving directory '/builddir/build/BUILD/nsca-ng-1.6/src/server' make[3]: Entering directory '/builddir/build/BUILD/nsca-ng-1.6/src/server' gcc -DHAVE_CONFIG_H -I. -I../.. -DSYSCONFDIR='"/etc"' -DLOCALSTATEDIR='"/var"' -I../../src/common -I../../lib -I../../lib/pidfile -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o auth.o auth.c make[3]: Leaving directory '/builddir/build/BUILD/nsca-ng-1.6/src/server' make[3]: Entering directory '/builddir/build/BUILD/nsca-ng-1.6/src/server' gcc -DHAVE_CONFIG_H -I. -I../.. -DSYSCONFDIR='"/etc"' -DLOCALSTATEDIR='"/var"' -I../../src/common -I../../lib -I../../lib/pidfile -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o nsca-ng.o nsca-ng.c make[3]: Leaving directory '/builddir/build/BUILD/nsca-ng-1.6/src/server' make[3]: Entering directory '/builddir/build/BUILD/nsca-ng-1.6/src/server' gcc -DHAVE_CONFIG_H -I. -I../.. -DSYSCONFDIR='"/etc"' -DLOCALSTATEDIR='"/var"' -I../../src/common -I../../lib -I../../lib/pidfile -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o fifo.o fifo.c make[3]: Leaving directory '/builddir/build/BUILD/nsca-ng-1.6/src/server' make[3]: Entering directory '/builddir/build/BUILD/nsca-ng-1.6/src/server' gcc -DHAVE_CONFIG_H -I. -I../.. -DSYSCONFDIR='"/etc"' -DLOCALSTATEDIR='"/var"' -I../../src/common -I../../lib -I../../lib/pidfile -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o server.o server.c make[3]: Leaving directory '/builddir/build/BUILD/nsca-ng-1.6/src/server' make[2]: *** [Makefile:334: all-recursive] Error 1 make[1]: *** [Makefile:380: all-recursive] Error 1 make: *** [Makefile:321: all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.jOs7FX (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.jOs7FX (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.10/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.10/site-packages/mockbuild/util.py", line 598, 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/nsca-ng.spec