+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/libffi.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.K46HRC + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf libffi-3.1 + /usr/bin/tar -xof - + /usr/bin/gzip -dc /builddir/build/SOURCES/libffi-3.1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd libffi-3.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (libffi-3.1-fix-include-path.patch):' Patch #0 (libffi-3.1-fix-include-path.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .fixpath --fuzz=0 patching file libffi.pc.in + echo 'Patch #1 (libffi-3.1-fix-exec-stack.patch):' Patch #1 (libffi-3.1-fix-exec-stack.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .execstack --fuzz=0 patching file src/x86/win32.S + echo 'Patch #2 (libffi-aarch64-rhbz1174037.patch):' Patch #2 (libffi-aarch64-rhbz1174037.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .aarch64 --fuzz=0 patching file src/aarch64/ffi.c + echo 'Patch #3 (libffi-3.1-riscv.patch):' Patch #3 (libffi-3.1-riscv.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .riscv --fuzz=0 patching file Makefile.am patching file configure.ac patching file include/ffi_common.h patching file src/riscv/ffi.c patching file src/riscv/ffitarget.h patching file src/riscv/sysv.S + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.5g2WCm + umask 022 + cd /builddir/build/BUILD + cd libffi-3.1 + aclocal + automake + autoconf configure.ac:450: error: possibly undefined macro: LT_SYS_SYMBOL_USCORE If this token and others are legitimate, please use m4_pattern_allow. See the Autoconf documentation. error: Bad exit status from /var/tmp/rpm-tmp.5g2WCm (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.5g2WCm (%build) ++ cleanup ++ set +e ++ sync ++ sleep 5 ++ sync ++ poweroff Terminated +++ cleanup +++ set +e +++ sync Terminated ++++ cleanup ++++ set +e ++++ sync ++++ sleep 5 ++++ sync ++++ poweroff