+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/quota.spec --define "debug_package %{nil}" --undefine _annotated_build --define "_missing_doc_files_terminate_build %{nil}" --define "_emacs_sitestartdir /usr/share/emacs/site-lisp/site-start.d" --define "_emacs_sitelispdir /usr/share/emacs/site-lisp" --nocheck ' mockbuild Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.G7PsS7 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf quota-4.03 + /usr/bin/gzip -dc /builddir/build/SOURCES/quota-4.03.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd quota-4.03 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (quota-4.03-warnquota-configuration-tunes.patch):' Patch #0 (quota-4.03-warnquota-configuration-tunes.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file warnquota.c patching file warnquota.conf + echo 'Patch #1 (quota-4.03-Build-rpc.rquotad-as-PIE.patch):' Patch #1 (quota-4.03-Build-rpc.rquotad-as-PIE.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file Makefile.am patching file test-hardened + echo 'Patch #2 (quota-4.03-Validate-upper-bound-of-RPC-port.patch):' Patch #2 (quota-4.03-Validate-upper-bound-of-RPC-port.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file rquota_svc.c + echo 'Patch #3 (quota-4.03-Respect-enviroment-CFLAGS.patch):' Patch #3 (quota-4.03-Respect-enviroment-CFLAGS.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file configure.ac + echo 'Patch #4 (quota-4.03-Work-around-an-AC_CHECK_LIB-bug-in-Autoconf.patch):' Patch #4 (quota-4.03-Work-around-an-AC_CHECK_LIB-bug-in-Autoconf.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file configure.ac + echo 'Patch #5 (quota-4.03-Scan-dquots-using-Q_GETNEXTQUOTA.patch):' Patch #5 (quota-4.03-Scan-dquots-using-Q_GETNEXTQUOTA.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file quota.h patching file quotaio_generic.c patching file quotaio_generic.h patching file quotaio_meta.c + echo 'Patch #6 (quota-4.03-Add-support-for-scanning-using-Q_XGETNEXTQUOTA.patch):' Patch #6 (quota-4.03-Add-support-for-scanning-using-Q_XGETNEXTQUOTA.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file quotaio_xfs.c patching file quotaio_xfs.h + echo 'Patch #7 (quota-4.03-repquota-use-the-same-whitespace-for-quotaio_meta-as.patch):' Patch #7 (quota-4.03-repquota-use-the-same-whitespace-for-quotaio_meta-as.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file repquota.c Hunk #1 succeeded at 380 (offset -20 lines). + echo 'Patch #8 (quota-4.03-quotacheck-Fix-buggy-error-check-of-read-2.patch):' Patch #8 (quota-4.03-quotacheck-Fix-buggy-error-check-of-read-2.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file quotacheck_v2.c + echo 'Patch #9 (quota-4.03-quotacheck-Use-direct-scanning-also-for-ext4.patch):' Patch #9 (quota-4.03-quotacheck-Use-direct-scanning-also-for-ext4.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file quotacheck.c + echo 'Patch #10 (quota-4.03-Print-explicitely-disabled-options-properly.patch):' Patch #10 (quota-4.03-Print-explicitely-disabled-options-properly.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file configure.ac + echo 'Patch #11 (quota-4.03-Do-not-install-quota_nld.8-when-quota_nld-is-not-ins.patch):' Patch #11 (quota-4.03-Do-not-install-quota_nld.8-when-quota_nld-is-not-ins.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file Makefile.am + echo 'Patch #12 (quota-4.03-quotacheck-change-to-the-directory-before-opening-it.patch):' Patch #12 (quota-4.03-quotacheck-change-to-the-directory-before-opening-it.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file quotacheck.c + echo 'Patch #13 (quota-4.03-quotacheck-fix-ask_yn-UB-when-fgets-returns-NULL.patch):' Patch #13 (quota-4.03-quotacheck-fix-ask_yn-UB-when-fgets-returns-NULL.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file quotacheck.c + echo 'Patch #14 (quota-4.03-quotaops-check-setgid-setuid-return-code.patch):' Patch #14 (quota-4.03-quotaops-check-setgid-setuid-return-code.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file quotaops.c Hunk #1 succeeded at 214 (offset -4 lines). + echo 'Patch #15 (quota-4.03-quotaops-check-return-code-of-fgets-calls.patch):' Patch #15 (quota-4.03-quotaops-check-return-code-of-fgets-calls.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file quotaops.c Hunk #1 succeeded at 326 (offset -4 lines). Hunk #2 succeeded at 481 (offset -4 lines). Hunk #3 succeeded at 587 (offset -4 lines). + echo 'Patch #16 (quota-4.03-quotaops-check-return-code-of-ftruncate-and-lseek-ca.patch):' Patch #16 (quota-4.03-quotaops-check-return-code-of-ftruncate-and-lseek-ca.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file quotaops.c Hunk #1 succeeded at 248 (offset -4 lines). Hunk #2 succeeded at 277 (offset -4 lines). Hunk #3 succeeded at 338 (offset -4 lines). Hunk #4 succeeded at 448 (offset -4 lines). Hunk #5 succeeded at 488 (offset -4 lines). Hunk #6 succeeded at 551 (offset -4 lines). Hunk #7 succeeded at 580 (offset -4 lines). + tar -xzkf /builddir/build/SOURCES/ldap-scripts.tar.gz + autoreconf -f -i Copying file m4/codeset.m4 Copying file m4/glibc21.m4 Copying file m4/intdiv0.m4 Copying file m4/inttypes-pri.m4 Copying file m4/inttypes.m4 Copying file m4/inttypes_h.m4 Copying file m4/isc-posix.m4 Copying file m4/lcmessage.m4 Copying file m4/stdint_h.m4 Copying file m4/uintmax_t.m4 Copying file m4/ulonglong.m4 Copying file mkinstalldirs Copying file po/Makevars.template configure.ac:25: installing './compile' + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.aheNM7 + umask 022 + cd /builddir/build/BUILD + cd quota-4.03 + 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 ' + 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 ' + 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 -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 -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + '[' 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.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' + 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' + '[' 1 = 1 ']' + '[' x '!=' x-specs=/usr/lib/rpm/redhat/redhat-hardened-ld ']' ++ find . -name ltmain.sh + ./configure --build=riscv64-redhat-linux-gnu --host=riscv64-redhat-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-bsd-behaviour --enable-ext2direct=yes --enable-ldapmail=yes --enable-libwrap=yes --enable-netlink=yes --enable-nls --disable-rpath --enable-rpc=yes --enable-rpcsetquota=yes --disable-silent-rules --disable-xfs-roothack 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 whether make supports nested variables... (cached) yes checking whether make supports the include directive... yes (GNU style) checking for riscv64-redhat-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 dependency style of gcc... none checking for riscv64-redhat-linux-gnu-ar... no checking for riscv64-redhat-linux-gnu-lib... no checking for riscv64-redhat-linux-gnu-link... no checking for ar... ar checking the archiver (ar) interface... ar checking for riscv64-redhat-linux-gnu-cc... gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking whether gcc understands -c and -o together... (cached) yes checking dependency style of gcc... (cached) none checking for riscv64-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib checking whether ln -s works... yes checking whether make sets $(MAKE)... (cached) yes checking for riscv64-redhat-linux-gnu-pkg-config... /usr/bin/riscv64-redhat-linux-gnu-pkg-config checking pkg-config is at least version 0.20... yes checking for an ANSI C-conforming const... yes checking for inline... inline 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 build system type... riscv64-redhat-linux-gnu checking host system type... riscv64-redhat-linux-gnu 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 whether NLS is requested... yes checking for GNU gettext in libc... yes checking whether to use NLS... yes checking where the gettext function comes from... libc checking for ldap_initialize in -lldap... yes checking for COM_ERR... yes checking for EXT2FS... yes checking for DBUS... yes checking for LIBNL3... 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 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 tcpd.h usability... yes checking tcpd.h presence... yes checking for tcpd.h... yes checking for rpcgen... no configure: error: could not locate required rpcgen error: Bad exit status from /var/tmp/rpm-tmp.aheNM7 (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.aheNM7 (%build) ++ cleanup ++ set +e ++ sync ++ sleep 5 ++ sync ++ poweroff Terminated +++ cleanup +++ set +e +++ sync Terminated ++++ cleanup ++++ set +e ++++ sync ++++ sleep 5 ++++ sync ++++ poweroff