* Package: net-misc/netkit-telnetd-0.17-r13:0 * Repository: gentoo * Maintainer: paolo.pedroni@iol.it proxy-maint@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking netkit-telnet-0.17.tar.gz to /var/tmp/portage/net-misc/netkit-telnetd-0.17-r13/work >>> Unpacking netkit-telnet_0.17-42.debian.tar.xz to /var/tmp/portage/net-misc/netkit-telnetd-0.17-r13/work >>> Source unpacked in /var/tmp/portage/net-misc/netkit-telnetd-0.17-r13/work >>> Preparing source in /var/tmp/portage/net-misc/netkit-telnetd-0.17-r13/work/netkit-telnet-0.17 ... * Applying patches from /var/tmp/portage/net-misc/netkit-telnetd-0.17-r13/work/debian/patches ... * 010-full_set_in_18.diff ... [ ok ] * 020-from_18_to_24.diff ... [ ok ] * 022-buffer_overflow_by_HOME.diff ... [ ok ] * 024-can_2004-0911.diff ... [ ok ] * 026-can_2005_0469.diff ... [ ok ] * 030-reject_invalid_port.diff ... [ ok ] * 045-avoid_unsetting_term.diff ... [ ok ] * 100-format_security_error.diff ... [ ok ] * 110-markup_errors.diff ... [ ok ] * 120-some_protocol_refinement.diff ... [ ok ] * 124-support_uservar.diff ... [ ok ] * 130-drain_input_from_child.diff ... [ ok ] * 140-telnetlogin_name_check.diff ... [ ok ] * 142-numeric_hosts.diff ... [ ok ] * telnet-netwritebuf-fix.diff ... [ ok ] * use-cmake-as-buildsystem.patch ... [ ok ] * Applying netkit-telnetd-0.17-r13-gentooification.patch ... [ ok ] * Source directory (CMAKE_USE_DIR): "/var/tmp/portage/net-misc/netkit-telnetd-0.17-r13/work/netkit-telnet-0.17" * Build directory (BUILD_DIR): "/var/tmp/portage/net-misc/netkit-telnetd-0.17-r13/work/netkit-telnet-0.17_build" >>> Source prepared. * Modern C testing: this build is using a /etc/portage/bashrc hook (2023-11-30T22:24)! * Modern C testing: see https://wiki.gentoo.org/wiki/Modern_C_porting for more info. >>> Configuring source in /var/tmp/portage/net-misc/netkit-telnetd-0.17-r13/work/netkit-telnet-0.17 ... * Source directory (CMAKE_USE_DIR): "/var/tmp/portage/net-misc/netkit-telnetd-0.17-r13/work/netkit-telnet-0.17" * Build directory (BUILD_DIR): "/var/tmp/portage/net-misc/netkit-telnetd-0.17-r13/work/netkit-telnet-0.17_build" cmake -C /var/tmp/portage/net-misc/netkit-telnetd-0.17-r13/work/netkit-telnet-0.17_build/gentoo_common_config.cmake -G Ninja -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_TOOLCHAIN_FILE=/var/tmp/portage/net-misc/netkit-telnetd-0.17-r13/work/netkit-telnet-0.17_build/gentoo_toolchain.cmake /var/tmp/portage/net-misc/netkit-telnetd-0.17-r13/work/netkit-telnet-0.17 loading initial cache file /var/tmp/portage/net-misc/netkit-telnetd-0.17-r13/work/netkit-telnet-0.17_build/gentoo_common_config.cmake -- The C compiler identification is Clang 17.0.6 -- The CXX compiler identification is Clang 17.0.6 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /var/tmp/portage/net-misc/netkit-telnetd-0.17-r13/temp/clang-wrappers/clang - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/lib/llvm/17/bin/clang++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- <<< Gentoo configuration >>> Build type RelWithDebInfo Install path /usr Compiler flags: C -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -D_GNU_SOURCE -DACCEPT_USERVAR -Wall -Wno-trigraphs C++ -O2 -pipe -march=native -fno-diagnostics-color -D_GNU_SOURCE -DACCEPT_USERVAR -Wall -Wno-trigraphs Linker flags: Executable -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 Module -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 Shared -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -- Configuring done (0.8s) -- Generating done (0.0s) -- Build files have been written to: /var/tmp/portage/net-misc/netkit-telnetd-0.17-r13/work/netkit-telnet-0.17_build >>> Source configured. '/var/tmp/portage/net-misc/netkit-telnetd-0.17-r13/temp/clang16-errors.log' -> '/var/tmp/clang/net-misc/netkit-telnetd-0.17-r13/clang16-errors.log' '/var/tmp/portage/net-misc/netkit-telnetd-0.17-r13/temp/clang16-safe.log' -> '/var/tmp/clang/net-misc/netkit-telnetd-0.17-r13/clang16-safe.log' >>> Compiling source in /var/tmp/portage/net-misc/netkit-telnetd-0.17-r13/work/netkit-telnet-0.17 ... * Source directory (CMAKE_USE_DIR): "/var/tmp/portage/net-misc/netkit-telnetd-0.17-r13/work/netkit-telnet-0.17" * Build directory (BUILD_DIR): "/var/tmp/portage/net-misc/netkit-telnetd-0.17-r13/work/netkit-telnet-0.17_build" ninja -v -j4 -l0 [1/24] /usr/lib/llvm/17/bin/clang++ -O2 -pipe -march=native -fno-diagnostics-color -D_GNU_SOURCE -DACCEPT_USERVAR -Wall -Wno-trigraphs -DUSE_TERMIO -DKLUDGELINEMODE -fno-color-diagnostics -MD -MT telnet/CMakeFiles/telnet.dir/genget.cc.o -MF telnet/CMakeFiles/telnet.dir/genget.cc.o.d -o telnet/CMakeFiles/telnet.dir/genget.cc.o -c /var/tmp/portage/net-misc/netkit-telnetd-0.17-r13/work/netkit-telnet-0.17/telnet/genget.cc [2/24] /usr/lib/llvm/17/bin/clang++ -O2 -pipe -march=native -fno-diagnostics-color -D_GNU_SOURCE -DACCEPT_USERVAR -Wall -Wno-trigraphs -DUSE_TERMIO -DKLUDGELINEMODE -fno-color-diagnostics -MD -MT telnet/CMakeFiles/telnet.dir/main.cc.o -MF telnet/CMakeFiles/telnet.dir/main.cc.o.d -o telnet/CMakeFiles/telnet.dir/main.cc.o -c /var/tmp/portage/net-misc/netkit-telnetd-0.17-r13/work/netkit-telnet-0.17/telnet/main.cc [3/24] /usr/lib/llvm/17/bin/clang++ -O2 -pipe -march=native -fno-diagnostics-color -D_GNU_SOURCE -DACCEPT_USERVAR -Wall -Wno-trigraphs -DUSE_TERMIO -DKLUDGELINEMODE -fno-color-diagnostics -MD -MT telnet/CMakeFiles/telnet.dir/commands.cc.o -MF telnet/CMakeFiles/telnet.dir/commands.cc.o.d -o telnet/CMakeFiles/telnet.dir/commands.cc.o -c /var/tmp/portage/net-misc/netkit-telnetd-0.17-r13/work/netkit-telnet-0.17/telnet/commands.cc FAILED: telnet/CMakeFiles/telnet.dir/commands.cc.o /usr/lib/llvm/17/bin/clang++ -O2 -pipe -march=native -fno-diagnostics-color -D_GNU_SOURCE -DACCEPT_USERVAR -Wall -Wno-trigraphs -DUSE_TERMIO -DKLUDGELINEMODE -fno-color-diagnostics -MD -MT telnet/CMakeFiles/telnet.dir/commands.cc.o -MF telnet/CMakeFiles/telnet.dir/commands.cc.o.d -o telnet/CMakeFiles/telnet.dir/commands.cc.o -c /var/tmp/portage/net-misc/netkit-telnetd-0.17-r13/work/netkit-telnet-0.17/telnet/commands.cc /var/tmp/portage/net-misc/netkit-telnetd-0.17-r13/work/netkit-telnet-0.17/telnet/commands.cc:195:5: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 195 | register char *cp, *cp2, c; | ^~~~~~~~ /var/tmp/portage/net-misc/netkit-telnetd-0.17-r13/work/netkit-telnet-0.17/telnet/commands.cc:195:5: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 195 | register char *cp, *cp2, c; | ^~~~~~~~ /var/tmp/portage/net-misc/netkit-telnetd-0.17-r13/work/netkit-telnet-0.17/telnet/commands.cc:195:5: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 195 | register char *cp, *cp2, c; | ^~~~~~~~ /var/tmp/portage/net-misc/netkit-telnetd-0.17-r13/work/netkit-telnet-0.17/telnet/commands.cc:196:5: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 196 | register const char **argp = margv; | ^~~~~~~~ /var/tmp/portage/net-misc/netkit-telnetd-0.17-r13/work/netkit-telnet-0.17/telnet/commands.cc:207:2: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 207 | register int inquote = 0; | ^~~~~~~~ /var/tmp/portage/net-misc/netkit-telnetd-0.17-r13/work/netkit-telnet-0.17/telnet/commands.cc:284:2: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 284 | register unsigned int uic = (unsigned int)c; | ^~~~~~~~ /var/tmp/portage/net-misc/netkit-telnetd-0.17-r13/work/netkit-telnet-0.17/telnet/commands.cc:448:14: warning: implicit conversion from 'int' to 'char' changes value from 255 to -1 [-Wconstant-conversion] 448 | NET2ADD(IAC, s->what); | ~~~~~~~~^~~~~~~~~~~~~ /usr/include/arpa/telnet.h:38:13: note: expanded from macro 'IAC' 38 | #define IAC 255 /* interpret as command: */ | ^~~ /var/tmp/portage/net-misc/netkit-telnetd-0.17-r13/work/netkit-telnet-0.17/telnet/ring.h:110:33: note: expanded from macro 'NET2ADD' 110 | #define NET2ADD(c1,c2) { NETADD(c1); NETADD(c2); } | ~~~~~~~^~~ /var/tmp/portage/net-misc/netkit-telnetd-0.17-r13/work/netkit-telnet-0.17/telnet/ring.h:109:36: note: expanded from macro 'NETADD' 109 | #define NETADD(c) { netoring.putch(c); } | ~~~~~ ^ /var/tmp/portage/net-misc/netkit-telnetd-0.17-r13/work/netkit-telnet-0.17/telnet/commands.cc:482:2: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 482 | register int col, len; | ^~~~~~~~ /var/tmp/portage/net-misc/netkit-telnetd-0.17-r13/work/netkit-telnet-0.17/telnet/commands.cc:482:2: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 482 | register int col, len; | ^~~~~~~~ /var/tmp/portage/net-misc/netkit-telnetd-0.17-r13/work/netkit-telnet-0.17/telnet/commands.cc:2215:2: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 2215 | register struct hostent *host = 0; | ^~~~~~~~ /var/tmp/portage/net-misc/netkit-telnetd-0.17-r13/work/netkit-telnet-0.17/telnet/commands.cc:2216:2: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 2216 | register char c; | ^~~~~~~~ /var/tmp/portage/net-misc/netkit-telnetd-0.17-r13/work/netkit-telnet-0.17/telnet/commands.cc:2248:13: warning: implicit conversion from 'int' to 'char' changes value from 137 to -119 [-Wconstant-conversion] 2248 | *lsrp++ = IPOPT_SSRR; | ~ ^~~~~~~~~~ /usr/include/netinet/ip.h:268:21: note: expanded from macro 'IPOPT_SSRR' 268 | #define IPOPT_SSRR 137 /* strict source route */ | ^~~ /var/tmp/portage/net-misc/netkit-telnetd-0.17-r13/work/netkit-telnet-0.17/telnet/commands.cc:2250:17: warning: implicit conversion from 'int' to 'char' changes value from 131 to -125 [-Wconstant-conversion] 2250 | else *lsrp++ = IPOPT_LSRR; | ~ ^~~~~~~~~~ /usr/include/netinet/ip.h:265:21: note: expanded from macro 'IPOPT_LSRR' 265 | #define IPOPT_LSRR 131 /* loose source route */ | ^~~ 3 warnings and 10 errors generated. [4/24] /usr/lib/llvm/17/bin/clang++ -O2 -pipe -march=native -fno-diagnostics-color -D_GNU_SOURCE -DACCEPT_USERVAR -Wall -Wno-trigraphs -DUSE_TERMIO -DKLUDGELINEMODE -fno-color-diagnostics -MD -MT telnet/CMakeFiles/telnet.dir/environ.cc.o -MF telnet/CMakeFiles/telnet.dir/environ.cc.o.d -o telnet/CMakeFiles/telnet.dir/environ.cc.o -c /var/tmp/portage/net-misc/netkit-telnetd-0.17-r13/work/netkit-telnet-0.17/telnet/environ.cc [5/24] /usr/lib/llvm/17/bin/clang++ -O2 -pipe -march=native -fno-diagnostics-color -D_GNU_SOURCE -DACCEPT_USERVAR -Wall -Wno-trigraphs -DUSE_TERMIO -DKLUDGELINEMODE -fno-color-diagnostics -MD -MT telnet/CMakeFiles/telnet.dir/netlink.cc.o -MF telnet/CMakeFiles/telnet.dir/netlink.cc.o.d -o telnet/CMakeFiles/telnet.dir/netlink.cc.o -c /var/tmp/portage/net-misc/netkit-telnetd-0.17-r13/work/netkit-telnet-0.17/telnet/netlink.cc [6/24] /usr/lib/llvm/17/bin/clang++ -O2 -pipe -march=native -fno-diagnostics-color -D_GNU_SOURCE -DACCEPT_USERVAR -Wall -Wno-trigraphs -DUSE_TERMIO -DKLUDGELINEMODE -fno-color-diagnostics -MD -MT telnet/CMakeFiles/telnet.dir/network.cc.o -MF telnet/CMakeFiles/telnet.dir/network.cc.o.d -o telnet/CMakeFiles/telnet.dir/network.cc.o -c /var/tmp/portage/net-misc/netkit-telnetd-0.17-r13/work/netkit-telnet-0.17/telnet/network.cc ninja: build stopped: subcommand failed. * ERROR: net-misc/netkit-telnetd-0.17-r13::gentoo failed (compile phase): * ninja -v -j4 -l0 failed * * Call stack: * ebuild.sh, line 136: Called src_compile * environment, line 2412: Called cmake_src_compile * environment, line 981: Called cmake_build * environment, line 948: Called eninja * environment, line 1422: Called die * The specific snippet of code: * "$@" || die -n "${*} failed" * * If you need support, post the output of `emerge --info '=net-misc/netkit-telnetd-0.17-r13::gentoo'`, * the complete build log and the output of `emerge -pqv '=net-misc/netkit-telnetd-0.17-r13::gentoo'`. * The complete build log is located at '/var/log/portage/net-misc:netkit-telnetd-0.17-r13:20231227-003941.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/net-misc/netkit-telnetd-0.17-r13/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/net-misc/netkit-telnetd-0.17-r13/temp/environment'. * Working directory: '/var/tmp/portage/net-misc/netkit-telnetd-0.17-r13/work/netkit-telnet-0.17_build' * S: '/var/tmp/portage/net-misc/netkit-telnetd-0.17-r13/work/netkit-telnet-0.17'