D: [iurt_root_command] chroot warning: line 42: It's not recommended to have unversioned Obsoletes: Obsoletes: lib64nids1-devel warning: %patchN is deprecated (3 usages found), use %patch N (or %patch -P N) Installing /home/pterjan/rpmbuild/SRPMS/libnids-1.26-1.mga10.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.FyZOES + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf libnids-1.26 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/libnids-1.26.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd libnids-1.26 + rm -rf /home/pterjan/rpmbuild/BUILD/libnids-1.26-SPECPARTS + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/libnids-1.26-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (libnids-1.18-libnet_config.diff):' Patch #0 (libnids-1.18-libnet_config.diff): + /usr/bin/patch --no-backup-if-mismatch -f -p0 --fuzz=0 patching file configure.in Hunk #1 succeeded at 142 (offset 15 lines). Hunk #2 succeeded at 162 (offset 15 lines). + echo 'Patch #1 (libnids-1.19-x86-pic.diff):' Patch #1 (libnids-1.19-x86-pic.diff): + /usr/bin/patch --no-backup-if-mismatch -f -p0 --fuzz=0 patching file src/checksum.c Hunk #1 succeeded at 50 (offset 21 lines). Hunk #2 succeeded at 106 (offset 21 lines). + echo 'Patch #2 (libnids-1.24-no-inline.patch):' Patch #2 (libnids-1.24-no-inline.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file src/checksum.c + perl -pi -e 's|^LIBSHARED.*|LIBSHARED = libnids.so.1|g' src/Makefile.in + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.vRcp1E + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd libnids-1.26 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + autoreconf -vfi autoreconf: export WARNINGS= autoreconf: warning: autoconf input should be named 'configure.ac', not 'configure.in' autoreconf: Entering directory '.' autoreconf: configure.in: not using Gettext autoreconf: running: aclocal --force aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in' autoreconf: configure.in: tracing autoreconf: configure.in: not using Libtool autoreconf: configure.in: not using Intltool autoreconf: configure.in: not using Gtkdoc autoreconf: running: /usr/bin/autoconf --force configure.in:9: warning: The macro 'AC_CANONICAL_SYSTEM' is obsolete. configure.in:9: You should run autoupdate. ./lib/autoconf/general.m4:2081: AC_CANONICAL_SYSTEM is expanded from... configure.in:9: the top level configure.in:11: warning: The macro 'AC_CONFIG_HEADER' is obsolete. configure.in:11: You should run autoupdate. ./lib/autoconf/status.m4:719: AC_CONFIG_HEADER is expanded from... configure.in:11: the top level configure.in:29: warning: The macro 'AC_HEADER_STDC' is obsolete. configure.in:29: You should run autoupdate. ./lib/autoconf/headers.m4:663: AC_HEADER_STDC is expanded from... configure.in:29: the top level configure.in:35: warning: The macro 'AC_HEADER_TIME' is obsolete. configure.in:35: You should run autoupdate. ./lib/autoconf/headers.m4:702: AC_HEADER_TIME is expanded from... configure.in:35: the top level configure.in:60: warning: The macro 'AC_ERROR' is obsolete. configure.in:60: You should run autoupdate. ./lib/autoconf/oldnames.m4:34: AC_ERROR is expanded from... lib/m4sugar/m4sh.m4:697: AS_IF is expanded from... ./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from... configure.in:60: the top level configure.in:60: warning: The macro 'AC_TRY_LINK' is obsolete. configure.in:60: You should run autoupdate. ./lib/autoconf/general.m4:2918: AC_TRY_LINK 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:1553: AC_ARG_WITH is expanded from... configure.in:60: the top level configure.in:60: warning: The macro 'AC_ERROR' is obsolete. configure.in:60: You should run autoupdate. ./lib/autoconf/oldnames.m4:34: AC_ERROR 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:1553: AC_ARG_WITH is expanded from... configure.in:60: the top level configure.in:118: warning: The macro 'AC_ERROR' is obsolete. configure.in:118: You should run autoupdate. ./lib/autoconf/oldnames.m4:34: AC_ERROR is expanded from... lib/m4sugar/m4sh.m4:697: AS_IF is expanded from... ./lib/autoconf/general.m4:1534: AC_ARG_ENABLE is expanded from... configure.in:118: the top level configure.in:134: warning: The macro 'AC_ERROR' is obsolete. configure.in:134: You should run autoupdate. ./lib/autoconf/oldnames.m4:34: AC_ERROR is expanded from... lib/m4sugar/m4sh.m4:697: AS_IF is expanded from... ./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from... configure.in:134: the top level configure.in:182: warning: The macro 'AC_TRY_LINK' is obsolete. configure.in:182: You should run autoupdate. ./lib/autoconf/general.m4:2918: AC_TRY_LINK is expanded from... configure.in:182: the top level configure.in:191: warning: The macro 'AC_ERROR' is obsolete. configure.in:191: You should run autoupdate. ./lib/autoconf/oldnames.m4:34: AC_ERROR is expanded from... configure.in:191: the top level configure.in:200: warning: The macro 'AC_ERROR' is obsolete. configure.in:200: You should run autoupdate. ./lib/autoconf/oldnames.m4:34: AC_ERROR is expanded from... lib/m4sugar/m4sh.m4:697: AS_IF is expanded from... ./lib/autoconf/general.m4:1534: AC_ARG_ENABLE is expanded from... configure.in:200: the top level configure.in:219: warning: The macro 'AC_TRY_COMPILE' is obsolete. configure.in:219: You should run autoupdate. ./lib/autoconf/general.m4:2845: AC_TRY_COMPILE is expanded from... configure.in:219: the top level configure.in:228: warning: The macro 'AC_TRY_COMPILE' is obsolete. configure.in:228: You should run autoupdate. ./lib/autoconf/general.m4:2845: AC_TRY_COMPILE is expanded from... configure.in:228: the top level configure.in:237: warning: The macro 'AC_TRY_COMPILE' is obsolete. configure.in:237: You should run autoupdate. ./lib/autoconf/general.m4:2845: AC_TRY_COMPILE is expanded from... configure.in:237: the top level configure.in:248: warning: The macro 'AC_TRY_COMPILE' is obsolete. configure.in:248: You should run autoupdate. ./lib/autoconf/general.m4:2845: AC_TRY_COMPILE is expanded from... configure.in:248: the top level configure.in:256: warning: AC_OUTPUT should be used without arguments. configure.in:256: You should run autoupdate. autoreconf: running: /usr/bin/autoheader --force autoheader: warning: autoconf input should be named 'configure.ac', not 'configure.in' autoreconf: configure.in: not using Automake autoreconf: './config.sub' is updated autoreconf: './config.guess' is updated autoreconf: './install-sh' is updated autoreconf: Leaving directory '.' + 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 -fPIC' + 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 -fPIC' + 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 -fPIC' + 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 --enable-shared --enable-static configure: WARNING: unrecognized options: --disable-dependency-tracking, --enable-static checking build system type... x86_64-mageia-linux-gnu checking host system type... x86_64-mageia-linux-gnu checking target system type... x86_64-mageia-linux-gnu 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 for x86_64-mageia-linux-gnu-ranlib... no checking for ranlib... ranlib checking for a BSD-compatible install... /usr/bin/install -c 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 sys/time.h... yes checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for sys/time.h... (cached) yes checking for syslog.h... yes checking for unistd.h... (cached) yes checking for an ANSI C-conforming const... yes checking for inline... inline checking whether byte ordering is bigendian... no checking for gettimeofday... yes checking for socket in -lsocket... no checking for gethostbyname in -lnsl... no checking for libpcap... yes 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 glib-2.0 >= 2.2.0... yes checking for gthread-2.0 >= 2.2.0... yes checking for g_thread_init in -lgthread-2.0... yes checking for libnet... yes checking whether to build shared library... yes checking the name of struct icmp... struct icmphdr checking if tcp states are defined... yes checking for bsd-ish struct udphdr... yes checking libnet version... looks new configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: WARNING: 'src/Makefile.in' seems to ignore the --datarootdir setting config.status: creating samples/Makefile config.status: creating src/config.h configure: WARNING: unrecognized options: --disable-dependency-tracking, --enable-static + /usr/bin/make -O -j16 V=1 VERBOSE=1 shared static cd src ; /usr/bin/make shared cd src ; /usr/bin/make static make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/libnids-1.26/src' gcc -fPIC -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 -fPIC -D_BSD_SOURCE -DLIBNET_VER=1 -DHAVE_ICMPHDR=1 -DHAVE_TCP_STATES=1 -DHAVE_BSD_UDPHDR=1 -I. -I/usr/include -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -c checksum.c -o checksum_pic.o In file included from /usr/include/sys/types.h:25, from checksum.c:2: /usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libnids-1.26/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/libnids-1.26/src' gcc -c -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 -fPIC -D_BSD_SOURCE -DLIBNET_VER=1 -DHAVE_ICMPHDR=1 -DHAVE_TCP_STATES=1 -DHAVE_BSD_UDPHDR=1 -I. -I/usr/include -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread checksum.c In file included from /usr/include/sys/types.h:25, from checksum.c:2: /usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libnids-1.26/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/libnids-1.26/src' gcc -c -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 -fPIC -D_BSD_SOURCE -DLIBNET_VER=1 -DHAVE_ICMPHDR=1 -DHAVE_TCP_STATES=1 -DHAVE_BSD_UDPHDR=1 -I. -I/usr/include -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread ip_options.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/string.h:26, from ip_options.c:6: /usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libnids-1.26/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/libnids-1.26/src' gcc -c -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 -fPIC -D_BSD_SOURCE -DLIBNET_VER=1 -DHAVE_ICMPHDR=1 -DHAVE_TCP_STATES=1 -DHAVE_BSD_UDPHDR=1 -I. -I/usr/include -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread util.c In file included from /usr/include/sys/types.h:25, from util.c:7: /usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libnids-1.26/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/libnids-1.26/src' gcc -c -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 -fPIC -D_BSD_SOURCE -DLIBNET_VER=1 -DHAVE_ICMPHDR=1 -DHAVE_TCP_STATES=1 -DHAVE_BSD_UDPHDR=1 -I. -I/usr/include -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread allpromisc.c In file included from /usr/include/sys/types.h:25, from nids.h:9, from allpromisc.c:1: /usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libnids-1.26/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/libnids-1.26/src' gcc -fPIC -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 -fPIC -D_BSD_SOURCE -DLIBNET_VER=1 -DHAVE_ICMPHDR=1 -DHAVE_TCP_STATES=1 -DHAVE_BSD_UDPHDR=1 -I. -I/usr/include -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -c ip_options.c -o ip_options_pic.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/string.h:26, from ip_options.c:6: /usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libnids-1.26/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/libnids-1.26/src' gcc -fPIC -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 -fPIC -D_BSD_SOURCE -DLIBNET_VER=1 -DHAVE_ICMPHDR=1 -DHAVE_TCP_STATES=1 -DHAVE_BSD_UDPHDR=1 -I. -I/usr/include -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -c killtcp.c -o killtcp_pic.o In file included from /usr/include/sys/types.h:25, from killtcp.c:7: /usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libnids-1.26/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/libnids-1.26/src' gcc -c -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 -fPIC -D_BSD_SOURCE -DLIBNET_VER=1 -DHAVE_ICMPHDR=1 -DHAVE_TCP_STATES=1 -DHAVE_BSD_UDPHDR=1 -I. -I/usr/include -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread killtcp.c In file included from /usr/include/sys/types.h:25, from killtcp.c:7: /usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libnids-1.26/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/libnids-1.26/src' gcc -c -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 -fPIC -D_BSD_SOURCE -DLIBNET_VER=1 -DHAVE_ICMPHDR=1 -DHAVE_TCP_STATES=1 -DHAVE_BSD_UDPHDR=1 -I. -I/usr/include -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread scan.c In file included from /usr/include/sys/types.h:25, from scan.c:6: /usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libnids-1.26/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/libnids-1.26/src' gcc -c -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 -fPIC -D_BSD_SOURCE -DLIBNET_VER=1 -DHAVE_ICMPHDR=1 -DHAVE_TCP_STATES=1 -DHAVE_BSD_UDPHDR=1 -I. -I/usr/include -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread hash.c In file included from /usr/include/sys/types.h:25, from hash.c:1: /usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ hash.c: In function 'getrnd': hash.c:18:7: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 18 | read (fd, xor, 12); | ^~~~~~~~~~~~~~~~~~ hash.c:19:7: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 19 | read (fd, perm, 12); | ^~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libnids-1.26/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/libnids-1.26/src' gcc -fPIC -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 -fPIC -D_BSD_SOURCE -DLIBNET_VER=1 -DHAVE_ICMPHDR=1 -DHAVE_TCP_STATES=1 -DHAVE_BSD_UDPHDR=1 -I. -I/usr/include -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -c allpromisc.c -o allpromisc_pic.o In file included from /usr/include/sys/types.h:25, from nids.h:9, from allpromisc.c:1: /usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libnids-1.26/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/libnids-1.26/src' gcc -fPIC -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 -fPIC -D_BSD_SOURCE -DLIBNET_VER=1 -DHAVE_ICMPHDR=1 -DHAVE_TCP_STATES=1 -DHAVE_BSD_UDPHDR=1 -I. -I/usr/include -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -c scan.c -o scan_pic.o In file included from /usr/include/sys/types.h:25, from scan.c:6: /usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libnids-1.26/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/libnids-1.26/src' gcc -fPIC -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 -fPIC -D_BSD_SOURCE -DLIBNET_VER=1 -DHAVE_ICMPHDR=1 -DHAVE_TCP_STATES=1 -DHAVE_BSD_UDPHDR=1 -I. -I/usr/include -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -c util.c -o util_pic.o In file included from /usr/include/sys/types.h:25, from util.c:7: /usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libnids-1.26/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/libnids-1.26/src' gcc -fPIC -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 -fPIC -D_BSD_SOURCE -DLIBNET_VER=1 -DHAVE_ICMPHDR=1 -DHAVE_TCP_STATES=1 -DHAVE_BSD_UDPHDR=1 -I. -I/usr/include -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -c hash.c -o hash_pic.o In file included from /usr/include/sys/types.h:25, from hash.c:1: /usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ hash.c: In function 'getrnd': hash.c:18:7: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 18 | read (fd, xor, 12); | ^~~~~~~~~~~~~~~~~~ hash.c:19:7: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 19 | read (fd, perm, 12); | ^~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libnids-1.26/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/libnids-1.26/src' gcc -c -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 -fPIC -D_BSD_SOURCE -DLIBNET_VER=1 -DHAVE_ICMPHDR=1 -DHAVE_TCP_STATES=1 -DHAVE_BSD_UDPHDR=1 -I. -I/usr/include -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread ip_fragment.c In file included from /usr/include/sys/types.h:25, from ip_fragment.c:7: /usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libnids-1.26/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/libnids-1.26/src' gcc -fPIC -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 -fPIC -D_BSD_SOURCE -DLIBNET_VER=1 -DHAVE_ICMPHDR=1 -DHAVE_TCP_STATES=1 -DHAVE_BSD_UDPHDR=1 -I. -I/usr/include -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -c ip_fragment.c -o ip_fragment_pic.o In file included from /usr/include/sys/types.h:25, from ip_fragment.c:7: /usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libnids-1.26/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/libnids-1.26/src' gcc -c -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 -fPIC -D_BSD_SOURCE -DLIBNET_VER=1 -DHAVE_ICMPHDR=1 -DHAVE_TCP_STATES=1 -DHAVE_BSD_UDPHDR=1 -I. -I/usr/include -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread libnids.c In file included from /usr/include/sys/types.h:25, from libnids.c:7: /usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ libnids.c: In function 'open_live': libnids.c:513:9: warning: 'pcap_lookupdev' is deprecated: use 'pcap_findalldevs' and use the first device [-Wdeprecated-declarations] 513 | nids_params.device = pcap_lookupdev(nids_errbuf); | ^~~~~~~~~~~ In file included from /usr/include/pcap.h:43, from libnids.c:18: /usr/include/pcap/pcap.h:395:18: note: declared here 395 | PCAP_API char *pcap_lookupdev(char *); | ^~~~~~~~~~~~~~ libnids.c: In function 'nids_init': libnids.c:673:10: warning: 'g_thread_init' is deprecated [-Wdeprecated-declarations] 673 | g_thread_init(NULL); | ^~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:115, from libnids.c:32: /usr/include/glib-2.0/glib/deprecated/gthread.h:271:10: note: declared here 271 | void g_thread_init (gpointer vtable); | ^~~~~~~~~~~~~ libnids.c: In function 'nids_run': libnids.c:690:5: warning: 'g_thread_create_full' is deprecated: Use 'g_thread_new' instead [-Wdeprecated-declarations] 690 | START_CAP_QUEUE_PROCESS_THREAD(); /* threading... */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gthread.h:108:10: note: declared here 108 | GThread *g_thread_create_full (GThreadFunc func, | ^~~~~~~~~~~~~~~~~~~~ libnids.c: In function 'nids_next': libnids.c:750:5: warning: 'g_thread_create_full' is deprecated: Use 'g_thread_new' instead [-Wdeprecated-declarations] 750 | START_CAP_QUEUE_PROCESS_THREAD(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gthread.h:108:10: note: declared here 108 | GThread *g_thread_create_full (GThreadFunc func, | ^~~~~~~~~~~~~~~~~~~~ libnids.c: In function 'nids_dispatch': libnids.c:764:5: warning: 'g_thread_create_full' is deprecated: Use 'g_thread_new' instead [-Wdeprecated-declarations] 764 | START_CAP_QUEUE_PROCESS_THREAD(); /* threading... */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gthread.h:108:10: note: declared here 108 | GThread *g_thread_create_full (GThreadFunc func, | ^~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libnids-1.26/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/libnids-1.26/src' gcc -fPIC -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 -fPIC -D_BSD_SOURCE -DLIBNET_VER=1 -DHAVE_ICMPHDR=1 -DHAVE_TCP_STATES=1 -DHAVE_BSD_UDPHDR=1 -I. -I/usr/include -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -c libnids.c -o libnids_pic.o In file included from /usr/include/sys/types.h:25, from libnids.c:7: /usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ libnids.c: In function 'open_live': libnids.c:513:9: warning: 'pcap_lookupdev' is deprecated: use 'pcap_findalldevs' and use the first device [-Wdeprecated-declarations] 513 | nids_params.device = pcap_lookupdev(nids_errbuf); | ^~~~~~~~~~~ In file included from /usr/include/pcap.h:43, from libnids.c:18: /usr/include/pcap/pcap.h:395:18: note: declared here 395 | PCAP_API char *pcap_lookupdev(char *); | ^~~~~~~~~~~~~~ libnids.c: In function 'nids_init': libnids.c:673:10: warning: 'g_thread_init' is deprecated [-Wdeprecated-declarations] 673 | g_thread_init(NULL); | ^~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:115, from libnids.c:32: /usr/include/glib-2.0/glib/deprecated/gthread.h:271:10: note: declared here 271 | void g_thread_init (gpointer vtable); | ^~~~~~~~~~~~~ libnids.c: In function 'nids_run': libnids.c:690:5: warning: 'g_thread_create_full' is deprecated: Use 'g_thread_new' instead [-Wdeprecated-declarations] 690 | START_CAP_QUEUE_PROCESS_THREAD(); /* threading... */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gthread.h:108:10: note: declared here 108 | GThread *g_thread_create_full (GThreadFunc func, | ^~~~~~~~~~~~~~~~~~~~ libnids.c: In function 'nids_next': libnids.c:750:5: warning: 'g_thread_create_full' is deprecated: Use 'g_thread_new' instead [-Wdeprecated-declarations] 750 | START_CAP_QUEUE_PROCESS_THREAD(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gthread.h:108:10: note: declared here 108 | GThread *g_thread_create_full (GThreadFunc func, | ^~~~~~~~~~~~~~~~~~~~ libnids.c: In function 'nids_dispatch': libnids.c:764:5: warning: 'g_thread_create_full' is deprecated: Use 'g_thread_new' instead [-Wdeprecated-declarations] 764 | START_CAP_QUEUE_PROCESS_THREAD(); /* threading... */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gthread.h:108:10: note: declared here 108 | GThread *g_thread_create_full (GThreadFunc func, | ^~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libnids-1.26/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/libnids-1.26/src' gcc -c -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 -fPIC -D_BSD_SOURCE -DLIBNET_VER=1 -DHAVE_ICMPHDR=1 -DHAVE_TCP_STATES=1 -DHAVE_BSD_UDPHDR=1 -I. -I/usr/include -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread tcp.c In file included from /usr/include/sys/types.h:25, from tcp.c:7: /usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libnids-1.26/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/libnids-1.26/src' ar -cr libnids.a checksum.o ip_fragment.o ip_options.o killtcp.o libnids.o scan.o tcp.o util.o allpromisc.o hash.o ranlib libnids.a make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libnids-1.26/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/libnids-1.26/src' gcc -fPIC -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 -fPIC -D_BSD_SOURCE -DLIBNET_VER=1 -DHAVE_ICMPHDR=1 -DHAVE_TCP_STATES=1 -DHAVE_BSD_UDPHDR=1 -I. -I/usr/include -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -c tcp.c -o tcp_pic.o In file included from /usr/include/sys/types.h:25, from tcp.c:7: /usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libnids-1.26/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/libnids-1.26/src' gcc -shared -Wl,-soname,libnids.so.1 -o libnids.so.1 checksum_pic.o ip_fragment_pic.o ip_options_pic.o killtcp_pic.o libnids_pic.o scan_pic.o tcp_pic.o util_pic.o allpromisc_pic.o hash_pic.o -lgthread-2.0 -lglib-2.0 -lgthread-2.0 -pthread -lglib-2.0 -lnet -L/usr/lib -lpcap /usr/bin/ld: skipping incompatible /usr/lib/libgcc_s.so when searching for -lgcc_s /usr/bin/ld: skipping incompatible /usr/lib/libgcc_s.so.1 when searching for libgcc_s.so.1 /usr/bin/ld: skipping incompatible /usr/lib/libc.so when searching for -lc /usr/bin/ld: skipping incompatible /usr/lib/libgcc_s.so when searching for -lgcc_s /usr/bin/ld: skipping incompatible /usr/lib/libgcc_s.so.1 when searching for libgcc_s.so.1 make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libnids-1.26/src' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.U7OwGJ + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' /home/pterjan/rpmbuild/BUILDROOT/libnids-1.26-1.mga10.x86_64 '!=' / ']' + rm -rf /home/pterjan/rpmbuild/BUILDROOT/libnids-1.26-1.mga10.x86_64 ++ dirname /home/pterjan/rpmbuild/BUILDROOT/libnids-1.26-1.mga10.x86_64 + mkdir -p /home/pterjan/rpmbuild/BUILDROOT + mkdir /home/pterjan/rpmbuild/BUILDROOT/libnids-1.26-1.mga10.x86_64 + cd libnids-1.26 + '[' 1 -eq 1 ']' + echo 'warning: %makeinstall is deprecated, try %make_install instead' warning: %makeinstall is deprecated, try %make_install instead + /usr/bin/make prefix=/home/pterjan/rpmbuild/BUILDROOT/libnids-1.26-1.mga10.x86_64/usr exec_prefix=/home/pterjan/rpmbuild/BUILDROOT/libnids-1.26-1.mga10.x86_64/usr bindir=/home/pterjan/rpmbuild/BUILDROOT/libnids-1.26-1.mga10.x86_64/usr/bin sbindir=/home/pterjan/rpmbuild/BUILDROOT/libnids-1.26-1.mga10.x86_64/usr/sbin sysconfdir=/home/pterjan/rpmbuild/BUILDROOT/libnids-1.26-1.mga10.x86_64/etc datadir=/home/pterjan/rpmbuild/BUILDROOT/libnids-1.26-1.mga10.x86_64/usr/share includedir=/home/pterjan/rpmbuild/BUILDROOT/libnids-1.26-1.mga10.x86_64/usr/include libdir=/home/pterjan/rpmbuild/BUILDROOT/libnids-1.26-1.mga10.x86_64/usr/lib64 libexecdir=/home/pterjan/rpmbuild/BUILDROOT/libnids-1.26-1.mga10.x86_64/usr/libexec localstatedir=/home/pterjan/rpmbuild/BUILDROOT/libnids-1.26-1.mga10.x86_64/var sharedstatedir=/home/pterjan/rpmbuild/BUILDROOT/libnids-1.26-1.mga10.x86_64/var/lib mandir=/home/pterjan/rpmbuild/BUILDROOT/libnids-1.26-1.mga10.x86_64/usr/share/man infodir=/home/pterjan/rpmbuild/BUILDROOT/libnids-1.26-1.mga10.x86_64/usr/share/info install cd src ; /usr/bin/make _installshared make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/libnids-1.26/src' ../mkinstalldirs /home/pterjan/rpmbuild/BUILDROOT/libnids-1.26-1.mga10.x86_64/usr/lib64 mkdir /home/pterjan/rpmbuild/BUILDROOT/libnids-1.26-1.mga10.x86_64/usr mkdir /home/pterjan/rpmbuild/BUILDROOT/libnids-1.26-1.mga10.x86_64/usr/lib64 ../mkinstalldirs /home/pterjan/rpmbuild/BUILDROOT/libnids-1.26-1.mga10.x86_64/usr/include mkdir /home/pterjan/rpmbuild/BUILDROOT/libnids-1.26-1.mga10.x86_64/usr/include ../mkinstalldirs /home/pterjan/rpmbuild/BUILDROOT/libnids-1.26-1.mga10.x86_64/usr/share/man/man3 mkdir /home/pterjan/rpmbuild/BUILDROOT/libnids-1.26-1.mga10.x86_64/usr/share mkdir /home/pterjan/rpmbuild/BUILDROOT/libnids-1.26-1.mga10.x86_64/usr/share/man mkdir /home/pterjan/rpmbuild/BUILDROOT/libnids-1.26-1.mga10.x86_64/usr/share/man/man3 /usr/bin/install -c -c -m 644 libnids.a /home/pterjan/rpmbuild/BUILDROOT/libnids-1.26-1.mga10.x86_64/usr/lib64 /usr/bin/install -c -c -m 644 nids.h /home/pterjan/rpmbuild/BUILDROOT/libnids-1.26-1.mga10.x86_64/usr/include /usr/bin/install -c -c -m 644 libnids.3 /home/pterjan/rpmbuild/BUILDROOT/libnids-1.26-1.mga10.x86_64/usr/share/man/man3 /usr/bin/install -c -c -m 755 libnids.so.1 /home/pterjan/rpmbuild/BUILDROOT/libnids-1.26-1.mga10.x86_64/usr/lib64 ln -s -f libnids.so.1 /home/pterjan/rpmbuild/BUILDROOT/libnids-1.26-1.mga10.x86_64/usr/lib64/libnids.so make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libnids-1.26/src' + mv /home/pterjan/rpmbuild/BUILDROOT/libnids-1.26-1.mga10.x86_64/usr/lib64/libnids.so.1 /home/pterjan/rpmbuild/BUILDROOT/libnids-1.26-1.mga10.x86_64/usr/lib64/libnids.so.1.0 + ln -snf libnids.so.1.0 /home/pterjan/rpmbuild/BUILDROOT/libnids-1.26-1.mga10.x86_64/usr/lib64/libnids.so.1 + ln -snf libnids.so.1 /home/pterjan/rpmbuild/BUILDROOT/libnids-1.26-1.mga10.x86_64/usr/lib64/libnids.so + rm -rf /home/pterjan/rpmbuild/BUILDROOT/libnids-1.26-1.mga10.x86_64/usr/lib64/libnids.a + /usr/bin/find-debuginfo -j16 --strict-build-id -m -i --build-id-seed 1.26-1.mga10 --unique-debug-suffix -1.26-1.mga10.x86_64 --unique-debug-src-base libnids-1.26-1.mga10.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /home/pterjan/rpmbuild/BUILD/libnids-1.26 find-debuginfo: starting Extracting debug info from 1 files DWARF-compressing 1 files sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. Creating .debug symlinks for symlinks to ELF files Copying sources found by 'debugedit -l' to /usr/src/debug/libnids-1.26-1.mga10.x86_64 188 blocks find-debuginfo: done + /usr/lib/rpm/check-buildroot + '[' -n '' ']' + /usr/share/spec-helper/clean_files + '[' -n '' ']' + /usr/share/spec-helper/compress_files .xz + '[' -n '' ']' + /usr/share/spec-helper/relink_symlinks + '[' -n '' ']' + /usr/share/spec-helper/clean_perl + '[' -n '' ']' + /usr/share/spec-helper/lib_symlinks + '[' -n '' ']' + /usr/share/spec-helper/gprintify + '[' -n '' ']' + /usr/share/spec-helper/fix_mo + '[' -n '' ']' + /usr/share/spec-helper/fix_pamd + '[' -n '' ']' + /usr/share/spec-helper/remove_info_dir + '[' -n '' ']' + /usr/share/spec-helper/fix_eol + '[' -n '' ']' + /usr/share/spec-helper/check_desktop_files + '[' -n '' ']' + /usr/share/spec-helper/check_elf_files + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/redhat/brp-mangle-shebangs + env -u SOURCE_DATE_EPOCH /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j16 + /usr/lib/rpm/redhat/brp-python-hardlink Processing files: lib64nids1-1.26-1.mga10.x86_64 Executing(%doc): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.8gVLny + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd libnids-1.26 + DOCDIR=/home/pterjan/rpmbuild/BUILDROOT/libnids-1.26-1.mga10.x86_64/usr/share/doc/lib64nids1 + export LC_ALL= + LC_ALL= + export DOCDIR + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILDROOT/libnids-1.26-1.mga10.x86_64/usr/share/doc/lib64nids1 + cp -pr /home/pterjan/rpmbuild/BUILD/libnids-1.26/CHANGES /home/pterjan/rpmbuild/BUILDROOT/libnids-1.26-1.mga10.x86_64/usr/share/doc/lib64nids1 + cp -pr /home/pterjan/rpmbuild/BUILD/libnids-1.26/README /home/pterjan/rpmbuild/BUILDROOT/libnids-1.26-1.mga10.x86_64/usr/share/doc/lib64nids1 + cp -pr /home/pterjan/rpmbuild/BUILD/libnids-1.26/CREDITS /home/pterjan/rpmbuild/BUILDROOT/libnids-1.26-1.mga10.x86_64/usr/share/doc/lib64nids1 + cp -pr /home/pterjan/rpmbuild/BUILD/libnids-1.26/MISC /home/pterjan/rpmbuild/BUILDROOT/libnids-1.26-1.mga10.x86_64/usr/share/doc/lib64nids1 + RPM_EC=0 ++ jobs -p + exit 0 Provides: lib64nids1 = 1.26-1.mga10 lib64nids1(x86-64) = 1.26-1.mga10 libnids = 1.26-1.mga10 libnids.so.1()(64bit) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.4)(64bit) libglib-2.0.so.0()(64bit) libgthread-2.0.so.0()(64bit) libnet.so.1()(64bit) libpcap.so.1()(64bit) Processing files: lib64nids-devel-1.26-1.mga10.x86_64 Executing(%doc): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.ZeuswX + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd libnids-1.26 + DOCDIR=/home/pterjan/rpmbuild/BUILDROOT/libnids-1.26-1.mga10.x86_64/usr/share/doc/lib64nids-devel + export LC_ALL= + LC_ALL= + export DOCDIR + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILDROOT/libnids-1.26-1.mga10.x86_64/usr/share/doc/lib64nids-devel + cp -pr /home/pterjan/rpmbuild/BUILD/libnids-1.26/CHANGES /home/pterjan/rpmbuild/BUILDROOT/libnids-1.26-1.mga10.x86_64/usr/share/doc/lib64nids-devel + cp -pr /home/pterjan/rpmbuild/BUILD/libnids-1.26/README /home/pterjan/rpmbuild/BUILDROOT/libnids-1.26-1.mga10.x86_64/usr/share/doc/lib64nids-devel + cp -pr /home/pterjan/rpmbuild/BUILD/libnids-1.26/CREDITS /home/pterjan/rpmbuild/BUILDROOT/libnids-1.26-1.mga10.x86_64/usr/share/doc/lib64nids-devel + cp -pr /home/pterjan/rpmbuild/BUILD/libnids-1.26/MISC /home/pterjan/rpmbuild/BUILDROOT/libnids-1.26-1.mga10.x86_64/usr/share/doc/lib64nids-devel + cp -pr /home/pterjan/rpmbuild/BUILD/libnids-1.26/doc/API.html /home/pterjan/rpmbuild/BUILDROOT/libnids-1.26-1.mga10.x86_64/usr/share/doc/lib64nids-devel + cp -pr /home/pterjan/rpmbuild/BUILD/libnids-1.26/doc/API.txt /home/pterjan/rpmbuild/BUILDROOT/libnids-1.26-1.mga10.x86_64/usr/share/doc/lib64nids-devel + cp -pr /home/pterjan/rpmbuild/BUILD/libnids-1.26/doc/LINUX /home/pterjan/rpmbuild/BUILDROOT/libnids-1.26-1.mga10.x86_64/usr/share/doc/lib64nids-devel + cp -pr /home/pterjan/rpmbuild/BUILD/libnids-1.26/doc/NEW_LIBPCAP /home/pterjan/rpmbuild/BUILDROOT/libnids-1.26-1.mga10.x86_64/usr/share/doc/lib64nids-devel + cp -pr /home/pterjan/rpmbuild/BUILD/libnids-1.26/doc/PATCH /home/pterjan/rpmbuild/BUILDROOT/libnids-1.26-1.mga10.x86_64/usr/share/doc/lib64nids-devel + cp -pr /home/pterjan/rpmbuild/BUILD/libnids-1.26/doc/PERFORMANCE /home/pterjan/rpmbuild/BUILDROOT/libnids-1.26-1.mga10.x86_64/usr/share/doc/lib64nids-devel + cp -pr /home/pterjan/rpmbuild/BUILD/libnids-1.26/doc/TESTS /home/pterjan/rpmbuild/BUILDROOT/libnids-1.26-1.mga10.x86_64/usr/share/doc/lib64nids-devel + cp -pr /home/pterjan/rpmbuild/BUILD/libnids-1.26/doc/bugtraq_post /home/pterjan/rpmbuild/BUILDROOT/libnids-1.26-1.mga10.x86_64/usr/share/doc/lib64nids-devel + RPM_EC=0 ++ jobs -p + exit 0 Provides: devel(libnids(64bit)) lib64nids-devel = 1.26-1.mga10 lib64nids-devel(x86-64) = 1.26-1.mga10 libnids-devel = 1.26-1.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: devel(libglib-2.0(64bit)) devel(libgthread-2.0(64bit)) devel(libnet(64bit)) devel(libpcap(64bit)) Obsoletes: lib64nids1-devel Processing files: libnids-debugsource-1.26-1.mga10.x86_64 Provides: libnids-debugsource = 1.26-1.mga10 libnids-debugsource(x86-64) = 1.26-1.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: lib64nids1-debuginfo-1.26-1.mga10.x86_64 Provides: debuginfo(build-id) = be84ab5fff1424e16ad1b3b9b35d65d5834e0828 lib64nids1-debuginfo = 1.26-1.mga10 lib64nids1-debuginfo(x86-64) = 1.26-1.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: libnids-debugsource(x86-64) = 1.26-1.mga10 Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/pterjan/rpmbuild/BUILDROOT/libnids-1.26-1.mga10.x86_64 Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/lib64nids1-1.26-1.mga10.x86_64.rpm Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/lib64nids1-debuginfo-1.26-1.mga10.x86_64.rpm Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/libnids-debugsource-1.26-1.mga10.x86_64.rpm Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/lib64nids-devel-1.26-1.mga10.x86_64.rpm Executing(%clean): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.FPRAEN + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd libnids-1.26 + /usr/bin/rm -rf /home/pterjan/rpmbuild/BUILDROOT/libnids-1.26-1.mga10.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.8r4JaK + umask 022 + cd /home/pterjan/rpmbuild/BUILD + rm -rf /home/pterjan/rpmbuild/BUILD/libnids-1.26-SPECPARTS + rm -rf libnids-1.26 libnids-1.26.gemspec + RPM_EC=0 ++ jobs -p + exit 0 RPM build warnings: line 42: It's not recommended to have unversioned Obsoletes: Obsoletes: lib64nids1-devel %patchN is deprecated (3 usages found), use %patch N (or %patch -P N) D: [iurt_root_command] Success!