* Package: net-misc/rinetd-0.62-r2:0 * Repository: gentoo * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking rinetd-0.62.tar.gz to /var/tmp/portage/net-misc/rinetd-0.62-r2/work >>> Source unpacked in /var/tmp/portage/net-misc/rinetd-0.62-r2/work >>> Preparing source in /var/tmp/portage/net-misc/rinetd-0.62-r2/work/rinetd ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/net-misc/rinetd-0.62-r2/work/rinetd ... >>> Source configured. >>> Compiling source in /var/tmp/portage/net-misc/rinetd-0.62-r2/work/rinetd ... make -j4 'CFLAGS=-pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -DLINUX' 'LDFLAGS=-Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0' clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -DLINUX -c -o rinetd.o rinetd.c clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -DLINUX -c -o match.o match.c rinetd.c:34:9: error: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] return close(s); ^ rinetd.c:176:6: warning: incompatible redeclaration of library function 'log' [-Wincompatible-library-redeclaration] void log(int i, int coSe, int result); ^ rinetd.c:176:6: note: 'log' is a builtin with type 'double (double)' rinetd.c:239:7: error: call to undeclared function 'fork'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] if (!fork()) { ^ rinetd.c:544:37: warning: result of comparison of constant 65536 with expression of type 'unsigned short' is always false [-Wtautological-constant-out-of-range-compare] if ((bindPort == 0) || (bindPort >= 65536)) { ~~~~~~~~ ^ ~~~~~ rinetd.c:567:43: warning: result of comparison of constant 65536 with expression of type 'unsigned short' is always false [-Wtautological-constant-out-of-range-compare] if ((connectPort == 0) || (connectPort >= 65536)) { ~~~~~~~~~~~ ^ ~~~~~ rinetd.c:1014:32: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] nfd = accept(seFds[i], &addr, &addrlen); ^~~~~~~~ /usr/include/sys/socket.h:307:28: note: passing argument to parameter '__addr_len' here socklen_t *__restrict __addr_len); ^ rinetd.c:1322:19: error: call to undeclared function 'inet_addr'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] iaddr->s_addr = inet_addr(host); ^ rinetd.c:1374:29: error: call to undeclared function 'getpid'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] fprintf(pid_file, "%d\n", getpid()); ^ rinetd.c:1395:7: warning: address of function 'log' will always evaluate to 'true' [-Wpointer-bool-conversion] if (!log) { ~^~~ rinetd.c:1395:7: note: prefix with the address-of operator to silence this warning if (!log) { ^ & 5 warnings and 4 errors generated. make: *** [: rinetd.o] Error 1 make: *** Waiting for unfinished jobs.... * ERROR: net-misc/rinetd-0.62-r2::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=net-misc/rinetd-0.62-r2::gentoo'`, * the complete build log and the output of `emerge -pqv '=net-misc/rinetd-0.62-r2::gentoo'`. * The complete build log is located at '/var/log/portage/net-misc:rinetd-0.62-r2:20220917-193323.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/net-misc/rinetd-0.62-r2/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/net-misc/rinetd-0.62-r2/temp/environment'. * Working directory: '/var/tmp/portage/net-misc/rinetd-0.62-r2/work/rinetd' * S: '/var/tmp/portage/net-misc/rinetd-0.62-r2/work/rinetd'