* Package: net-ftp/netkit-ftpd-0.17-r9 * Repository: gentoo * Maintainer: base-system@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux ssl userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking linux-ftpd-0.17.tar.gz to /var/tmp/portage/net-ftp/netkit-ftpd-0.17-r9/work >>> Unpacking linux-ftpd-0.17-ssl.patch to /var/tmp/portage/net-ftp/netkit-ftpd-0.17-r9/work unpack linux-ftpd-0.17-ssl.patch: file format not recognized. Ignoring. >>> Source unpacked in /var/tmp/portage/net-ftp/netkit-ftpd-0.17-r9/work >>> Preparing source in /var/tmp/portage/net-ftp/netkit-ftpd-0.17-r9/work/linux-ftpd-0.17 ... * Applying linux-ftpd-0.17-ssl.patch ... [ ok ] * Applying netkit-ftpd-0.17-cleanup-ssl.patch ... [ ok ] * Applying netkit-ftpd-0.17-fclose-CVE-2007-6263.patch ... [ ok ] * Applying netkit-ftpd-0.17-cleanup.patch ... [ ok ] * Applying netkit-ftpd-0.17-build.patch ... [ ok ] * Applying netkit-ftpd-0.17-shadowfix.patch ... [ ok ] * Applying netkit-ftpd-0.17-gcc41.patch ... [ ok ] * Applying netkit-ftpd-0.17-setguid.patch ... [ ok ] * Applying netkit-ftpd-0.17-cross.patch ... [ ok ] * Applying netkit-ftpd-0.17-CVE-2008-4247.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/net-ftp/netkit-ftpd-0.17-r9/work/linux-ftpd-0.17 ... Directories: /usr/sbin /usr/man Checking if C compiler works... yes Checking if x86_64-pc-linux-gnu-gcc accepts gcc warnings... yes Checking for yacc... bison -y Checking for BSD signal semantics... yes Checking for shadow... yes Checking for crypt... -lcrypt Checking for socklen_t... yes Checking for snprintf declaration... ok Checking for snprintf implementation... ok Generating MCONFIG... >>> Source configured. >>> Compiling source in /var/tmp/portage/net-ftp/netkit-ftpd-0.17-r9/work/linux-ftpd-0.17 ... make -j1 (cd support && make) make[1]: Entering directory '/var/tmp/portage/net-ftp/netkit-ftpd-0.17-r9/work/linux-ftpd-0.17/support' x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -DUSE_SHADOW -DHASSETPROCTITLE daemon.c -c /usr/include/unistd.h: In function ‘daemon’: daemon.c:61:16: warning: ignoring return value of ‘chdir’, declared with attribute warn_unused_result [-Wunused-result] if (!nochdir) chdir("/"); ^~~~~~~~~~ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -DUSE_SHADOW -DHASSETPROCTITLE setproctitle.c -c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -DUSE_SHADOW -DHASSETPROCTITLE isexpired.c -c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -DUSE_SHADOW -DHASSETPROCTITLE vis.c -c ar -cruv libsupport.a daemon.o setproctitle.o isexpired.o vis.o a - daemon.o a - setproctitle.o a - isexpired.o a - vis.o ranlib libsupport.a make[1]: Leaving directory '/var/tmp/portage/net-ftp/netkit-ftpd-0.17-r9/work/linux-ftpd-0.17/support' (cd ftpd && make) make[1]: Entering directory '/var/tmp/portage/net-ftp/netkit-ftpd-0.17-r9/work/linux-ftpd-0.17/ftpd' x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -I../support -DUSE_SSL -g -DUSE_SHADOW -DHASSETPROCTITLE ftpd.c -c In file included from ftpd.c:143: sslapp.c: In function ‘do_ssleay_init’: sslapp.c:83:7: warning: ‘RSA_generate_key’ is deprecated [-Wdeprecated-declarations] rsa=RSA_generate_key(512,RSA_F4,NULL,NULL); ^~~ In file included from /usr/include/openssl/opensslconf.h:10, from /usr/include/openssl/e_os2.h:13, from /usr/include/openssl/crypto.h:22, from sslapp.h:19, from sslapp.c:17, from ftpd.c:143: /usr/include/openssl/rsa.h:193:1: note: declared here DEPRECATEDIN_0_9_8(RSA *RSA_generate_key(int bits, unsigned long e, void ^~~~~~~~~~~~~~~~~~ In file included from ftpd.c:143: sslapp.c:114:41: warning: passing argument 2 of ‘SSL_CTX_set_info_callback’ from incompatible pointer type [-Wincompatible-pointer-types] SSL_CTX_set_info_callback(ssl_ctx,client_info_callback); ^~~~~~~~~~~~~~~~~~~~ In file included from sslapp.h:33, from sslapp.c:17, from ftpd.c:143: /usr/include/openssl/ssl.h:652:39: note: expected ‘void (*)(const SSL *, int, int)’ {aka ‘void (*)(const struct ssl_st *, int, int)’} but argument is of type ‘void (*)(SSL *, int, int)’ {aka ‘void (*)(struct ssl_st *, int, int)’} void (*cb) (const SSL *ssl, int type, ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ int val)); ~~~~~~~~ In file included from ftpd.c:165: ssl_port.h: At top level: ssl_port.h:22: warning: "NOPROTO" redefined #define NOPROTO In file included from sslapp.c:17, from ftpd.c:143: sslapp.h:28: note: this is the location of the previous definition #define NOPROTO OLDPROTO ftpd.c: In function ‘pass’: ftpd.c:1021:14: warning: passing argument 1 of ‘time’ from incompatible pointer type [-Wincompatible-pointer-types] (void)time(&utmp.ut_time); ^ In file included from ftpd.c:99: /usr/include/time.h:75:29: note: expected ‘time_t *’ {aka ‘long int *’} but argument is of type ‘int32_t *’ {aka ‘int *’} extern time_t time (time_t *__timer) __THROW; ~~~~~~~~^~~~~~~ ftpd.c: In function ‘retrieve’: ftpd.c:283:24: warning: format ‘%qd’ expects argument of type ‘long long int’, but argument 6 has type ‘long int’ [-Wformat=] syslog(LOG_INFO, "%s %s%s = %qd bytes", cmd, \ ^~~~~~~~~~~~~~~~~~~~~ *(file) == '/' ? "" : curdir(), file, (quad_t)(cnt)); \ ~~~~~~~~~~~~~ ftpd.c:1219:3: note: in expansion of macro ‘LOGBYTES’ LOGBYTES("get", name, byte_count); ^~~~~~~~ ftpd.c: In function ‘store’: ftpd.c:283:24: warning: format ‘%qd’ expects argument of type ‘long long int’, but argument 6 has type ‘long int’ [-Wformat=] syslog(LOG_INFO, "%s %s%s = %qd bytes", cmd, \ ^~~~~~~~~~~~~~~~~~~~~ *(file) == '/' ? "" : curdir(), file, (quad_t)(cnt)); \ ~~~~~~~~~~~~~ ftpd.c:1295:2: note: in expansion of macro ‘LOGBYTES’ LOGBYTES(*mode == 'w' ? "put" : "append", name, byte_count); ^~~~~~~~ ftpd.c: In function ‘dataconn’: ftpd.c:1380:51: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 4 has type ‘long int’ [-Wformat=] (void) snprintf(sizebuf, sizeof(sizebuf), " (%lld bytes)", ~~~^ %ld (quad_t) size); ~~~~~~~~~~~~~ ftpd.c: At top level: ftpd.c:2628:1: warning: no previous prototype for ‘do_ssl_start’ [-Wmissing-prototypes] do_ssl_start(void) ^~~~~~~~~~~~ ftpd.c: In function ‘verify_callback’: ftpd.c:2760:14: error: dereferencing pointer to incomplete type ‘X509_STORE_CTX’ {aka ‘struct x509_store_ctx_st’} depth=ctx->error_depth; ^~ ftpd.c:2757:15: warning: variable ‘error’ set but not used [-Wunused-but-set-variable] int depth,error; ^~~~~ ftpd.c: In function ‘main’: ftpd.c:512:9: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result] (void) freopen(_PATH_DEVNULL, "w", stderr); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ftpd.c: In function ‘end_login’: ftpd.c:897:9: warning: ignoring return value of ‘seteuid’, declared with attribute warn_unused_result [-Wunused-result] (void) seteuid((uid_t)0); ^~~~~~~~~~~~~~~~~ ftpd.c: In function ‘getdatasock’: ftpd.c:1308:9: warning: ignoring return value of ‘seteuid’, declared with attribute warn_unused_result [-Wunused-result] (void) seteuid((uid_t)0); ^~~~~~~~~~~~~~~~~ ftpd.c: In function ‘dologout’: ftpd.c:2197:10: warning: ignoring return value of ‘seteuid’, declared with attribute warn_unused_result [-Wunused-result] (void) seteuid((uid_t)0); ^~~~~~~~~~~~~~~~~ ftpd.c: In function ‘logxfer’: ftpd.c:2592:3: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] write(statfd, buf, strlen(buf)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: *** [Makefile:23: ftpd.o] Error 1 make[1]: Leaving directory '/var/tmp/portage/net-ftp/netkit-ftpd-0.17-r9/work/linux-ftpd-0.17/ftpd' make: *** [Makefile:7: ftpd.build] Error 2 * ERROR: net-ftp/netkit-ftpd-0.17-r9::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=net-ftp/netkit-ftpd-0.17-r9::gentoo'`, * the complete build log and the output of `emerge -pqv '=net-ftp/netkit-ftpd-0.17-r9::gentoo'`. * The complete build log is located at '/var/log/portage/net-ftp:netkit-ftpd-0.17-r9:20190121-193648.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/net-ftp/netkit-ftpd-0.17-r9/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/net-ftp/netkit-ftpd-0.17-r9/temp/environment'. * Working directory: '/var/tmp/portage/net-ftp/netkit-ftpd-0.17-r9/work/linux-ftpd-0.17' * S: '/var/tmp/portage/net-ftp/netkit-ftpd-0.17-r9/work/linux-ftpd-0.17'