>>> Unpacking source... >>> Unpacking netkit-ftp-0.17.tar.gz to /var/tmp/portage/net-ftp/ftp-0.17-r7/work tar: A lone zero block at 420 * Applying netkit-ftp-0.17-ssl-0.2.patch ...  [ ok ] * Applying netkit-ftp-0.17-ipv6.patch ...  [ ok ] * Applying netkit-ftp-0.17-dont-strcpy-overlapping.patch ...  [ ok ] * Applying netkit-ftp-0.17-acct.patch ...  [ ok ] * Applying netkit-ftp-0.17-locale.patch ...  [ ok ] * Applying netkit-ftp-0.17-runique_mget.patch ...  [ ok ] * Applying netkit-ftp-0.17-security.patch ...  [ ok ] * Applying netkit-ftp-0.17-segv.patch ...  [ ok ] * Applying netkit-ftp-0.17-custom-cflags.patch ...  [ ok ] * Applying netkit-ftp-0.17-sigseg.patch ...  [ ok ] >>> Source unpacked. >>> Compiling source in /var/tmp/portage/net-ftp/ftp-0.17-r7/work/netkit-ftp-0.17 ... Directories: /usr/bin /usr/man Looking for a C compiler... gcc Checking if gcc accepts gcc warnings... yes Checking if gcc accepts -O2... yes Whether to enable SSL support... yes Whether to enable IPv6 support... yes Search for IPv6 library... not found Checking for BSD signal semantics... yes Checking for ncurses... yes Checking for GNU libc... yes Checking for libreadline... yes Checking for socklen_t... yes Checking for snprintf declaration... ok Checking for snprintf implementation... ok Generating MCONFIG... (cd ftp && make) make[1]: Entering directory `/var/tmp/portage/net-ftp/ftp-0.17-r7/work/netkit-ftp-0.17/ftp' x86_64-pc-linux-gnu-gcc -march=athlon64 -fomit-frame-pointer -pipe -O2 -DUSE_SSL -DINET6 -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -D__USE_READLINE__ cmds.c -c x86_64-pc-linux-gnu-gcc -march=athlon64 -fomit-frame-pointer -pipe -O2 -DUSE_SSL -DINET6 -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -D__USE_READLINE__ cmdtab.c -c x86_64-pc-linux-gnu-gcc -march=athlon64 -fomit-frame-pointer -pipe -O2 -DUSE_SSL -DINET6 -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -D__USE_READLINE__ domacro.c -c In file included from ftp_var.h:167, from cmdtab.c:41: ssl_port.h:22:1: warning: "NOPROTO" redefined In file included from ftp_var.h:166, from cmdtab.c:41: sslapp.h:28:1: warning: this is the location of the previous definition x86_64-pc-linux-gnu-gcc -march=athlon64 -fomit-frame-pointer -pipe -O2 -DUSE_SSL -DINET6 -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -D__USE_READLINE__ ftp.c -c In file included from ftp_var.h:167, from domacro.c:45: ssl_port.h:22:1: warning: "NOPROTO" redefined In file included from ftp_var.h:166, from domacro.c:45: sslapp.h:28:1: warning: this is the location of the previous definition In file included from ftp_var.h:167, from ftp.c:106: ssl_port.h:22:1: warning: "NOPROTO" redefined In file included from ftp_var.h:166, from ftp.c:106: sslapp.h:28:1: warning: this is the location of the previous definition In file included from ftp_var.h:167, from cmds.c:68: ssl_port.h:22:1: warning: "NOPROTO" redefined In file included from ftp_var.h:166, from cmds.c:68: sslapp.h:28:1: warning: this is the location of the previous definition x86_64-pc-linux-gnu-gcc -march=athlon64 -fomit-frame-pointer -pipe -O2 -DUSE_SSL -DINET6 -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -D__USE_READLINE__ glob.c -c In file included from ftp_var.h:167, from glob.c:54: ssl_port.h:22:1: warning: "NOPROTO" redefined In file included from ftp_var.h:166, from glob.c:54: sslapp.h:28:1: warning: this is the location of the previous definition glob.c: In function 'ftpglob': glob.c:118: error: 'ARG_MAX' undeclared (first use in this function) glob.c:118: error: (Each undeclared identifier is reported only once glob.c:118: error: for each function it appears in.) glob.c:118: warning: unused variable 'agargv' glob.c: In function 'ginit': glob.c:159: error: 'ARG_MAX' undeclared (first use in this function) glob.c: In function 'Gcat': glob.c:574: error: 'ARG_MAX' undeclared (first use in this function) make[1]: *** [glob.o] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: Leaving directory `/var/tmp/portage/net-ftp/ftp-0.17-r7/work/netkit-ftp-0.17/ftp' make: *** [ftp.build] Error 2 * * ERROR: net-ftp/ftp-0.17-r7 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 2397: Called die * The specific snippet of code: * emake CC="$(tc-getCC)" LDFLAGS="${LDFLAGS}" || die "make failed" * The die message: * make failed * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/tmp/portage/net-ftp/ftp-0.17-r7/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/net-ftp/ftp-0.17-r7/temp/environment'. *