* Package: net-analyzer/argus-3.0.8.2-r1 * Repository: gentoo * Maintainer: netmon@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux libtirpc sasl tcpd userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking argus-3.0.8.2.tar.gz to /var/tmp/portage/net-analyzer/argus-3.0.8.2-r1/work >>> Source unpacked in /var/tmp/portage/net-analyzer/argus-3.0.8.2-r1/work >>> Preparing source in /var/tmp/portage/net-analyzer/argus-3.0.8.2-r1/work/argus-3.0.8.2 ... * Applying argus-3.0.8.1-disable-tcp-wrappers-automagic.patch ... [ ok ] * Applying argus-3.0.5-Makefile.patch ... [ ok ] * Applying argus-3.0.7.3-DLT_IPNET.patch ... [ ok ] * Applying argus-3.0.8.2-rpc.patch ... [ ok ] * Running eautoreconf in '/var/tmp/portage/net-analyzer/argus-3.0.8.2-r1/work/argus-3.0.8.2' ... * Running aclocal ... [ ok ] * Running autoconf --force ... [ ok ] * Running autoheader ... [ ok ] * Running elibtoolize in: argus-3.0.8.2/ >>> Source prepared. >>> Configuring source in /var/tmp/portage/net-analyzer/argus-3.0.8.2-r1/work/argus-3.0.8.2 ... * econf: updating argus-3.0.8.2/config/config.sub with /usr/share/gnuconfig/config.sub * econf: updating argus-3.0.8.2/config/config.guess with /usr/share/gnuconfig/config.guess ./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib64 --with-libtirpc --with-wrappers --with-sasl configure: loading site script /usr/share/config.site checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking target system type... x86_64-pc-linux-gnu checking for standard perl installation... /usr/bin/perl checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-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 we are using the GNU C compiler... yes checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... none needed checking gcc version... (cached) 0 checking whether make sets $(MAKE)... yes checking whether ln -s works... yes checking for flex... flex checking lex output file root... lex.yy checking lex library... -lfl checking whether yytext is a pointer... yes checking for a BSD-compatible install... /usr/lib/portage/python3.6/ebuild-helpers/xattr/install -c checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib checking for bison... bison -y checking for ranlib... ranlib checking for flex... flex checking for flex 2.4 or higher... yes checking for bison... bison checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking sasl/sasl.h usability... yes checking sasl/sasl.h presence... yes checking for sasl/sasl.h... yes checking sasl/saslutil.h usability... yes checking sasl/saslutil.h presence... yes checking for sasl/saslutil.h... yes checking for prop_get in -lsasl2... yes checking regex.h usability... yes checking regex.h presence... yes checking for regex.h... yes checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking for ANSI C header files... (cached) yes checking for sys/wait.h that is POSIX.1 compatible... yes checking sys/sockio.h usability... no checking sys/sockio.h presence... no checking for sys/sockio.h... no checking for string.h... (cached) yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking sys/file.h usability... yes checking sys/file.h presence... yes checking for sys/file.h... yes checking syslog.h usability... yes checking syslog.h presence... yes checking for syslog.h... yes checking zlib.h usability... yes checking zlib.h presence... yes checking for zlib.h... yes checking arpa/inet.h usability... yes checking arpa/inet.h presence... yes checking for arpa/inet.h... yes checking for fcntl.h... (cached) yes checking for inttypes.h... (cached) yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking libintl.h usability... yes checking libintl.h presence... yes checking for libintl.h... yes checking malloc.h usability... yes checking malloc.h presence... yes checking for malloc.h... yes checking for memory.h... (cached) yes checking netdb.h usability... yes checking netdb.h presence... yes checking for netdb.h... yes checking net/if.h usability... yes checking net/if.h presence... yes checking for net/if.h... yes checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes checking netinet/if_ether.h usability... yes checking netinet/if_ether.h presence... yes checking for netinet/if_ether.h... yes checking netinet/ether.h usability... yes checking netinet/ether.h presence... yes checking for netinet/ether.h... yes checking netinet/in_systm.h usability... yes checking netinet/in_systm.h presence... yes checking for netinet/in_systm.h... yes checking netinet/ip.h usability... yes checking netinet/ip.h presence... yes checking for netinet/ip.h... yes checking netinet/udp.h usability... yes checking netinet/udp.h presence... yes checking for netinet/udp.h... yes checking netinet/tcp.h usability... yes checking netinet/tcp.h presence... yes checking for netinet/tcp.h... yes checking for stdlib.h... (cached) yes checking stddef.h usability... yes checking stddef.h presence... yes checking for stddef.h... yes checking for string.h... (cached) yes checking for strings.h... (cached) yes checking for sys/file.h... (cached) yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking sys/vfs.h usability... yes checking sys/vfs.h presence... yes checking for sys/vfs.h... yes checking for syslog.h... (cached) yes checking termios.h usability... yes checking termios.h presence... yes checking for termios.h... yes checking for unistd.h... (cached) yes checking values.h usability... yes checking values.h presence... yes checking for values.h... yes checking features.h usability... yes checking features.h presence... yes checking for features.h... yes checking for an ANSI C-conforming const... yes checking for inline... inline checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking if unaligned accesses fail... no checking for int8_t... yes checking for uint8_t... yes checking for int16_t... yes checking for uint16_t... yes checking for int32_t... yes checking for uint32_t... yes checking for uid_t in sys/types.h... yes checking for pid_t... yes checking for size_t... yes checking whether time.h and sys/time.h may both be included... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for struct tm.tm_zone... yes checking for working alloca.h... yes checking for alloca... yes checking for vprintf... yes checking for _doprnt... no checking whether closedir returns void... no checking for error_at_line... yes checking vfork.h usability... no checking vfork.h presence... no checking for vfork.h... no checking for fork... yes checking for vfork... yes checking for working fork... yes checking for working vfork... (cached) yes checking whether x86_64-pc-linux-gnu-gcc needs -traditional... no checking for stdlib.h... (cached) yes checking for GNU libc compatible malloc... yes checking for working memcmp... yes checking for sys/time.h... (cached) yes checking for unistd.h... (cached) yes checking for alarm... yes checking for working mktime... yes checking for stdlib.h... (cached) yes checking for GNU libc compatible realloc... yes checking sys/select.h usability... yes checking sys/select.h presence... yes checking for sys/select.h... yes checking for sys/socket.h... (cached) yes checking types of arguments for select... int,fd_set *,struct timeval * checking return type of signal handlers... void checking whether lstat correctly handles trailing slash... yes checking whether stat accepts an empty string... no checking for strftime... yes checking for working strtod... yes checking for backtrace... yes checking for openlog... yes checking for syslog... yes checking for vfprintf... yes checking for strlcpy... no checking for strftime... (cached) yes checking for inet_aton... yes checking for setlinebuf... yes checking for strerror... yes checking for strtof... yes checking for floorf... no checking for remainderf... no checking for timegm... yes checking for x86_64-pc-linux-gnu-pkg-config... /usr/bin/x86_64-pc-linux-gnu-pkg-config checking pkg-config is at least version 0.9.0... yes checking for TIRPC... yes checking for xdrmem_create... no checking for vsnprintf... yes checking for snprintf... yes checking for library containing gethostbyname... none required checking for library containing socket... none required checking for library containing putmsg... no checking for ether_hostton... yes checking for getaddrinfo... yes checking for gethostname... yes checking whether ether_hostton is declared... no checking for netinet/ether.h... (cached) yes checking whether ether_hostton is declared... yes checking for alarm... (cached) yes checking for bzero... yes checking for endgrent... yes checking for endpwent... yes checking for floor... no checking for gethostbyaddr... yes checking for gethostbyname... yes checking for getpass... yes checking for gettimeofday... yes checking for inet_ntoa... yes checking for isascii... yes checking for localtime_r... yes checking for memchr... yes checking for memmove... yes checking for memset... yes checking for mkdir... yes checking for modf... yes checking for pow... no checking for putenv... yes checking for realpath... yes checking for regcomp... yes checking for select... yes checking for setenv... yes checking for socket... yes checking for sqrt... no checking for strcasecmp... yes checking for strchr... yes checking for strdup... yes checking for strlcat... no checking for strncasecmp... yes checking for strpbrk... yes checking for strrchr... yes checking for strstr... yes checking for strtol... yes checking for srandomdev... no checking for tzset... yes checking for .threads... yes checking for sched_get_priority_min... yes checking for local tcp_wrappers library... not found checking for system tcp_wrappers library... checking tcpd.h usability... yes checking tcpd.h presence... yes checking for tcpd.h... yes checking whether fromhost is declared... yes checking for local pcap library... not found checking for pcap-config... /usr/bin/pcap-config checking for pcap_list_datalinks... yes checking for pcap_set_datalink... yes checking for pcap_datalink_name_to_val... yes checking for pcap_datalink_val_to_description... yes checking for pcap_set_buffer_size... yes checking for pcap_fopen_offline... yes checking for pcap_get_selectable_fd... yes checking for pcap_next_ex... yes checking for pcap_dump_ftell... yes checking for pcap_dump_flush... yes checking tm_gmtoff in struct tm... yes checking sys_errlist in stdio.h... yes configure: creating ./config.status config.status: creating Makefile config.status: creating ./common/Makefile config.status: creating ./argus/Makefile config.status: creating ./events/Makefile config.status: creating include/argus_config.h >>> Source configured. >>> Compiling source in /var/tmp/portage/net-analyzer/argus-3.0.8.2-r1/work/argus-3.0.8.2 ... make -j1 'CCOPT=-O2 -pipe -march=native -fno-common -Wl,-O1 -Wl,--as-needed' ### Making in ./common make[1]: Entering directory '/var/tmp/portage/net-analyzer/argus-3.0.8.2-r1/work/argus-3.0.8.2/common' x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -Wl,-O1 -Wl,--as-needed -I. -I/usr/include/tirpc -I./../include -I./../argus -DHAVE_CONFIG_H -c argus_util.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -Wl,-O1 -Wl,--as-needed -I. -I/usr/include/tirpc -I./../include -I./../argus -DHAVE_CONFIG_H -c argus_code.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -Wl,-O1 -Wl,--as-needed -I. -I/usr/include/tirpc -I./../include -I./../argus -DHAVE_CONFIG_H -c argus_filter.c In file included from argus_filter.c:121: ./../include/argus_filter.h:165:34: warning: inline function ‘lookup_protoid’ declared but never defined 165 | extern inline struct protoidmem *lookup_protoid(const unsigned char *); | ^~~~~~~~~~~~~~ ./../include/argus_filter.h:164:32: warning: inline function ‘lookup_nsap’ declared but never defined 164 | extern inline struct enamemem *lookup_nsap(const unsigned char *); | ^~~~~~~~~~~ ./../include/argus_filter.h:163:32: warning: inline function ‘lookup_emem’ declared but never defined 163 | extern inline struct enamemem *lookup_emem(const unsigned char *); | ^~~~~~~~~~~ bison -y -p argus_ -d grammar.y grammar.y:143.14-15: warning: POSIX yacc reserves %type to nonterminals [-Wyacc] 143 | %type ID | ^~ grammar.y:144.14-16: warning: POSIX yacc reserves %type to nonterminals [-Wyacc] 144 | %type EID | ^~~ grammar.y:145.14-18: warning: POSIX yacc reserves %type to nonterminals [-Wyacc] 145 | %type HIDV4 | ^~~~~ grammar.y:146.14-18: warning: POSIX yacc reserves %type to nonterminals [-Wyacc] 146 | %type HIDV6 | ^~~~~ grammar.y:147.14-19: warning: POSIX yacc reserves %type to nonterminals [-Wyacc] 147 | %type STRING | ^~~~~~ grammar.y:148.14-16: warning: POSIX yacc reserves %type to nonterminals [-Wyacc] 148 | %type NUM | ^~~ grammar.y:149.14-18: warning: POSIX yacc reserves %type to nonterminals [-Wyacc] 149 | %type FLOAT | ^~~~~ mv y.tab.c grammar.c mv y.tab.h tokdefs.h x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -Wl,-O1 -Wl,--as-needed -I. -I/usr/include/tirpc -I./../include -I./../argus -DHAVE_CONFIG_H -Dyylval=argus_lval -c grammar.c flex -Pargus_ -t scanner.l > $$.scanner.c; mv $$.scanner.c scanner.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -Wl,-O1 -Wl,--as-needed -I. -I/usr/include/tirpc -I./../include -I./../argus -DHAVE_CONFIG_H -c scanner.c sed -e 's/.*/char version[] = "&";/' ./../VERSION > version.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -Wl,-O1 -Wl,--as-needed -I. -I/usr/include/tirpc -I./../include -I./../argus -DHAVE_CONFIG_H -c version.c rm -f ../lib/argus_common.a; ar qc ../lib/argus_common.a argus_util.o argus_code.o argus_filter.o grammar.o scanner.o version.o ranlib ../lib/argus_common.a make[1]: Leaving directory '/var/tmp/portage/net-analyzer/argus-3.0.8.2-r1/work/argus-3.0.8.2/common' ### Done with ./common ### Making in ./argus make[1]: Entering directory '/var/tmp/portage/net-analyzer/argus-3.0.8.2-r1/work/argus-3.0.8.2/argus' x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -Wl,-O1 -Wl,--as-needed -I. -I./../include -DHAVE_CONFIG_H -c argus.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -Wl,-O1 -Wl,--as-needed -I. -I./../include -DHAVE_CONFIG_H -c ArgusModeler.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -Wl,-O1 -Wl,--as-needed -I. -I./../include -DHAVE_CONFIG_H -c ArgusSource.c ArgusSource.c: In function ‘setArgusDevice’: ArgusSource.c:870:19: warning: ‘pcap_lookupdev’ is deprecated: use 'pcap_findalldevs' and use the first device [-Wdeprecated-declarations] 870 | setArgusDevice (src, pcap_lookupdev (errbuf), ARGUS_LIVE_DEVICE, 0); | ^~~~~~~~~~~~~~ In file included from /usr/include/pcap.h:43, from ./ArgusOutput.h:66, from ./ArgusUtil.h:129, from ./ArgusModeler.h:331, from ./argus.h:40, from ArgusSource.c:67: /usr/include/pcap/pcap.h:328:16: note: declared here 328 | PCAP_API char *pcap_lookupdev(char *) | ^~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -Wl,-O1 -Wl,--as-needed -I. -I./../include -DHAVE_CONFIG_H -c ArgusUtil.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -Wl,-O1 -Wl,--as-needed -I. -I./../include -DHAVE_CONFIG_H -c ArgusOutput.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -Wl,-O1 -Wl,--as-needed -I. -I./../include -DHAVE_CONFIG_H -c ArgusUdp.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -Wl,-O1 -Wl,--as-needed -I. -I./../include -DHAVE_CONFIG_H -c ArgusTcp.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -Wl,-O1 -Wl,--as-needed -I. -I./../include -DHAVE_CONFIG_H -c ArgusIcmp.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -Wl,-O1 -Wl,--as-needed -I. -I./../include -DHAVE_CONFIG_H -c ArgusIgmp.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -Wl,-O1 -Wl,--as-needed -I. -I./../include -DHAVE_CONFIG_H -c ArgusEsp.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -Wl,-O1 -Wl,--as-needed -I. -I./../include -DHAVE_CONFIG_H -c ArgusArp.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -Wl,-O1 -Wl,--as-needed -I. -I./../include -DHAVE_CONFIG_H -c ArgusFrag.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -Wl,-O1 -Wl,--as-needed -I. -I./../include -DHAVE_CONFIG_H -c ArgusUdt.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -Wl,-O1 -Wl,--as-needed -I. -I./../include -DHAVE_CONFIG_H -c ArgusLcp.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -Wl,-O1 -Wl,--as-needed -I. -I./../include -DHAVE_CONFIG_H -c ArgusIsis.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -Wl,-O1 -Wl,--as-needed -I. -I./../include -DHAVE_CONFIG_H -c ArgusAuth.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -Wl,-O1 -Wl,--as-needed -I. -I./../include -DHAVE_CONFIG_H -c Argus802.11.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -Wl,-O1 -Wl,--as-needed -I. -I./../include -DHAVE_CONFIG_H -c ArgusApp.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -Wl,-O1 -Wl,--as-needed -I. -I./../include -DHAVE_CONFIG_H -c ArgusEvents.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -Wl,-O1 -Wl,--as-needed -I. -I./../include -DHAVE_CONFIG_H -c ArgusNetflow.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -Wl,-O1 -Wl,--as-needed -I. -I./../include -DHAVE_CONFIG_H -c ArgusSflow.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -Wl,-O1 -Wl,--as-needed -I. -I./../include -DHAVE_CONFIG_H -o ../bin/argus argus.o ArgusModeler.o ArgusSource.o ArgusUtil.o ArgusOutput.o ArgusUdp.o ArgusTcp.o ArgusIcmp.o ArgusIgmp.o ArgusEsp.o ArgusArp.o ArgusFrag.o ArgusUdt.o ArgusLcp.o ArgusIsis.o ArgusAuth.o Argus802.11.o ArgusApp.o ArgusEvents.o ArgusNetflow.o ArgusSflow.o -Wl,-O1 -Wl,--as-needed -Wl,-rpath,/usr/lib64 -lpcap -lpthread -lwrap -lnsl -lsasl2 -lm -lz ../lib/argus_common.a -lm /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: ArgusUdt.o:(.bss+0x8): multiple definition of `bp'; ArgusUdp.o:(.bss+0x0): first defined here collect2: error: ld returned 1 exit status make[1]: *** [Makefile:103: ../bin/argus] Error 1 make[1]: Leaving directory '/var/tmp/portage/net-analyzer/argus-3.0.8.2-r1/work/argus-3.0.8.2/argus' make: *** [Makefile:58: all] Error 1 * ERROR: net-analyzer/argus-3.0.8.2-r1::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=net-analyzer/argus-3.0.8.2-r1::gentoo'`, * the complete build log and the output of `emerge -pqv '=net-analyzer/argus-3.0.8.2-r1::gentoo'`. * The complete build log is located at '/var/log/portage/net-analyzer:argus-3.0.8.2-r1:20200127-034343.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/net-analyzer/argus-3.0.8.2-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/net-analyzer/argus-3.0.8.2-r1/temp/environment'. * Working directory: '/var/tmp/portage/net-analyzer/argus-3.0.8.2-r1/work/argus-3.0.8.2' * S: '/var/tmp/portage/net-analyzer/argus-3.0.8.2-r1/work/argus-3.0.8.2'