D: [iurt_root_command] chroot Building target platforms: noarch Building for target noarch Installing /home/pterjan/rpmbuild/SRPMS/system-switch-java-1.1.8-5.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.wFCLsg Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.ApIp8H + umask 022 + cd /home/pterjan/rpmbuild/BUILD/system-switch-java-1.1.8-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/system-switch-java-1.1.8-build + rm -rf system-switch-java-system-switch-java-1.1.8 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/system-switch-java-system-switch-java-1.1.8.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd system-switch-java-system-switch-java-1.1.8 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (pythonversion.bad.patch):' Patch #0 (pythonversion.bad.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p0 --fuzz=0 patching file system-switch-java.in + echo 'Patch #1 (configure.patch):' Patch #1 (configure.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p0 --fuzz=0 patching file configure.ac + sed -i 's|Icon=system-switch-java.png|Icon=system-switch-java|' system-switch-java.desktop.in + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.SGPbZ9 + umask 022 + cd /home/pterjan/rpmbuild/BUILD/system-switch-java-1.1.8-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/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd system-switch-java-system-switch-java-1.1.8 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + sh ./autogen.sh + glib-gettextize --force Symlinking file po/Makefile.in.in Please add the files codeset.m4 gettext.m4 glibc21.m4 iconv.m4 isc-posix.m4 lcmessage.m4 progtest.m4 from the /usr/share/aclocal directory to your autoconf macro directory or directly to your aclocal.m4 file. You will also need config.guess and config.sub, which you can get from ftp://ftp.gnu.org/pub/gnu/config/. + autoreconf --force --install autopoint: using AM_GNU_GETTEXT_REQUIRE_VERSION instead of AM_GNU_GETTEXT_VERSION Copying file ABOUT-NLS Copying file config.rpath Creating directory m4 Copying file m4/build-to-host.m4 Copying file m4/gettext.m4 Copying file m4/host-cpu-c-abi.m4 Copying file m4/iconv.m4 Copying file m4/intlmacosx.m4 Copying file m4/lib-ld.m4 Copying file m4/lib-link.m4 Copying file m4/lib-prefix.m4 Copying file m4/nls.m4 Copying file m4/po.m4 Copying file m4/progtest.m4 Copying file po/Makefile.in.in Copying file po/Makevars.template Copying file po/Rules-quot Copying file po/boldquot.sed Copying file po/en@boldquot.header Copying file po/en@quot.header Copying file po/insert-header.sed Copying file po/quot.sed Copying file po/remove-potcdate.sed configure.ac:5: warning: macro 'AM_GNU_GETTEXT_VERSION' not found in library configure.ac:6: warning: macro 'AM_GNU_GETTEXT_REQUIRE_VERSION' not found in library configure.ac:7: warning: macro 'AM_GNU_GETTEXT' not found in library configure.ac: warning: AM_GNU_GETTEXT_VERSION or AM_GNU_GETTEXT_REQUIRE_VERSION is used, but not AM_GNU_GETTEXT configure.ac:5: error: possibly undefined macro: AM_GNU_GETTEXT_VERSION If this token and others are legitimate, please use m4_pattern_allow. See the Autoconf documentation. configure.ac:6: error: possibly undefined macro: AM_GNU_GETTEXT_REQUIRE_VERSION configure.ac:7: error: possibly undefined macro: AM_GNU_GETTEXT autoreconf: error: /usr/bin/autoconf failed with exit status: 1 error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.SGPbZ9 (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.SGPbZ9 (%build) I: [iurt_root_command] ERROR: chroot