calculate nk_isov # source <(declare -f rvm ) calculate nk_isov # emerge netkit-telnetd --jobs 1 Local copy of remote index is up-to-date and will be used. These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] net-misc/netkit-telnetd-0.17-r10 0 kB Total: 1 package (1 reinstall), Size of downloads: 0 kB >>> Verifying ebuild manifests >>> Emerging (1 of 1) net-misc/netkit-telnetd-0.17-r10 * netkit-telnet-0.17.tar.gz SHA256 size ;-) ... [ ok ] * netkit-telnet_0.17-36.diff.gz SHA256 size ;-) ... [ ok ] >>> Unpacking source... >>> Unpacking netkit-telnet-0.17.tar.gz to /var/tmp/portage/net-misc/netkit-telnetd-0.17-r10/work >>> Unpacking netkit-telnet_0.17-36.diff.gz to /var/tmp/portage/net-misc/netkit-telnetd-0.17-r10/work * Applying netkit-telnet_0.17-36.diff ... [ ok ] * Applying netkit-telnetd-0.17-cflags-gnu_source.patch ... [ ok ] >>> Source unpacked in /var/tmp/portage/net-misc/netkit-telnetd-0.17-r10/work >>> Compiling source in /var/tmp/portage/net-misc/netkit-telnetd-0.17-r10/work/netkit-telnet-0.17 ... Directories: /usr/bin /usr/sbin /usr/man Looking for a C compiler... gcc Checking if gcc accepts gcc warnings... yes Looking for a C++ compiler... g++ Checking if g++ accepts gcc warnings... yes Checking if gcc accepts -O2... yes Checking if g++ accepts -O2... yes Checking if g++ accepts -fno-rtti... yes Checking if 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... make -j3 (cd telnet && make) (cd telnetd && make) (cd telnetlogin && make) make[1]: Вход в каталог `/var/tmp/portage/net-misc/netkit-telnetd-0.17-r10/work/netkit-telnet-0.17/telnet' i686-pc-linux-gnu-g++ -O2 -march=i686 -O2 -march=i686 -pipe -fno-rtti -fno-exceptions -Wall -Wno-trigraphs -DUSE_TERMIO -DKLUDGELINEMODE -D_GNU_SOURCE commands.cc -c make[1]: Вход в каталог `/var/tmp/portage/net-misc/netkit-telnetd-0.17-r10/work/netkit-telnet-0.17/telnetlogin' i686-pc-linux-gnu-gcc -O2 -march=i686 -O2 -march=i686 -pipe -Wall -Wno-trigraphs telnetlogin.c -c make[1]: Вход в каталог `/var/tmp/portage/net-misc/netkit-telnetd-0.17-r10/work/netkit-telnet-0.17/telnetd' i686-pc-linux-gnu-gcc -O2 -march=i686 -O2 -march=i686 -pipe -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 telnetlogin.c: В функции «main»: telnetlogin.c:135:16: предупреждение: variable «rh» set but not used [-Wunused-but-set-variable] commands.cc: В функции «int shell(int, const char**)»: commands.cc:1350:49: предупреждение: missing sentinel in function call [-Wformat] commands.cc:1352:29: предупреждение: missing sentinel in function call [-Wformat] commands.cc: В функции «int setescape(int, const char**)»: commands.cc:1284:40: предупреждение: ignoring return value of «char* fgets(char*, int, FILE*)», declared with attribute warn_unused_result [-Wunused-result] commands.cc: В функции «int tn(int, const char**)»: commands.cc:1651:71: предупреждение: ignoring return value of «char* fgets(char*, int, FILE*)», declared with attribute warn_unused_result [-Wunused-result] i686-pc-linux-gnu-gcc -Wl,--as-needed telnetlogin.o -lutil -lutil -o telnetlogin make[1]: Выход из каталога `/var/tmp/portage/net-misc/netkit-telnetd-0.17-r10/work/netkit-telnet-0.17/telnetlogin' i686-pc-linux-gnu-gcc -O2 -march=i686 -O2 -march=i686 -pipe -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 i686-pc-linux-gnu-gcc -O2 -march=i686 -O2 -march=i686 -pipe -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 state.c: В функции «suboption»: state.c:1206:10: предупреждение: сравнение различных указательных типов без приведения типов [по умолчанию включена] state.c: В функции «send_status»: state.c:1367:5: предупреждение: ignoring return value of «fwrite», declared with attribute warn_unused_result [-Wunused-result] i686-pc-linux-gnu-gcc -O2 -march=i686 -O2 -march=i686 -pipe -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 i686-pc-linux-gnu-gcc -O2 -march=i686 -O2 -march=i686 -pipe -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 i686-pc-linux-gnu-gcc -O2 -march=i686 -O2 -march=i686 -pipe -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 sys_term.c: В функции «start_login»: sys_term.c:669:12: предупреждение: ignoring return value of «write», declared with attribute warn_unused_result [-Wunused-result] utility.c: В функции «nextitem»: utility.c:212:2: предупреждение: при возврате результата указуемые типы различаются знаковостью [-Wpointer-sign] utility.c: В функции «printsub»: utility.c:893:8: предупреждение: формат не является строковой константой, и не заданы аргументы форматирования [-Wformat-security] utility.c:898:8: предупреждение: формат не является строковой константой, и не заданы аргументы форматирования [-Wformat-security] utility.c:903:8: предупреждение: формат не является строковой константой, и не заданы аргументы форматирования [-Wformat-security] utility.c: В функции «netwrite»: utility.c:1165:3: предупреждение: при передаче аргумента 1 «nextitem»: указуемые типы различаются знаковостью [-Wpointer-sign] utility.c:156:1: замечание: expected «const unsigned char *» but argument is of type «char *» utility.c:1165:3: предупреждение: при передаче аргумента 2 «nextitem»: указуемые типы различаются знаковостью [-Wpointer-sign] utility.c:156:1: замечание: expected «const unsigned char *» but argument is of type «char *» utility.c:1165:3: предупреждение: при передаче аргумента 3 «nextitem»: указуемые типы различаются знаковостью [-Wpointer-sign] utility.c:156:1: замечание: expected «const unsigned char *» but argument is of type «const char *» utility.c:1165:3: предупреждение: при передаче аргумента 4 «nextitem»: указуемые типы различаются знаковостью [-Wpointer-sign] utility.c:156:1: замечание: expected «const unsigned char *» but argument is of type «const char * const» utility.c:1219:3: предупреждение: при передаче аргумента 1 «nextitem»: указуемые типы различаются знаковостью [-Wpointer-sign] utility.c:156:1: замечание: expected «const unsigned char *» but argument is of type «const char *» utility.c:1219:3: предупреждение: при передаче аргумента 2 «nextitem»: указуемые типы различаются знаковостью [-Wpointer-sign] utility.c:156:1: замечание: expected «const unsigned char *» but argument is of type «const char * const» utility.c: В функции «sendurg»: utility.c:1259:9: предупреждение: ignoring return value of «fwrite», declared with attribute warn_unused_result [-Wunused-result] utility.c: В функции «fatal»: utility.c:354:2: предупреждение: ignoring return value of «write», declared with attribute warn_unused_result [-Wunused-result] i686-pc-linux-gnu-gcc -O2 -march=i686 -O2 -march=i686 -pipe -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 i686-pc-linux-gnu-gcc -O2 -march=i686 -O2 -march=i686 -pipe -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 i686-pc-linux-gnu-g++ -O2 -march=i686 -O2 -march=i686 -pipe -fno-rtti -fno-exceptions -Wall -Wno-trigraphs -DUSE_TERMIO -DKLUDGELINEMODE -D_GNU_SOURCE main.cc -c commands.cc:1833:52: предупреждение: «srlen» may be used uninitialized in this function [-Wuninitialized] i686-pc-linux-gnu-gcc -Wl,--as-needed telnetd.o state.o termstat.o slc.o sys_term.o utility.o global.o setproctitle.o -lutil -lutil -o telnetd i686-pc-linux-gnu-g++ -O2 -march=i686 -O2 -march=i686 -pipe -fno-rtti -fno-exceptions -Wall -Wno-trigraphs -DUSE_TERMIO -DKLUDGELINEMODE -D_GNU_SOURCE network.cc -c make[1]: Выход из каталога `/var/tmp/portage/net-misc/netkit-telnetd-0.17-r10/work/netkit-telnet-0.17/telnetd' i686-pc-linux-gnu-g++ -O2 -march=i686 -O2 -march=i686 -pipe -fno-rtti -fno-exceptions -Wall -Wno-trigraphs -DUSE_TERMIO -DKLUDGELINEMODE -D_GNU_SOURCE ring.cc -c i686-pc-linux-gnu-g++ -O2 -march=i686 -O2 -march=i686 -pipe -fno-rtti -fno-exceptions -Wall -Wno-trigraphs -DUSE_TERMIO -DKLUDGELINEMODE -D_GNU_SOURCE sys_bsd.cc -c i686-pc-linux-gnu-g++ -O2 -march=i686 -O2 -march=i686 -pipe -fno-rtti -fno-exceptions -Wall -Wno-trigraphs -DUSE_TERMIO -DKLUDGELINEMODE -D_GNU_SOURCE telnet.cc -c i686-pc-linux-gnu-g++ -O2 -march=i686 -O2 -march=i686 -pipe -fno-rtti -fno-exceptions -Wall -Wno-trigraphs -DUSE_TERMIO -DKLUDGELINEMODE -D_GNU_SOURCE terminal.cc -c i686-pc-linux-gnu-g++ -O2 -march=i686 -O2 -march=i686 -pipe -fno-rtti -fno-exceptions -Wall -Wno-trigraphs -DUSE_TERMIO -DKLUDGELINEMODE -D_GNU_SOURCE tn3270.cc -c telnet.cc: В функции «const char* gettermname()»: telnet.cc:638:7: предупреждение: неиспользуемая переменная «err» [-Wunused-variable] i686-pc-linux-gnu-g++ -O2 -march=i686 -O2 -march=i686 -pipe -fno-rtti -fno-exceptions -Wall -Wno-trigraphs -DUSE_TERMIO -DKLUDGELINEMODE -D_GNU_SOURCE utilities.cc -c utilities.cc: В функции «void printsub(int, unsigned char*, int)»: utilities.cc:586:45: предупреждение: формат не является строковой константой, и не заданы аргументы форматирования [-Wformat-security] utilities.cc:591:47: предупреждение: формат не является строковой константой, и не заданы аргументы форматирования [-Wformat-security] utilities.cc:596:45: предупреждение: формат не является строковой константой, и не заданы аргументы форматирования [-Wformat-security] utilities.cc: В функции «void ExitString(const char*, int)»: utilities.cc:673:46: предупреждение: ignoring return value of «size_t fwrite(const void*, size_t, size_t, FILE*)», declared with attribute warn_unused_result [-Wunused-result] i686-pc-linux-gnu-g++ -O2 -march=i686 -O2 -march=i686 -pipe -fno-rtti -fno-exceptions -Wall -Wno-trigraphs -DUSE_TERMIO -DKLUDGELINEMODE -D_GNU_SOURCE genget.cc -c i686-pc-linux-gnu-g++ -O2 -march=i686 -O2 -march=i686 -pipe -fno-rtti -fno-exceptions -Wall -Wno-trigraphs -DUSE_TERMIO -DKLUDGELINEMODE -D_GNU_SOURCE environ.cc -c i686-pc-linux-gnu-g++ -O2 -march=i686 -O2 -march=i686 -pipe -fno-rtti -fno-exceptions -Wall -Wno-trigraphs -DUSE_TERMIO -DKLUDGELINEMODE -D_GNU_SOURCE netlink.cc -c telnet.cc: At global scope: telnet.cc:611:12: предупреждение: «int my_setupterm(const char*, int, int*)» определена, но нигде не используется [-Wunused-function] i686-pc-linux-gnu-g++ -Wl,--as-needed commands.o main.o network.o ring.o sys_bsd.o telnet.o terminal.o tn3270.o utilities.o genget.o environ.o netlink.o -lncurses -o telnet make[1]: Выход из каталога `/var/tmp/portage/net-misc/netkit-telnetd-0.17-r10/work/netkit-telnet-0.17/telnet' make -j3 make: Цель `all' не требует выполнения команд. >>> Source compiled. >>> Test phase [not enabled]: net-misc/netkit-telnetd-0.17-r10 >>> Install netkit-telnetd-0.17-r10 into /var/tmp/portage/net-misc/netkit-telnetd-0.17-r10/image/ category net-misc >>> Completed installing netkit-telnetd-0.17-r10 into /var/tmp/portage/net-misc/netkit-telnetd-0.17-r10/image/ strip: i686-pc-linux-gnu-strip --strip-unneeded -R .comment -R .GCC.command.line -R .note.gnu.gold-version usr/sbin/telnetd usr/sbin/telnetlogin usr/bin/telnet ecompressdir: bzip2 -9 /usr/share/man >>> Installing (1 of 1) net-misc/netkit-telnetd-0.17-r10 * checking 16 files for package collisions >>> Merging net-misc/netkit-telnetd-0.17-r10 to / * QA Notice: Global shell options changed and were not restored while calling 'post_pkg_preinst' /var/tmp/portage/net-misc/netkit-telnetd-0.17-r10/temp/environment: line 2002: syntax error near unexpected token `(' /var/tmp/portage/net-misc/netkit-telnetd-0.17-r10/temp/environment: line 2002: ` *-* | +([[:digit:]]).+([[:digit:]])*)' * ERROR: net-misc/netkit-telnetd-0.17-r10::gentoo failed: * error sourcing environment * * Call stack: * misc-functions.sh, line 17: Called source 'preinst_selinux_labels' * ebuild.sh, line 489: Called die * The specific snippet of code: * source "${T}"/environment || \ * die "error sourcing environment" * * 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/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: '/usr/lib/portage/pym' * S: '/var/tmp/portage/net-misc/netkit-telnetd-0.17-r10/work/netkit-telnet-0.17' !!! post preinst failed; exiting. /var/tmp/portage/net-misc/netkit-telnetd-0.17-r10/temp/environment: line 2002: syntax error near unexpected token `(' /var/tmp/portage/net-misc/netkit-telnetd-0.17-r10/temp/environment: line 2002: ` *-* | +([[:digit:]]).+([[:digit:]])*)' * ERROR: net-misc/netkit-telnetd-0.17-r10::gentoo failed: * error sourcing environment * * Call stack: * misc-functions.sh, line 17: Called source '/usr/lib/portage/bin/ebuild.sh' * ebuild.sh, line 489: Called die * The specific snippet of code: * source "${T}"/environment || \ * die "error sourcing environment" * * 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/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: '/usr/lib/portage/pym' * S: '/var/tmp/portage/net-misc/netkit-telnetd-0.17-r10/work/netkit-telnet-0.17' !!! FAILED preinst: 1 /var/tmp/portage/net-misc/netkit-telnetd-0.17-r10/temp/environment: line 2002: syntax error near unexpected token `(' /var/tmp/portage/net-misc/netkit-telnetd-0.17-r10/temp/environment: line 2002: ` *-* | +([[:digit:]]).+([[:digit:]])*)' * ERROR: net-misc/netkit-telnetd-0.17-r10::gentoo failed: * error sourcing environment * * Call stack: * misc-functions.sh, line 17: Called source '/usr/lib/portage/bin/ebuild.sh' * ebuild.sh, line 489: Called die * The specific snippet of code: * source "${T}"/environment || \ * die "error sourcing environment" * * 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/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: '/usr/lib/portage/pym' * S: '/var/tmp/portage/net-misc/netkit-telnetd-0.17-r10/work/netkit-telnet-0.17' >>> Failed to install net-misc/netkit-telnetd-0.17-r10, Log file: >>> '/var/tmp/portage/net-misc/netkit-telnetd-0.17-r10/temp/build.log' * Messages for package net-misc/netkit-telnetd-0.17-r10: * ERROR: net-misc/netkit-telnetd-0.17-r10::gentoo failed: * error sourcing environment * * Call stack: * misc-functions.sh, line 17: Called source 'preinst_selinux_labels' * ebuild.sh, line 489: Called die * The specific snippet of code: * source "${T}"/environment || \ * die "error sourcing environment" * * 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/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: '/usr/lib/portage/pym' * S: '/var/tmp/portage/net-misc/netkit-telnetd-0.17-r10/work/netkit-telnet-0.17' * ERROR: net-misc/netkit-telnetd-0.17-r10::gentoo failed: * error sourcing environment * * Call stack: * misc-functions.sh, line 17: Called source '/usr/lib/portage/bin/ebuild.sh' * ebuild.sh, line 489: Called die * The specific snippet of code: * source "${T}"/environment || \ * die "error sourcing environment" * * 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/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: '/usr/lib/portage/pym' * S: '/var/tmp/portage/net-misc/netkit-telnetd-0.17-r10/work/netkit-telnet-0.17' * ERROR: net-misc/netkit-telnetd-0.17-r10::gentoo failed: * error sourcing environment * * Call stack: * misc-functions.sh, line 17: Called source '/usr/lib/portage/bin/ebuild.sh' * ebuild.sh, line 489: Called die * The specific snippet of code: * source "${T}"/environment || \ * die "error sourcing environment" * * 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/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: '/usr/lib/portage/pym' * S: '/var/tmp/portage/net-misc/netkit-telnetd-0.17-r10/work/netkit-telnet-0.17' * * The following package has failed to build or install: * * (net-misc/netkit-telnetd-0.17-r10::gentoo, ebuild scheduled for merge), Log file: * '/var/tmp/portage/net-misc/netkit-telnetd-0.17-r10/temp/build.log' * * GNU info directory index is up-to-date.