* Package: net-analyzer/barnyard2-1.13:0 * Repository: gentoo * Maintainer: netmon@gentoo.org * Upstream: dev@securixlive.com * USE: abi_x86_64 amd64 elibc_glibc kernel_linux mysql odbc postgres * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking barnyard2-1.13-github.tar.gz to /var/tmp/portage/net-analyzer/barnyard2-1.13/work >>> Source unpacked in /var/tmp/portage/net-analyzer/barnyard2-1.13/work >>> Preparing source in /var/tmp/portage/net-analyzer/barnyard2-1.13/work/barnyard2-2-1.13 ... * Applying barnyard2-1.13-free.patch ... [ ok ] * Applying barnyard2-1.13-libdir.patch ... [ ok ] * Applying barnyard2-1.13-my_bool.patch ... [ ok ] * Applying barnyard2-1.13-odbc.patch ... [ ok ] * Applying barnyard2-1.13-Werror.patch ... [ ok ] * Applying barnyard2-1.13-pcap-1.9.0.patch ... [ ok ] * Running eautoreconf in '/var/tmp/portage/net-analyzer/barnyard2-1.13/work/barnyard2-2-1.13' ... * Running 'libtoolize --install --copy --force --automake' ... [ ok ] * Running 'aclocal -I m4 -I m4 --system-acdir=/var/tmp/portage/net-analyzer/barnyard2-1.13/temp/aclocal' ... [ ok ] * This package has a configure.in file which has long been deprecated. Please * update it to use configure.ac instead as newer versions of autotools will die * when it finds this file. See https://bugs.gentoo.org/426262 for details. * Running 'autoconf -I m4 --force' ... [ ok ] * Running 'autoheader -I m4' ... [ ok ] * Running 'automake --add-missing --copy --foreign --force-missing' ... [ ok ] * Running elibtoolize in: barnyard2-2-1.13/ * Applying portage/1.2.0 patch ... * Applying sed/1.5.6 patch ... * Applying as-needed/2.4.3 patch ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/net-analyzer/barnyard2-1.13/work/barnyard2-2-1.13 ... * econf: updating barnyard2-2-1.13/config.guess with /usr/share/gnuconfig/config.guess * econf: updating barnyard2-2-1.13/config.sub with /usr/share/gnuconfig/config.sub ./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 --disable-dependency-tracking --disable-silent-rules --docdir=/usr/share/doc/barnyard2-1.13 --htmldir=/usr/share/doc/barnyard2-1.13/html --with-sysroot=/ --libdir=/usr/lib64 --disable-debug --disable-gre --disable-mpls --with-mysql --with-odbc --with-postgresql --without-tcl --disable-aruba --disable-ipv6 --disable-mysql-ssl-support --disable-prelude --disable-static --without-oracle checking for a BSD-compatible install... /usr/lib/portage/python3.11/ebuild-helpers/xattr/install -c checking whether build environment is sane... yes checking for a race-free mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking how to print strings... printf checking whether make supports the include directive... yes (GNU style) 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 the compiler supports GNU C... yes checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes checking for x86_64-pc-linux-gnu-gcc option to enable C11 features... none needed checking whether x86_64-pc-linux-gnu-gcc understands -c and -o together... yes checking dependency style of x86_64-pc-linux-gnu-gcc... none checking for a sed that does not truncate output... /bin/sed checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for fgrep... /bin/grep -F checking for ld used by x86_64-pc-linux-gnu-gcc... /usr/x86_64-pc-linux-gnu/bin/ld checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/x86_64-pc-linux-gnu-nm -B checking the name lister (/usr/bin/x86_64-pc-linux-gnu-nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/x86_64-pc-linux-gnu/bin/ld option to reload object files... -r checking for x86_64-pc-linux-gnu-file... no checking for file... file checking for x86_64-pc-linux-gnu-objdump... x86_64-pc-linux-gnu-objdump checking how to recognize dependent libraries... pass_all checking for x86_64-pc-linux-gnu-dlltool... x86_64-pc-linux-gnu-dlltool checking how to associate runtime and link libraries... printf %s\n checking for x86_64-pc-linux-gnu-ar... x86_64-pc-linux-gnu-ar checking for archiver @FILE support... @ checking for x86_64-pc-linux-gnu-strip... x86_64-pc-linux-gnu-strip checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib checking command to parse /usr/bin/x86_64-pc-linux-gnu-nm -B output from x86_64-pc-linux-gnu-gcc object... ok checking for sysroot... / checking for a working dd... /bin/dd checking how to truncate binary pipes... /bin/dd bs=4096 count=1 checking for x86_64-pc-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no 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 dlfcn.h... yes checking for objdir... .libs checking if x86_64-pc-linux-gnu-gcc supports -fno-rtti -fno-exceptions... no checking for x86_64-pc-linux-gnu-gcc option to produce PIC... -fPIC -DPIC checking if x86_64-pc-linux-gnu-gcc PIC flag -fPIC -DPIC works... yes checking if x86_64-pc-linux-gnu-gcc static flag -static works... yes checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... yes checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... (cached) yes checking whether the x86_64-pc-linux-gnu-gcc linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking whether to enable maintainer-specific portions of Makefiles... no checking for x86_64-pc-linux-gnu-gcc... (cached) x86_64-pc-linux-gnu-gcc checking whether the compiler supports GNU C... (cached) yes checking whether x86_64-pc-linux-gnu-gcc accepts -g... (cached) yes checking for x86_64-pc-linux-gnu-gcc option to enable C11 features... (cached) none needed checking whether x86_64-pc-linux-gnu-gcc understands -c and -o together... (cached) yes checking dependency style of x86_64-pc-linux-gnu-gcc... (cached) none checking whether byte ordering is bigendian... no checking for bison... bison checking for flex... flex checking for strings.h... (cached) yes checking for string.h... (cached) yes checking for stdlib.h... (cached) yes checking for unistd.h... (cached) yes checking for sys/sockio.h... no checking for paths.h... yes checking for inttypes.h... (cached) yes checking for wchar.h... yes checking for math.h... yes checking for floor in -lm... yes checking for ceil in -lm... yes checking for inet_ntoa in -lnsl... yes checking for socket in -lsocket... no checking whether printf must be declared... no checking whether fprintf must be declared... no checking whether syslog must be declared... no checking whether puts must be declared... no checking whether fputs must be declared... no checking whether fputc must be declared... no checking whether fopen must be declared... no checking whether fclose must be declared... no checking whether fwrite must be declared... no checking whether fflush must be declared... no checking whether getopt must be declared... no checking whether bzero must be declared... no checking whether bcopy must be declared... no checking whether memset must be declared... no checking whether strtol must be declared... no checking whether strcasecmp must be declared... no checking whether strncasecmp must be declared... no checking whether strerror must be declared... no checking whether perror must be declared... no checking whether socket must be declared... no checking whether sendto must be declared... no checking whether vsnprintf must be declared... no checking whether snprintf must be declared... no checking whether strtoul must be declared... no checking for snprintf... yes checking for strlcpy... yes checking for strlcat... yes checking for strerror... yes checking for vswprintf... yes checking for wprintf... yes checking size of char... 1 checking size of short... 2 checking size of int... 4 checking size of long int... 8 checking size of long long int... 8 checking size of unsigned int... 4 checking size of unsigned long int... 8 checking size of unsigned long long int... 8 checking for u_int8_t... yes checking for u_int16_t... yes checking for u_int32_t... yes checking for u_int64_t... yes checking for uint8_t... yes checking for uint16_t... yes checking for uint32_t... yes checking for uint64_t... yes checking for int8_t... yes checking for int16_t... yes checking for int32_t... yes checking for int64_t... yes checking for INADDR_NONE... yes checking for __FUNCTION__... yes checking for pcap.h... yes checking for pcap_datalink in -lpcap... yes checking for sparc... no checking for mysql... checking for mysql_query in -lmysqlclient... yes yes checking for compress in -lz... yes checking for mysql default client reconnect... no checking for mysql reconnect option... yes checking for mysql setting of reconnect option before connect bug... no checking "for odbc"... checking for SQLAllocHandle in -lodbc... yes yes checking for postgresql... checking for PQexec in -lpq... yes yes checking for PQexec in -lpq... (cached) yes checking for PQping... yes checking for linuxthreads... no checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating src/sfutil/Makefile config.status: creating src/input-plugins/Makefile config.status: creating src/output-plugins/Makefile config.status: creating etc/Makefile config.status: creating doc/Makefile config.status: creating rpm/Makefile config.status: creating schemas/Makefile config.status: creating m4/Makefile config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands >>> Source configured. >>> Compiling source in /var/tmp/portage/net-analyzer/barnyard2-1.13/work/barnyard2-2-1.13 ... make -j4 make all-recursive make[1]: Entering directory '/var/tmp/portage/net-analyzer/barnyard2-1.13/work/barnyard2-2-1.13' Making all in src make[2]: Entering directory '/var/tmp/portage/net-analyzer/barnyard2-1.13/work/barnyard2-2-1.13/src' Making all in sfutil make[3]: Entering directory '/var/tmp/portage/net-analyzer/barnyard2-1.13/work/barnyard2-2-1.13/src/sfutil' x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -I.. -I/usr/include/mysql -DENABLE_MYSQL -DENABLE_ODBC -DENABLE_POSTGRESQL -O3 -pipe -march=native -fno-diagnostics-color -Wall -c -o getopt_long.o getopt_long.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -I.. -I/usr/include/mysql -DENABLE_MYSQL -DENABLE_ODBC -DENABLE_POSTGRESQL -O3 -pipe -march=native -fno-diagnostics-color -Wall -c -o sfmemcap.o sfmemcap.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -I.. -I/usr/include/mysql -DENABLE_MYSQL -DENABLE_ODBC -DENABLE_POSTGRESQL -O3 -pipe -march=native -fno-diagnostics-color -Wall -c -o sfprimetable.o sfprimetable.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -I.. -I/usr/include/mysql -DENABLE_MYSQL -DENABLE_ODBC -DENABLE_POSTGRESQL -O3 -pipe -march=native -fno-diagnostics-color -Wall -c -o sfxhash.o sfxhash.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -I.. -I/usr/include/mysql -DENABLE_MYSQL -DENABLE_ODBC -DENABLE_POSTGRESQL -O3 -pipe -march=native -fno-diagnostics-color -Wall -c -o sf_ip.o sf_ip.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -I.. -I/usr/include/mysql -DENABLE_MYSQL -DENABLE_ODBC -DENABLE_POSTGRESQL -O3 -pipe -march=native -fno-diagnostics-color -Wall -c -o sf_iph.o sf_iph.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -I.. -I/usr/include/mysql -DENABLE_MYSQL -DENABLE_ODBC -DENABLE_POSTGRESQL -O3 -pipe -march=native -fno-diagnostics-color -Wall -c -o sf_ipvar.o sf_ipvar.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -I.. -I/usr/include/mysql -DENABLE_MYSQL -DENABLE_ODBC -DENABLE_POSTGRESQL -O3 -pipe -march=native -fno-diagnostics-color -Wall -c -o sf_textlog.o sf_textlog.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -I.. -I/usr/include/mysql -DENABLE_MYSQL -DENABLE_ODBC -DENABLE_POSTGRESQL -O3 -pipe -march=native -fno-diagnostics-color -Wall -c -o sf_vartable.o sf_vartable.c rm -f libsfutil.a x86_64-pc-linux-gnu-ar cru libsfutil.a getopt_long.o sfmemcap.o sfprimetable.o sfxhash.o sf_ip.o sf_iph.o sf_ipvar.o sf_textlog.o sf_vartable.o x86_64-pc-linux-gnu-ranlib libsfutil.a make[3]: Leaving directory '/var/tmp/portage/net-analyzer/barnyard2-1.13/work/barnyard2-2-1.13/src/sfutil' Making all in output-plugins make[3]: Entering directory '/var/tmp/portage/net-analyzer/barnyard2-1.13/work/barnyard2-2-1.13/src/output-plugins' x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -I.. -I ../sfutil -I/usr/include/mysql -DENABLE_MYSQL -DENABLE_ODBC -DENABLE_POSTGRESQL -O3 -pipe -march=native -fno-diagnostics-color -Wall -c -o spo_alert_arubaaction.o spo_alert_arubaaction.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -I.. -I ../sfutil -I/usr/include/mysql -DENABLE_MYSQL -DENABLE_ODBC -DENABLE_POSTGRESQL -O3 -pipe -march=native -fno-diagnostics-color -Wall -c -o spo_alert_bro.o spo_alert_bro.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -I.. -I ../sfutil -I/usr/include/mysql -DENABLE_MYSQL -DENABLE_ODBC -DENABLE_POSTGRESQL -O3 -pipe -march=native -fno-diagnostics-color -Wall -c -o spo_alert_cef.o spo_alert_cef.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -I.. -I ../sfutil -I/usr/include/mysql -DENABLE_MYSQL -DENABLE_ODBC -DENABLE_POSTGRESQL -O3 -pipe -march=native -fno-diagnostics-color -Wall -c -o spo_alert_csv.o spo_alert_csv.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -I.. -I ../sfutil -I/usr/include/mysql -DENABLE_MYSQL -DENABLE_ODBC -DENABLE_POSTGRESQL -O3 -pipe -march=native -fno-diagnostics-color -Wall -c -o spo_alert_fast.o spo_alert_fast.c spo_alert_cef.c: In function ‘AlertCEF’: spo_alert_cef.c:500:42: warning: variable ‘cn’ set but not used [-Wunused-but-set-variable] 500 | ClassType *cn; | ^~ x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -I.. -I ../sfutil -I/usr/include/mysql -DENABLE_MYSQL -DENABLE_ODBC -DENABLE_POSTGRESQL -O3 -pipe -march=native -fno-diagnostics-color -Wall -c -o spo_alert_full.o spo_alert_full.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -I.. -I ../sfutil -I/usr/include/mysql -DENABLE_MYSQL -DENABLE_ODBC -DENABLE_POSTGRESQL -O3 -pipe -march=native -fno-diagnostics-color -Wall -c -o spo_alert_fwsam.o spo_alert_fwsam.c spo_alert_arubaaction.c: In function ‘ParseAlertArubaActionArgs’: spo_alert_arubaaction.c:592:9: warning: ‘__builtin_strncpy’ specified bound depends on the length of the source argument [-Wstringop-truncation] 592 | strncpy(data->secret, toks[2], strlen(toks[2])); | ^ spo_alert_arubaaction.c:592:9: note: length computed here 592 | strncpy(data->secret, toks[2], strlen(toks[2])); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ spo_alert_arubaaction.c:621:17: warning: ‘__builtin_strncpy’ specified bound depends on the length of the source argument [-Wstringop-truncation] 621 | strncpy(data->role_name, action_toks[1], | ^ spo_alert_arubaaction.c:621:17: note: length computed here 621 | strncpy(data->role_name, action_toks[1], | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 622 | strlen(action_toks[1])); | ~~~~~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -I.. -I ../sfutil -I/usr/include/mysql -DENABLE_MYSQL -DENABLE_ODBC -DENABLE_POSTGRESQL -O3 -pipe -march=native -fno-diagnostics-color -Wall -c -o spo_alert_prelude.o spo_alert_prelude.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -I.. -I ../sfutil -I/usr/include/mysql -DENABLE_MYSQL -DENABLE_ODBC -DENABLE_POSTGRESQL -O3 -pipe -march=native -fno-diagnostics-color -Wall -c -o spo_alert_syslog.o spo_alert_syslog.c spo_alert_fwsam.c: In function ‘FWsamReadLine’: spo_alert_fwsam.c:620:9: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 620 | if(p>buf); | ^~ spo_alert_fwsam.c:621:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 621 | strcpy(buf,p); | ^~~~~~ spo_alert_fwsam.c: In function ‘AlertFWsam’: spo_alert_fwsam.c:979:18: warning: variable ‘cn’ set but not used [-Wunused-but-set-variable] 979 | ClassType *cn = NULL; | ^~ spo_alert_fwsam.c:978:18: warning: variable ‘sn’ set but not used [-Wunused-but-set-variable] 978 | SigNode *sn = NULL; | ^~ spo_alert_fwsam.c:971:27: warning: variable ‘lastbsp’ set but not used [-Wunused-but-set-variable] 971 | static unsigned short lastbsp[FWSAM_REPET_BLOCKS]; | ^~~~~~~ x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -I.. -I ../sfutil -I/usr/include/mysql -DENABLE_MYSQL -DENABLE_ODBC -DENABLE_POSTGRESQL -O3 -pipe -march=native -fno-diagnostics-color -Wall -c -o spo_alert_test.o spo_alert_test.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -I.. -I ../sfutil -I/usr/include/mysql -DENABLE_MYSQL -DENABLE_ODBC -DENABLE_POSTGRESQL -O3 -pipe -march=native -fno-diagnostics-color -Wall -c -o spo_alert_unixsock.o spo_alert_unixsock.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -I.. -I ../sfutil -I/usr/include/mysql -DENABLE_MYSQL -DENABLE_ODBC -DENABLE_POSTGRESQL -O3 -pipe -march=native -fno-diagnostics-color -Wall -c -o spo_common.o spo_common.c spo_alert_unixsock.c: In function ‘AlertUnixSock’: spo_alert_unixsock.c:254:5: warning: this ‘else’ clause does not guard... [-Wmisleading-indentation] 254 | else | ^~~~ spo_alert_unixsock.c:257:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘else’ 257 | sn = GetSigByGidSid(ntohl(((Unified2EventCommon *)event)->generator_id), | ^~ x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -I.. -I ../sfutil -I/usr/include/mysql -DENABLE_MYSQL -DENABLE_ODBC -DENABLE_POSTGRESQL -O3 -pipe -march=native -fno-diagnostics-color -Wall -c -o spo_log_ascii.o spo_log_ascii.c spo_alert_unixsock.c: In function ‘OpenAlertSock’: spo_alert_unixsock.c:363:5: warning: ‘__builtin_strncpy’ specified bound 108 equals destination size [-Wstringop-truncation] 363 | strncpy(alertaddr.sun_path, data->filename, 108); | ^ x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -I.. -I ../sfutil -I/usr/include/mysql -DENABLE_MYSQL -DENABLE_ODBC -DENABLE_POSTGRESQL -O3 -pipe -march=native -fno-diagnostics-color -Wall -c -o spo_log_null.o spo_log_null.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -I.. -I ../sfutil -I/usr/include/mysql -DENABLE_MYSQL -DENABLE_ODBC -DENABLE_POSTGRESQL -O3 -pipe -march=native -fno-diagnostics-color -Wall -c -o spo_log_tcpdump.o spo_log_tcpdump.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -I.. -I ../sfutil -I/usr/include/mysql -DENABLE_MYSQL -DENABLE_ODBC -DENABLE_POSTGRESQL -O3 -pipe -march=native -fno-diagnostics-color -Wall -c -o spo_sguil.o spo_sguil.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -I.. -I ../sfutil -I/usr/include/mysql -DENABLE_MYSQL -DENABLE_ODBC -DENABLE_POSTGRESQL -O3 -pipe -march=native -fno-diagnostics-color -Wall -c -o spo_echidna.o spo_echidna.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -I.. -I ../sfutil -I/usr/include/mysql -DENABLE_MYSQL -DENABLE_ODBC -DENABLE_POSTGRESQL -O3 -pipe -march=native -fno-diagnostics-color -Wall -c -o spo_syslog_full.o spo_syslog_full.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -I.. -I ../sfutil -I/usr/include/mysql -DENABLE_MYSQL -DENABLE_ODBC -DENABLE_POSTGRESQL -O3 -pipe -march=native -fno-diagnostics-color -Wall -c -o spo_database.o spo_database.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -I.. -I ../sfutil -I/usr/include/mysql -DENABLE_MYSQL -DENABLE_ODBC -DENABLE_POSTGRESQL -O3 -pipe -march=native -fno-diagnostics-color -Wall -c -o spo_database_cache.o spo_database_cache.c spo_database_cache.c: In function ‘ClassificationPullDataStore’: spo_database_cache.c:1544:63: error: passing argument 2 of ‘SQLRowCount’ from incompatible pointer type [-Wincompatible-pointer-types] 1544 | if(SQLRowCount(data->u_statement, &data->u_rows) != SQL_SUCCESS) | ^~~~~~~~~~~~~ | | | SQLINTEGER * {aka int *} In file included from ../output-plugins/spo_database.h:78, from spo_database_cache.c:32: /usr/include/sql.h:768:44: note: expected ‘SQLLEN *’ {aka ‘long int *’} but argument is of type ‘SQLINTEGER *’ {aka ‘int *’} 768 | SQLLEN *RowCount); | ~~~~~~~~^~~~~~~~ spo_database_cache.c:1606:104: error: passing argument 6 of ‘SQLBindCol’ from incompatible pointer type [-Wincompatible-pointer-types] 1606 | t,1,SQL_C_LONG,&tClassObj.db_sig_class_id,sizeof(u_int32_t),&col1_len) != SQL_SUCCESS) | ^~~~~~~~~ | | | SQLINTEGER * {aka int *} /usr/include/sql.h:593:43: note: expected ‘SQLLEN *’ {aka ‘long int *’} but argument is of type ‘SQLINTEGER *’ {aka ‘int *’} 593 | SQLLEN *StrLen_or_Ind); | ~~~~~~~~^~~~~~~~~~~~~ spo_database_cache.c:1614:118: error: passing argument 6 of ‘SQLBindCol’ from incompatible pointer type [-Wincompatible-pointer-types] 1614 | ,&tClassObj.sig_class_name,(sizeof(char) * CLASS_NAME_LEN) ,&col2_len) != SQL_SUCCESS) | ^~~~~~~~~ | | | SQLINTEGER * {aka int *} /usr/include/sql.h:593:43: note: expected ‘SQLLEN *’ {aka ‘long int *’} but argument is of type ‘SQLINTEGER *’ {aka ‘int *’} 593 | SQLLEN *StrLen_or_Ind); | ~~~~~~~~^~~~~~~~~~~~~ spo_database_cache.c: In function ‘SignaturePullDataStore’: spo_database_cache.c:2662:63: error: passing argument 2 of ‘SQLRowCount’ from incompatible pointer type [-Wincompatible-pointer-types] 2662 | if(SQLRowCount(data->u_statement, &data->u_rows) != SQL_SUCCESS) | ^~~~~~~~~~~~~ | | | SQLINTEGER * {aka int *} /usr/include/sql.h:768:44: note: expected ‘SQLLEN *’ {aka ‘long int *’} but argument is of type ‘SQLINTEGER *’ {aka ‘int *’} 768 | SQLLEN *RowCount); | ~~~~~~~~^~~~~~~~ spo_database.c: In function ‘dbProcessEventInformation’: spo_database_cache.c:2728:88: error: passing argument 6 of ‘SQLBindCol’ from incompatible pointer type [-Wincompatible-pointer-types] 2728 | ->u_statement,1,SQL_C_LONG,&tSigObj.db_id,sizeof(u_int32_t),&col1_len) != SQL_SUCCESS) | ^~~~~~~~~ | | | SQLINTEGER * {aka int *} /usr/include/sql.h:593:43: note: expected ‘SQLLEN *’ {aka ‘long int *’} but argument is of type ‘SQLINTEGER *’ {aka ‘int *’} 593 | SQLLEN *StrLen_or_Ind); | ~~~~~~~~^~~~~~~~~~~~~ spo_database.c:2042:33: warning: the comparison will always evaluate as ‘true’ for the address of ‘tcp_options’ will never be NULL [-Waddress] 2042 | if( (&p->tcp_options[i]) && | ^ In file included from ../plugbase.h:70, from ../spooler.h:32, from ../barnyard2.h:52, from ../output-plugins/spo_database.h:49, from spo_database.c:103: ../decode.h:1623:13: note: ‘tcp_options’ declared here 1623 | Options tcp_options[TCP_OPTLENMAX]; /* tcp options decode struct */ | ^~~~~~~~~~~ spo_database_cache.c:2736:86: error: passing argument 6 of ‘SQLBindCol’ from incompatible pointer type [-Wincompatible-pointer-types] 2736 | ta->u_statement,2,SQL_C_LONG,&tSigObj.sid,sizeof(u_int32_t),&col2_len) != SQL_SUCCESS) | ^~~~~~~~~ | | | SQLINTEGER * {aka int *} /usr/include/sql.h:593:43: note: expected ‘SQLLEN *’ {aka ‘long int *’} but argument is of type ‘SQLINTEGER *’ {aka ‘int *’} 593 | SQLLEN *StrLen_or_Ind); | ~~~~~~~~^~~~~~~~~~~~~ spo_database_cache.c:2744:87: error: passing argument 6 of ‘SQLBindCol’ from incompatible pointer type [-Wincompatible-pointer-types] 2744 | a->u_statement,3,SQL_C_LONG,&tSigObj.gid,sizeof(u_int32_t) ,&col3_len) != SQL_SUCCESS) | ^~~~~~~~~ | | | SQLINTEGER * {aka int *} /usr/include/sql.h:593:43: note: expected ‘SQLLEN *’ {aka ‘long int *’} but argument is of type ‘SQLINTEGER *’ {aka ‘int *’} 593 | SQLLEN *StrLen_or_Ind); | ~~~~~~~~^~~~~~~~~~~~~ spo_database.c:2243:29: warning: the comparison will always evaluate as ‘true’ for the address of ‘ip_options’ will never be NULL [-Waddress] 2243 | if( (&p->ip_options[i]) && | ^ ../decode.h:1622:13: note: ‘ip_options’ declared here 1622 | Options ip_options[IP_OPTMAX]; /* ip options decode structure */ | ^~~~~~~~~~ spo_database_cache.c:2752:87: error: passing argument 6 of ‘SQLBindCol’ from incompatible pointer type [-Wincompatible-pointer-types] 2752 | a->u_statement,4,SQL_C_LONG,&tSigObj.rev,sizeof(u_int32_t) ,&col4_len) != SQL_SUCCESS) | ^~~~~~~~~ | | | SQLINTEGER * {aka int *} /usr/include/sql.h:593:43: note: expected ‘SQLLEN *’ {aka ‘long int *’} but argument is of type ‘SQLINTEGER *’ {aka ‘int *’} 593 | SQLLEN *StrLen_or_Ind); | ~~~~~~~~^~~~~~~~~~~~~ spo_database_cache.c:2760:92: error: passing argument 6 of ‘SQLBindCol’ from incompatible pointer type [-Wincompatible-pointer-types] 2760 | statement,5,SQL_C_LONG,&tSigObj.class_id,sizeof(u_int32_t) ,&col4_len) != SQL_SUCCESS) | ^~~~~~~~~ | | | SQLINTEGER * {aka int *} /usr/include/sql.h:593:43: note: expected ‘SQLLEN *’ {aka ‘long int *’} but argument is of type ‘SQLINTEGER *’ {aka ‘int *’} 593 | SQLLEN *StrLen_or_Ind); | ~~~~~~~~^~~~~~~~~~~~~ spo_database_cache.c:2768:95: error: passing argument 6 of ‘SQLBindCol’ from incompatible pointer type [-Wincompatible-pointer-types] 2768 | tement,6,SQL_C_LONG,&tSigObj.priority_id,sizeof(u_int32_t) ,&col5_len) != SQL_SUCCESS) | ^~~~~~~~~ | | | SQLINTEGER * {aka int *} /usr/include/sql.h:593:43: note: expected ‘SQLLEN *’ {aka ‘long int *’} but argument is of type ‘SQLINTEGER *’ {aka ‘int *’} 593 | SQLLEN *StrLen_or_Ind); | ~~~~~~~~^~~~~~~~~~~~~ spo_database_cache.c:2776:100: error: passing argument 6 of ‘SQLBindCol’ from incompatible pointer type [-Wincompatible-pointer-types] 2776 | t,7,SQL_C_CHAR,tSigObj.message, (sizeof(char)*SIG_MSG_LEN) ,&col6_len) != SQL_SUCCESS) | ^~~~~~~~~ | | | SQLINTEGER * {aka int *} /usr/include/sql.h:593:43: note: expected ‘SQLLEN *’ {aka ‘long int *’} but argument is of type ‘SQLINTEGER *’ {aka ‘int *’} 593 | SQLLEN *StrLen_or_Ind); | ~~~~~~~~^~~~~~~~~~~~~ spo_database_cache.c: In function ‘ReferencePullDataStore’: spo_database.c: In function ‘Select’: spo_database_cache.c:3375:59: error: passing argument 2 of ‘SQLRowCount’ from incompatible pointer type [-Wincompatible-pointer-types] 3375 | if(SQLRowCount(data->u_statement, &data->u_rows) != SQL_SUCCESS) | ^~~~~~~~~~~~~ | | | SQLINTEGER * {aka int *} /usr/include/sql.h:768:44: note: expected ‘SQLLEN *’ {aka ‘long int *’} but argument is of type ‘SQLINTEGER *’ {aka ‘int *’} 768 | SQLLEN *RowCount); | ~~~~~~~~^~~~~~~~ spo_database_cache.c:3436:89: error: passing argument 6 of ‘SQLBindCol’ from incompatible pointer type [-Wincompatible-pointer-types] 3436 | >u_statement,1,SQL_C_LONG,&tRefObj.ref_id,sizeof(u_int32_t),&col1_len) != SQL_SUCCESS) | ^~~~~~~~~ | | | SQLINTEGER * {aka int *} /usr/include/sql.h:593:43: note: expected ‘SQLLEN *’ {aka ‘long int *’} but argument is of type ‘SQLINTEGER *’ {aka ‘int *’} 593 | SQLLEN *StrLen_or_Ind); | ~~~~~~~~^~~~~~~~~~~~~ spo_database.c:3841:55: error: passing argument 2 of ‘SQLRowCount’ from incompatible pointer type [-Wincompatible-pointer-types] 3841 | if(SQLRowCount(data->u_statement, &data->u_rows) == SQL_SUCCESS) | ^~~~~~~~~~~~~ | | | SQLINTEGER * {aka int *} In file included from ../output-plugins/spo_database.h:78: /usr/include/sql.h:768:44: note: expected ‘SQLLEN *’ {aka ‘long int *’} but argument is of type ‘SQLINTEGER *’ {aka ‘int *’} 768 | SQLLEN *RowCount); | ~~~~~~~~^~~~~~~~ spo_database_cache.c:3444:92: error: passing argument 6 of ‘SQLBindCol’ from incompatible pointer type [-Wincompatible-pointer-types] 3444 | statement,2,SQL_C_LONG,&tRefObj.system_id,sizeof(u_int32_t),&col2_len) != SQL_SUCCESS) | ^~~~~~~~~ | | | SQLINTEGER * {aka int *} /usr/include/sql.h:593:43: note: expected ‘SQLLEN *’ {aka ‘long int *’} but argument is of type ‘SQLINTEGER *’ {aka ‘int *’} 593 | SQLLEN *StrLen_or_Ind); | ~~~~~~~~^~~~~~~~~~~~~ spo_database_cache.c:3452:101: error: passing argument 6 of ‘SQLBindCol’ from incompatible pointer type [-Wincompatible-pointer-types] 3452 | ,3,SQL_C_CHAR,&tRefObj.ref_tag,(sizeof(char) *REF_TAG_LEN) ,&col3_len) != SQL_SUCCESS) | ^~~~~~~~~ | | | SQLINTEGER * {aka int *} /usr/include/sql.h:593:43: note: expected ‘SQLLEN *’ {aka ‘long int *’} but argument is of type ‘SQLINTEGER *’ {aka ‘int *’} 593 | SQLLEN *StrLen_or_Ind); | ~~~~~~~~^~~~~~~~~~~~~ spo_database_cache.c: In function ‘SystemPullDataStore’: spo_database_cache.c:3891:59: error: passing argument 2 of ‘SQLRowCount’ from incompatible pointer type [-Wincompatible-pointer-types] 3891 | if(SQLRowCount(data->u_statement, &data->u_rows) != SQL_SUCCESS) | ^~~~~~~~~~~~~ | | | SQLINTEGER * {aka int *} /usr/include/sql.h:768:44: note: expected ‘SQLLEN *’ {aka ‘long int *’} but argument is of type ‘SQLINTEGER *’ {aka ‘int *’} 768 | SQLLEN *RowCount); | ~~~~~~~~^~~~~~~~ spo_database_cache.c:3953:106: error: passing argument 6 of ‘SQLBindCol’ from incompatible pointer type [-Wincompatible-pointer-types] 3953 | 1,SQL_C_LONG,&tSystemObj.db_ref_system_id,sizeof(u_int32_t),&col1_len) != SQL_SUCCESS) | ^~~~~~~~~ | | | SQLINTEGER * {aka int *} /usr/include/sql.h:593:43: note: expected ‘SQLLEN *’ {aka ‘long int *’} but argument is of type ‘SQLINTEGER *’ {aka ‘int *’} 593 | SQLLEN *StrLen_or_Ind); | ~~~~~~~~^~~~~~~~~~~~~ spo_database_cache.c:3961:121: error: passing argument 6 of ‘SQLBindCol’ from incompatible pointer type [-Wincompatible-pointer-types] 3961 | SystemObj.ref_system_name,(sizeof(char) * SYSTEM_NAME_LEN) ,&col2_len) != SQL_SUCCESS) | ^~~~~~~~~ | | | SQLINTEGER * {aka int *} /usr/include/sql.h:593:43: note: expected ‘SQLLEN *’ {aka ‘long int *’} but argument is of type ‘SQLINTEGER *’ {aka ‘int *’} 593 | SQLLEN *StrLen_or_Ind); | ~~~~~~~~^~~~~~~~~~~~~ spo_database_cache.c: In function ‘SignatureReferencePullDataStore’: spo_database_cache.c:4939:59: error: passing argument 2 of ‘SQLRowCount’ from incompatible pointer type [-Wincompatible-pointer-types] 4939 | if(SQLRowCount(data->u_statement, &data->u_rows) != SQL_SUCCESS) | ^~~~~~~~~~~~~ | | | SQLINTEGER * {aka int *} /usr/include/sql.h:768:44: note: expected ‘SQLLEN *’ {aka ‘long int *’} but argument is of type ‘SQLINTEGER *’ {aka ‘int *’} 768 | SQLLEN *RowCount); | ~~~~~~~~^~~~~~~~ spo_database_cache.c:5001:95: error: passing argument 6 of ‘SQLBindCol’ from incompatible pointer type [-Wincompatible-pointer-types] 5001 | tement,1,SQL_C_LONG,&tSigRefObj.db_ref_id,sizeof(u_int32_t),&col1_len) != SQL_SUCCESS) | ^~~~~~~~~ | | | SQLINTEGER * {aka int *} /usr/include/sql.h:593:43: note: expected ‘SQLLEN *’ {aka ‘long int *’} but argument is of type ‘SQLINTEGER *’ {aka ‘int *’} 593 | SQLLEN *StrLen_or_Ind); | ~~~~~~~~^~~~~~~~~~~~~ spo_database_cache.c:5009:95: error: passing argument 6 of ‘SQLBindCol’ from incompatible pointer type [-Wincompatible-pointer-types] 5009 | tement,2,SQL_C_LONG,&tSigRefObj.db_sig_id,sizeof(u_int32_t),&col1_len) != SQL_SUCCESS) | ^~~~~~~~~ | | | SQLINTEGER * {aka int *} /usr/include/sql.h:593:43: note: expected ‘SQLLEN *’ {aka ‘long int *’} but argument is of type ‘SQLINTEGER *’ {aka ‘int *’} 593 | SQLLEN *StrLen_or_Ind); | ~~~~~~~~^~~~~~~~~~~~~ spo_database_cache.c:5017:93: error: passing argument 6 of ‘SQLBindCol’ from incompatible pointer type [-Wincompatible-pointer-types] 5017 | tatement,3,SQL_C_LONG,&tSigRefObj.ref_seq,sizeof(u_int32_t),&col1_len) != SQL_SUCCESS) | ^~~~~~~~~ | | | SQLINTEGER * {aka int *} /usr/include/sql.h:593:43: note: expected ‘SQLLEN *’ {aka ‘long int *’} but argument is of type ‘SQLINTEGER *’ {aka ‘int *’} 593 | SQLLEN *StrLen_or_Ind); | ~~~~~~~~^~~~~~~~~~~~~ spo_database_cache.c: In function ‘SignatureReferenceCacheUpdateDBid’: spo_database_cache.c:5270:13: warning: ‘memset’ used with length equal to number of elements without multiplication by element size [-Wmemset-elt-size] 5270 | memset(sigRefArr,'\0',MAX_REF_OBJ); | ^~~~~~ make[3]: *** [Makefile:392: spo_database.o] Error 1 make[3]: *** Waiting for unfinished jobs.... make[3]: *** [Makefile:392: spo_database_cache.o] Error 1 make[3]: Leaving directory '/var/tmp/portage/net-analyzer/barnyard2-1.13/work/barnyard2-2-1.13/src/output-plugins' make[2]: *** [Makefile:498: all-recursive] Error 1 make[2]: Leaving directory '/var/tmp/portage/net-analyzer/barnyard2-1.13/work/barnyard2-2-1.13/src' make[1]: *** [Makefile:414: all-recursive] Error 1 make[1]: Leaving directory '/var/tmp/portage/net-analyzer/barnyard2-1.13/work/barnyard2-2-1.13' make: *** [Makefile:346: all] Error 2 * ERROR: net-analyzer/barnyard2-1.13::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=net-analyzer/barnyard2-1.13::gentoo'`, * the complete build log and the output of `emerge -pqv '=net-analyzer/barnyard2-1.13::gentoo'`. * The complete build log is located at '/var/log/portage/net-analyzer:barnyard2-1.13:20231204-085122.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/net-analyzer/barnyard2-1.13/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/net-analyzer/barnyard2-1.13/temp/environment'. * Working directory: '/var/tmp/portage/net-analyzer/barnyard2-1.13/work/barnyard2-2-1.13' * S: '/var/tmp/portage/net-analyzer/barnyard2-1.13/work/barnyard2-2-1.13'