* Package: net-misc/netkit-telnetd-0.17-r10 * Repository: gentoo * Maintainer: maintainer-needed@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU * FEATURES: preserve-libs sandbox userpriv usersandbox * Applying netkit-telnet_0.17-36.diff ... [ ok ] * Applying netkit-telnetd-0.17-cflags-gnu_source.patch ... [ ok ] Directories: /usr/bin /usr/sbin /usr/man Checking if C compiler works... yes Checking if x86_64-pc-linux-gnu-gcc accepts gcc warnings... yes Checking if C++ compiler works... yes Checking if x86_64-pc-linux-gnu-g++ accepts gcc warnings... yes Checking if x86_64-pc-linux-gnu-gcc accepts -O2... yes Checking if x86_64-pc-linux-gnu-g++ accepts -O2... yes Checking if x86_64-pc-linux-gnu-g++ accepts -fno-rtti... yes Checking if x86_64-pc-linux-gnu-g++ accepts -fno-exceptions... yes Checking for BSD signal semantics... yes Checking for ncurses... yes Checking for GNU libc... yes Checking for forkpty... -lutil Checking for logwtmp... -lutil Checking for snprintf declaration... ok Checking for snprintf implementation... ok Generating MCONFIG... (cd telnet && make) (cd telnetd && make) (cd telnetlogin && make) make[1]: Entering directory `/var/tmp/portage/net-misc/netkit-telnetd-0.17-r10/work/netkit-telnet-0.17/telnet' x86_64-pc-linux-gnu-g++ -march=native -Wformat -Werror=format-security -g0 -O2 -O2 -fno-rtti -fno-exceptions -Wall -Wno-trigraphs -DUSE_TERMIO -DKLUDGELINEMODE -D_GNU_SOURCE commands.cc -c make[1]: Entering directory `/var/tmp/portage/net-misc/netkit-telnetd-0.17-r10/work/netkit-telnet-0.17/telnetd' x86_64-pc-linux-gnu-gcc -march=native -Wformat -Werror=format-security -g0 -O2 -O2 -Wall -Wno-trigraphs '-DISSUE_FILE="/etc/issue.net"' -DPARANOID_TTYS -DNO_REVOKE -DKLUDGELINEMODE -DDIAGNOSTICS -DLOGIN_WRAPPER=\"/usr/sbin/telnetlogin\" -D_GNU_SOURCE telnetd.c -c make[1]: Entering directory `/var/tmp/portage/net-misc/netkit-telnetd-0.17-r10/work/netkit-telnet-0.17/telnetlogin' x86_64-pc-linux-gnu-gcc -march=native -Wformat -Werror=format-security -g0 -O2 -O2 -Wall -Wno-trigraphs telnetlogin.c -c x86_64-pc-linux-gnu-g++ -march=native -Wformat -Werror=format-security -g0 -O2 -O2 -fno-rtti -fno-exceptions -Wall -Wno-trigraphs -DUSE_TERMIO -DKLUDGELINEMODE -D_GNU_SOURCE main.cc -c x86_64-pc-linux-gnu-gcc -march=native -Wformat -Werror=format-security -g0 -O2 -O2 -Wall -Wno-trigraphs '-DISSUE_FILE="/etc/issue.net"' -DPARANOID_TTYS -DNO_REVOKE -DKLUDGELINEMODE -DDIAGNOSTICS -DLOGIN_WRAPPER=\"/usr/sbin/telnetlogin\" -D_GNU_SOURCE state.c -c x86_64-pc-linux-gnu-g++ -march=native -Wformat -Werror=format-security -g0 -O2 -O2 -fno-rtti -fno-exceptions -Wall -Wno-trigraphs -DUSE_TERMIO -DKLUDGELINEMODE -D_GNU_SOURCE network.cc -c x86_64-pc-linux-gnu-gcc -march=native -Wformat -Werror=format-security -g0 -O2 -O2 -Wall -Wno-trigraphs '-DISSUE_FILE="/etc/issue.net"' -DPARANOID_TTYS -DNO_REVOKE -DKLUDGELINEMODE -DDIAGNOSTICS -DLOGIN_WRAPPER=\"/usr/sbin/telnetlogin\" -D_GNU_SOURCE termstat.c -c x86_64-pc-linux-gnu-g++ -march=native -Wformat -Werror=format-security -g0 -O2 -O2 -fno-rtti -fno-exceptions -Wall -Wno-trigraphs -DUSE_TERMIO -DKLUDGELINEMODE -D_GNU_SOURCE ring.cc -c telnetlogin.c: In function ‘main’: telnetlogin.c:135:16: warning: variable ‘rh’ set but not used [-Wunused-but-set-variable] state.c: In function ‘suboption’: state.c:1206:10: warning: comparison of distinct pointer types lacks a cast [enabled by default] x86_64-pc-linux-gnu-g++ -march=native -Wformat -Werror=format-security -g0 -O2 -O2 -fno-rtti -fno-exceptions -Wall -Wno-trigraphs -DUSE_TERMIO -DKLUDGELINEMODE -D_GNU_SOURCE sys_bsd.cc -c x86_64-pc-linux-gnu-gcc -march=native -Wformat -Werror=format-security -g0 -O2 -O2 -Wall -Wno-trigraphs '-DISSUE_FILE="/etc/issue.net"' -DPARANOID_TTYS -DNO_REVOKE -DKLUDGELINEMODE -DDIAGNOSTICS -DLOGIN_WRAPPER=\"/usr/sbin/telnetlogin\" -D_GNU_SOURCE slc.c -c commands.cc: In function ‘int shell(int, const char**)’: commands.cc:1350:49: warning: missing sentinel in function call [-Wformat] commands.cc:1352:29: warning: missing sentinel in function call [-Wformat] commands.cc: In function ‘int setescape(int, const char**)’: commands.cc:1284:40: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] x86_64-pc-linux-gnu-g++ -march=native -Wformat -Werror=format-security -g0 -O2 -O2 -fno-rtti -fno-exceptions -Wall -Wno-trigraphs -DUSE_TERMIO -DKLUDGELINEMODE -D_GNU_SOURCE telnet.cc -c x86_64-pc-linux-gnu-g++ -march=native -Wformat -Werror=format-security -g0 -O2 -O2 -fno-rtti -fno-exceptions -Wall -Wno-trigraphs -DUSE_TERMIO -DKLUDGELINEMODE -D_GNU_SOURCE terminal.cc -c commands.cc: In function ‘int tn(int, const char**)’: commands.cc:1651:71: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu telnetlogin.o -lutil -lutil -o telnetlogin make[1]: Leaving directory `/var/tmp/portage/net-misc/netkit-telnetd-0.17-r10/work/netkit-telnet-0.17/telnetlogin' x86_64-pc-linux-gnu-g++ -march=native -Wformat -Werror=format-security -g0 -O2 -O2 -fno-rtti -fno-exceptions -Wall -Wno-trigraphs -DUSE_TERMIO -DKLUDGELINEMODE -D_GNU_SOURCE tn3270.cc -c x86_64-pc-linux-gnu-gcc -march=native -Wformat -Werror=format-security -g0 -O2 -O2 -Wall -Wno-trigraphs '-DISSUE_FILE="/etc/issue.net"' -DPARANOID_TTYS -DNO_REVOKE -DKLUDGELINEMODE -DDIAGNOSTICS -DLOGIN_WRAPPER=\"/usr/sbin/telnetlogin\" -D_GNU_SOURCE sys_term.c -c telnet.cc: In function ‘const char* gettermname()’: telnet.cc:638:7: warning: unused variable ‘err’ [-Wunused-variable] x86_64-pc-linux-gnu-g++ -march=native -Wformat -Werror=format-security -g0 -O2 -O2 -fno-rtti -fno-exceptions -Wall -Wno-trigraphs -DUSE_TERMIO -DKLUDGELINEMODE -D_GNU_SOURCE utilities.cc -c x86_64-pc-linux-gnu-g++ -march=native -Wformat -Werror=format-security -g0 -O2 -O2 -fno-rtti -fno-exceptions -Wall -Wno-trigraphs -DUSE_TERMIO -DKLUDGELINEMODE -D_GNU_SOURCE genget.cc -c sys_term.c: In function ‘start_login’: sys_term.c:669:12: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] x86_64-pc-linux-gnu-g++ -march=native -Wformat -Werror=format-security -g0 -O2 -O2 -fno-rtti -fno-exceptions -Wall -Wno-trigraphs -DUSE_TERMIO -DKLUDGELINEMODE -D_GNU_SOURCE environ.cc -c utilities.cc: In function ‘void printsub(int, unsigned char*, int)’: utilities.cc:586:45: error: format not a string literal and no format arguments [-Werror=format-security] utilities.cc:591:47: error: format not a string literal and no format arguments [-Werror=format-security] utilities.cc:596:45: error: format not a string literal and no format arguments [-Werror=format-security] x86_64-pc-linux-gnu-gcc -march=native -Wformat -Werror=format-security -g0 -O2 -O2 -Wall -Wno-trigraphs '-DISSUE_FILE="/etc/issue.net"' -DPARANOID_TTYS -DNO_REVOKE -DKLUDGELINEMODE -DDIAGNOSTICS -DLOGIN_WRAPPER=\"/usr/sbin/telnetlogin\" -D_GNU_SOURCE utility.c -c cc1plus: some warnings being treated as errors x86_64-pc-linux-gnu-g++ -march=native -Wformat -Werror=format-security -g0 -O2 -O2 -fno-rtti -fno-exceptions -Wall -Wno-trigraphs -DUSE_TERMIO -DKLUDGELINEMODE -D_GNU_SOURCE netlink.cc -c make[1]: *** [utilities.o] Error 1 make[1]: *** Waiting for unfinished jobs.... x86_64-pc-linux-gnu-gcc -march=native -Wformat -Werror=format-security -g0 -O2 -O2 -Wall -Wno-trigraphs '-DISSUE_FILE="/etc/issue.net"' -DPARANOID_TTYS -DNO_REVOKE -DKLUDGELINEMODE -DDIAGNOSTICS -DLOGIN_WRAPPER=\"/usr/sbin/telnetlogin\" -D_GNU_SOURCE global.c -c x86_64-pc-linux-gnu-gcc -march=native -Wformat -Werror=format-security -g0 -O2 -O2 -Wall -Wno-trigraphs '-DISSUE_FILE="/etc/issue.net"' -DPARANOID_TTYS -DNO_REVOKE -DKLUDGELINEMODE -DDIAGNOSTICS -DLOGIN_WRAPPER=\"/usr/sbin/telnetlogin\" -D_GNU_SOURCE setproctitle.c -c utility.c: In function ‘nextitem’: utility.c:212:2: warning: pointer targets in return differ in signedness [-Wpointer-sign] utility.c: In function ‘printsub’: utility.c:893:8: error: format not a string literal and no format arguments [-Werror=format-security] utility.c:898:8: error: format not a string literal and no format arguments [-Werror=format-security] utility.c:903:8: error: format not a string literal and no format arguments [-Werror=format-security] utility.c: In function ‘netwrite’: utility.c:1165:3: warning: pointer targets in passing argument 1 of ‘nextitem’ differ in signedness [-Wpointer-sign] utility.c:156:1: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ utility.c:1165:3: warning: pointer targets in passing argument 2 of ‘nextitem’ differ in signedness [-Wpointer-sign] utility.c:156:1: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ utility.c:1165:3: warning: pointer targets in passing argument 3 of ‘nextitem’ differ in signedness [-Wpointer-sign] utility.c:156:1: note: expected ‘const unsigned char *’ but argument is of type ‘const char *’ utility.c:1165:3: warning: pointer targets in passing argument 4 of ‘nextitem’ differ in signedness [-Wpointer-sign] utility.c:156:1: note: expected ‘const unsigned char *’ but argument is of type ‘const char * const’ utility.c:1219:3: warning: pointer targets in passing argument 1 of ‘nextitem’ differ in signedness [-Wpointer-sign] utility.c:156:1: note: expected ‘const unsigned char *’ but argument is of type ‘const char *’ utility.c:1219:3: warning: pointer targets in passing argument 2 of ‘nextitem’ differ in signedness [-Wpointer-sign] utility.c:156:1: note: expected ‘const unsigned char *’ but argument is of type ‘const char * const’ utility.c: In function ‘fatal’: utility.c:354:2: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] cc1: some warnings being treated as errors make[1]: *** [utility.o] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: Leaving directory `/var/tmp/portage/net-misc/netkit-telnetd-0.17-r10/work/netkit-telnet-0.17/telnetd' make: *** [telnetd.build] Error 2 make: *** Waiting for unfinished jobs.... commands.cc:1833:52: warning: ‘srlen’ may be used uninitialized in this function [-Wmaybe-uninitialized] telnet.cc: At global scope: telnet.cc:611:12: warning: ‘int my_setupterm(const char*, int, int*)’ defined but not used [-Wunused-function] make[1]: Leaving directory `/var/tmp/portage/net-misc/netkit-telnetd-0.17-r10/work/netkit-telnet-0.17/telnet' make: *** [telnet.build] Error 2 emake failed * ERROR: net-misc/netkit-telnetd-0.17-r10::gentoo failed (compile phase): * (no error message) * * Call stack: * ebuild.sh, line 93: Called src_compile * environment, line 1876: Called die * The specific snippet of code: * emake || die; * * If you need support, post the output of `emerge --info '=net-misc/netkit-telnetd-0.17-r10::gentoo'`, * the complete build log and the output of `emerge -pqv '=net-misc/netkit-telnetd-0.17-r10::gentoo'`. * The complete build log is located at '/var/log/log/build/net-misc/netkit-telnetd-0.17-r10:20140822-102940.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/net-misc/netkit-telnetd-0.17-r10/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/net-misc/netkit-telnetd-0.17-r10/temp/environment'. * Working directory: '/var/tmp/portage/net-misc/netkit-telnetd-0.17-r10/work/netkit-telnet-0.17' * S: '/var/tmp/portage/net-misc/netkit-telnetd-0.17-r10/work/netkit-telnet-0.17'