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 x86_64 --nodeps /builddir/build/SPECS/rpcbind.spec'], chrootPath='/var/lib/mock/dist-an7_9-updates-build-231798-62501/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=86400uid=990gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.n4z6wdd7:/etc/resolv.conf', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.n4z6wdd7:/etc/resolv.conf', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '9c487feddd39406292547dd1551c6284', '-D', '/var/lib/mock/dist-an7_9-updates-build-231798-62501/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.n4z6wdd7:/etc/resolv.conf', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/rpcbind.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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/rpcbind-1.2.5-8.0.1.an7.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/rpcbind.spec'], chrootPath='/var/lib/mock/dist-an7_9-updates-build-231798-62501/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=86400uid=990gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.n4z6wdd7:/etc/resolv.conf', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.n4z6wdd7:/etc/resolv.conf', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'f048e4b46dbf4c17959265f5c405f345', '-D', '/var/lib/mock/dist-an7_9-updates-build-231798-62501/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.n4z6wdd7:/etc/resolv.conf', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/rpcbind.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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.qkmuF8 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf rpcbind-1.2.5 + /usr/bin/bzip2 -dc /builddir/build/SOURCES/rpcbind-1.2.5.tar.bz2 + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd rpcbind-1.2.5 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #1 (rpcbind-1.2.5-rpcinfo-bufoverflow.patch):' Patch #1 (rpcbind-1.2.5-rpcinfo-bufoverflow.patch): + /usr/bin/cat /builddir/build/SOURCES/rpcbind-1.2.5-rpcinfo-bufoverflow.patch + /usr/bin/patch -p1 --fuzz=0 patching file src/rpcinfo.c Patch #2 (rpcbind-1.2.5-covscan-resource-leaks.patch): + echo 'Patch #2 (rpcbind-1.2.5-covscan-resource-leaks.patch):' + /usr/bin/cat /builddir/build/SOURCES/rpcbind-1.2.5-covscan-resource-leaks.patch + /usr/bin/patch -p1 --fuzz=0 patching file src/rpcbind.c Hunk #1 succeeded at 340 (offset -10 lines). Hunk #2 succeeded at 817 (offset -10 lines). patching file src/rpcb_stat.c patching file src/rpcinfo.c patching file src/util.c Patch #3 (rpcbind-1.2.5-dowgrade-priority-callit.patch): + echo 'Patch #3 (rpcbind-1.2.5-dowgrade-priority-callit.patch):' + /usr/bin/cat /builddir/build/SOURCES/rpcbind-1.2.5-dowgrade-priority-callit.patch + /usr/bin/patch -p1 --fuzz=0 patching file src/security.c Hunk #1 succeeded at 355 (offset 9 lines). + echo 'Patch #100 (rpcbind-0.2.3-systemd-envfile.patch):' Patch #100 (rpcbind-0.2.3-systemd-envfile.patch): + /usr/bin/cat /builddir/build/SOURCES/rpcbind-0.2.3-systemd-envfile.patch + /usr/bin/patch -p1 --fuzz=0 patching file systemd/rpcbind.service.in + echo 'Patch #101 (rpcbind-0.2.3-systemd-tmpfiles.patch):' Patch #101 (rpcbind-0.2.3-systemd-tmpfiles.patch): + /usr/bin/cat /builddir/build/SOURCES/rpcbind-0.2.3-systemd-tmpfiles.patch + /usr/bin/patch -p1 --fuzz=0 patching file configure.ac Hunk #1 succeeded at 56 (offset 4 lines). patching file Makefile.am Hunk #1 succeeded at 59 (offset 4 lines). patching file systemd/rpcbind.conf + echo 'Patch #102 (rpcbind-0.2.4-runstatdir.patch):' Patch #102 (rpcbind-0.2.4-runstatdir.patch): + /usr/bin/cat /builddir/build/SOURCES/rpcbind-0.2.4-runstatdir.patch + /usr/bin/patch -p1 --fuzz=0 patching file configure.ac patching file configure patching file man/rpcbind-fr.8 patching file src/rpcbind.c + echo 'Patch #103 (rpcbind-0.2.4-systemd-service.patch):' Patch #103 (rpcbind-0.2.4-systemd-service.patch): + /usr/bin/cat /builddir/build/SOURCES/rpcbind-0.2.4-systemd-service.patch + /usr/bin/patch -p1 --fuzz=0 patching file systemd/rpcbind.service.in + echo 'Patch #104 (rpcbind-0.2.4-systemd-rundir.patch):' Patch #104 (rpcbind-0.2.4-systemd-rundir.patch): + /usr/bin/cat /builddir/build/SOURCES/rpcbind-0.2.4-systemd-rundir.patch + /usr/bin/patch -p1 --fuzz=0 patching file src/rpcbind.c + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.w51605 + umask 022 + cd /builddir/build/BUILD + cd rpcbind-1.2.5 + autoreconf -fisv autoreconf: Entering directory `.' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal --force autoreconf: configure.ac: tracing autoreconf: configure.ac: not using Libtool autoreconf: running: /usr/bin/autoconf --force autoreconf: configure.ac: not using Autoheader autoreconf: running: automake --add-missing --force-missing Makefile.am:39: warning: compiling 'src/check_bound.c' in subdir requires 'AM_PROG_CC_C_O' in 'configure.ac' autoreconf: Leaving directory `.' + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro ' + export LDFLAGS + '[' 1 == 1 ']' + '[' x86_64 == ppc64le ']' ++ find . -name config.guess -o -name config.sub + ./configure --build=x86_64-Anolis-linux --host=x86_64-Anolis-linux --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-warmstarts --with-statedir=/run/rpcbind --with-rpcuser=rpc '--with-nss-modules=files altfiles' --sbindir=/usr/bin --enable-debug 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 for x86_64-Anolis-linux-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 for style of include used by make... GNU checking dependency style of gcc... none checking for libtirpc_set_debug in -ltirpc... yes checking for x86_64-Anolis-linux-pkg-config... no checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for TIRPC... yes checking for x86_64-Anolis-linux-pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for SYSTEMD... yes checking for SYSTEMD... yes checking for library containing pthread_create... -lpthread 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 nss.h usability... yes checking nss.h presence... yes checking for nss.h... yes checking rpcsvc/mount.h usability... yes checking rpcsvc/mount.h presence... yes checking for rpcsvc/mount.h... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating systemd/rpcbind.service config.status: executing depfiles commands + make all gcc -DPACKAGE_NAME=\"rpcbind\" -DPACKAGE_TARNAME=\"rpcbind\" -DPACKAGE_VERSION=\"1.2.5\" -DPACKAGE_STRING=\"rpcbind\ 1.2.5\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"rpcbind\" -DVERSION=\"1.2.5\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_NSS_H=1 -DHAVE_RPCSVC_MOUNT_H=1 -I. -DCHECK_LOCAL -DPORTMAP -DFACILITY=LOG_MAIL -DSEVERITY=LOG_INFO -DINET6 -DRPCBIND_STATEDIR="\"/run/rpcbind\"" -DRPCBIND_USER="\"rpc\"" -DNSS_MODULES="\"files altfiles\"" -D_GNU_SOURCE -I/usr/include/tirpc -DRPCBIND_DEBUG -DDEBUG_RMTCALL -DND_DEBUG -DBIND_DEBUG -DLIB_SET_DEBUG -DWARMSTART -DSYSTEMD -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o src/rpcinfo.o src/rpcinfo.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Wl,-z,relro -o rpcinfo src/rpcinfo.o -ltirpc -lpthread gcc -DPACKAGE_NAME=\"rpcbind\" -DPACKAGE_TARNAME=\"rpcbind\" -DPACKAGE_VERSION=\"1.2.5\" -DPACKAGE_STRING=\"rpcbind\ 1.2.5\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"rpcbind\" -DVERSION=\"1.2.5\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_NSS_H=1 -DHAVE_RPCSVC_MOUNT_H=1 -I. -DCHECK_LOCAL -DPORTMAP -DFACILITY=LOG_MAIL -DSEVERITY=LOG_INFO -DINET6 -DRPCBIND_STATEDIR="\"/run/rpcbind\"" -DRPCBIND_USER="\"rpc\"" -DNSS_MODULES="\"files altfiles\"" -D_GNU_SOURCE -I/usr/include/tirpc -DRPCBIND_DEBUG -DDEBUG_RMTCALL -DND_DEBUG -DBIND_DEBUG -DLIB_SET_DEBUG -DWARMSTART -DSYSTEMD -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o src/check_bound.o src/check_bound.c gcc -DPACKAGE_NAME=\"rpcbind\" -DPACKAGE_TARNAME=\"rpcbind\" -DPACKAGE_VERSION=\"1.2.5\" -DPACKAGE_STRING=\"rpcbind\ 1.2.5\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"rpcbind\" -DVERSION=\"1.2.5\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_NSS_H=1 -DHAVE_RPCSVC_MOUNT_H=1 -I. -DCHECK_LOCAL -DPORTMAP -DFACILITY=LOG_MAIL -DSEVERITY=LOG_INFO -DINET6 -DRPCBIND_STATEDIR="\"/run/rpcbind\"" -DRPCBIND_USER="\"rpc\"" -DNSS_MODULES="\"files altfiles\"" -D_GNU_SOURCE -I/usr/include/tirpc -DRPCBIND_DEBUG -DDEBUG_RMTCALL -DND_DEBUG -DBIND_DEBUG -DLIB_SET_DEBUG -DWARMSTART -DSYSTEMD -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o src/pmap_svc.o src/pmap_svc.c gcc -DPACKAGE_NAME=\"rpcbind\" -DPACKAGE_TARNAME=\"rpcbind\" -DPACKAGE_VERSION=\"1.2.5\" -DPACKAGE_STRING=\"rpcbind\ 1.2.5\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"rpcbind\" -DVERSION=\"1.2.5\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_NSS_H=1 -DHAVE_RPCSVC_MOUNT_H=1 -I. -DCHECK_LOCAL -DPORTMAP -DFACILITY=LOG_MAIL -DSEVERITY=LOG_INFO -DINET6 -DRPCBIND_STATEDIR="\"/run/rpcbind\"" -DRPCBIND_USER="\"rpc\"" -DNSS_MODULES="\"files altfiles\"" -D_GNU_SOURCE -I/usr/include/tirpc -DRPCBIND_DEBUG -DDEBUG_RMTCALL -DND_DEBUG -DBIND_DEBUG -DLIB_SET_DEBUG -DWARMSTART -DSYSTEMD -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o src/rpcb_stat.o src/rpcb_stat.c gcc -DPACKAGE_NAME=\"rpcbind\" -DPACKAGE_TARNAME=\"rpcbind\" -DPACKAGE_VERSION=\"1.2.5\" -DPACKAGE_STRING=\"rpcbind\ 1.2.5\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"rpcbind\" -DVERSION=\"1.2.5\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_NSS_H=1 -DHAVE_RPCSVC_MOUNT_H=1 -I. -DCHECK_LOCAL -DPORTMAP -DFACILITY=LOG_MAIL -DSEVERITY=LOG_INFO -DINET6 -DRPCBIND_STATEDIR="\"/run/rpcbind\"" -DRPCBIND_USER="\"rpc\"" -DNSS_MODULES="\"files altfiles\"" -D_GNU_SOURCE -I/usr/include/tirpc -DRPCBIND_DEBUG -DDEBUG_RMTCALL -DND_DEBUG -DBIND_DEBUG -DLIB_SET_DEBUG -DWARMSTART -DSYSTEMD -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o src/rpcb_svc.o src/rpcb_svc.c gcc -DPACKAGE_NAME=\"rpcbind\" -DPACKAGE_TARNAME=\"rpcbind\" -DPACKAGE_VERSION=\"1.2.5\" -DPACKAGE_STRING=\"rpcbind\ 1.2.5\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"rpcbind\" -DVERSION=\"1.2.5\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_NSS_H=1 -DHAVE_RPCSVC_MOUNT_H=1 -I. -DCHECK_LOCAL -DPORTMAP -DFACILITY=LOG_MAIL -DSEVERITY=LOG_INFO -DINET6 -DRPCBIND_STATEDIR="\"/run/rpcbind\"" -DRPCBIND_USER="\"rpc\"" -DNSS_MODULES="\"files altfiles\"" -D_GNU_SOURCE -I/usr/include/tirpc -DRPCBIND_DEBUG -DDEBUG_RMTCALL -DND_DEBUG -DBIND_DEBUG -DLIB_SET_DEBUG -DWARMSTART -DSYSTEMD -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o src/rpcb_svc_4.o src/rpcb_svc_4.c gcc -DPACKAGE_NAME=\"rpcbind\" -DPACKAGE_TARNAME=\"rpcbind\" -DPACKAGE_VERSION=\"1.2.5\" -DPACKAGE_STRING=\"rpcbind\ 1.2.5\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"rpcbind\" -DVERSION=\"1.2.5\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_NSS_H=1 -DHAVE_RPCSVC_MOUNT_H=1 -I. -DCHECK_LOCAL -DPORTMAP -DFACILITY=LOG_MAIL -DSEVERITY=LOG_INFO -DINET6 -DRPCBIND_STATEDIR="\"/run/rpcbind\"" -DRPCBIND_USER="\"rpc\"" -DNSS_MODULES="\"files altfiles\"" -D_GNU_SOURCE -I/usr/include/tirpc -DRPCBIND_DEBUG -DDEBUG_RMTCALL -DND_DEBUG -DBIND_DEBUG -DLIB_SET_DEBUG -DWARMSTART -DSYSTEMD -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o src/rpcb_svc_com.o src/rpcb_svc_com.c src/rpcb_svc_com.c: In function 'my_svc_run': src/rpcb_svc_com.c:1057:34: error: 'svc_max_pollfd' undeclared (first use in this function) struct pollfd my_pollfd[svc_max_pollfd]; ^ src/rpcb_svc_com.c:1057:34: note: each undeclared identifier is reported only once for each function it appears in src/rpcb_svc_com.c:1060:30: error: 'svc_pollfd' undeclared (first use in this function) if (svc_max_pollfd == 0 && svc_pollfd == NULL) ^ src/rpcb_svc_com.c:1057:24: warning: unused variable 'my_pollfd' [-Wunused-variable] struct pollfd my_pollfd[svc_max_pollfd]; ^ make: *** [src/rpcb_svc_com.o] Error 1 error: Bad exit status from /var/tmp/rpm-tmp.w51605 (%build) Bad exit status from /var/tmp/rpm-tmp.w51605 (%build) RPM build errors: Child return code was: 1 EXCEPTION: [Error('Command failed: \n # /usr/bin/systemd-nspawn -q -M f048e4b46dbf4c17959265f5c405f345 -D /var/lib/mock/dist-an7_9-updates-build-231798-62501/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.n4z6wdd7:/etc/resolv.conf --bind=/dev/mapper/control --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin --setenv=PROMPT_COMMAND=printf "\\033]0;\\007" --setenv=PS1= \\s-\\v\\$ --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c /usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/rpcbind.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.6/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: # /usr/bin/systemd-nspawn -q -M f048e4b46dbf4c17959265f5c405f345 -D /var/lib/mock/dist-an7_9-updates-build-231798-62501/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.n4z6wdd7:/etc/resolv.conf --bind=/dev/mapper/control --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin --setenv=PROMPT_COMMAND=printf "\033]0;\007" --setenv=PS1= \s-\v\$ --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c /usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/rpcbind.spec