D: [iurt_root_command] chroot Building target platforms: x86_64 Building for target x86_64 Installing /home/pterjan/rpmbuild/SRPMS/sniproxy-0.6.1-5.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.EFhdJa Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.HnYFUC + umask 022 + cd /home/pterjan/rpmbuild/BUILD/sniproxy-0.6.1-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/sniproxy-0.6.1-build + rm -rf sniproxy-0.6.1 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/sniproxy-0.6.1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd sniproxy-0.6.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/ports-tests-0.4.0.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/sniproxy_pcre2.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f patch unexpectedly ends in middle of line + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/sniproxy-0.6.1-mga-skip-tests.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.7QBvUt + umask 022 + cd /home/pterjan/rpmbuild/BUILD/sniproxy-0.6.1-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 sniproxy-0.6.1 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + export '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 -std=gnu17' + 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 -std=gnu17' + ./autogen.sh ./setver.sh: line 35: debchange: command not found configure.ac:10: warning: The macro 'AC_GNU_SOURCE' is obsolete. configure.ac:10: You should run autoupdate. ./lib/autoconf/specific.m4:489: AC_GNU_SOURCE is expanded from... configure.ac:10: the top level configure.ac:13: warning: The macro 'AC_PROG_CC_C99' is obsolete. configure.ac:13: You should run autoupdate. ./lib/autoconf/c.m4:1662: AC_PROG_CC_C99 is expanded from... configure.ac:13: the top level configure.ac:19: warning: AC_LIB_PREPARE_PREFIX is m4_require'd but not m4_defun'd m4/lib-link.m4:57: AC_LIB_HAVE_LINKFLAGS is expanded from... aclocal.m4:170: PKG_CHECK_MODULES is expanded from... configure.ac:19: the top level configure.ac:19: warning: AC_LIB_PROG_LD is m4_require'd but not m4_defun'd m4/lib-link.m4:125: AC_LIB_RPATH is expanded from... m4/lib-link.m4:57: AC_LIB_HAVE_LINKFLAGS is expanded from... aclocal.m4:170: PKG_CHECK_MODULES is expanded from... configure.ac:19: the top level configure.ac:19: warning: AC_LIB_PREPARE_MULTILIB is m4_require'd but not m4_defun'd m4/lib-link.m4:181: AC_LIB_LINKFLAGS_BODY is expanded from... m4/lib-link.m4:57: AC_LIB_HAVE_LINKFLAGS is expanded from... aclocal.m4:170: PKG_CHECK_MODULES is expanded from... configure.ac:19: the top level configure.ac:30: warning: AC_LIB_PREPARE_PREFIX is m4_require'd but not m4_defun'd m4/lib-link.m4:57: AC_LIB_HAVE_LINKFLAGS is expanded from... aclocal.m4:170: PKG_CHECK_MODULES is expanded from... configure.ac:30: the top level configure.ac:30: warning: AC_LIB_PREPARE_MULTILIB is m4_require'd but not m4_defun'd m4/lib-link.m4:181: AC_LIB_LINKFLAGS_BODY is expanded from... m4/lib-link.m4:57: AC_LIB_HAVE_LINKFLAGS is expanded from... aclocal.m4:170: PKG_CHECK_MODULES is expanded from... configure.ac:30: the top level configure.ac:48: warning: AC_LIB_PREPARE_PREFIX is m4_require'd but not m4_defun'd m4/lib-link.m4:57: AC_LIB_HAVE_LINKFLAGS is expanded from... aclocal.m4:170: PKG_CHECK_MODULES is expanded from... lib/m4sugar/m4sh.m4:697: AS_IF is expanded from... configure.ac:48: the top level configure.ac:48: warning: AC_LIB_PREPARE_MULTILIB is m4_require'd but not m4_defun'd m4/lib-link.m4:181: AC_LIB_LINKFLAGS_BODY is expanded from... m4/lib-link.m4:57: AC_LIB_HAVE_LINKFLAGS is expanded from... aclocal.m4:170: PKG_CHECK_MODULES is expanded from... lib/m4sugar/m4sh.m4:697: AS_IF is expanded from... configure.ac:48: the top level configure:5209: error: possibly undefined macro: AC_LIB_PREPARE_PREFIX If this token and others are legitimate, please use m4_pattern_allow. See the Autoconf documentation. configure:5210: error: possibly undefined macro: AC_LIB_PROG_LD configure:5327: error: possibly undefined macro: AC_LIB_PREPARE_MULTILIB configure:5403: error: possibly undefined macro: AC_LIB_WITH_FINAL_PREFIX autoreconf: error: /usr/bin/autoconf failed with exit status: 1 + 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 -std=gnu17' + 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 --disable-dependency-tracking checking for a BSD-compatible install... /usr/bin/install -c checking whether sleep supports fractional seconds... yes checking filesystem timestamp resolution... 0.01 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 xargs -n works... yes checking whether UID '500' is supported by ustar format... yes checking whether GID '1001' is supported by ustar format... yes checking how to create a ustar tar archive... gnutar 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 for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for wchar.h... yes checking for minix/config.h... no checking for vfork.h... no checking whether it is safe to define __EXTENSIONS__... yes checking whether _XOPEN_SOURCE should be defined... no 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 ./configure: line 5209: AC_LIB_PREPARE_PREFIX: command not found ./configure: line 5210: AC_LIB_PROG_LD: command not found checking build system type... x86_64-mageia-linux-gnu checking host system type... x86_64-mageia-linux-gnu checking for shared library run path origin... done ./configure: line 5327: AC_LIB_PREPARE_MULTILIB: command not found ./configure: line 5328: AC_LIB_PREPARE_PREFIX: command not found ./configure: line 5329: AC_LIB_PREPARE_MULTILIB: command not found checking for libev... ./configure: line 5403: syntax error near unexpected token `newline' ./configure: line 5403: ` AC_LIB_WITH_FINAL_PREFIX(' error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.7QBvUt (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.7QBvUt (%build) I: [iurt_root_command] ERROR: chroot