D: [iurt_root_command] chroot Building target platforms: x86_64 Building for target x86_64 Installing /home/pterjan/rpmbuild/SRPMS/freetds-1.5.10-1.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.ZWrO0D Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.Gic82X + umask 022 + cd /home/pterjan/rpmbuild/BUILD/freetds-1.5.10-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/freetds-1.5.10-build + rm -rf freetds-1.5.10 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/freetds-1.5.10.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd freetds-1.5.10 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (freetds-do_not_build_the_docs.diff):' Patch #0 (freetds-do_not_build_the_docs.diff): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file Makefile.am patching file Makefile.in Hunk #1 succeeded at 398 (offset 9 lines). + find . -type d -perm 0700 -exec chmod 755 '{}' ';' + find . -type f -perm 0555 -exec chmod 755 '{}' ';' + find . -type f -perm 0444 -exec chmod 644 '{}' ';' ++ find . -type d -name CVS ++ find . -type d -name .svn ++ find . -type f -name '.cvs*' ++ find . -type f -name '.#*' + perl -pi -e 's|/lib\b|/lib64|g' configure configure.ac + find -type f + xargs perl -pi -e 's|/usr/local/bin/perl|/usr/bin/perl|g' + sed -i 's/\r//' doc/tds_ssl.html + sed -i '1 s,#!.*/perl,#!/usr/bin/perl,' samples/odbctest.pl samples/test.pl doc/api_status.txt + find doc/ samples/ COPYING.txt COPYING_LIB.txt -type f -print0 + xargs -0 chmod -x + find . -name '*.[ch]' -print0 + xargs -0 chmod -x + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.CqKc3q + umask 022 + cd /home/pterjan/rpmbuild/BUILD/freetds-1.5.10-build + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd freetds-1.5.10 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + autoreconf -fis configure.ac:123: warning: macro 'AM_ICONV' not found in library libtoolize: putting auxiliary files in '.'. libtoolize: linking file './ltmain.sh' libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'. libtoolize: linking file 'm4/libtool.m4' libtoolize: linking file 'm4/ltoptions.m4' libtoolize: linking file 'm4/ltsugar.m4' libtoolize: linking file 'm4/ltversion.m4' libtoolize: linking file 'm4/lt~obsolete.m4' configure.ac:123: warning: macro 'AM_ICONV' not found in library configure.ac:123: error: possibly undefined macro: AM_ICONV If this token and others are legitimate, please use m4_pattern_allow. See the Autoconf documentation. autoreconf: error: /usr/bin/autoconf failed with exit status: 1 error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.CqKc3q (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.CqKc3q (%build) I: [iurt_root_command] ERROR: chroot