D: [iurt_root_command] chroot Building target platforms: x86_64 Building for target x86_64 Installing /home/pterjan/rpmbuild/SRPMS/system-config-printer-1.5.18-5.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.ucclVe Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.nfPOVQ + umask 022 + cd /home/pterjan/rpmbuild/BUILD/system-config-printer-1.5.18-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/system-config-printer-1.5.18-build + rm -rf system-config-printer-1.5.18 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/system-config-printer-1.5.18.tar.xz + STATUS=0 + '[' 0 -ne 0 ']' + cd system-config-printer-1.5.18 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #200 (system-config-printer-1.5.0-mga_custom-applet.patch):' Patch #200 (system-config-printer-1.5.0-mga_custom-applet.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .mga_custom-applet --fuzz=0 patching file applet.py Hunk #2 succeeded at 119 (offset 8 lines). Hunk #3 succeeded at 383 (offset 8 lines). + echo 'Patch #202 (system-config-printer-1.5.6-mga_custom-system-config-printer.patch):' Patch #202 (system-config-printer-1.5.6-mga_custom-system-config-printer.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .mga_custom-system-config-printer --fuzz=0 patching file newprinter.py Hunk #2 succeeded at 1366 (offset 204 lines). Hunk #3 succeeded at 1635 (offset 336 lines). Hunk #4 succeeded at 3273 (offset 398 lines). patching file ppdsloader.py patching file system-config-printer.py Hunk #2 succeeded at 546 (offset 90 lines). Hunk #3 succeeded at 1986 (offset 156 lines). patching file udev/udev-add-printer Hunk #3 succeeded at 108 (offset 1 line). Hunk #4 succeeded at 198 (offset 1 line). Hunk #5 succeeded at 219 (offset 1 line). + echo 'Patch #203 (system-config-printer-1.5.2-start-applet.patch):' Patch #203 (system-config-printer-1.5.2-start-applet.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .start_applet --fuzz=0 patching file print-applet.desktop.in + echo 'Patch #204 (system-config-printer-1.4.4-udev-configure-printer-mga.patch):' Patch #204 (system-config-printer-1.4.4-udev-configure-printer-mga.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .udev-configue-printer-mga --fuzz=0 patching file configure.ac Hunk #1 succeeded at 61 (offset 28 lines). patching file Makefile.am Hunk #1 succeeded at 190 (offset 8 lines). patching file udev/udev-configure-printer.c Hunk #2 succeeded at 1000 (offset 7 lines). Hunk #3 succeeded at 1938 (offset 26 lines). Hunk #4 succeeded at 2033 (offset 33 lines). Hunk #5 succeeded at 2180 (offset 39 lines). Hunk #6 succeeded at 2309 (offset 72 lines). + echo 'Patch #300 (system-config-printer-1.3.7-remove-Brother-HL-2030-blacklist.patch):' Patch #300 (system-config-printer-1.3.7-remove-Brother-HL-2030-blacklist.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p0 -b --suffix .mga-1349 --fuzz=0 patching file ./xml/preferreddrivers.xml Hunk #1 succeeded at 199 (offset 7 lines). + echo 'Patch #301 (system-config-printer-1.5.5-mga_visual-artifacts.patch):' Patch #301 (system-config-printer-1.5.5-mga_visual-artifacts.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p0 -b --suffix .mga-14981 --fuzz=0 patching file system-config-printer.py Hunk #1 succeeded at 1077 (offset 77 lines). Hunk #2 succeeded at 1090 (offset 77 lines). Hunk #3 succeeded at 1109 (offset 80 lines). + echo 'Patch #302 (apply-new-udev-rules.patch):' Patch #302 (apply-new-udev-rules.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p0 --fuzz=0 patching file system-config-printer.py Hunk #1 succeeded at 550 (offset 41 lines). + echo 'Patch #303 (avoid-reinstall-of-libsane-hpaio.patch):' Patch #303 (avoid-reinstall-of-libsane-hpaio.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p0 --fuzz=0 patching file newprinter.py Hunk #1 succeeded at 1529 (offset -14 lines). + echo 'Patch #304 (system-config-printer-mga_custom-print-testpage-location.patch):' Patch #304 (system-config-printer-mga_custom-print-testpage-location.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .custom-location --fuzz=0 patching file printerproperties.py + echo 'Patch #1001 (0001-Fix-debugprint-in-options.py-fixes-291.patch):' Patch #1001 (0001-Fix-debugprint-in-options.py-fixes-291.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file options.py + sed -i 's/setup.py install --prefix=$(DESTDIR)$(prefix)/setup.py install --root $(DESTDIR) --prefix=$(prefix)/' Makefile.am Makefile.am.udev-configue-printer-mga Makefile.in + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.MzUXDs + umask 022 + cd /home/pterjan/rpmbuild/BUILD/system-config-printer-1.5.18-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 system-config-printer-1.5.18 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + ./bootstrap autopoint: *** AM_GNU_GETTEXT without 'external' argument is no longer supported in version 0.20 autopoint: *** Stop. configure.ac:4: warning: macro 'AM_GNU_GETTEXT_VERSION' not found in library configure.ac:6: warning: macro 'AM_GNU_GETTEXT' not found in library configure.ac:5: error: macro AM_GNU_GETTEXT is not defined; is a m4 file missing? /usr/share/aclocal/ax_require_defined.m4:35: AX_REQUIRE_DEFINED is expanded from... configure.ac:5: the top level autom4te: error: /usr/bin/m4 failed with exit status: 1 aclocal: error: autom4te failed with exit status: 1 aclocal.m4:17: warning: this file was generated for autoconf 2.71. You have another version of autoconf. It may work, but is not guaranteed to. If you have problems, you may need to regenerate the build system entirely. To do so, use the procedure documented by the package, typically 'autoreconf'. configure.ac:3: error: version mismatch. This is Automake 1.18.1, configure.ac:3: but the definition used by this AM_INIT_AUTOMAKE configure.ac:3: comes from Automake 1.16.5. You should run configure.ac:3: autoreconf -f (or otherwise erase all old files, run configure.ac:3: aclocal to recreate aclocal.m4, and rerun automake). aclocal.m4:17: warning: this file was generated for autoconf 2.71. You have another version of autoconf. It may work, but is not guaranteed to. If you have problems, you may need to regenerate the build system entirely. To do so, use the procedure documented by the package, typically 'autoreconf'. configure.ac:20: warning: The macro 'AC_HELP_STRING' is obsolete. configure.ac:20: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... ./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from... configure.ac:20: the top level configure.ac:67: warning: The macro 'AC_HELP_STRING' is obsolete. configure.ac:67: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... ./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from... configure.ac:67: the top level configure.ac:103: warning: The macro 'AC_HELP_STRING' is obsolete. configure.ac:103: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... ./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from... configure.ac:103: the top level + 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 + CONFIGURE_TOP=. + '[' 1 = 1 ']' ++ find . -name config.guess -o -name config.sub + for i in $(find ${CONFIGURE_TOP} -name config.guess -o -name config.sub) ++ basename ./config.guess + '[' -f /usr/lib/rpm/mageia/config.guess ']' ++ basename ./config.guess + cp -af /usr/lib/rpm/mageia/config.guess ./config.guess + for i in $(find ${CONFIGURE_TOP} -name config.guess -o -name config.sub) ++ basename ./config.sub + '[' -f /usr/lib/rpm/mageia/config.sub ']' ++ basename ./config.sub + cp -af /usr/lib/rpm/mageia/config.sub ./config.sub + /usr/lib/rpm/mageia/force-as-needed-for-shared-lib-in-libtool Forcing -Wl,--as-needed in configure/libtool to workaround libtool bug (cf http://lists.gnu.org/archive/html/libtool-patches/2004-06/msg00002.html) + /usr/lib/rpm/mageia/drop-ld-no-undefined-for-shared-lib-modules-in-libtool + /usr/lib/rpm/mageia/fix-libtool-ltmain-from-overlinking + /usr/lib/rpm/mageia/fix-libtool-from-moving-options-after-libs . + /usr/lib/rpm/mageia/fix-dlsearch-path-in-libtool-for-multilib . lib64 + ./configure --host=x86_64-mageia-linux-gnu --build=x86_64-mageia-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 --with-systemdsystemunitdir=/usr/lib/systemd/system --with-udev-rules checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a race-free mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking for a sed that does not truncate output... /usr/bin/sed 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 whether make supports the include directive... yes (GNU style) checking for x86_64-mageia-linux-gnu-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 the compiler supports GNU C... yes checking whether gcc accepts -g... yes checking for gcc option to enable C11 features... none needed checking whether gcc understands -c and -o together... yes checking dependency style of gcc... none checking build system type... x86_64-mageia-linux-gnu checking host system type... x86_64-mageia-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 32-bit host C ABI... no checking how to run the C preprocessor... gcc -E checking for egrep -e... /usr/bin/grep -E checking for ELF binary format... yes checking for the common suffixes of directories in the library search path... lib,lib,lib64 checking for CFPreferencesCopyAppValue... no checking for CFLocaleCopyPreferredLanguages... no checking for GNU gettext in libc... yes checking whether to use NLS... yes checking where the gettext function comes from... libc checking for a Python interpreter with version >= 3... python checking for python... /usr/bin/python checking for python version... 3.13 checking for python platform... linux checking for GNU default python prefix... ${prefix} checking for GNU default python exec_prefix... ${exec_prefix} checking for python script directory (pythondir)... ${PYTHON_PREFIX}/lib/python3.13/site-packages checking for python extension module directory (pyexecdir)... ${PYTHON_EXEC_PREFIX}/lib64/python3.13/site-packages checking for x86_64-mageia-linux-gnu-pkg-config... /usr/bin/x86_64-mageia-linux-gnu-pkg-config checking pkg-config is at least version 0.9.0... yes checking for CUPS SERVERBIN dir... /usr/lib/cups checking for GLIB... yes checking for DBUS... yes checking for DBUSGLIB... yes checking for libudev... yes checking for libusb... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating po/Makefile.in config.status: creating system-config-printer config.status: creating system-config-printer-applet config.status: creating install-printerdriver config.status: creating dbus/scp-dbus-service config.status: creating udev/configure-printer@.service config.status: executing po-directories commands config.status: creating po/POTFILES config.status: creating po/Makefile config.status: executing depfiles commands + /usr/bin/make CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh '/home/pterjan/rpmbuild/BUILD/system-config-printer-1.5.18-build/system-config-printer-1.5.18/missing' aclocal-1.16 configure.ac:4: warning: macro 'AM_GNU_GETTEXT_VERSION' not found in library configure.ac:6: warning: macro 'AM_GNU_GETTEXT' not found in library configure.ac:5: error: macro AM_GNU_GETTEXT is not defined; is a m4 file missing? /usr/share/aclocal/ax_require_defined.m4:35: AX_REQUIRE_DEFINED is expanded from... configure.ac:5: the top level autom4te: error: /usr/bin/m4 failed with exit status: 1 aclocal-1.16: error: autom4te failed with exit status: 1 make: *** [Makefile:828: aclocal.m4] Error 1 error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.MzUXDs (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.MzUXDs (%build) I: [iurt_root_command] ERROR: chroot