Mock Version: 1.4.14 Mock Version: 1.4.14 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/ypbind.spec'], chrootPath='/var/lib/mock/f31-build-61357-28849/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=345600uid=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/ypbind.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=1549152000 Wrote: /builddir/build/SRPMS/ypbind-2.5-4.fc31.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/ypbind.spec'], chrootPath='/var/lib/mock/f31-build-61357-28849/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=345600uid=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/ypbind.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=1549152000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.p8LuuP + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf ypbind-mt-2.5 + /usr/bin/gzip -dc /builddir/build/SOURCES/ypbind-mt-2.5.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd ypbind-mt-2.5 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #1 (ypbind-1.11-gettextdomain.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .gettextdomain --fuzz=0 + echo 'Patch #2 (ypbind-2.5-helpman.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .helpman --fuzz=0 + echo 'Patch #4 (ypbind-2.4-gettext_version.patch):' + /usr/bin/patch --no-backup-if-mismatch -p0 -b --suffix .gettext_version --fuzz=0 + autoreconf -fiv BUILDSTDERR: autoreconf: Entering directory `.' BUILDSTDERR: autoreconf: configure.ac: not using Gettext BUILDSTDERR: autoreconf: running: aclocal --force -I m4 BUILDSTDERR: autoreconf: configure.ac: tracing BUILDSTDERR: autoreconf: configure.ac: AM_GNU_GETTEXT is used, but not AM_GNU_GETTEXT_VERSION BUILDSTDERR: autoreconf: configure.ac: not using Libtool BUILDSTDERR: autoreconf: running: /usr/bin/autoconf --force BUILDSTDERR: autoreconf: running: /usr/bin/autoheader --force BUILDSTDERR: autoreconf: running: automake --add-missing --copy --force-missing BUILDSTDERR: configure.ac:12: installing './compile' BUILDSTDERR: autoreconf: Leaving directory `.' + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Patch #1 (ypbind-1.11-gettextdomain.patch): patching file po/Makevars Patch #2 (ypbind-2.5-helpman.patch): patching file man/ypbind.8.xml patching file man/yp.conf.5.xml Patch #4 (ypbind-2.4-gettext_version.patch): patching file configure.ac Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.F0DIhQ + umask 022 + cd /builddir/build/BUILD + cd ypbind-mt-2.5 + export '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 -fpic' + 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 -fpic' + export 'LDFLAGS= -pie -Wl,-z,relro,-z,now' + LDFLAGS=' -pie -Wl,-z,relro,-z,now' + 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 -fpic' + 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=' -pie -Wl,-z,relro,-z,now' + export LDFLAGS + '[' 1 = 1 ']' BUILDSTDERR: +++ dirname ./configure BUILDSTDERR: ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) BUILDSTDERR: ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess BUILDSTDERR: ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) BUILDSTDERR: ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub BUILDSTDERR: ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' BUILDSTDERR: ++ find . -name ltmain.sh + ./configure --build=riscv64-koji-linux-gnu --host=riscv64-koji-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info BUILDSTDERR: ./configure: line 5888: cd: /lib64/lp64d/../lib64/lp64d/: No such file or directory BUILDSTDERR: ./configure: line 5888: cd: /usr/lib64/lp64d/../lib64/lp64d/: No such file or directory + /usr/bin/make -O -j4 V=1 VERBOSE=1 '/usr/lib/rpm/redhat/config.guess' -> './config.guess' '/usr/lib/rpm/redhat/config.sub' -> './config.sub' checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking build system type... riscv64-koji-linux-gnu checking host system type... riscv64-koji-linux-gnu checking for riscv64-koji-linux-gnu-gcc... no checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of gcc... none checking for strerror in -lcposix... no checking whether make sets $(MAKE)... (cached) yes checking for riscv64-koji-linux-gnu-ranlib... no checking for ranlib... ranlib 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 pthread_create in -lpthread... yes 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.9.0... yes checking for SYSTEMD... yes checking for NSL... yes checking for TIRPC... yes checking for __nss_configure_lookup... yes checking for an ANSI C-conforming const... yes checking for xsltproc... /usr/bin/xsltproc checking for xmllint... /usr/bin/xmllint checking for XML catalog (/etc/xml/catalog)... found checking for xmlcatalog... /usr/bin/xmlcatalog checking for DocBook XML DTD V4.3 in XML catalog... found checking for DocBook XSL Stylesheets in XML catalog... found checking for a sed that does not truncate output... /usr/bin/sed 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 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 checking for CFPreferencesCopyAppValue... no checking for CFLocaleCopyCurrent... no checking for GNU gettext in libc... yes checking whether to use NLS... yes checking where the gettext function comes from... libc checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating lib/Makefile config.status: creating src/Makefile config.status: creating man/Makefile config.status: creating po/Makefile.in config.status: creating config.h config.status: executing depfiles commands config.status: executing po-directories commands config.status: creating po/POTFILES config.status: creating po/Makefile /usr/bin/make all-recursive Making all in lib make[2]: Entering directory '/builddir/build/BUILD/ypbind-mt-2.5/lib' BUILDSTDERR: gcc -DHAVE_CONFIG_H -I. -I.. -I. -I/usr/include/tirpc -I/usr/include/tirpc -DLOCALEDIR=\"/usr/share/locale\" -D_REENTRANT=1 -W -Wall -Wbad-function-cast -Wcast-align -Winline -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wshadolog_msg.c:31:1: error: static declaration of 'gettid' follows non-static declaration BUILDSTDERR: 31 | gettid (void) BUILDSTDERR: | ^~~~~~ BUILDSTDERR: In file included from /usr/include/unistd.h:1170, BUILDSTDERR: from log_msg.c:25: BUILDSTDERR: /usr/include/bits/unistd_ext.h:40:16: note: previous declaration of 'gettid' was here BUILDSTDERR: 40 | extern __pid_t gettid (void) __THROW; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: make[2]: *** [Makefile:430: log_msg.o] Error 1 BUILDSTDERR: make[2]: *** Waiting for unfinished jobs.... w -Wstrict-prototypes -Wundef -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 -fpic -c -o dns_hosts.o dns_hosts.c make[2]: Leaving directory '/builddir/build/BUILD/ypbind-mt-2.5/lib' make[2]: Entering directory '/builddir/build/BUILD/ypbind-mt-2.5/lib' gcc -DHAVE_CONFIG_H -I. -I.. -I. -I/usr/include/tirpc -I/usr/include/tirpc -DLOCALEDIR=\"/usr/share/locale\" -D_REENTRANT=1 -W -Wall -Wbad-function-cast -Wcast-align -Winline -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wshadow -Wstrict-prototypes -Wundef -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 -fpic -c -o host2ypbind3_binding.o host2ypbind3_binding.c make[2]: Leaving directory '/builddir/build/BUILD/ypbind-mt-2.5/lib' make[2]: Entering directory '/builddir/build/BUILD/ypbind-mt-2.5/lib' gcc -DHAVE_CONFIG_H -I. -I.. -I. -I/usr/include/tirpc -I/usr/include/tirpc -DLOCALEDIR=\"/usr/share/locale\" -D_REENTRANT=1 -W -Wall -Wbad-function-cast -Wcast-align -Winline -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wshadow -Wstrict-prototypes -Wundef -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 -fpic -c -o ypbind3_binding_free.o ypbind3_binding_free.c make[2]: Leaving directory '/builddir/build/BUILD/ypbind-mt-2.5/lib' make[2]: Entering directory '/builddir/build/BUILD/ypbind-mt-2.5/lib' gcc -DHAVE_CONFIG_H -I. -I.. -I. -I/usr/include/tirpc -I/usr/include/tirpc -DLOCALEDIR=\"/usr/share/locale\" -D_REENTRANT=1 -W -Wall -Wbad-function-cast -Wcast-align -Winline -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wshadow -Wstrict-prototypes -Wundef -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 -fpic -c -o ypbind3_binding_dup.o ypbind3_binding_dup.c make[2]: Leaving directory '/builddir/build/BUILD/ypbind-mt-2.5/lib' make[2]: Entering directory '/builddir/build/BUILD/ypbind-mt-2.5/lib' rm -f libcompat.a ar cru libcompat.a dns_hosts.o ypbind3_binding_dup.o ypbind3_binding_free.o host2ypbind3_binding.o ranlib libcompat.a make[2]: Leaving directory '/builddir/build/BUILD/ypbind-mt-2.5/lib' Making all in src make[2]: Entering directory '/builddir/build/BUILD/ypbind-mt-2.5/src' gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT=1 -W -Wall -Wbad-function-cast -Wcast-align -Winline -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wshadow -Wstrict-prototypes -Wundef -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/tirpc -I/usr/include/tirpc -DUSE_SD_NOTIFY=1 -I./../lib -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 -fpic -c -o log_msg.o log_msg.c make[2]: Leaving directory '/builddir/build/BUILD/ypbind-mt-2.5/src' make[2]: Entering directory '/builddir/build/BUILD/ypbind-mt-2.5/src' BUILDSTDERR: gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT=1 -W -Wall -Wbad-function-cast -Wcast-align -Winline -Wmissing-declarations -Wmissing-prototypypbind_svc.c: In function 'ypbindprog_1': BUILDSTDERR: ypbind_svc.c:61:22: warning: cast between incompatible function types from 'bool_t (*)(void)' {aka 'int (*)(void)'} to 'bool_t (*)(XDR *, ...)' {aka 'int (*)(struct __rpc_xdr *, ...)'} [-Wcast-function-type] BUILDSTDERR: 61 | xdr_argument = (xdrproc_t) xdr_void; BUILDSTDERR: | ^ BUILDSTDERR: ypbind_svc.c:62:20: warning: cast between incompatible function types from 'bool_t (*)(void)' {aka 'int (*)(void)'} to 'bool_t (*)(XDR *, ...)' {aka 'int (*)(struct __rpc_xdr *, ...)'} [-Wcast-function-type] BUILDSTDERR: 62 | xdr_result = (xdrproc_t) xdr_void; BUILDSTDERR: | ^ BUILDSTDERR: ypbind_svc.c:76:20: warning: cast between incompatible function types from 'bool_t (*)(void)' {aka 'int (*)(void)'} to 'bool_t (*)(XDR *, ...)' {aka 'int (*)(struct __rpc_xdr *, ...)'} [-Wcast-function-type] BUILDSTDERR: 76 | xdr_result = (xdrproc_t) xdr_void; BUILDSTDERR: | ^ BUILDSTDERR: ypbind_svc.c: In function 'ypbindprog_2': BUILDSTDERR: ypbind_svc.c:147:22: warning: cast between incompatible function types from 'bool_t (*)(void)' {aka 'int (*)(void)'} to 'bool_t (*)(XDR *, ...)' {aka 'int (*)(struct __rpc_xdr *, ...)'} [-Wcast-function-type] BUILDSTDERR: 147 | xdr_argument = (xdrproc_t) xdr_void; BUILDSTDERR: | ^ BUILDSTDERR: ypbind_svc.c:148:20: warning: cast between incompatible function types from 'bool_t (*)(void)' {aka 'int (*)(void)'} to 'bool_t (*)(XDR *, ...)' {aka 'int (*)(struct __rpc_xdr *, ...)'} [-Wcast-function-type] BUILDSTDERR: 148 | xdr_result = (xdrproc_t) xdr_void; BUILDSTDERR: | ^ BUILDSTDERR: ypbind_svc.c:162:20: warning: cast between incompatible function types from 'bool_t (*)(void)' {aka 'int (*)(void)'} to 'bool_t (*)(XDR *, ...)' {aka 'int (*)(struct __rpc_xdr *, ...)'} [-Wcast-function-type] BUILDSTDERR: 162 | xdr_result = (xdrproc_t) xdr_void; BUILDSTDERR: | ^ BUILDSTDERR: ypbind_svc.c: In function 'ypbindprog_3': BUILDSTDERR: ypbind_svc.c:233:22: warning: cast between incompatible function types from 'bool_t (*)(void)' {aka 'int (*)(void)'} to 'bool_t (*)(XDR *, ...)' {aka 'int (*)(struct __rpc_xdr *, ...)'} [-Wcast-function-type] BUILDSTDERR: 233 | xdr_argument = (xdrproc_t) xdr_void; BUILDSTDERR: | ^ BUILDSTDERR: ypbind_svc.c:234:20: warning: cast between incompatible function types from 'bool_t (*)(void)' {aka 'int (*)(void)'} to 'bool_t (*)(XDR *, ...)' {aka 'int (*)(struct __rpc_xdr *, ...)'} [-Wcast-function-type] BUILDSTDERR: 234 | xdr_result = (xdrproc_t) xdr_void; BUILDSTDERR: | ^ BUILDSTDERR: ypbind_svc.c:248:20: warning: cast between incompatible function types from 'bool_t (*)(void)' {aka 'int (*)(void)'} to 'bool_t (*)(XDR *, ...)' {aka 'int (*)(struct __rpc_xdr *, ...)'} [-Wcast-function-type] BUILDSTDERR: 248 | xdr_result = (xdrproc_t) xdr_void; BUILDSTDERR: | ^ BUILDSTDERR: make[1]: *** [Makefile:416: all-recursive] Error 1 BUILDSTDERR: make: *** [Makefile:357: all] Error 2 error: es -Wnested-externs -Wpointer-arith -Wshadow -Wstrict-prototypes -Wundef -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/tirpc -I/usr/include/tirpc -DUSE_SD_NOTIFY=1 -I./../lib -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 -fpic -c -o ypbind_svc.o ypbind_svc.c make[2]: Leaving directory '/builddir/build/BUILD/ypbind-mt-2.5/src' make[2]: Entering directory '/builddir/build/BUILD/ypbind-mt-2.5/src' gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT=1 -W -Wall -Wbad-function-cast -Wcast-align -Winline -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wshadow -Wstrict-prototypes -Wundef -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/tirpc -I/usr/include/tirpc -DUSE_SD_NOTIFY=1 -I./../lib -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 -fpic -c -o ypbind_server.o ypbind_server.c make[2]: Leaving directory '/builddir/build/BUILD/ypbind-mt-2.5/src' make[2]: Entering directory '/builddir/build/BUILD/ypbind-mt-2.5/src' gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT=1 -W -Wall -Wbad-function-cast -Wcast-align -Winline -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wshadow -Wstrict-prototypes -Wundef -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/tirpc -I/usr/include/tirpc -DUSE_SD_NOTIFY=1 -I./../lib -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 -fpic -c -o ypbind-mt.o ypbind-mt.c make[2]: Leaving directory '/builddir/build/BUILD/ypbind-mt-2.5/src' RPM build errors: BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.F0DIhQ (%build) BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.F0DIhQ (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.7/site-packages/mockbuild/trace_decorator.py", line 96, in trace result = func(*args, **kw) File "/usr/lib/python3.7/site-packages/mockbuild/util.py", line 700, in do raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/ypbind.spec