Mock Version: 2.15 Mock Version: 2.15 Mock Version: 2.15 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/xmlrpc-c.spec'], chrootPath='/var/lib/mock/f37-build-677992-76321/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=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/xmlrpc-c.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 warning: Macro expanded in comment on line 16: %version SVN_REV=%svnrev]'. Unfortunately, Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1631577600 Wrote: /builddir/build/SRPMS/xmlrpc-c-1.51.0-14.fc37.src.rpm RPM build warnings: Macro expanded in comment on line 16: %version SVN_REV=%svnrev]'. Unfortunately, Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/xmlrpc-c.spec'], chrootPath='/var/lib/mock/f37-build-677992-76321/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=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/xmlrpc-c.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 warning: Macro expanded in comment on line 16: %version SVN_REV=%svnrev]'. Unfortunately, Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1631577600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.FVZ2C8 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf xmlrpc-c-1.51.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/xmlrpc-c-1.51.0.tar.xz + STATUS=0 + '[' 0 -ne 0 ']' + cd xmlrpc-c-1.51.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/git init -q + /usr/bin/git config user.name rpm-build + /usr/bin/git config user.email '' + /usr/bin/git config gc.auto 0 + /usr/bin/git add --force . + /usr/bin/git commit -q --allow-empty -a --author 'rpm-build ' -m 'xmlrpc-c-1.51.0 base' + /usr/bin/git checkout --track -b rpm-build Switched to a new branch 'rpm-build' branch 'rpm-build' set up to track 'master'. + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0001-xmlrpc_server_abyss-use-va_args-properly.patch + /usr/bin/git apply --index --reject - Checking patch src/xmlrpc_server_abyss.c... Applied patch src/xmlrpc_server_abyss.c cleanly. + /usr/bin/git commit -q -m 0001-xmlrpc_server_abyss-use-va_args-properly.patch --author 'rpm-build ' + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0002-Use-proper-datatypes-for-long-long.patch + /usr/bin/git apply --index --reject - Checking patch include/xmlrpc-c/base.h... Checking patch lib/libutil/string_number.c... Checking patch src/cpp/param_list.cpp... Applied patch include/xmlrpc-c/base.h cleanly. Applied patch lib/libutil/string_number.c cleanly. Applied patch src/cpp/param_list.cpp cleanly. + /usr/bin/git commit -q -m 0002-Use-proper-datatypes-for-long-long.patch --author 'rpm-build ' + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0003-allow-30x-redirections.patch + /usr/bin/git apply --index --reject - Checking patch lib/curl_transport/curltransaction.c... Applied patch lib/curl_transport/curltransaction.c cleanly. + /usr/bin/git commit -q -m 0003-allow-30x-redirections.patch --author 'rpm-build ' + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0001-Remove-trace-statements-accidentally-committed-with-.patch + /usr/bin/git apply --index --reject - Checking patch src/cpp/value.cpp... Checking patch src/xmlrpc_string.c... Applied patch src/cpp/value.cpp cleanly. Applied patch src/xmlrpc_string.c cleanly. + /usr/bin/git commit -q -m 0001-Remove-trace-statements-accidentally-committed-with-.patch --author 'rpm-build ' + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0001-add-meson-buildsystem-definitions.patch + /usr/bin/git apply --index --reject - :94: trailing whitespace. /* This file, part of XML-RPC For C/C++, is meant to :95: trailing whitespace. define characteristics of this particular installation :96: trailing whitespace. that the other header files need in Checking patch include/meson.build... Checking patch include/xmlrpc-c/config.h.in... Checking patch include/xmlrpc-c/lnsfr.sh... Checking patch include/xmlrpc-c/meson.build... Checking patch lib/abyss++/meson.build... Checking patch lib/abyss/meson.build... Checking patch lib/abyss/src/meson.build... Checking patch lib/curl_transport/meson.build... Checking patch lib/expat/gennmtab/meson.build... Checking patch lib/expat/meson.build... Checking patch lib/expat/xmlparse/meson.build... Checking patch lib/expat/xmltok/meson.build... Checking patch lib/libutil++/meson.build... Checking patch lib/libutil/meson.build... Checking patch lib/meson.build... Checking patch lib/openssl/meson.build... Checking patch lib/util/meson.build... Checking patch meson.build... Checking patch meson_options.txt... Checking patch src/cpp/meson.build... Checking patch src/meson.build... Checking patch tools/lib/meson.build... Checking patch tools/meson.build... Checking patch tools/xml-rpc-api2cpp/meson.build... Checking patch tools/xml-rpc-api2txt/meson.build... Checking patch tools/xml/meson.build... Checking patch tools/xmlrpc/meson.build... Checking patch tools/xmlrpc_cpp_proxy/meson.build... Checking patch tools/xmlrpc_dumpserver/meson.build... Checking patch tools/xmlrpc_pstream/meson.build... Checking patch tools/xmlrpc_transport/meson.build... Checking patch transport_config.h.in... Checking patch xmlrpc-c-config... Applied patch include/meson.build cleanly. Applied patch include/xmlrpc-c/config.h.in cleanly. Applied patch include/xmlrpc-c/lnsfr.sh cleanly. Applied patch include/xmlrpc-c/meson.build cleanly. Applied patch lib/abyss++/meson.build cleanly. Applied patch lib/abyss/meson.build cleanly. Applied patch lib/abyss/src/meson.build cleanly. Applied patch lib/curl_transport/meson.build cleanly. Applied patch lib/expat/gennmtab/meson.build cleanly. Applied patch lib/expat/meson.build cleanly. Applied patch lib/expat/xmlparse/meson.build cleanly. Applied patch lib/expat/xmltok/meson.build cleanly. Applied patch lib/libutil++/meson.build cleanly. Applied patch lib/libutil/meson.build cleanly. Applied patch lib/meson.build cleanly. Applied patch lib/openssl/meson.build cleanly. Applied patch lib/util/meson.build cleanly. Applied patch meson.build cleanly. Applied patch meson_options.txt cleanly. Applied patch src/cpp/meson.build cleanly. Applied patch src/meson.build cleanly. Applied patch tools/lib/meson.build cleanly. Applied patch tools/meson.build cleanly. Applied patch tools/xml-rpc-api2cpp/meson.build cleanly. Applied patch tools/xml-rpc-api2txt/meson.build cleanly. Applied patch tools/xml/meson.build cleanly. Applied patch tools/xmlrpc/meson.build cleanly. Applied patch tools/xmlrpc_cpp_proxy/meson.build cleanly. Applied patch tools/xmlrpc_dumpserver/meson.build cleanly. Applied patch tools/xmlrpc_pstream/meson.build cleanly. Applied patch tools/xmlrpc_transport/meson.build cleanly. Applied patch transport_config.h.in cleanly. Applied patch xmlrpc-c-config cleanly. warning: 3 lines add whitespace errors. + /usr/bin/git commit -q -m 0001-add-meson-buildsystem-definitions.patch --author 'rpm-build ' + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0002-chmod-x-xml-rpc-api2txt.patch + /usr/bin/git apply --index --reject - Checking patch tools/xml-rpc-api2txt/xml-rpc-api2txt... Applied patch tools/xml-rpc-api2txt/xml-rpc-api2txt cleanly. + /usr/bin/git commit -q -m 0002-chmod-x-xml-rpc-api2txt.patch --author 'rpm-build ' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.DHpoM7 + 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 xmlrpc-c-1.51.0 + 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 + /usr/bin/meson --buildtype=plain --prefix=/usr --libdir=/usr/lib64 --libexecdir=/usr/libexec --bindir=/usr/bin --sbindir=/usr/sbin --includedir=/usr/include --datadir=/usr/share --mandir=/usr/share/man --infodir=/usr/share/info --localedir=/usr/share/locale --sysconfdir=/etc --localstatedir=/var --sharedstatedir=/var/lib --wrap-mode=nodownload --auto-features=enabled . redhat-linux-build The Meson build system Version: 0.63.3 Source dir: /builddir/build/BUILD/xmlrpc-c-1.51.0 Build dir: /builddir/build/BUILD/xmlrpc-c-1.51.0/redhat-linux-build Build type: native build Project name: xmlrpc-c Project version: 1.51.0 C compiler for the host machine: gcc (gcc 12.2.1 "gcc (GCC) 12.2.1 20220819 (Red Hat 12.2.1-1)") C linker for the host machine: gcc ld.bfd 2.39-4 Host machine cpu family: riscv64 Host machine cpu: riscv64 Configuring version.h using configuration C++ compiler for the host machine: g++ (gcc 12.2.1 "g++ (GCC) 12.2.1 20220819 (Red Hat 12.2.1-1)") C++ linker for the host machine: g++ ld.bfd 2.39-4 Compiler for C supports arguments -Wmissing-declarations: YES Compiler for C supports arguments -Wstrict-prototypes: YES Compiler for C supports arguments -Wmissing-prototypes: YES Compiler for C supports arguments -Wimplicit: YES Compiler for C supports arguments -Wno-uninitialized: YES Compiler for C supports arguments -Wundef: YES Compiler for C supports arguments -Wno-unknown-pragmas: YES Compiler for C++ supports arguments -Wsynth: YES Compiler for C++ supports arguments -Wno-uninitialized: YES Compiler for C++ supports arguments -Wundef: YES Compiler for C++ supports arguments -Wno-unknown-pragmas: YES Checking for function "vsnprintf" : YES Has header "stdarg.h" : YES Has header "wchar.h" : YES Has header "sys/filio.h" : NO Has header "sys/ioctl.h" : YES Has header "sys/select.h" : YES Checking for function "wcsncmp" : YES Checking for function "setgroups" : YES Checking for function "asprintf" : YES Checking for function "setenv" : YES Checking for function "strtoll" : YES Checking for function "strtoull" : YES Checking for function "strtoq" : YES Checking for function "strtouq" : YES Checking for function "__strtoll" : NO Checking for function "__strtoull" : NO Checking for function "_strtoui64" : NO Checking for function "pselect" : YES Checking for function "gettimeofday" : YES Checking for function "localtime_r" : YES Checking for function "gmtime_r" : YES Checking for function "strcasecmp" : YES Checking for function "stricmp" : NO Checking for function "_stricmp" : NO Found pkg-config: /usr/bin/pkg-config (1.8.0) Run-time dependency openssl found: YES 3.0.5 Configuring xmlrpc_config.h using configuration meson.build:153: WARNING: The variable(s) 'XXX' in the input file 'xmlrpc_config.h.in' are not present in the given configuration data. Library ncurses found: YES Library readline found: YES Configuring transport_config.h using configuration Run-time dependency threads found: YES Library socket found: NO Configuring config.h using configuration lib/libutil/meson.build:35:5: ERROR: Got unknown keyword arguments "install" A full log can be found at /builddir/build/BUILD/xmlrpc-c-1.51.0/redhat-linux-build/meson-logs/meson-log.txt error: Bad exit status from /var/tmp/rpm-tmp.DHpoM7 (%build) Macro expanded in comment on line 16: %version SVN_REV=%svnrev]'. Unfortunately, Bad exit status from /var/tmp/rpm-tmp.DHpoM7 (%build) RPM build warnings: RPM build errors: Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.9/site-packages/mockbuild/util.py", line 600, 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/xmlrpc-c.spec