<86>Jul 16 00:06:42 userdel[849046]: delete user 'rooter' <86>Jul 16 00:06:42 userdel[849046]: removed group 'rooter' owned by 'rooter' <86>Jul 16 00:06:42 userdel[849046]: removed shadow group 'rooter' owned by 'rooter' <86>Jul 16 00:06:42 groupadd[849082]: group added to /etc/group: name=rooter, GID=1853 <86>Jul 16 00:06:42 groupadd[849082]: group added to /etc/gshadow: name=rooter <86>Jul 16 00:06:42 groupadd[849082]: new group: name=rooter, GID=1853 <86>Jul 16 00:06:42 useradd[849120]: new user: name=rooter, UID=1853, GID=1853, home=/root, shell=/bin/bash, from=none <86>Jul 16 00:06:42 userdel[849182]: delete user 'builder' <86>Jul 16 00:06:42 userdel[849182]: removed group 'builder' owned by 'builder' <86>Jul 16 00:06:42 userdel[849182]: removed shadow group 'builder' owned by 'builder' <86>Jul 16 00:06:42 groupadd[849216]: group added to /etc/group: name=builder, GID=1854 <86>Jul 16 00:06:42 groupadd[849216]: group added to /etc/gshadow: name=builder <86>Jul 16 00:06:42 groupadd[849216]: new group: name=builder, GID=1854 <86>Jul 16 00:06:42 useradd[849249]: new user: name=builder, UID=1854, GID=1854, home=/usr/src, shell=/bin/bash, from=none <13>Jul 16 00:06:45 rpmi: libnet2-1.1.6-alt1 sisyphus+278100.2700.1.1 1626058776 installed <13>Jul 16 00:06:45 rpmi: libsystemd-1:258.9-alt1 sisyphus+424643.100.1.1 1783533901 installed <13>Jul 16 00:06:45 rpmi: libdbus-1.16.2-alt1 sisyphus+376383.100.1.1 1740749230 installed <13>Jul 16 00:06:45 rpmi: libpcap0.8-2:1.10.5-alt1 sisyphus+373333.200.2.1 1738835147 installed <13>Jul 16 00:06:45 rpmi: libpcap-devel-2:1.10.5-alt1 sisyphus+373333.200.2.1 1738835147 installed <13>Jul 16 00:06:45 rpmi: libnet2-devel-1.1.6-alt1 sisyphus+278100.2700.1.1 1626058776 installed Building target platforms: x86_64 Building for target x86_64 Wrote: /usr/src/in/nosrpm/libnids-1.24-alt4.nosrc.rpm (w1.gzdio) Installing libnids-1.24-alt4.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /usr/src/tmp/rpmb-tmp.lMdAx2 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf libnids-1.24 + echo 'Source #0 (libnids-1.24.tar):' Source #0 (libnids-1.24.tar): + /bin/tar -xf /usr/src/RPM/SOURCES/libnids-1.24.tar + cd libnids-1.24 + /bin/chmod -c -Rf u+rwX,go-w . + echo 'Patch #0 (libnids-1.24-alt4.patch):' Patch #0 (libnids-1.24-alt4.patch): + /usr/bin/patch -p1 patching file configure.in patching file src/Makefile.in patching file src/checksum.c patching file src/libnids.3 + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpmb-tmp.9WZyhq + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd libnids-1.24 + autoconf 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:179: warning: The macro 'AC_TRY_LINK' is obsolete. configure.in:179: You should run autoupdate. ./lib/autoconf/general.m4:2918: AC_TRY_LINK is expanded from... configure.in:179: the top level configure.in:188: warning: The macro 'AC_ERROR' is obsolete. configure.in:188: You should run autoupdate. ./lib/autoconf/oldnames.m4:34: AC_ERROR is expanded from... configure.in:188: the top level configure.in:197: warning: The macro 'AC_ERROR' is obsolete. configure.in:197: 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:197: the top level configure.in:216: warning: The macro 'AC_TRY_COMPILE' is obsolete. configure.in:216: You should run autoupdate. ./lib/autoconf/general.m4:2845: AC_TRY_COMPILE is expanded from... configure.in:216: the top level configure.in:225: warning: The macro 'AC_TRY_COMPILE' is obsolete. configure.in:225: You should run autoupdate. ./lib/autoconf/general.m4:2845: AC_TRY_COMPILE is expanded from... configure.in:225: the top level configure.in:234: warning: The macro 'AC_TRY_COMPILE' is obsolete. configure.in:234: You should run autoupdate. ./lib/autoconf/general.m4:2845: AC_TRY_COMPILE is expanded from... configure.in:234: the top level configure.in:245: warning: The macro 'AC_TRY_COMPILE' is obsolete. configure.in:245: You should run autoupdate. ./lib/autoconf/general.m4:2845: AC_TRY_COMPILE is expanded from... configure.in:245: the top level configure.in:253: warning: AC_OUTPUT should be used without arguments. configure.in:253: You should run autoupdate. + export ac_cv_lib_nsl_gethostbyname=no + ac_cv_lib_nsl_gethostbyname=no + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' + export FFLAGS + FCFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' + export FCFLAGS + '[' -n '' ']' ++ printf %s '-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' ++ sed -r 's/(^|[[:space:]]+)-[^m][^[:space:]]*//g' + ASFLAGS= + export ASFLAGS + export lt_cv_prog_cc_static_works=no + lt_cv_prog_cc_static_works=no + export lt_cv_deplibs_check_method=pass_all + lt_cv_deplibs_check_method=pass_all + readlink -e -- ./configure + xargs -ri dirname -- '{}' + xargs -ri find '{}' -type f '(' -name config.sub -or -name config.guess ')' -printf '%h/\n' + sort -u + xargs -rn1 install -pm755 -- /usr/share/gnu-config/config.sub /usr/share/gnu-config/config.guess + configure_runstatedir_flags= + grep -qF runstatedir=DIR ./configure + configure_runstatedir_flags=--runstatedir=/var/run + ./configure --build=x86_64-alt-linux --host=x86_64-alt-linux --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/lib --localstatedir=/var/lib --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-dependency-tracking --disable-silent-rules --runstatedir=/var/run --without-included-gettext --disable-libglib --enable-shared --disable-static configure: WARNING: unrecognized options: --disable-dependency-tracking, --disable-silent-rules, --without-included-gettext, --disable-static checking build system type... x86_64-alt-linux-gnu checking host system type... x86_64-alt-linux-gnu checking target system type... x86_64-alt-linux-gnu checking for x86_64-alt-linux-gcc... x86_64-alt-linux-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 x86_64-alt-linux-gcc accepts -g... yes checking for x86_64-alt-linux-gcc option to enable C11 features... none needed checking for x86_64-alt-linux-ranlib... no checking for ranlib... ranlib checking for a BSD-compatible install... /usr/bin/ginstall -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... (cached) no checking for libpcap... yes skipping glib2 support 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, --disable-silent-rules, --without-included-gettext, --disable-static + make -j16 shared cd src ; make shared make[1]: Entering directory '/usr/src/RPM/BUILD/libnids-1.24/src' x86_64-alt-linux-gcc -fPIC -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_BSD_SOURCE -DLIBNET_VER=1 -DHAVE_ICMPHDR=1 -DHAVE_TCP_STATES=1 -DHAVE_BSD_UDPHDR=1 -I. -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -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:205:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 205 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/libnids-1.24/src' make[1]: Entering directory '/usr/src/RPM/BUILD/libnids-1.24/src' x86_64-alt-linux-gcc -fPIC -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_BSD_SOURCE -DLIBNET_VER=1 -DHAVE_ICMPHDR=1 -DHAVE_TCP_STATES=1 -DHAVE_BSD_UDPHDR=1 -I. -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -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:205:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 205 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ scan.c: In function 'detect_scan': scan.c:124:5: error: too many arguments to function 'nids_params.syslog'; expected 0, have 4 124 | nids_params.syslog(NIDS_WARN_SCAN, 0, 0, this_host); | ^~~~~~~~~~~ ~~~~~~~~~~~~~~ In file included from scan.c:15: nids.h:119:10: note: declared here 119 | void (*syslog) (); | ^~~~~~ make[1]: *** [Makefile:53: scan_pic.o] Error 1 make[1]: Leaving directory '/usr/src/RPM/BUILD/libnids-1.24/src' make[1]: *** Waiting for unfinished jobs.... make[1]: Entering directory '/usr/src/RPM/BUILD/libnids-1.24/src' x86_64-alt-linux-gcc -fPIC -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_BSD_SOURCE -DLIBNET_VER=1 -DHAVE_ICMPHDR=1 -DHAVE_TCP_STATES=1 -DHAVE_BSD_UDPHDR=1 -I. -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -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:205:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 205 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ ip_fragment.c: In function 'ip_find': ip_fragment.c:304:15: warning: variable 'qplast' set but not used [-Wunused-but-set-variable] 304 | struct ipq *qplast; | ^~~~~~ ip_fragment.c: In function 'ip_create': ip_fragment.c:427:22: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(long unsigned int)' [-Wincompatible-pointer-types] 427 | qp->timer.function = ip_expire; /* expire function */ | ^ ip_fragment.c:364:1: note: 'ip_expire' declared here 364 | ip_expire(unsigned long arg) | ^~~~~~~~~ ip_fragment.c: In function 'ip_glue': ip_fragment.c:486:5: error: too many arguments to function 'nids_params.syslog'; expected 0, have 4 486 | nids_params.syslog(NIDS_WARN_IP, NIDS_WARN_IP_OVERSIZED, qp->iph, 0); | ^~~~~~~~~~~ ~~~~~~~~~~~~ In file included from ip_fragment.c:22: nids.h:119:10: note: declared here 119 | void (*syslog) (); | ^~~~~~ ip_fragment.c:507:7: error: too many arguments to function 'nids_params.syslog'; expected 0, have 4 507 | nids_params.syslog(NIDS_WARN_IP, NIDS_WARN_IP_INVLIST, qp->iph, 0); | ^~~~~~~~~~~ ~~~~~~~~~~~~ nids.h:119:10: note: declared here 119 | void (*syslog) (); | ^~~~~~ ip_fragment.c: In function 'ip_defrag': ip_fragment.c:589:24: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(long unsigned int)' [-Wincompatible-pointer-types] 589 | qp->timer.function = ip_expire; /* expire function */ | ^ ip_fragment.c:364:1: note: 'ip_expire' declared here 364 | ip_expire(unsigned long arg) | ^~~~~~~~~ ip_fragment.c:602:5: error: too many arguments to function 'nids_params.syslog'; expected 0, have 4 602 | nids_params.syslog(NIDS_WARN_IP, NIDS_WARN_IP_OVERSIZED, iph, 0); | ^~~~~~~~~~~ ~~~~~~~~~~~~ nids.h:119:10: note: declared here 119 | void (*syslog) (); | ^~~~~~ ip_fragment.c:633:5: error: too many arguments to function 'nids_params.syslog'; expected 0, have 4 633 | nids_params.syslog(NIDS_WARN_IP, NIDS_WARN_IP_OVERLAP, iph, 0); | ^~~~~~~~~~~ ~~~~~~~~~~~~ nids.h:119:10: note: declared here 119 | void (*syslog) (); | ^~~~~~ ip_fragment.c:646:5: error: too many arguments to function 'nids_params.syslog'; expected 0, have 4 646 | nids_params.syslog(NIDS_WARN_IP, NIDS_WARN_IP_OVERLAP, iph, 0); | ^~~~~~~~~~~ ~~~~~~~~~~~~ nids.h:119:10: note: declared here 119 | void (*syslog) (); | ^~~~~~ ip_fragment.c: In function 'ip_defrag_stub': ip_fragment.c:718:5: error: too many arguments to function 'timer_head->function'; expected 0, have 1 718 | timer_head->function(timer_head->data); | ^~~~~~~~~~ ~~~~~~~~~~~~~~~~ ip_fragment.c:46:10: note: declared here 46 | void (*function)(); | ^~~~~~~~ make[1]: *** [Makefile:45: ip_fragment_pic.o] Error 1 make[1]: Leaving directory '/usr/src/RPM/BUILD/libnids-1.24/src' make[1]: Entering directory '/usr/src/RPM/BUILD/libnids-1.24/src' x86_64-alt-linux-gcc -fPIC -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_BSD_SOURCE -DLIBNET_VER=1 -DHAVE_ICMPHDR=1 -DHAVE_TCP_STATES=1 -DHAVE_BSD_UDPHDR=1 -I. -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -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:205:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 205 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ libnids.c:97:5: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(int, int, struct ip *, void *)' [-Wincompatible-pointer-types] 97 | nids_syslog, /* syslog() */ | ^~~~~~~~~~~ libnids.c:97:5: note: (near initialization for 'nids_params.syslog') libnids.c:42:13: note: 'nids_syslog' declared here 42 | static void nids_syslog(int, int, struct ip *, void *); | ^~~~~~~~~~~ libnids.c:103:5: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(struct ip *, int)' [-Wincompatible-pointer-types] 103 | nids_ip_filter, /* ip_filter() */ | ^~~~~~~~~~~~~~ libnids.c:103:5: note: (near initialization for 'nids_params.ip_filter') libnids.c:43:12: note: 'nids_ip_filter' declared here 43 | static int nids_ip_filter(struct ip *, int); | ^~~~~~~~~~~~~~ libnids.c: In function 'call_ip_frag_procs': libnids.c:199:11: error: too many arguments to function 'i->item'; expected 0, have 2 199 | (i->item) (data, caplen); | ~~^~~~~~~ ~~~~ In file included from libnids.c:29: util.h:13:10: note: declared here 13 | void (*item)(); | ^~~~ libnids.c: In function 'gen_ip_frag_proc': libnids.c:369:9: error: initialization of 'void (*)(int, int, struct ip *, void *)' from incompatible pointer type 'void (*)(void)' [-Wincompatible-pointer-types] 369 | nids_params.syslog; | ^~~~~~~~~~~ libnids.c:371:10: error: too many arguments to function 'nids_params.ip_filter'; expected 0, have 2 371 | if (!nids_params.ip_filter(iph, len)) | ^~~~~~~~~~~ ~~~ In file included from libnids.c:30: nids.h:125:9: note: declared here 125 | int (*ip_filter) (); | ^~~~~~~~~ libnids.c:403:11: error: too many arguments to function 'i->item'; expected 0, have 2 403 | (i->item) (iph, skblen); | ~~^~~~~~~ ~~~ util.h:13:10: note: declared here 13 | void (*item)(); | ^~~~ libnids.c: In function 'process_udp': libnids.c:442:9: error: too many arguments to function 'ipp->item'; expected 0, have 4 442 | ipp->item(&addr, ((char *) udph) + sizeof(struct udphdr), | ^~~ ~~~~~ util.h:13:10: note: declared here 13 | void (*item)(); | ^~~~ libnids.c: In function 'init_procs': libnids.c:467:25: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(u_char *, int)' {aka 'void (*)(unsigned char *, int)'} [-Wincompatible-pointer-types] 467 | ip_frag_procs->item = gen_ip_frag_proc; | ^ libnids.c:362:13: note: 'gen_ip_frag_proc' declared here 362 | static void gen_ip_frag_proc(u_char * data, int len) | ^~~~~~~~~~~~~~~~ libnids.c:470:20: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(u_char *, int)' {aka 'void (*)(unsigned char *, int)'} [-Wincompatible-pointer-types] 470 | ip_procs->item = gen_ip_proc; | ^ libnids.c:447:13: note: 'gen_ip_proc' declared here 447 | static void gen_ip_proc(u_char * data, int skblen) | ^~~~~~~~~~~ libnids.c: In function 'open_live': libnids.c:512:9: warning: 'pcap_lookupdev' is deprecated: use 'pcap_findalldevs' and use the first device [-Wdeprecated-declarations] 512 | 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:444:18: note: declared here 444 | PCAP_API char *pcap_lookupdev(char *); | ^~~~~~~~~~~~~~ libnids.c: In function 'nids_init': libnids.c:662:28: warning: comparison of distinct pointer types lacks a cast [-Wcompare-distinct-pointer-types] 662 | if (nids_params.syslog == nids_syslog) | ^~ make[1]: *** [Makefile:51: libnids_pic.o] Error 1 make[1]: Leaving directory '/usr/src/RPM/BUILD/libnids-1.24/src' make[1]: Entering directory '/usr/src/RPM/BUILD/libnids-1.24/src' x86_64-alt-linux-gcc -fPIC -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_BSD_SOURCE -DLIBNET_VER=1 -DHAVE_ICMPHDR=1 -DHAVE_TCP_STATES=1 -DHAVE_BSD_UDPHDR=1 -I. -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -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:205:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 205 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/libnids-1.24/src' make[1]: Entering directory '/usr/src/RPM/BUILD/libnids-1.24/src' x86_64-alt-linux-gcc -fPIC -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_BSD_SOURCE -DLIBNET_VER=1 -DHAVE_ICMPHDR=1 -DHAVE_TCP_STATES=1 -DHAVE_BSD_UDPHDR=1 -I. -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -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:205:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 205 | # 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 '/usr/src/RPM/BUILD/libnids-1.24/src' make[1]: Entering directory '/usr/src/RPM/BUILD/libnids-1.24/src' x86_64-alt-linux-gcc -fPIC -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_BSD_SOURCE -DLIBNET_VER=1 -DHAVE_ICMPHDR=1 -DHAVE_TCP_STATES=1 -DHAVE_BSD_UDPHDR=1 -I. -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -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:205:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 205 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/libnids-1.24/src' make[1]: Entering directory '/usr/src/RPM/BUILD/libnids-1.24/src' x86_64-alt-linux-gcc -fPIC -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_BSD_SOURCE -DLIBNET_VER=1 -DHAVE_ICMPHDR=1 -DHAVE_TCP_STATES=1 -DHAVE_BSD_UDPHDR=1 -I. -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -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:205:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 205 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/libnids-1.24/src' make[1]: Entering directory '/usr/src/RPM/BUILD/libnids-1.24/src' x86_64-alt-linux-gcc -fPIC -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_BSD_SOURCE -DLIBNET_VER=1 -DHAVE_ICMPHDR=1 -DHAVE_TCP_STATES=1 -DHAVE_BSD_UDPHDR=1 -I. -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -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:205:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 205 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ tcp.c: In function 'tcp_check_timeouts': tcp.c:182:9: error: too many arguments to function 'i->item'; expected 0, have 2 182 | (i->item) (to->a_tcp, &i->data); | ~~^~~~~~~ ~~~~~~~~~ In file included from tcp.c:21: util.h:18:10: note: declared here 18 | void (*item)(); | ^~~~ tcp.c: In function 'add_new_tcp': tcp.c:274:9: error: too many arguments to function 'i->item'; expected 0, have 2 274 | (i->item) (tcp_oldest, &i->data); | ~~^~~~~~~ ~~~~~~~~~~ util.h:18:10: note: declared here 18 | void (*item)(); | ^~~~ tcp.c:277:7: error: too many arguments to function 'nids_params.syslog'; expected 0, have 4 277 | nids_params.syslog(NIDS_WARN_TCP, NIDS_WARN_TCP_TOOMUCH, ugly_iphdr, this_tcphdr); | ^~~~~~~~~~~ ~~~~~~~~~~~~~ In file included from tcp.c:22: nids.h:119:10: note: declared here 119 | void (*syslog) (); | ^~~~~~ tcp.c: In function 'ride_lurkers': tcp.c:355:9: error: too many arguments to function 'i->item'; expected 0, have 2 355 | (i->item) (a_tcp, &i->data); | ~~^~~~~~~ ~~~~~ util.h:18:10: note: declared here 18 | void (*item)(); | ^~~~ tcp.c: In function 'prune_queue': tcp.c:603:3: error: too many arguments to function 'nids_params.syslog'; expected 0, have 4 603 | nids_params.syslog(NIDS_WARN_TCP, NIDS_WARN_TCP_BIGQUEUE, ugly_iphdr, this_tcphdr); | ^~~~~~~~~~~ ~~~~~~~~~~~~~ nids.h:119:10: note: declared here 119 | void (*syslog) (); | ^~~~~~ tcp.c: In function 'tcp_exit': tcp.c:692:13: error: too many arguments to function 'j->item'; expected 0, have 2 692 | (j->item)(t_tcp, &j->data); | ~~^~~~~~~ ~~~~~ util.h:18:10: note: declared here 18 | void (*item)(); | ^~~~ tcp.c: In function 'process_tcp': tcp.c:721:5: error: too many arguments to function 'nids_params.syslog'; expected 0, have 4 721 | nids_params.syslog(NIDS_WARN_TCP, NIDS_WARN_TCP_HDR, this_iphdr, | ^~~~~~~~~~~ ~~~~~~~~~~~~~ nids.h:119:10: note: declared here 119 | void (*syslog) (); | ^~~~~~ tcp.c:729:5: error: too many arguments to function 'nids_params.syslog'; expected 0, have 4 729 | nids_params.syslog(NIDS_WARN_TCP, NIDS_WARN_TCP_HDR, this_iphdr, | ^~~~~~~~~~~ ~~~~~~~~~~~~~ nids.h:119:10: note: declared here 119 | void (*syslog) (); | ^~~~~~ tcp.c:735:5: error: too many arguments to function 'nids_params.syslog'; expected 0, have 4 735 | nids_params.syslog(NIDS_WARN_TCP, NIDS_WARN_TCP_HDR, this_iphdr, | ^~~~~~~~~~~ ~~~~~~~~~~~~~ nids.h:119:10: note: declared here 119 | void (*syslog) (); | ^~~~~~ tcp.c:744:5: error: too many arguments to function 'nids_params.syslog'; expected 0, have 4 744 | nids_params.syslog(NIDS_WARN_TCP, NIDS_WARN_TCP_HDR, this_iphdr, | ^~~~~~~~~~~ ~~~~~~~~~~~~~ nids.h:119:10: note: declared here 119 | void (*syslog) (); | ^~~~~~ tcp.c:811:11: error: too many arguments to function 'i->item'; expected 0, have 2 811 | (i->item) (a_tcp, &i->data); | ~~^~~~~~~ ~~~~~ util.h:18:10: note: declared here 18 | void (*item)(); | ^~~~ tcp.c:842:15: error: too many arguments to function 'i->item'; expected 0, have 2 842 | (i->item) (a_tcp, &data); | ~~^~~~~~~ ~~~~~ util.h:13:10: note: declared here 13 | void (*item)(); | ^~~~ tcp.c:889:11: error: too many arguments to function 'i->item'; expected 0, have 2 889 | (i->item) (a_tcp, &i->data); | ~~^~~~~~~ ~~~~~ util.h:18:10: note: declared here 18 | void (*item)(); | ^~~~ tcp.c: In function 'process_icmp': tcp.c:1033:7: error: too many arguments to function 'i->item'; expected 0, have 2 1033 | (i->item) (a_tcp, &i->data); | ~~^~~~~~~ ~~~~~ util.h:18:10: note: declared here 18 | void (*item)(); | ^~~~ make[1]: *** [Makefile:55: tcp_pic.o] Error 1 make[1]: Leaving directory '/usr/src/RPM/BUILD/libnids-1.24/src' make[1]: Entering directory '/usr/src/RPM/BUILD/libnids-1.24/src' x86_64-alt-linux-gcc -fPIC -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_BSD_SOURCE -DLIBNET_VER=1 -DHAVE_ICMPHDR=1 -DHAVE_TCP_STATES=1 -DHAVE_BSD_UDPHDR=1 -I. -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -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:205:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 205 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/libnids-1.24/src' make: *** [Makefile:10: shared] Error 2 error: Bad exit status from /usr/src/tmp/rpmb-tmp.9WZyhq (%build) RPM build errors: Bad exit status from /usr/src/tmp/rpmb-tmp.9WZyhq (%build) Command exited with non-zero status 1 1.01user 0.91system 0:01.43elapsed 133%CPU (0avgtext+0avgdata 26488maxresident)k 0inputs+0outputs (0major+181137minor)pagefaults 0swaps hsh-rebuild: rebuild of `libnids-1.24-alt4.src.rpm' failed. Command exited with non-zero status 1 3.78user 2.54system 0:09.96elapsed 63%CPU (0avgtext+0avgdata 154180maxresident)k 800inputs+0outputs (0major+188236minor)pagefaults 0swaps