* Package: net-analyzer/gensink-4.1-r2:0 * Repository: gentoo * Maintainer: netmon@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking gensink-4.1.tar.gz to /var/tmp/portage/net-analyzer/gensink-4.1-r2/work >>> Source unpacked in /var/tmp/portage/net-analyzer/gensink-4.1-r2/work >>> Preparing source in /var/tmp/portage/net-analyzer/gensink-4.1-r2/work/gensink-4.1 ... * Applying gensink-4.1-make.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/net-analyzer/gensink-4.1-r2/work/gensink-4.1 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/net-analyzer/gensink-4.1-r2/work/gensink-4.1 ... make -j4 x86_64-pc-linux-gnu-gcc -O3 -pipe -march=native -fno-diagnostics-color -c gen4.c x86_64-pc-linux-gnu-gcc -O3 -pipe -march=native -fno-diagnostics-color -c report.c x86_64-pc-linux-gnu-gcc -O3 -pipe -march=native -fno-diagnostics-color -c sink4.c x86_64-pc-linux-gnu-gcc -O3 -pipe -march=native -fno-diagnostics-color -c tub4.c tub4.c: In function ‘main’: tub4.c:133:15: error: passing argument 2 of ‘bind’ from incompatible pointer type [-Wincompatible-pointer-types] 133 | if (bind(s, &saddr, sizeof(saddr)) != 0) | ^~~~~~ | | | struct sockaddr_in * In file included from tub4.c:22: /usr/include/sys/socket.h:112:49: note: expected ‘const struct sockaddr *’ but argument is of type ‘struct sockaddr_in *’ 112 | extern int bind (int __fd, __CONST_SOCKADDR_ARG __addr, socklen_t __len) | ^ sink4.c: In function ‘main’: sink4.c:125:21: error: passing argument 2 of ‘bind’ from incompatible pointer type [-Wincompatible-pointer-types] 125 | if (bind(s, &saddr, sizeof(saddr)) != 0) | ^~~~~~ | | | struct sockaddr_in * In file included from sink4.c:19: /usr/include/sys/socket.h:112:49: note: expected ‘const struct sockaddr *’ but argument is of type ‘struct sockaddr_in *’ 112 | extern int bind (int __fd, __CONST_SOCKADDR_ARG __addr, socklen_t __len) | ^ make: *** [Makefile:6: tub4.o] Error 1 make: *** Waiting for unfinished jobs.... make: *** [Makefile:6: sink4.o] Error 1 gen4.c: In function ‘main’: gen4.c:116:24: error: passing argument 2 of ‘connect’ from incompatible pointer type [-Wincompatible-pointer-types] 116 | if (connect(s, &saddr, sizeof(saddr)) != 0) | ^~~~~~ | | | struct sockaddr_in * In file included from gen4.c:19: /usr/include/sys/socket.h:126:52: note: expected ‘const struct sockaddr *’ but argument is of type ‘struct sockaddr_in *’ 126 | extern int connect (int __fd, __CONST_SOCKADDR_ARG __addr, socklen_t __len); | ^ make: *** [Makefile:6: gen4.o] Error 1 * ERROR: net-analyzer/gensink-4.1-r2::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=net-analyzer/gensink-4.1-r2::gentoo'`, * the complete build log and the output of `emerge -pqv '=net-analyzer/gensink-4.1-r2::gentoo'`. * The complete build log is located at '/var/log/portage/net-analyzer:gensink-4.1-r2:20231204-185447.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/net-analyzer/gensink-4.1-r2/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/net-analyzer/gensink-4.1-r2/temp/environment'. * Working directory: '/var/tmp/portage/net-analyzer/gensink-4.1-r2/work/gensink-4.1' * S: '/var/tmp/portage/net-analyzer/gensink-4.1-r2/work/gensink-4.1'