D: [iurt_root_command] chroot Installing /home/pterjan/rpmbuild/SRPMS/jnettop-0.13.0-19.mga10.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.F3E1yP + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf jnettop-0.13.0 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/jnettop-0.13.0.tar.bz2 + STATUS=0 + '[' 0 -ne 0 ']' + cd jnettop-0.13.0 + rm -rf /home/pterjan/rpmbuild/BUILD/jnettop-0.13.0-SPECPARTS + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/jnettop-0.13.0-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/jnettop-respect-cflags.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/jnettop-0.13.0-automake-1.13.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/jnettop-0.13.0-literalformat.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.y7Fsiy + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd jnettop-0.13.0 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + autoreconf -fi acinclude.m4:14: warning: underquoted definition of AC_NETTOP_GCC_FLAGS acinclude.m4:14: run info Automake 'Extending aclocal' acinclude.m4:14: or see https://www.gnu.org/software/automake/manual/automake.html#Extending-aclocal configure.ac:15: warning: The macro 'AC_HEADER_STDC' is obsolete. configure.ac:15: You should run autoupdate. ./lib/autoconf/headers.m4:663: AC_HEADER_STDC is expanded from... configure.ac:15: the top level 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... configure.ac:20: the top level configure.ac:31: warning: The macro 'AC_HELP_STRING' is obsolete. configure.ac:31: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:31: the top level configure.ac:39: warning: The macro 'AC_HELP_STRING' is obsolete. configure.ac:39: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:39: the top level configure.ac:48: warning: The macro 'AC_HELP_STRING' is obsolete. configure.ac:48: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:48: the top level configure.ac:61: warning: The macro 'AC_TRY_COMPILE' is obsolete. configure.ac:61: You should run autoupdate. ./lib/autoconf/general.m4:2845: AC_TRY_COMPILE is expanded from... acinclude.m4:217: AC_NETTOP_CHECK_PCAP_FREECODE is expanded from... configure.ac:61: the top level configure.ac:61: warning: The macro 'AC_TRY_COMPILE' is obsolete. configure.ac:61: You should run autoupdate. ./lib/autoconf/general.m4:2845: AC_TRY_COMPILE is expanded from... lib/m4sugar/m4sh.m4:690: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:697: AS_IF is expanded from... ./lib/autoconf/general.m4:2821: _AC_COMPILE_IFELSE is expanded from... ./lib/autoconf/general.m4:2837: AC_COMPILE_IFELSE is expanded from... ./lib/autoconf/general.m4:2845: AC_TRY_COMPILE is expanded from... acinclude.m4:217: AC_NETTOP_CHECK_PCAP_FREECODE is expanded from... configure.ac:61: the top level configure.ac:62: warning: The macro 'AC_TRY_COMPILE' is obsolete. configure.ac:62: You should run autoupdate. ./lib/autoconf/general.m4:2845: AC_TRY_COMPILE is expanded from... acinclude.m4:173: AC_NETTOP_CHECK_IN6_ADDR is expanded from... configure.ac:62: the top level configure.ac:62: warning: The macro 'AC_TRY_COMPILE' is obsolete. configure.ac:62: You should run autoupdate. ./lib/autoconf/general.m4:2845: AC_TRY_COMPILE is expanded from... lib/m4sugar/m4sh.m4:690: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:697: AS_IF is expanded from... ./lib/autoconf/general.m4:2821: _AC_COMPILE_IFELSE is expanded from... ./lib/autoconf/general.m4:2837: AC_COMPILE_IFELSE is expanded from... ./lib/autoconf/general.m4:2845: AC_TRY_COMPILE is expanded from... acinclude.m4:173: AC_NETTOP_CHECK_IN6_ADDR is expanded from... configure.ac:62: the top level configure.ac:62: warning: The macro 'AC_TRY_COMPILE' is obsolete. configure.ac:62: You should run autoupdate. ./lib/autoconf/general.m4:2845: AC_TRY_COMPILE is expanded from... lib/m4sugar/m4sh.m4:690: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:697: AS_IF is expanded from... ./lib/autoconf/general.m4:2821: _AC_COMPILE_IFELSE is expanded from... ./lib/autoconf/general.m4:2837: AC_COMPILE_IFELSE is expanded from... ./lib/autoconf/general.m4:2845: AC_TRY_COMPILE is expanded from... lib/m4sugar/m4sh.m4:690: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:697: AS_IF is expanded from... ./lib/autoconf/general.m4:2821: _AC_COMPILE_IFELSE is expanded from... ./lib/autoconf/general.m4:2837: AC_COMPILE_IFELSE is expanded from... ./lib/autoconf/general.m4:2845: AC_TRY_COMPILE is expanded from... acinclude.m4:173: AC_NETTOP_CHECK_IN6_ADDR is expanded from... configure.ac:62: the top level configure.ac:66: warning: The macro 'AC_TRY_RUN' is obsolete. configure.ac:66: You should run autoupdate. ./lib/autoconf/general.m4:2995: AC_TRY_RUN is expanded from... acinclude.m4:150: AC_NETTOP_CHECK_WORKING_RESOLVER is expanded from... configure.ac:66: 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... acinclude.m4:251: AC_NETTOP_CHECK_GETHOSTBYADDR_R is expanded from... configure.ac:67: the top level configure.ac:67: warning: The macro 'AC_TRY_COMPILE' is obsolete. configure.ac:67: You should run autoupdate. ./lib/autoconf/general.m4:2845: AC_TRY_COMPILE is expanded from... lib/m4sugar/m4sh.m4:697: AS_IF is expanded from... ./lib/autoconf/functions.m4:66: AC_CHECK_FUNC is expanded from... lib/m4sugar/m4sh.m4:652: AS_FOR is expanded from... ./lib/autoconf/functions.m4:117: AC_CHECK_FUNCS is expanded from... acinclude.m4:251: AC_NETTOP_CHECK_GETHOSTBYADDR_R is expanded from... configure.ac:67: the top level configure.ac:67: warning: The macro 'AC_TRY_COMPILE' is obsolete. configure.ac:67: You should run autoupdate. ./lib/autoconf/general.m4:2845: AC_TRY_COMPILE is expanded from... lib/m4sugar/m4sh.m4:690: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:697: AS_IF is expanded from... ./lib/autoconf/general.m4:2821: _AC_COMPILE_IFELSE is expanded from... ./lib/autoconf/general.m4:2837: AC_COMPILE_IFELSE is expanded from... ./lib/autoconf/general.m4:2845: AC_TRY_COMPILE is expanded from... lib/m4sugar/m4sh.m4:697: AS_IF is expanded from... ./lib/autoconf/functions.m4:66: AC_CHECK_FUNC is expanded from... lib/m4sugar/m4sh.m4:652: AS_FOR is expanded from... ./lib/autoconf/functions.m4:117: AC_CHECK_FUNCS is expanded from... acinclude.m4:251: AC_NETTOP_CHECK_GETHOSTBYADDR_R is expanded from... configure.ac:67: the top level configure.ac:67: warning: The macro 'AC_TRY_COMPILE' is obsolete. configure.ac:67: You should run autoupdate. ./lib/autoconf/general.m4:2845: AC_TRY_COMPILE is expanded from... lib/m4sugar/m4sh.m4:690: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:697: AS_IF is expanded from... ./lib/autoconf/general.m4:2821: _AC_COMPILE_IFELSE is expanded from... ./lib/autoconf/general.m4:2837: AC_COMPILE_IFELSE is expanded from... ./lib/autoconf/general.m4:2845: AC_TRY_COMPILE is expanded from... lib/m4sugar/m4sh.m4:690: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:697: AS_IF is expanded from... ./lib/autoconf/general.m4:2821: _AC_COMPILE_IFELSE is expanded from... ./lib/autoconf/general.m4:2837: AC_COMPILE_IFELSE is expanded from... ./lib/autoconf/general.m4:2845: AC_TRY_COMPILE is expanded from... lib/m4sugar/m4sh.m4:697: AS_IF is expanded from... ./lib/autoconf/functions.m4:66: AC_CHECK_FUNC is expanded from... lib/m4sugar/m4sh.m4:652: AS_FOR is expanded from... ./lib/autoconf/functions.m4:117: AC_CHECK_FUNCS is expanded from... acinclude.m4:251: AC_NETTOP_CHECK_GETHOSTBYADDR_R is expanded from... configure.ac:67: the top level configure.ac:77: warning: The macro 'AC_CONFIG_HEADER' is obsolete. configure.ac:77: You should run autoupdate. ./lib/autoconf/status.m4:719: AC_CONFIG_HEADER is expanded from... configure.ac:77: the top level configure.ac:9: installing './compile' Makefile.am:3: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') + 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 + /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 checking for a BSD-compatible install... /usr/bin/install -c checking whether sleep supports fractional seconds... true 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 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 whether make supports the include directive... yes (GNU style) 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 grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for arpa/inet.h... yes checking for netdb.h... yes checking for netinet/in.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for sys/socket.h... yes checking for sys/sockio.h... no checking for wbkgdset in -lncurses... yes checking for ncurses.h... yes checking for ncurses/ncurses.h... yes checking for syslog.h... yes checking for db.h... no checking for db_create in -ldb... no checking for an ANSI C-conforming const... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for gethostbyname... yes checking for connect... yes checking for extraneous pcap header directories... found -- -I/usr/include/pcap -I/usr/include added to CFLAGS checking for pcap.h... yes checking for pcap_open_live in -lpcap... yes checking if pcap_freecode takes 2 arguments... no checking if pcap_freecode takes 1 argument... yes checking if struct in6_addr contains s6_addr32 member... yes checking if "localhost" resolves... no configure: error: can't figure out gethostbyname_r() since localhost doesn't resolve error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.y7Fsiy (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.y7Fsiy (%build) I: [iurt_root_command] ERROR: chroot