* Package: net-analyzer/labrea-2.5_p1:0 * Repository: gentoo * Maintainer: netmon@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking labrea-2.5-stable-1.tar.gz to /var/tmp/portage/net-analyzer/labrea-2.5_p1/work >>> Source unpacked in /var/tmp/portage/net-analyzer/labrea-2.5_p1/work >>> Preparing source in /var/tmp/portage/net-analyzer/labrea-2.5_p1/work/labrea-2.5-stable-1 ... * Applying labrea-2.5-stable-1-incdir.patch ... patching file src/Makefile.am Hunk #1 succeeded at 2 with fuzz 2. [ ok ] * Applying labrea-2.5-pcap_open.patch ... [ ok ] * Applying labrea-2.5-libdir.patch ... [ ok ] * Running eautoreconf in '/var/tmp/portage/net-analyzer/labrea-2.5_p1/work/labrea-2.5-stable-1' ... * Running 'aclocal --system-acdir=/var/tmp/portage/net-analyzer/labrea-2.5_p1/temp/aclocal' ... [ ok ] * Running 'autoconf --force' ... [ ok ] * Running 'autoheader' ... [ ok ] * Running 'automake --add-missing --copy --foreign --force-missing' ... [ ok ] * Running elibtoolize in: labrea-2.5-stable-1/ >>> Source prepared. >>> Configuring source in /var/tmp/portage/net-analyzer/labrea-2.5_p1/work/labrea-2.5-stable-1 ... * econf: updating labrea-2.5-stable-1/config.sub with /usr/share/gnuconfig/config.sub * econf: updating labrea-2.5-stable-1/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 --disable-dependency-tracking --disable-silent-rules --docdir=/usr/share/doc/labrea-2.5_p1 --htmldir=/usr/share/doc/labrea-2.5_p1/html --libdir=/usr/lib64 checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking for a BSD-compatible install... /usr/lib/portage/python3.10/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 for target os... linux-gnu checking whether make sets $(MAKE)... (cached) yes checking for x86_64-pc-linux-gnu-gcc... clang 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 clang accepts -g... yes checking for clang option to enable C11 features... none needed checking whether clang understands -c and -o together... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of clang... none checking whether ln -s works... yes checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib checking for libpcap... yes checking for libdnet... yes 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... /bin/grep checking for egrep... /bin/grep -E checking for fcntl.h... yes checking for getopt.h... yes checking for err.h... yes checking for sys/ioctl.h... yes checking for syslog.h... yes checking for time.h... yes checking for unistd.h... (cached) yes checking for windows.h... no checking for winsock.h... no checking for an ANSI C-conforming const... yes checking for off_t... yes checking for pid_t... yes checking for size_t... yes checking whether struct tm is in sys/time.h or time.h... time.h checking how to run the C preprocessor... clang -E checking whether clang needs -traditional... no checking for working memcmp... yes checking return type of signal handlers... void checking for strstr... yes checking for strtol... yes checking for strlcpy... no checking for gnu getopt support... yes checking if debug should be enabled... 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 inc/Makefile config.status: creating misc/Makefile config.status: creating config.h config.status: executing depfiles commands >>> Source configured. '/var/tmp/portage/net-analyzer/labrea-2.5_p1/temp/clang14.log' -> '/var/tmp/clang/net-analyzer/labrea-2.5_p1/clang14.log' '/var/tmp/portage/net-analyzer/labrea-2.5_p1/temp/clang15.log' -> '/var/tmp/clang/net-analyzer/labrea-2.5_p1/clang15.log' >>> Compiling source in /var/tmp/portage/net-analyzer/labrea-2.5_p1/work/labrea-2.5-stable-1 ... make -j4 make all-recursive make[1]: Entering directory '/var/tmp/portage/net-analyzer/labrea-2.5_p1/work/labrea-2.5-stable-1' Making all in misc make[2]: Entering directory '/var/tmp/portage/net-analyzer/labrea-2.5_p1/work/labrea-2.5-stable-1/misc' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/var/tmp/portage/net-analyzer/labrea-2.5_p1/work/labrea-2.5-stable-1/misc' Making all in inc make[2]: Entering directory '/var/tmp/portage/net-analyzer/labrea-2.5_p1/work/labrea-2.5-stable-1/inc' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/var/tmp/portage/net-analyzer/labrea-2.5_p1/work/labrea-2.5-stable-1/inc' Making all in src make[2]: Entering directory '/var/tmp/portage/net-analyzer/labrea-2.5_p1/work/labrea-2.5-stable-1/src' clang -DHAVE_CONFIG_H -I. -I.. -iquote../inc -I/usr/include -idirafter/usr/include/asm -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -Wall -c -o labrea.o labrea.c clang -DHAVE_CONFIG_H -I. -I.. -iquote../inc -I/usr/include -idirafter/usr/include/asm -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -Wall -c -o labrea_init.o labrea_init.c clang -DHAVE_CONFIG_H -I. -I.. -iquote../inc -I/usr/include -idirafter/usr/include/asm -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -Wall -c -o pkt_handler.o pkt_handler.c clang -DHAVE_CONFIG_H -I. -I.. -iquote../inc -I/usr/include -idirafter/usr/include/asm -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -Wall -c -o lbio.o lbio.c labrea.c:70:3: error: call to undeclared function 'util_alarm'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] util_alarm(); /* Set an alarm to cause timer pop */ ^ 1 error generated. lbio.c:254:14labrea_init.c:126:20: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] int len = strlen(texpr); ^~~~~ /usr/include/string.h:407:35: note: passing argument to parameter '__s' here extern size_t strlen (const char *__s) ^ labrea_init.c:130:15: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (strlcpy(p, chunk, len) >= len) { ^ ../config.h:132:23: note: passing argument to parameter here size_t strlcpy(char *, const char *, size_t); ^ labrea_init.c:130:18: warning: passing 'const u_char *' :(aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to warning: integer types where onepassing is of the unique plain 'char' type and the other is not [-Wpointer-sign] 'u_char *' if (strlcpy(p, chunk, len) >= len) { ^~~~~ ../config.h:132:37: note: passing argument to parameter here(aka 'unsigned char *') size_t strlcpy(char *, const char *, size_t); ^ to labrea_init.c:165:16: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] parameter strlcpy(buf, p, sizeof(buf)); /* Copy, watching for buffer overflow */ ^of type 'const char *'../config.h :converts132 :between37 :pointers note: topassing integerargument typesto whereparameter hereone is of the unique plain 'char' size_t strlcpy(char *, const char *, size_t);type ^and the other is not [-Wpointer-sign] if (strlen(dev) > 0) { ^~~ /usr/include/string.h:407:35: note: passing argument to parameter '__s' here extern size_t strlen (const char *__s) ^ lbio.c:260:34: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strlcpy(io.ifent->intf_name, dev, sizeof(io.ifent->intf_name)); ^~~ ../config.h:132:37: note: passing argument to parameter here size_t strlcpy(char *, const char *, size_t); ^ pkt_handler.c:144:10: warning: passing 'char[17]' to parameter of type 'const u_char *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] "Persist Trapping"); ^~~~~~~~~~~~~~~~~~ ../inc/lbio.h:69:41: note: passing argument to parameter 'msg' here const uint16_t ipl, const u_char *msg); ^ pkt_handler.c:190:55: warning: passing 'char *' to parameter of type 'const u_char *' (aka 'const unsigned char *') convertslbio.c:339:28: warning: passing 'u_char *' between pointers to integer (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is nottypes [-Wpointer-sign] where if (pcap_filter(io.pcap, texpr) < 0) { ^~~~~ one ../inc/pcaputil.h:20:43: note: passing argumentis to parameter 'fmt' here of int pcap_filter(pcap_t *pcap, const char *fmt, ...); ^ the unique plain 'char' type and the other is not [-Wpointer-sign] lbio_send_ip_pkt(new, pkt, IP_HDR_LEN + TCP_HDR_LEN, msgptr); ^~~~~~ ../inc/lbio.h:69:41: note: passing argument to parameter 'msg' here const uint16_t ipl, const u_char *msg); ^ labrea_init.c:375:28: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] io.intf_num = read_number(optarg); ^~~~~~ labrea_init.c:159:22: note: passing argument to parameter 'p' here read_number (u_char *p) ^ lbio.c:390:27: warning: passing arguments to 'bget' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if ((io.bogus_mac = bget(sizeof(struct addr))) == NULL) { ^ labrea_init.c:423:38: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ctl.throttlesize = read_number(optarg); ^~~~~~ labrea_init.c:159:22: note: passing argument to parameter 'p' here read_number (u_char *p) ^ labrea_init.c:426:30: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ctl.rate = read_number(optarg); ^~~~~~ labrea_init.c:159:22: note: passing argument to parameter 'p' here read_number (u_char *p) ^ labrea_init.c:441:31: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ctl.maxbw = read_number(optarg); ^~~~~~ labrea_init.c:159:22: note: passing argument to parameter 'p' here read_number (u_char *p) ^ make[2]: *** [Makefile:399: labrea.o] Error 1 labrea_init.c:462:32: warning: passing 'char *' to parameter of type make[2]: *** Waiting for unfinished jobs.... 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ctl.syslog_port = read_number(optarg); ^~~~~~ labrea_init.c:159:22: note: passing argument to parameter 'p' here read_number (u_char *p) ^ labrea_init.c:475:36: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ctl.debuglevel = read_number(optarg); ^~~~~~ labrea_init.c:159:22: note: passing argument to parameter 'p' here read_number (u_char *p) ^ labrea_init.c:502:9: warning: format string is not a string literal (potentially insecure) [-Wformat-security] warnx( bigstring2 ); ^~~~~~~~~~ labrea_init.c:502:9: note: treat the string as an argument to avoid this warnx( bigstring2 ); ^ "%s", labrea_init.c:543:22: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] build_bpf_filter(texpr, bpf, BPFSIZE); ^~~~~ labrea_init.c:123:26: note: passing argument to parameter 'texpr' here build_bpf_filter(u_char *texpr, const u_char *chunk, const size_t siz) ^ labrea_init.c:543:29: warning: passing 'char[49]' to parameter of type 'const u_char *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] build_bpf_filter(texpr, bpf, BPFSIZE); ^~~ labrea_init.c:123:47: note: passing argument to parameter 'chunk' here build_bpf_filter(u_char *texpr, const u_char *chunk, const size_t siz) ^ labrea_init.c:553:24: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] build_bpf_filter(texpr, " or (", BPFSIZE); ^~~~~ labrea_init.c:123:26: note: passing argument to parameter 'texpr' here build_bpf_filter(u_char *texpr, const u_char *chunk, const size_t siz) ^ labrea_init.c:553:31: warning: passing 'char[6]' to parameter of type 'const u_char *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] build_bpf_filter(texpr, " or (", BPFSIZE); ^~~~~~~ labrea_init.c:123:47: note: passing argument to parameter 'chunk' here build_bpf_filter(u_char *texpr, const u_char *chunk, const size_t siz) ^ labrea_init.c:556:19: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] build_bpf_filter(texpr, argv[c], BPFSIZE); /* tack on another ar... ^~~~~ labrea_init.c:123:26: note: passing argument to parameter 'texpr' here build_bpf_filter(u_char *texpr, const u_char *chunk, const size_t siz) ^ labrea_init.c:556:26: warning: passing 'char *' to parameter of type 'const u_char *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] build_bpf_filter(texpr, argv[c], BPFSIZE); /* tack on another ar... ^~~~~~~ labrea_init.c:123:47: note: passing argument to parameter 'chunk' here build_bpf_filter(u_char *texpr, const u_char *chunk, const size_t siz) ^ labrea_init.c:558:24: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] build_bpf_filter(texpr, ")", BPFSIZE); ^~~~~ labrea_init.c:123:26: note: passing argument to parameter 'texpr' here build_bpf_filter(u_char *texpr, const u_char *chunk, const size_t siz) ^ labrea_init.c:558:31: warning: passing 'char[2]' to parameter of type 'const u_char *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] build_bpf_filter(texpr, ")", BPFSIZE); ^~~ labrea_init.c:123:47: note: passing argument to parameter 'chunk' here build_bpf_filter(u_char *texpr, const u_char *chunk, const size_t siz) ^ labrea_init.c:568:21: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] build_bpf_filter(texpr, " or (", BPFSIZE); ^~~~~ labrea_init.c:123:26: note: passing argument to parameter 'texpr' here build_bpf_filter(u_char *texpr, const u_char *chunk, const size_t siz) ^ labrea_init.c:568:28: warning: passing 'char[6]' to pkt_handler.cparameter of :type 'const u_char *' (aka 'const unsigned char *')429 converts between pointers to integer types where onelbio.c :is of the: unique460 :plain13 :'char' typewarning: passingand 'u_char[2]'the (aka 'unsigned char[2]') 10: warning: passingotherto is 'char[29]'not to[-Wpointer-sign] parameter parameter of typeof type 'char *' converts 'const u_char *'between pointers to integer types (aka 'const unsigned char *') whereconverts build_bpf_filter(texpr, " or (", BPFSIZE); ^~~~~~~ onelabrea_init.c:123: 47between: pointersnote: passing toargument integerto typesparameter 'chunk' here is of the unique plain 'char' typebuild_bpf_filter(u_char *texpr, const u_char *chunk, const size_t siz) and ^ the otherwhere is onenot is [-Wpointer-sign]of strncpy(c, " ", sizeof(c));the unique plain 'char' type and ^ the/usr/include/string.hlabrea_init.c:573 other is not [-Wpointer-sign] :25: warning: passing 'char *' to "Initial Connect - tarpitting"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ parameter of type ../inc/lbio.h:69:41: 'u_char *' :144:40: note: passing argument to parameter '__dest' here extern char *strncpy (char *__restrict __dest, ^ note: passing argument to parameter (aka 'unsigned char *')'msg' hereconverts between pointers to integer types where one is of the unique plain const uint16_t ipl, const u_char *msg); ^ 'char' type and the other is not [-Wpointer-sign] build_bpf_filter(texpr, mybuffer, BPFSIZE); ^~~~~ labrea_init.c:123:26: note: passing argument to parameter 'texpr' here build_bpf_filter(u_char *texpr, const u_char *chunk, const size_t siz) ^ labrea_init.c:573:32: warning: passing 'char[1024]' to parameter of type 'const u_char *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] build_bpf_filter(texpr, mybuffer, BPFSIZE); ^~~~~~~~ labrea_init.c:123:47: note: passing argument to parameter 'chunk' here build_bpf_filter(u_char *texpr, const u_char *chunk, const size_t siz) ^ pkt_handler.c:462:10: warning: passing 'char[16]' to parameter of type 'const u_char *' (aka 'const unsigned char *') converts between pointers labrea_init.c:576:to23: integer types where one warning: is of the unique plain 'char'passing type and the other'char *' is notto parameter of type [-Wpointer-sign] 'u_char *' (aka 'unsigned char *') converts between pointers to "Inbound SYN/ACK"); integer ^~~~~~~~~~~~~~~~~types where one is of the unique plain../inc/lbio.h 'char' type: and the69 other is not [-Wpointer-sign] : build_bpf_filter(texpr, ")", BPFSIZE); 41: note: passing argument ^~~~~ to parameter 'msg' here labrea_init.c:123:26: note: passing const uint16_t ipl, const u_char *msg); ^ argument to parameter 'texpr' here build_bpf_filter(u_char *texpr, const u_char *chunk, const size_t siz) ^ labrea_init.c:576:30: warning: passing 'char[2]' to parameter of type 'const u_char *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] build_bpf_filter(texpr, ")", BPFSIZE); ^~~ labrea_init.c:123:47: note: passing argument to parameter 'chunk' here pkt_handler.c:496:10: warning: passing 'char[20]' to parameterbuild_bpf_filter(u_char *texpr, const u_char *chunk, const size_t siz) ^ of type 'const u_char *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] "Responded to a Ping"); ^~~~~~~~~~~~~~~~~~~~~ ../inc/lbio.h:69:41: note: passing argument to parameter 'msg' here const uint16_t ipl, const u_char *msg); ^ labrea_init.c:670:13: warning: passing 'char[1024]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] lbio_init(dev, texpr); ^~~ ../inc/lbio.h:66:25: note: passing argument to parameter 'dev' here void lbio_init(u_char *dev, u_char *texpr); ^ labrea_init.c:670:18: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] lbio_init(dev, texpr); ^~~~~ ../inc/lbio.h:66:38: note: passing argument to parameter 'texpr' here void lbio_init(u_char *dev, u_char *texpr); ^ 5 warnings generated. 27 warnings generated. 5 warnings generated. make[2]: Leaving directory '/var/tmp/portage/net-analyzer/labrea-2.5_p1/work/labrea-2.5-stable-1/src' make[1]: *** [Makefile:371: all-recursive] Error 1 make[1]: Leaving directory '/var/tmp/portage/net-analyzer/labrea-2.5_p1/work/labrea-2.5-stable-1' make: *** [Makefile:312: all] Error 2 * ERROR: net-analyzer/labrea-2.5_p1::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=net-analyzer/labrea-2.5_p1::gentoo'`, * the complete build log and the output of `emerge -pqv '=net-analyzer/labrea-2.5_p1::gentoo'`. * The complete build log is located at '/var/log/portage/net-analyzer:labrea-2.5_p1:20220918-171643.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/net-analyzer/labrea-2.5_p1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/net-analyzer/labrea-2.5_p1/temp/environment'. * Working directory: '/var/tmp/portage/net-analyzer/labrea-2.5_p1/work/labrea-2.5-stable-1' * S: '/var/tmp/portage/net-analyzer/labrea-2.5_p1/work/labrea-2.5-stable-1'