* Package: net-analyzer/bigeye-0.3-r4: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 bigeye-0.3.tgz to /var/tmp/portage/net-analyzer/bigeye-0.3-r4/work >>> Unpacking bigeye-0.3-gcc34.patch.xz to /var/tmp/portage/net-analyzer/bigeye-0.3-r4/work >>> Source unpacked in /var/tmp/portage/net-analyzer/bigeye-0.3-r4/work >>> Preparing source in /var/tmp/portage/net-analyzer/bigeye-0.3-r4/work/bigeye-0.3 ... * Applying bigeye-0.3-gcc34.patch ... [ ok ] * Applying bigeye-0.3-overflow.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/net-analyzer/bigeye-0.3-r4/work/bigeye-0.3 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/net-analyzer/bigeye-0.3-r4/work/bigeye-0.3 ... src/bigeye.c:589:34: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] (struct sockaddr *)&remote, &fromsiz); ^~~~~~~~ /usr/include/sys/socket.h:165:27: note: passing argument to parameter '__addr_len' here socklen_t *__restrict __addr_len); ^ src/bigeye.c:649:33: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] (struct sockaddr *)&remote, &fromsiz); ^~~~~~~~ /usr/include/sys/socket.h:165:27: note: passing argument to parameter '__addr_len' here socklen_t *__restrict __addr_len); ^ src/bigeye.c:704:33: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] (struct sockaddr *)&remote, &fromsiz); ^~~~~~~~ /usr/include/sys/socket.h:165:27: note: passing argument to parameter '__addr_len' here socklen_t *__restrict __addr_len); ^ src/bigeye.c:790:28: error: incompatible pointer to integer conversion passing 'char[2]' to parameter of type 'int' [-Wint-conversion] memset(&(local.sin_zero), "\0", sizeof(local.sin_zero)); ^~~~ /usr/include/string.h:61:37: note: passing argument to parameter '__c' here extern void *memset (void *__s, int __c, size_t __n) __THROW __nonnull ((1)); ^ src/bigeye.c:809:59: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] ...if((sock_b = accept(sock_a, (struct sockaddr *)&remote, &sin_size)) == -... ^~~~~~~~~ /usr/include/sys/socket.h:307:28: note: passing argument to parameter '__addr_len' here socklen_t *__restrict __addr_len); ^ src/bigeye.c:820:37: warning: passing 'char[1024]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if(hex == 1) hexdump("recvbuffer",recvbuffer, strlen(rec... ^~~~~~~~~~ src/bigeye.c:186:41: note: passing argument to parameter 'data' here void hexdump(char *desc, unsigned char *data, unsigned int amount); ^ src/bigeye.c:896:32: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] (struct sockaddr *)&remote, &fromlen); ^~~~~~~~ /usr/include/sys/socket.h:165:27: note: passing argument to parameter '__addr_len' here socklen_t *__restrict __addr_len); ^ src/bigeye.c:901:36: warning: passing 'char[1024]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if(hex == 1) hexdump("recvbuffer",recvbuffer, strlen(recvbuffer)); ^~~~~~~~~~ src/bigeye.c:186:41: note: passing argument to parameter 'data' here void hexdump(char *desc, unsigned char *data, unsigned int amount); ^ src/bigeye.c:954:42: warning: 'strncpy' call operates on objects of type 'char' while the size is based on a different type 'char *' [-Wsizeof-pointer-memaccess] strncpy(ifr.ifr_name, interface, sizeof(interface)); ~~~~~~~~~ ^~~~~~~~~ src/bigeye.c:954:42: note: did you mean to provide an explicit length? strncpy(ifr.ifr_name, interface, sizeof(interface)); ^~~~~~~~~ src/bigeye.c:1069:6: warning: comparison of array 'idstemp' equal to a null pointer is always false [-Wtautological-pointer-compare] if(idstemp == NULL) nullids = 1; ^~~~~~~ ~~~~ 9 warnings and 1 error generated. src/emulate.c:199:57: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] ...if((sockb = accept(socka, (struct sockaddr *)&remote, &sin_size)) < 0) { ^~~~~~~~~ /usr/include/sys/socket.h:307:28: note: passing argument to parameter '__addr_len' here socklen_t *__restrict __addr_len); ^ src/emulate.c:218:25: warning: passing 'char[1024]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] hexdump("recvbuffer",recvbuffer,strlen(recvbuffer)); ^~~~~~~~~~ src/emulate.c:131:50: note: passing argument to parameter 'data' here extern void hexdump ( char *desc, unsigned char *data, unsigned int amount ); ^ src/emulate.c:249:30: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] printf("bytes: [%d]\n\n",strlen(fbuff)); ~~ ^~~~~~~~~~~~~ %lu src/emulate.c:397:57: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] ...if((sockb = accept(socka, (struct sockaddr *)&remote, &sin_size)) < 0) { ^~~~~~~~~ /usr/include/sys/socket.h:307:28: note: passing argument to parameter '__addr_len' here socklen_t *__restrict __addr_len); ^ src/emulate.c:419:25: warning: passing 'char[1024]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] hexdump("banner buff",fbuff,strlen(fbuff)); ^~~~~ src/emulate.c:131:50: note: passing argument to parameter 'data' here extern void hexdump ( char *desc, unsigned char *data, unsigned int amount ); ^ src/emulate.c:431:25: warning: passing 'char[1024]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] hexdump("recvbuffer",recvbuffer,strlen(recvbuffer)); ^~~~~~~~~~ src/emulate.c:131:50: note: passing argument to parameter 'data' here extern void hexdump ( char *desc, unsigned char *data, unsigned int amount ); ^ src/emulate.c:740:64: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] ...pasvsockb = accept(pasvsock, (struct sockaddr *)&pasvremote, &pasvsize); ^~~~~~~~~ /usr/include/sys/socket.h:307:28: note: passing argument to parameter '__addr_len' here socklen_t *__restrict __addr_len); ^ src/emulate.c:1024:24: warning: passing 'char[1024]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] hexdump("recvbuffer",recvbuffer,strlen(recvbuffer)); ^~~~~~~~~~ src/emulate.c:131:50: note: passing argument to parameter 'data' here extern void hexdump ( char *desc, unsigned char *data, unsigned int amount ); ^ src/emulate.c:1077:24: warning: passing 'char[255]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] hexdump("passbuffer",passbuffer,strlen(passbuffer)); ^~~~~~~~~~ src/emulate.c:131:50: note: passing argument to parameter 'data' here extern void hexdump ( char *desc, unsigned char *data, unsigned int amount ); ^ 9 warnings generated. * ERROR: net-analyzer/bigeye-0.3-r4::gentoo failed (compile phase): * (no error message) * * Call stack: * ebuild.sh, line 122: Called src_compile * environment, line 1862: Called die * The specific snippet of code: * $(tc-getCC) ${CFLAGS} ${LDFLAGS} src/bigeye.c src/emulate.c -o src/bigeye || die * * If you need support, post the output of `emerge --info '=net-analyzer/bigeye-0.3-r4::gentoo'`, * the complete build log and the output of `emerge -pqv '=net-analyzer/bigeye-0.3-r4::gentoo'`. * The complete build log is located at '/var/log/portage/net-analyzer:bigeye-0.3-r4:20221006-015009.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/net-analyzer/bigeye-0.3-r4/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/net-analyzer/bigeye-0.3-r4/temp/environment'. * Working directory: '/var/tmp/portage/net-analyzer/bigeye-0.3-r4/work/bigeye-0.3' * S: '/var/tmp/portage/net-analyzer/bigeye-0.3-r4/work/bigeye-0.3'