Mock Version: 3.5 Mock Version: 3.5 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target riscv64 --nodeps /builddir/build/SPECS/resource-agents.spec'], chrootPath='/var/lib/mock/f38-build-side-42-init-devel-941385-28757/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 --noclean --target riscv64 --nodeps /builddir/build/SPECS/resource-agents.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=1674604800 Wrote: /builddir/build/SRPMS/resource-agents-4.12.0-1.fc38.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/resource-agents.spec'], chrootPath='/var/lib/mock/f38-build-side-42-init-devel-941385-28757/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 --noclean --target riscv64 --nodeps /builddir/build/SPECS/resource-agents.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=1674604800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.cZg4nj + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf ClusterLabs-resource-agents-baddb06c + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/ClusterLabs-resource-agents-baddb06c.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd ClusterLabs-resource-agents-baddb06c + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.EEmMCR + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -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 ClusterLabs-resource-agents-baddb06c + '[' '!' -f configure ']' + ./autogen.sh autoreconf: export WARNINGS= autoreconf: Entering directory '.' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal -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 configure.ac:48: warning: 'AM_CONFIG_HEADER': this macro is obsolete. configure.ac:48: You should use the 'AC_CONFIG_HEADERS' macro instead. ./lib/autoconf/general.m4:2434: AC_DIAGNOSE is expanded from... aclocal.m4:1089: AM_CONFIG_HEADER is expanded from... configure.ac:48: the top level configure.ac:83: warning: The macro `AC_PROG_CC_STDC' is obsolete. configure.ac:83: You should run autoupdate. ./lib/autoconf/c.m4:1666: AC_PROG_CC_STDC is expanded from... configure.ac:83: the top level configure.ac:628: warning: The macro `AC_HEADER_STDC' is obsolete. configure.ac:628: You should run autoupdate. ./lib/autoconf/headers.m4:704: AC_HEADER_STDC is expanded from... configure.ac:628: the top level autoreconf: running: /usr/bin/autoheader autoreconf: running: automake --add-missing --copy --no-force configure.ac:26: installing './compile' configure.ac:33: installing './config.guess' configure.ac:33: installing './config.sub' configure.ac:63: installing './install-sh' configure.ac:63: installing './missing' heartbeat/Makefile.am: installing './depcomp' autoreconf: Leaving directory '.' Now run ./configure and make ++ echo '-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer' + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer' + export CFLAGS + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -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-07-15 22:02:06.583801204 -0400 +++ ./configure 2023-07-15 22:02:40.533800792 -0400 @@ -2358,7 +2358,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 + 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 ++ grep -q runstatedir=DIR ./configure ++ echo --runstatedir=/run + ./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 --runstatedir=/run --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info PYTHON=/usr/bin/python3 --enable-fatal-warnings=no SYSTEMD_UNIT_DIR=/usr/lib/systemd/system SYSTEMD_TMPFILES_DIR=/usr/lib/tmpfiles.d --with-rsctmpdir=/run/resource-agents --with-pkg-name=resource-agents --with-ras-set=linux-ha 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 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 vfork.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 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 the include directive... yes (GNU style) checking whether make supports nested variables... yes checking dependency style of gcc... none 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 for gawk... (cached) gawk checking whether ln -s works... yes checking whether make sets $(MAKE)... (cached) 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 preprocessor stringizing operator... yes checking for inline... inline checking for size_t... yes checking for ssize_t... yes checking for uid_t in sys/types.h... yes checking for uint16_t... yes checking for uint8_t... yes checking for uint32_t... yes checking size of char... 1 checking size of short... 2 checking size of int... 4 checking size of long... 8 checking size of long long... 8 checking whether struct tm is in sys/time.h or time.h... time.h checking for gcc options needed to detect all undeclared functions... none needed checking for struct tm.tm_zone... yes configure: Sanitizing prefix: /usr checking for riscv64-koji-linux-gnu-pkg-config... no checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.18... yes checking for systemd... yes Our Host OS: linux-gnu/riscv64-koji-linux-gnu configure: Sanitizing exec_prefix: /usr configure: Sanitizing INITDIR: checking which init (rc) directory to use... /etc/rc.d/init.d configure: Sanitizing libdir: /usr/lib64 configure: WARNING: docdir directory (/usr/share/doc/resource-agents) does not exist! configure: Host CPU: riscv64 checking which format is needed to print uint64_t... %lu checking for heartbeat/glue_config.h... no checking for gmake... gmake checking for shellcheck... no checking for bash... /usr/bin/bash checking for xsltproc... /usr/bin/xsltproc checking for xmlcatalog... /usr/bin/xmlcatalog checking for ssh... no checking for scp... no checking for tar... /usr/bin/tar checking for md5... no checking for test... /usr/bin/test checking for ping... no checking for ifconfig... no checking for mailx... no checking for mail... no checking for egrep... (cached) /usr/bin/grep -E checking for rm... /usr/bin/rm checking for /usr/bin/python3... /usr/bin/python3 checking for python version... 3.11 checking for python platform... linux checking for GNU default python prefix... ${prefix} checking for GNU default python exec_prefix... ${exec_prefix} checking for python script directory (pythondir)... ${PYTHON_PREFIX}/lib/python3.11/site-packages checking for python extension module directory (pyexecdir)... ${PYTHON_EXEC_PREFIX}/lib64/python3.11/site-packages checking python module: json... yes checking python module: pyroute2... no configure: WARNING: "Not building gcp-vpc-move-route" checking for route... no checking ifconfig option to list interfaces... checking docbook to manpage transform... /usr/share/sgml/docbook/xsl-stylesheets-1.79.2 checking for socket in -lsocket... no checking for getopt_long in -lgnugetopt... no checking for GLIB... yes checking for egrep... (cached) /usr/bin/grep -E checking for sys/socket.h... yes checking for sys/sockio.h... no checking for arpa/inet.h... yes checking for fcntl.h... yes checking for limits.h... yes checking for malloc.h... yes checking for netdb.h... yes checking for netinet/in.h... yes checking for sys/file.h... yes checking for sys/ioctl.h... yes checking for sys/param.h... yes checking for sys/time.h... yes checking for syslog.h... yes checking for pid_t... yes checking for fork... yes checking for vfork... yes checking for working fork... yes checking for working vfork... (cached) yes checking for working strnlen... yes checking for alarm... yes checking for gettimeofday... yes checking for inet_ntoa... yes checking for memset... yes checking for mkdir... yes checking for socket... yes checking for uname... yes checking for strcasecmp... yes checking for strchr... yes checking for strdup... yes checking for strerror... yes checking for strrchr... yes checking for strspn... yes checking for strstr... yes checking for strtol... yes checking for strtoul... yes checking for reboot... /usr/sbin/reboot checking for poweroff... /usr/sbin/poweroff checking for pod2man... /usr/bin/pod2man checking for getopt... yes checking for struct iphdr.saddr... yes checking if libnet is required... no checking for libnet... found none checking for /etc/redhat-release... yes checking for netinet/icmp6.h... yes fgrep: warning: fgrep is obsolescent; using grep -F checking whether gcc supports "-fgnu89-inline"... yes checking whether gcc supports "-fstack-protector-all"... yes checking whether gcc supports "-Wall"... yes checking whether gcc supports "-Wbad-function-cast"... yes checking whether gcc supports "-Wcast-qual"... yes checking whether gcc supports "-Wdeclaration-after-statement"... yes checking whether gcc supports "-Wendif-labels"... yes checking whether gcc supports "-Wfloat-equal"... yes checking whether gcc supports "-Wformat=2"... yes checking whether gcc supports "-Wformat-security"... yes checking whether gcc supports "-Wformat-nonliteral"... yes checking whether gcc supports "-Winline"... yes checking whether gcc supports "-Wmissing-prototypes"... yes checking whether gcc supports "-Wmissing-declarations"... yes checking whether gcc supports "-Wmissing-format-attribute"... yes checking whether gcc supports "-Wnested-externs"... yes checking whether gcc supports "-Wno-long-long"... yes checking whether gcc supports "-Wno-strict-aliasing"... yes checking whether gcc supports "-Wpointer-arith"... yes checking whether gcc supports "-Wstrict-prototypes"... yes checking whether gcc supports "-Wunsigned-char"... no checking whether gcc supports "-Wwrite-strings"... yes checking whether gcc supports "-Wno-maybe-uninitialized"... yes checking whether gcc supports "-std=iso9899:199409"... yes configure: Enabling ANSI Compatibility configure: Activated additional gcc flags: -fgnu89-inline -fstack-protector-all -Wall -Wbad-function-cast -Wcast-qual -Wdeclaration-after-statement -Wendif-labels -Wfloat-equal -Wformat=2 -Wformat-security -Wformat-nonliteral -Winline -Wmissing-prototypes -Wmissing-declarations -Wmissing-format-attribute -Wnested-externs -Wno-long-long -Wno-strict-aliasing -Wpointer-arith -Wstrict-prototypes -Wwrite-strings -Wno-maybe-uninitialized -ansi -D_GNU_SOURCE -DANSI_ONLY checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating resource-agents.pc config.status: WARNING: 'resource-agents.pc.in' seems to ignore the --datarootdir setting config.status: creating include/Makefile config.status: creating heartbeat/Makefile config.status: creating heartbeat/ocf-binaries config.status: creating heartbeat/ocf-directories config.status: WARNING: 'heartbeat/ocf-directories.in' seems to ignore the --datarootdir setting config.status: creating heartbeat/ocf-shellfuncs config.status: creating heartbeat/shellfuncs config.status: WARNING: 'heartbeat/shellfuncs.in' seems to ignore the --datarootdir setting config.status: creating systemd/Makefile config.status: creating systemd/resource-agents.conf config.status: creating tools/Makefile config.status: creating tools/nfsconvert config.status: creating tools/ocf-tester config.status: WARNING: 'tools/ocf-tester.in' seems to ignore the --datarootdir setting config.status: creating tools/ocft/Makefile config.status: creating tools/ocft/ocft config.status: WARNING: 'tools/ocft/ocft.in' seems to ignore the --datarootdir setting config.status: creating tools/ocft/caselib config.status: WARNING: 'tools/ocft/caselib.in' seems to ignore the --datarootdir setting config.status: creating tools/ocft/README config.status: WARNING: 'tools/ocft/README.in' seems to ignore the --datarootdir setting config.status: creating tools/ocft/README.zh_CN config.status: WARNING: 'tools/ocft/README.zh_CN.in' seems to ignore the --datarootdir setting config.status: creating ldirectord/Makefile config.status: creating ldirectord/ldirectord config.status: creating ldirectord/init.d/Makefile config.status: creating ldirectord/init.d/ldirectord config.status: creating ldirectord/init.d/ldirectord.debian config.status: creating ldirectord/init.d/ldirectord.debian.default config.status: creating ldirectord/systemd/Makefile config.status: creating ldirectord/systemd/ldirectord.service config.status: creating ldirectord/logrotate.d/Makefile config.status: creating ldirectord/OCF/Makefile config.status: creating ldirectord/OCF/ldirectord config.status: creating doc/Makefile config.status: creating doc/man/Makefile config.status: creating rgmanager/Makefile config.status: creating rgmanager/src/Makefile config.status: creating rgmanager/src/resources/Makefile config.status: creating rgmanager/src/resources/ocf-shellfuncs config.status: creating rgmanager/src/resources/svclib_nfslock config.status: creating rgmanager/src/resources/lvm_by_lv.sh config.status: creating rgmanager/src/resources/lvm_by_vg.sh config.status: creating rgmanager/src/resources/utils/Makefile config.status: creating rgmanager/src/resources/utils/fs-lib.sh config.status: creating rgmanager/src/resources/utils/messages.sh config.status: creating rgmanager/src/resources/utils/config-utils.sh config.status: creating rgmanager/src/resources/utils/member_util.sh config.status: creating rgmanager/src/resources/utils/ra-skelet.sh config.status: creating heartbeat/azure-events config.status: creating heartbeat/azure-events-az config.status: creating heartbeat/AoEtarget config.status: creating heartbeat/ManageRAID config.status: creating heartbeat/ManageVE config.status: creating heartbeat/Squid config.status: creating heartbeat/SysInfo config.status: creating heartbeat/aws-vpc-route53 config.status: creating heartbeat/clvm config.status: creating heartbeat/conntrackd config.status: creating heartbeat/dnsupdate config.status: creating heartbeat/dummypy config.status: creating heartbeat/eDir88 config.status: creating heartbeat/fio config.status: creating heartbeat/galera config.status: creating heartbeat/gcp-pd-move config.status: creating heartbeat/gcp-vpc-move-ip config.status: creating heartbeat/gcp-vpc-move-vip config.status: creating heartbeat/gcp-vpc-move-route config.status: creating heartbeat/iSCSILogicalUnit config.status: creating heartbeat/iSCSITarget config.status: creating heartbeat/jira config.status: creating heartbeat/kamailio config.status: creating heartbeat/lxc config.status: creating heartbeat/lxd-info config.status: creating heartbeat/machine-info config.status: creating heartbeat/mariadb config.status: creating heartbeat/mpathpersist config.status: creating heartbeat/nfsnotify config.status: creating heartbeat/openstack-info config.status: creating heartbeat/rabbitmq-cluster config.status: creating heartbeat/redis config.status: creating heartbeat/rsyslog config.status: creating heartbeat/smb-share config.status: creating heartbeat/sg_persist config.status: creating heartbeat/slapd config.status: creating heartbeat/storage-mon config.status: creating heartbeat/sybaseASE config.status: creating heartbeat/syslog-ng config.status: creating heartbeat/vsftpd config.status: creating heartbeat/CTDB config.status: creating rgmanager/src/resources/ASEHAagent.sh config.status: creating rgmanager/src/resources/apache.sh config.status: creating rgmanager/src/resources/bind-mount.sh config.status: creating rgmanager/src/resources/clusterfs.sh config.status: creating rgmanager/src/resources/db2.sh config.status: creating rgmanager/src/resources/drbd.sh config.status: creating rgmanager/src/resources/fs.sh config.status: creating rgmanager/src/resources/ip.sh config.status: creating rgmanager/src/resources/lvm.sh config.status: creating rgmanager/src/resources/mysql.sh config.status: creating rgmanager/src/resources/named.sh config.status: creating rgmanager/src/resources/netfs.sh config.status: creating rgmanager/src/resources/nfsclient.sh config.status: creating rgmanager/src/resources/nfsexport.sh config.status: creating rgmanager/src/resources/nfsserver.sh config.status: creating rgmanager/src/resources/openldap.sh config.status: creating rgmanager/src/resources/oracledb.sh config.status: creating rgmanager/src/resources/oradg.sh config.status: creating rgmanager/src/resources/orainstance.sh config.status: creating rgmanager/src/resources/oralistener.sh config.status: creating rgmanager/src/resources/postgres-8.sh config.status: creating rgmanager/src/resources/samba.sh config.status: creating rgmanager/src/resources/script.sh config.status: creating rgmanager/src/resources/service.sh config.status: creating rgmanager/src/resources/smb.sh config.status: creating rgmanager/src/resources/tomcat-5.sh config.status: creating rgmanager/src/resources/tomcat-6.sh config.status: creating rgmanager/src/resources/vm.sh config.status: creating include/config.h config.status: creating include/agent_config.h config.status: executing depfiles commands resource-agents configuration: Version = UNKNOWN Build Version = baddb06c9720c8df3dadea42ad863d5948a6345f Prefix = /usr Executables = /usr/sbin Man pages = /usr/share/man Libraries = /usr/lib64 Header files = /usr/include Arch-independent files = /usr/share Documentation = /usr/share/doc/resource-agents State information = /var System configuration = /etc HA_BIN directory prefix = /usr/libexec RA state files = /run/resource-agents AIS Plugins = CPPFLAGS = -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread CFLAGS = -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -ggdb3 -fgnu89-inline -fstack-protector-all -Wall -Wbad-function-cast -Wcast-qual -Wdeclaration-after-statement -Wendif-labels -Wfloat-equal -Wformat=2 -Wformat-security -Wformat-nonliteral -Winline -Wmissing-prototypes -Wmissing-declarations -Wmissing-format-attribute -Wnested-externs -Wno-long-long -Wno-strict-aliasing -Wpointer-arith -Wstrict-prototypes -Wwrite-strings -Wno-maybe-uninitialized -ansi -D_GNU_SOURCE -DANSI_ONLY Libraries = -lglib-2.0 Stack Libraries = ++ echo '-j${RPM_BUILD_NCPUS}' + JFLAGS='-j${RPM_BUILD_NCPUS}' + make '-j${RPM_BUILD_NCPUS}' make: the '-j' option requires a positive integer argument Usage: make [options] [target] ... Options: -b, -m Ignored for compatibility. -B, --always-make Unconditionally make all targets. -C DIRECTORY, --directory=DIRECTORY Change to DIRECTORY before doing anything. -d Print lots of debugging information. --debug[=FLAGS] Print various types of debugging information. -e, --environment-overrides Environment variables override makefiles. -E STRING, --eval=STRING Evaluate STRING as a makefile statement. -f FILE, --file=FILE, --makefile=FILE Read FILE as a makefile. -h, --help Print this message and exit. -i, --ignore-errors Ignore errors from recipes. -I DIRECTORY, --include-dir=DIRECTORY Search DIRECTORY for included makefiles. -j [N], --jobs[=N] Allow N jobs at once; infinite jobs with no arg. --jobserver-style=STYLE Select the style of jobserver to use. -k, --keep-going Keep going when some targets can't be made. -l [N], --load-average[=N], --max-load[=N] Don't start multiple jobs unless load is below N. -L, --check-symlink-times Use the latest mtime between symlinks and target. -n, --just-print, --dry-run, --recon Don't actually run any recipe; just print them. -o FILE, --old-file=FILE, --assume-old=FILE Consider FILE to be very old and don't remake it. -O[TYPE], --output-sync[=TYPE] Synchronize output of parallel jobs by TYPE. -p, --print-data-base Print make's internal database. -q, --question Run no recipe; exit status says if up to date. -r, --no-builtin-rules Disable the built-in implicit rules. -R, --no-builtin-variables Disable the built-in variable settings. --shuffle[={SEED|random|reverse|none}] Perform shuffle of prerequisites and goals. -s, --silent, --quiet Don't echo recipes. --no-silent Echo recipes (disable --silent mode). -S, --no-keep-going, --stop Turns off -k. -t, --touch Touch targets instead of remaking them. --trace Print tracing information. -v, --version Print the version number of make and exit. -w, --print-directory Print the current directory. --no-print-directory Turn off -w, even if it was turned on implicitly. -W FILE, --what-if=FILE, --new-file=FILE, --assume-new=FILE Consider FILE to be infinitely new. --warn-undefined-variables Warn when an undefined variable is referenced. RPM build errors: This program built for riscv64-koji-linux-gnu Report bugs to error: Bad exit status from /var/tmp/rpm-tmp.EEmMCR (%build) Bad exit status from /var/tmp/rpm-tmp.EEmMCR (%build) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/resource-agents.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.11/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) ^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/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 --noclean --target riscv64 --nodeps /builddir/build/SPECS/resource-agents.spec