+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/am-utils.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 warning: bogus date in %changelog: Fri Mar 20 2014 Ian Kent - 5:6.1.5-30 warning: bogus date in %changelog: Tue Aug 24 2006 Karel Zak 5:6.1.5-4 warning: bogus date in %changelog: Fri Oct 20 2005 Peter Vrabec 6.1.3-1 warning: bogus date in %changelog: Wed Oct 04 2005 Peter Vrabec 6.1.2.1-1 warning: bogus date in %changelog: Fri Jun 19 1999 Bill Nottingham Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.CGgsqa + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf am-utils-6.2 + /usr/bin/gzip -dc /builddir/build/SOURCES/am-utils-6.2.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd am-utils-6.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #1 (am-utils-6.2-dont-include-auto-generated-macros-in-aclinlude_m4.patch):' Patch #1 (am-utils-6.2-dont-include-auto-generated-macros-in-aclinlude_m4.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file ChangeLog patching file Makefile.am patching file configure.ac patching file m4/macros/libtool.m4 + echo 'Patch #2 (am-utils-6.2-print_nfs_common_args-is-only-needed-with-DEBUG.patch):' Patch #2 (am-utils-6.2-print_nfs_common_args-is-only-needed-with-DEBUG.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file libamu/mount_fs.c + echo 'Patch #3 (am-utils-6.2-uid_t-might-be-a-different-size-than-unsigned-int.patch):' Patch #3 (am-utils-6.2-uid_t-might-be-a-different-size-than-unsigned-int.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file hlfsd/stubs.c + echo 'Patch #4 (am-utils-6.2-remove-set-but-not-used-variable-s.patch):' Patch #4 (am-utils-6.2-remove-set-but-not-used-variable-s.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file hlfsd/hlfsd.c + echo 'Patch #5 (am-utils-6.2-remove-set-but-not-used-variable-again.patch):' Patch #5 (am-utils-6.2-remove-set-but-not-used-variable-again.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file conf/transp/transp_sockets.c + echo 'Patch #6 (am-utils-6.2-remove-unused-function-show_map.patch):' Patch #6 (am-utils-6.2-remove-unused-function-show_map.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file amq/amq.c + echo 'Patch #7 (am-utils-6.2-remove-set-but-not-used-variable-mp_error.patch):' Patch #7 (am-utils-6.2-remove-set-but-not-used-variable-mp_error.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file amd/amfs_generic.c + echo 'Patch #8 (am-utils-6.2-32-bit-fixes.patch):' Patch #8 (am-utils-6.2-32-bit-fixes.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file amd/amq_subr.c patching file amd/nfs_subr.c patching file amd/readdir.c patching file amq/amq.c + echo 'Patch #9 (am-utils-6.2-make-sure-variables-are-initialized.patch):' Patch #9 (am-utils-6.2-make-sure-variables-are-initialized.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file amd/nfs_subr.c + echo 'Patch #10 (am-utils-6.2-dont-use-logical-double-ampersand-when-ampersand-is-meant.patch):' Patch #10 (am-utils-6.2-dont-use-logical-double-ampersand-when-ampersand-is-meant.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file amd/map.c + echo 'Patch #11 (am-utils-6.2-Fix-nfs-args-setting-code.patch):' Patch #11 (am-utils-6.2-Fix-nfs-args-setting-code.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file ChangeLog patching file libamu/mount_fs.c + echo 'Patch #12 (am-utils-6.2-add-debug-log-trace-to-NFSv3-readdirplus.patch):' Patch #12 (am-utils-6.2-add-debug-log-trace-to-NFSv3-readdirplus.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file amd/nfs_subr.c + echo 'Patch #13 (am-utils-6.2-fix-NFSv3-access-method-return-on-non-existent-mount-point.patch):' Patch #13 (am-utils-6.2-fix-NFSv3-access-method-return-on-non-existent-mount-point.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file amd/nfs_subr.c + echo 'Patch #14 (am-utils-6.2-fix-NFSv3-lookup-dir-attribute-return-value.patch):' Patch #14 (am-utils-6.2-fix-NFSv3-lookup-dir-attribute-return-value.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file amd/nfs_subr.c + echo 'Patch #15 (am-utils-6.2-fix-NFSv3-readdir-post_op_dir-attributes-return.patch):' Patch #15 (am-utils-6.2-fix-NFSv3-readdir-post_op_dir-attributes-return.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file amd/nfs_subr.c + echo 'Patch #16 (am-utils-6.2-fix-NFSv3-unlink3_or_rmdir3-post_op-attributes-return.patch):' Patch #16 (am-utils-6.2-fix-NFSv3-unlink3_or_rmdir3-post_op-attributes-return.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file amd/nfs_subr.c + echo 'Patch #17 (am-utils-6.2-fix-Linux-NFS-recognition-of-umounts.patch):' Patch #17 (am-utils-6.2-fix-Linux-NFS-recognition-of-umounts.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file amd/autil.c + echo 'Patch #18 (am-utils-6.2-add-get_nfs_xprt-and-put_nfs_xprt-functions.patch):' Patch #18 (am-utils-6.2-add-get_nfs_xprt-and-put_nfs_xprt-functions.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file conf/transp/transp_sockets.c patching file conf/transp/transp_tli.c patching file include/am_utils.h + echo 'Patch #19 (am-utils-6.2-use-new-get_nfs_xprt-and-put_nfs_xprt-functions.patch):' Patch #19 (am-utils-6.2-use-new-get_nfs_xprt-and-put_nfs_xprt-functions.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file amd/amfs_generic.c patching file amd/map.c patching file amd/nfs_subr.c + echo 'Patch #20 (am-utils-6.2-add-NFSv3-nfs_quick_reply-functionality.patch):' Patch #20 (am-utils-6.2-add-NFSv3-nfs_quick_reply-functionality.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file amd/nfs_prot_svc.c patching file amd/nfs_subr.c + echo 'Patch #21 (am-utils-6.2-add-NFSv3-rpc-request-validation.patch):' Patch #21 (am-utils-6.2-add-NFSv3-rpc-request-validation.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file amd/nfs_prot_svc.c + echo 'Patch #22 (am-utils-6.2-fix-wcc-attr-usage-in-unlink3_or_rmdir3.patch):' Patch #22 (am-utils-6.2-fix-wcc-attr-usage-in-unlink3_or_rmdir3.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file amd/nfs_subr.c + echo 'Patch #23 (am-utils-6.2-Add-the-sys-alias-for-unix-as-well-as-none-and-null.patch):' Patch #23 (am-utils-6.2-Add-the-sys-alias-for-unix-as-well-as-none-and-null.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file libamu/mount_fs.c + echo 'Patch #24 (am-utils-6.2-Default-to-string-mount-options-for-NFSv4.patch):' Patch #24 (am-utils-6.2-Default-to-string-mount-options-for-NFSv4.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file conf/mount/mount_linux.c + echo 'Patch #25 (am-utils-6.2-Improve-debugging-for-unmounting.patch):' Patch #25 (am-utils-6.2-Improve-debugging-for-unmounting.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file amd/map.c + echo 'Patch #26 (am-utils-6.2-add-more-debugging-in-the-unmount-path.patch):' Patch #26 (am-utils-6.2-add-more-debugging-in-the-unmount-path.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file conf/autofs/autofs_linux.c + echo 'Patch #27 (am-utils-6.2-There-is-really-no-ti-rpc-nfsv4-so-dont-send-one.patch):' Patch #27 (am-utils-6.2-There-is-really-no-ti-rpc-nfsv4-so-dont-send-one.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file amd/srvr_nfs.c + echo 'Patch #28 (am-utils-6.2-Fix-SEGV-on-amq-entries-that-print-times.patch):' Patch #28 (am-utils-6.2-Fix-SEGV-on-amq-entries-that-print-times.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file amq/amq.c + echo 'Patch #29 (am-utils-6.2-Make-hasmntval-return-an-0-on-error-1-on-success.patch):' Patch #29 (am-utils-6.2-Make-hasmntval-return-an-0-on-error-1-on-success.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file amd/autil.c patching file amd/ops_cdfs.c patching file amd/ops_nfs.c patching file amd/ops_pcfs.c patching file amd/ops_ufs.c patching file amd/srvr_nfs.c patching file hlfsd/hlfsd.c patching file include/am_utils.h patching file libamu/mount_fs.c patching file libamu/mtab.c + echo 'Patch #30 (am-utils-6.2-Update-the-ctime-of-the-directory-too-since-it-changed.patch):' Patch #30 (am-utils-6.2-Update-the-ctime-of-the-directory-too-since-it-changed.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file amd/autil.c + echo 'Patch #31 (am-utils-6.2-use-linux-libtirpc-if-present.patch):' Patch #31 (am-utils-6.2-use-linux-libtirpc-if-present.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file Makefile.am patching file configure.ac patching file include/am_compat.h patching file m4/macros/check_linux_libtirpc.m4 + echo 'Patch #32 (am-utils-6.2-fix-compiler-assignment-warning-due-to-libtirpc.patch):' Patch #32 (am-utils-6.2-fix-compiler-assignment-warning-due-to-libtirpc.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file amd/amq_svc.c + echo 'Patch #33 (am-utils-6.2-fix-logical-not-comparison-in-get_ldap_timestamp.patch):' Patch #33 (am-utils-6.2-fix-logical-not-comparison-in-get_ldap_timestamp.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file amd/info_ldap.c + echo 'Patch #34 (am-utils-6.2-fix-umount-to-mount-race.patch):' Patch #34 (am-utils-6.2-fix-umount-to-mount-race.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file amd/amd.h patching file amd/amfs_generic.c patching file amd/autil.c patching file amd/map.c + ./bootstrap AMU: prepare acinclude.m4... AMU: autoreconf... libtoolize: putting auxiliary files in '.'. libtoolize: copying file './ltmain.sh' libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'. libtoolize: copying file 'm4/libtool.m4' libtoolize: copying file 'm4/ltoptions.m4' libtoolize: copying file 'm4/ltsugar.m4' libtoolize: copying file 'm4/ltversion.m4' libtoolize: copying file 'm4/lt~obsolete.m4' configure.ac:109: installing './compile' configure.ac:74: installing './missing' amd/Makefile.am: installing './depcomp' AMU: save timestamp... + find_requires=/usr/lib/rpm/find-requires + echo '/usr/lib/rpm/find-requires | grep -v lostaltmail.conf' + chmod +x find-requires + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.3LcOPl + umask 022 + cd /builddir/build/BUILD + cd am-utils-6.2 + 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.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-specs=/usr/lib/rpm/redhat/redhat-hardened-ld ']' ++ find . -name ltmain.sh + for i in $(find . -name ltmain.sh) + /usr/bin/sed -i.backup -e 's~compiler_flags=$~compiler_flags="-specs=/usr/lib/rpm/redhat/redhat-hardened-ld"~' ./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-shared --enable-am-cflags=-DHAVE_LINUX_NFS_MOUNT_H '--enable-libs=-lnsl -lresolv' --enable-debug configure: *** INITIALIZATION *** configure: *** SYSTEM TYPES *** checking build system type... riscv64-redhat-linux-gnu checking host system type... riscv64-redhat-linux-gnu checking host cpu... riscv64 checking vendor... redhat checking host full OS name and version... linux checking host OS name... linux checking host OS version... 4.16.0-rc2-00328-gebea62367bc4 checking host OS architecture... riscv64 checking OS system distribution... fc28 checking host name... stage4-builder checking user name... mockbuild checking configuration date... Wed Feb 28 07:35:09 UTC 2018 configure: *** PACKAGE NAME AND VERSION *** checking package name... "am-utils" checking version of package... "6.2" checking bug-reporting address... "https://bugzilla.am-utils.org/ or am-utils@am-utils.org" 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 configure: *** PARTICULAR PROGRAMS (part 1) *** 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 for style of include used by make... GNU checking dependency style of gcc... none checking how to run the C preprocessor... gcc -E checking whether gcc and cc understand -c and -o together... yes checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking whether gcc needs -traditional... no checking whether make sets $(MAKE)... (cached) yes checking for library containing strerror... none required 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 configure: *** OPTION PROCESSING *** checking if ldap is wanted... yes, will enable if all libraries are found checking if hesiod is wanted... yes, will enable if all libraries are found checking if ndbm is wanted... yes, will enable if all libraries are found checking for debugging options... yes checking for configuration/compilation (-I) preprocessor flags... none checking for configuration/compilation (-l) library flags... -lnsl -lresolv checking for configuration/compilation (-L) library flags... none checking for additional C option compilation flags... -DHAVE_LINUX_NFS_MOUNT_H checking a local configuration file... no checking whether to enable maintainer-specific portions of Makefiles... no configure: *** LIBTOOL *** checking how to print strings... printf checking for a sed that does not truncate output... /usr/bin/sed checking for fgrep... /usr/bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert riscv64-redhat-linux-gnu file names to riscv64-redhat-linux-gnu format... func_convert_file_noop checking how to convert riscv64-redhat-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for riscv64-redhat-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for riscv64-redhat-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for riscv64-redhat-linux-gnu-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for riscv64-redhat-linux-gnu-strip... no checking for strip... strip checking for riscv64-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for a working dd... /usr/bin/dd checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 checking for riscv64-redhat-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes configure: *** EXTRA OPTION PROCESSING *** checking additional preprocessor flags... checking additional compiler flags... checking additional linker flags... configure: *** UNIX VARIANTS *** checking "host headers version"... configure: error: cannot find UTS_RELEASE in . This Linux system may be misconfigured or unconfigured! error: Bad exit status from /var/tmp/rpm-tmp.3LcOPl (%build) RPM build errors: bogus date in %changelog: Fri Mar 20 2014 Ian Kent - 5:6.1.5-30 bogus date in %changelog: Tue Aug 24 2006 Karel Zak 5:6.1.5-4 bogus date in %changelog: Fri Oct 20 2005 Peter Vrabec 6.1.3-1 bogus date in %changelog: Wed Oct 04 2005 Peter Vrabec 6.1.2.1-1 bogus date in %changelog: Fri Jun 19 1999 Bill Nottingham Bad exit status from /var/tmp/rpm-tmp.3LcOPl (%build) ++ cleanup ++ set +e ++ sync ++ sleep 5 ++ sync ++ poweroff Terminated +++ cleanup +++ set +e +++ sync Terminated ++++ cleanup ++++ set +e ++++ sync ++++ sleep 5 ++++ sync ++++ poweroff