<86>Sep 27 07:22:18 userdel[855078]: delete user 'rooter' <86>Sep 27 07:22:18 userdel[855078]: removed group 'rooter' owned by 'rooter' <86>Sep 27 07:22:18 groupadd[855123]: group added to /etc/group: name=rooter, GID=591 <86>Sep 27 07:22:18 groupadd[855123]: group added to /etc/gshadow: name=rooter <86>Sep 27 07:22:18 groupadd[855123]: new group: name=rooter, GID=591 <86>Sep 27 07:22:18 useradd[855142]: new user: name=rooter, UID=591, GID=591, home=/root, shell=/bin/bash <86>Sep 27 07:22:18 userdel[855166]: delete user 'builder' <86>Sep 27 07:22:18 userdel[855166]: removed group 'builder' owned by 'builder' <86>Sep 27 07:22:18 userdel[855166]: removed shadow group 'builder' owned by 'builder' <86>Sep 27 07:22:18 groupadd[855183]: group added to /etc/group: name=builder, GID=592 <86>Sep 27 07:22:18 groupadd[855183]: group added to /etc/gshadow: name=builder <86>Sep 27 07:22:18 groupadd[855183]: new group: name=builder, GID=592 <86>Sep 27 07:22:18 useradd[855205]: new user: name=builder, UID=592, GID=592, home=/usr/src, shell=/bin/bash warning: line 43: Deprecated PreReq converted to Requires(pre,postun): PreReq: shadow-utils <13>Sep 27 07:22:20 rpmi: libtinfo-devel-6.1.20180407-alt2 sisyphus+222164.200.1.1 1550686226 installed warning: line 43: Deprecated PreReq converted to Requires(pre,postun): PreReq: shadow-utils Building target platforms: i586 Building for target i586 Wrote: /usr/src/in/nosrpm/telnet-3.0-alt9.1.nosrc.rpm warning: line 32: Deprecated PreReq converted to Requires(pre,postun): PreReq: shadow-utils Installing telnet-3.0-alt9.1.src.rpm Building target platforms: i586 Building for target i586 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.24471 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf telnet-3.0 + echo 'Source #0 (telnet-3.0-20011117.tar):' Source #0 (telnet-3.0-20011117.tar): + /bin/tar -xf /usr/src/RPM/SOURCES/telnet-3.0-20011117.tar + cd telnet-3.0 + /bin/chmod -c -Rf u+rwX,go-w . + echo 'Patch #1 (telnet-3.0-owl-linux.patch):' Patch #1 (telnet-3.0-owl-linux.patch): + /usr/bin/patch -p1 patching file Makefile patching file lib/libtelnet/Makefile patching file lib/libtelnet/genget.c patching file lib/libtelnet/getent.c patching file libexec/telnetd/Makefile patching file libexec/telnetd/ext.h patching file libexec/telnetd/global.c patching file libexec/telnetd/mini_inetd.c patching file libexec/telnetd/state.c patching file libexec/telnetd/sys_term.c patching file libexec/telnetd/telnetd.8 patching file libexec/telnetd/telnetd.c patching file libexec/telnetd/telnetd.h patching file libexec/telnetd/utility.c patching file usr.bin/telnet/Makefile patching file usr.bin/telnet/commands.c patching file usr.bin/telnet/main.c patching file usr.bin/telnet/sys_bsd.c patching file usr.bin/telnet/telnet.1 patching file usr.bin/telnet/telnet.c patching file usr.bin/telnet/utilities.c + echo 'Patch #2 (telnet-3.0-owl-no-mini_inetd.patch):' Patch #2 (telnet-3.0-owl-no-mini_inetd.patch): + /usr/bin/patch -p1 patching file libexec/telnetd/Makefile Hunk #1 succeeded at 18 with fuzz 2. patching file libexec/telnetd/telnetd.8 patching file libexec/telnetd/telnetd.c Hunk #1 succeeded at 128 (offset -1 lines). Hunk #2 succeeded at 232 (offset -1 lines). Hunk #3 succeeded at 241 (offset -1 lines). Hunk #4 succeeded at 373 (offset -1 lines). Hunk #5 succeeded at 397 (offset -1 lines). Hunk #6 succeeded at 499 (offset -1 lines). Hunk #7 succeeded at 525 (offset -1 lines). patching file libexec/telnetd/telnetd.h + echo 'Patch #4 (telnet-3.0-owl-bound.patch):' Patch #4 (telnet-3.0-owl-bound.patch): + /usr/bin/patch -p1 patching file usr.bin/telnet/telnet.c + echo 'Patch #5 (telnet-3.0-owl-env-export.patch):' Patch #5 (telnet-3.0-owl-env-export.patch): + /usr/bin/patch -p1 patching file usr.bin/telnet/commands.c Hunk #1 succeeded at 1626 (offset 2 lines). Hunk #2 succeeded at 1701 (offset 2 lines). Hunk #3 succeeded at 1808 (offset 2 lines). Hunk #4 succeeded at 1816 (offset 2 lines). Hunk #5 succeeded at 1826 (offset 2 lines). Hunk #6 succeeded at 1839 (offset 2 lines). patching file usr.bin/telnet/telnet.1 Hunk #1 succeeded at 301 (offset -135 lines). Hunk #2 succeeded at 315 (offset -135 lines). Hunk #3 succeeded at 344 (offset -135 lines). + echo 'Patch #6 (telnet-3.0-owl-env-DISPLAY.patch):' Patch #6 (telnet-3.0-owl-env-DISPLAY.patch): + /usr/bin/patch -p1 patching file usr.bin/telnet/telnet.c + echo 'Patch #7 (telnet-3.0-owl-drop-root.patch):' Patch #7 (telnet-3.0-owl-drop-root.patch): + /usr/bin/patch -p1 patching file libexec/telnetd/ext.h patching file libexec/telnetd/state.c patching file libexec/telnetd/sys_term.c patching file libexec/telnetd/telnetd.c Hunk #2 succeeded at 140 (offset -1 lines). Hunk #3 succeeded at 460 (offset -1 lines). Hunk #4 succeeded at 738 (offset -1 lines). Hunk #5 succeeded at 770 (offset -1 lines). Hunk #6 succeeded at 845 (offset -1 lines). Hunk #7 succeeded at 881 (offset -1 lines). Hunk #8 succeeded at 893 (offset -1 lines). Hunk #9 succeeded at 905 (offset -1 lines). Hunk #10 succeeded at 932 (offset -1 lines). Hunk #11 succeeded at 942 (offset -1 lines). Hunk #12 succeeded at 1128 (offset -1 lines). patching file libexec/telnetd/telnetd.h + echo 'Patch #8 (telnet-3.0-alt-tinfo.patch):' Patch #8 (telnet-3.0-alt-tinfo.patch): + /usr/bin/patch -p1 patching file usr.bin/telnet/Makefile patching file usr.bin/telnet/telnet.c + install -pm644 /usr/src/RPM/SOURCES/telnetd.eps . + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.24471 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd telnet-3.0 + export 'CFLAGS=-c -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + CFLAGS='-c -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + make -j8 make -C lib/libtelnet all make[1]: Entering directory '/usr/src/RPM/BUILD/telnet-3.0/lib/libtelnet' gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -Wall -Dlint auth.c -o auth.o make[1]: Leaving directory '/usr/src/RPM/BUILD/telnet-3.0/lib/libtelnet' make[1]: Entering directory '/usr/src/RPM/BUILD/telnet-3.0/lib/libtelnet' gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -Wall -Dlint encrypt.c -o encrypt.o make[1]: Leaving directory '/usr/src/RPM/BUILD/telnet-3.0/lib/libtelnet' make[1]: Entering directory '/usr/src/RPM/BUILD/telnet-3.0/lib/libtelnet' gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -Wall -Dlint getent.c -o getent.o make[1]: Leaving directory '/usr/src/RPM/BUILD/telnet-3.0/lib/libtelnet' make[1]: Entering directory '/usr/src/RPM/BUILD/telnet-3.0/lib/libtelnet' gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -Wall -Dlint genget.c -o genget.o make[1]: Leaving directory '/usr/src/RPM/BUILD/telnet-3.0/lib/libtelnet' make[1]: Entering directory '/usr/src/RPM/BUILD/telnet-3.0/lib/libtelnet' gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -Wall -Dlint misc.c -o misc.o make[1]: Leaving directory '/usr/src/RPM/BUILD/telnet-3.0/lib/libtelnet' make[1]: Entering directory '/usr/src/RPM/BUILD/telnet-3.0/lib/libtelnet' ar -cr libtelnet.a auth.o encrypt.o genget.o getent.o misc.o ranlib libtelnet.a make[1]: Leaving directory '/usr/src/RPM/BUILD/telnet-3.0/lib/libtelnet' make -C libexec/telnetd all make[1]: Entering directory '/usr/src/RPM/BUILD/telnet-3.0/libexec/telnetd' gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I. -I../../lib -DLINEMODE -DKLUDGELINEMODE -DUSE_TERMIO -DDIAGNOSTICS -DOLD_ENVIRON -DENV_HACK -Wall global.c -o global.o make[1]: Leaving directory '/usr/src/RPM/BUILD/telnet-3.0/libexec/telnetd' make[1]: Entering directory '/usr/src/RPM/BUILD/telnet-3.0/libexec/telnetd' gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I. -I../../lib -DLINEMODE -DKLUDGELINEMODE -DUSE_TERMIO -DDIAGNOSTICS -DOLD_ENVIRON -DENV_HACK -Wall authenc.c -o authenc.o make[1]: Leaving directory '/usr/src/RPM/BUILD/telnet-3.0/libexec/telnetd' make[1]: Entering directory '/usr/src/RPM/BUILD/telnet-3.0/libexec/telnetd' gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I. -I../../lib -DLINEMODE -DKLUDGELINEMODE -DUSE_TERMIO -DDIAGNOSTICS -DOLD_ENVIRON -DENV_HACK -Wall slc.c -o slc.o make[1]: Leaving directory '/usr/src/RPM/BUILD/telnet-3.0/libexec/telnetd' make[1]: Entering directory '/usr/src/RPM/BUILD/telnet-3.0/libexec/telnetd' gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I. -I../../lib -DLINEMODE -DKLUDGELINEMODE -DUSE_TERMIO -DDIAGNOSTICS -DOLD_ENVIRON -DENV_HACK -Wall termstat.c -o termstat.o make[1]: Leaving directory '/usr/src/RPM/BUILD/telnet-3.0/libexec/telnetd' make[1]: Entering directory '/usr/src/RPM/BUILD/telnet-3.0/libexec/telnetd' gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I. -I../../lib -DLINEMODE -DKLUDGELINEMODE -DUSE_TERMIO -DDIAGNOSTICS -DOLD_ENVIRON -DENV_HACK -Wall socket.c -o socket.o make[1]: Leaving directory '/usr/src/RPM/BUILD/telnet-3.0/libexec/telnetd' make[1]: Entering directory '/usr/src/RPM/BUILD/telnet-3.0/libexec/telnetd' gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I. -I../../lib -DLINEMODE -DKLUDGELINEMODE -DUSE_TERMIO -DDIAGNOSTICS -DOLD_ENVIRON -DENV_HACK -Wall sys_term.c -o sys_term.o sys_term.c: In function 'cleanopen': sys_term.c:979:6: warning: ignoring return value of 'chown', declared with attribute warn_unused_result [-Wunused-result] chown(line, 0, 0); ^~~~~~~~~~~~~~~~~ sys_term.c: In function 'cleanup': sys_term.c:1734:5: warning: ignoring return value of 'chown', declared with attribute warn_unused_result [-Wunused-result] chown(line, 0, 0); ^~~~~~~~~~~~~~~~~ sys_term.c:1737:5: warning: ignoring return value of 'chown', declared with attribute warn_unused_result [-Wunused-result] chown(line, 0, 0); ^~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/telnet-3.0/libexec/telnetd' make[1]: Entering directory '/usr/src/RPM/BUILD/telnet-3.0/libexec/telnetd' gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I. -I../../lib -DLINEMODE -DKLUDGELINEMODE -DUSE_TERMIO -DDIAGNOSTICS -DOLD_ENVIRON -DENV_HACK -Wall telnetd.c -o telnetd.o make[1]: Leaving directory '/usr/src/RPM/BUILD/telnet-3.0/libexec/telnetd' make[1]: Entering directory '/usr/src/RPM/BUILD/telnet-3.0/libexec/telnetd' gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I. -I../../lib -DLINEMODE -DKLUDGELINEMODE -DUSE_TERMIO -DDIAGNOSTICS -DOLD_ENVIRON -DENV_HACK -Wall state.c -o state.o make[1]: Leaving directory '/usr/src/RPM/BUILD/telnet-3.0/libexec/telnetd' make[1]: Entering directory '/usr/src/RPM/BUILD/telnet-3.0/libexec/telnetd' gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I. -I../../lib -DLINEMODE -DKLUDGELINEMODE -DUSE_TERMIO -DDIAGNOSTICS -DOLD_ENVIRON -DENV_HACK -Wall utility.c -o utility.o utility.c: In function 'fatal': utility.c:367:5: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(f, buf, (int)strlen(buf)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ utility.c: In function 'printsub': utility.c:809:14: warning: '%s' directive output may be truncated writing up to 4 bytes into a region of size between 1 and 32 [-Wformat-truncation=] "%s%s%s%s%s", ^~ In file included from /usr/include/stdio.h:862, from telnetd.h:38, from utility.c:37: /usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output between 1 and 36 bytes into a destination of size 32 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/telnet-3.0/libexec/telnetd' make[1]: Entering directory '/usr/src/RPM/BUILD/telnet-3.0/libexec/telnetd' gcc -s authenc.o global.o slc.o state.o sys_term.o telnetd.o termstat.o utility.o socket.o -L../../lib/libtelnet -ltelnet -lutil -o telnetd make[1]: Leaving directory '/usr/src/RPM/BUILD/telnet-3.0/libexec/telnetd' make -C usr.bin/telnet all make[1]: Entering directory '/usr/src/RPM/BUILD/telnet-3.0/usr.bin/telnet' gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../../lib -DKLUDGELINEMODE -DUSE_TERMIO -DENV_HACK -Wall -Dlint authenc.c -o authenc.o make[1]: Leaving directory '/usr/src/RPM/BUILD/telnet-3.0/usr.bin/telnet' make[1]: Entering directory '/usr/src/RPM/BUILD/telnet-3.0/usr.bin/telnet' gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../../lib -DKLUDGELINEMODE -DUSE_TERMIO -DENV_HACK -Wall -Dlint ring.c -o ring.o make[1]: Leaving directory '/usr/src/RPM/BUILD/telnet-3.0/usr.bin/telnet' make[1]: Entering directory '/usr/src/RPM/BUILD/telnet-3.0/usr.bin/telnet' gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../../lib -DKLUDGELINEMODE -DUSE_TERMIO -DENV_HACK -Wall -Dlint network.c -o network.o make[1]: Leaving directory '/usr/src/RPM/BUILD/telnet-3.0/usr.bin/telnet' make[1]: Entering directory '/usr/src/RPM/BUILD/telnet-3.0/usr.bin/telnet' gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../../lib -DKLUDGELINEMODE -DUSE_TERMIO -DENV_HACK -Wall -Dlint tn3270.c -o tn3270.o make[1]: Leaving directory '/usr/src/RPM/BUILD/telnet-3.0/usr.bin/telnet' make[1]: Entering directory '/usr/src/RPM/BUILD/telnet-3.0/usr.bin/telnet' gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../../lib -DKLUDGELINEMODE -DUSE_TERMIO -DENV_HACK -Wall -Dlint main.c -o main.o main.c: In function 'main': main.c:204:16: warning: pointer targets in passing argument 1 of 'env_define' differ in signedness [-Wpointer-sign] env_define("DISPLAY", (unsigned char*)p); ^~~~~~~~~ In file included from telnet_locl.h:85, from main.c:43: externs.h:197:17: note: expected 'unsigned char *' but argument is of type 'char *' struct env_lst *env_define (unsigned char *, unsigned char *); ^~~~~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/telnet-3.0/usr.bin/telnet' make[1]: Entering directory '/usr/src/RPM/BUILD/telnet-3.0/usr.bin/telnet' gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../../lib -DKLUDGELINEMODE -DUSE_TERMIO -DENV_HACK -Wall -Dlint terminal.c -o terminal.o terminal.c: In function 'ttyflush': terminal.c:135:31: warning: pointer targets in passing argument 1 of 'TerminalWrite' differ in signedness [-Wpointer-sign] n1 = TerminalWrite(ttyoring.bottom, n1); ~~~~~~~~^~~~~~~ In file included from telnet_locl.h:85, from terminal.c:37: externs.h:251:5: note: expected 'char *' but argument is of type 'unsigned char *' int TerminalWrite(char *buf, int n); ^~~~~~~~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/telnet-3.0/usr.bin/telnet' make[1]: Entering directory '/usr/src/RPM/BUILD/telnet-3.0/usr.bin/telnet' gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../../lib -DKLUDGELINEMODE -DUSE_TERMIO -DENV_HACK -Wall -Dlint utilities.c -o utilities.o make[1]: Leaving directory '/usr/src/RPM/BUILD/telnet-3.0/usr.bin/telnet' make[1]: Entering directory '/usr/src/RPM/BUILD/telnet-3.0/usr.bin/telnet' gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../../lib -DKLUDGELINEMODE -DUSE_TERMIO -DENV_HACK -Wall -Dlint sys_bsd.c -o sys_bsd.o sys_bsd.c: In function 'process_rings': sys_bsd.c:961:1: warning: type of 'netin' defaults to 'int' [-Wimplicit-int] process_rings(netin, netout, netex, ttyin, ttyout, poll) ^~~~~~~~~~~~~ sys_bsd.c:961:1: warning: type of 'netout' defaults to 'int' [-Wimplicit-int] sys_bsd.c:961:1: warning: type of 'netex' defaults to 'int' [-Wimplicit-int] sys_bsd.c:961:1: warning: type of 'ttyin' defaults to 'int' [-Wimplicit-int] sys_bsd.c:961:1: warning: type of 'ttyout' defaults to 'int' [-Wimplicit-int] make[1]: Leaving directory '/usr/src/RPM/BUILD/telnet-3.0/usr.bin/telnet' make[1]: Entering directory '/usr/src/RPM/BUILD/telnet-3.0/usr.bin/telnet' gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../../lib -DKLUDGELINEMODE -DUSE_TERMIO -DENV_HACK -Wall -Dlint commands.c -o commands.o commands.c: In function 'tn_setmode': commands.c:1114:1: warning: type of 'bit' defaults to 'int' [-Wimplicit-int] tn_setmode(bit) ^~~~~~~~~~ commands.c: In function 'tn_clearmode': commands.c:1120:1: warning: type of 'bit' defaults to 'int' [-Wimplicit-int] tn_clearmode(bit) ^~~~~~~~~~~~ commands.c: In function 'env_init': commands.c:1672:21: warning: pointer targets in passing argument 1 of 'env_find' differ in signedness [-Wpointer-sign] if ((ep = env_find("DISPLAY")) ^~~~~~~~~ commands.c:1639:1: note: expected 'unsigned char *' but argument is of type 'char *' env_find(var) ^~~~~~~~ commands.c:1700:16: warning: pointer targets in passing argument 1 of 'env_find' differ in signedness [-Wpointer-sign] if ((env_find("USER") == NULL) && (ep = env_find("LOGNAME"))) { ^~~~~~ commands.c:1639:1: note: expected 'unsigned char *' but argument is of type 'char *' env_find(var) ^~~~~~~~ commands.c:1700:51: warning: pointer targets in passing argument 1 of 'env_find' differ in signedness [-Wpointer-sign] if ((env_find("USER") == NULL) && (ep = env_find("LOGNAME"))) { ^~~~~~~~~ commands.c:1639:1: note: expected 'unsigned char *' but argument is of type 'char *' env_find(var) ^~~~~~~~ commands.c:1704:21: warning: pointer targets in passing argument 1 of 'env_find' differ in signedness [-Wpointer-sign] if ((ep = env_find("TERM"))) ^~~~~~ commands.c:1639:1: note: expected 'unsigned char *' but argument is of type 'char *' env_find(var) ^~~~~~~~ commands.c: In function 'env_define': commands.c:1733:15: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] if ((ep->var = strdup((char *)var)) == NULL) ^ commands.c:1735:17: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] if ((ep->value = strdup((char *)value)) == NULL) ^ commands.c: In function 'env_init': commands.c:1688:3: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf (&cp, "%s%s", hbuf, cp2); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ commands.c: In function 'tn': commands.c:2310:9: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] (void) fgets(&line[strlen(line)], sizeof(line) - strlen(line), stdin); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ commands.c: In function 'setescape': commands.c:1302:10: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] (void) fgets(buf, sizeof(buf), stdin); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:507, from telnet_locl.h:46, from commands.c:39: In function 'strncpy', inlined from 'cmdrc' at commands.c:2242:3, inlined from 'tn' at commands.c:2493:5: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' accessing 249 bytes at offsets 0 and 7 overlaps 242 bytes at offset 7 [-Wrestrict] return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'cmdrc' at commands.c:2240:3, inlined from 'tn' at commands.c:2493:5: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin___strncpy_chk' accessing between 0 and 256 bytes at offsets 0 and [0, 256] may overlap up to 256 bytes at offset 255 [-Wrestrict] return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'cmdrc' at commands.c:2238:3, inlined from 'tn' at commands.c:2493:5: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin___strncpy_chk' accessing between 0 and 256 bytes at offsets 0 and [0, 256] may overlap up to 256 bytes at offset 255 [-Wrestrict] return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/telnet-3.0/usr.bin/telnet' make[1]: Entering directory '/usr/src/RPM/BUILD/telnet-3.0/usr.bin/telnet' gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../../lib -DKLUDGELINEMODE -DUSE_TERMIO -DENV_HACK -Wall -Dlint telnet.c -o telnet.o make[1]: Leaving directory '/usr/src/RPM/BUILD/telnet-3.0/usr.bin/telnet' make[1]: Entering directory '/usr/src/RPM/BUILD/telnet-3.0/usr.bin/telnet' gcc -s authenc.o commands.o main.o network.o ring.o sys_bsd.o telnet.o terminal.o tn3270.o utilities.o -L../../lib/libtelnet -ltelnet -ltinfo -o telnet make[1]: Leaving directory '/usr/src/RPM/BUILD/telnet-3.0/usr.bin/telnet' + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.81259 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/telnet-buildroot + : + /bin/rm -rf -- /usr/src/tmp/telnet-buildroot + cd telnet-3.0 + install -pD -m755 usr.bin/telnet/telnet /usr/src/tmp/telnet-buildroot/usr/bin/telnet + install -pD -m644 usr.bin/telnet/telnet.1 /usr/src/tmp/telnet-buildroot/usr/share/man/man1/telnet.1 + install -pD -m700 libexec/telnetd/telnetd /usr/src/tmp/telnet-buildroot/usr/sbin/telnetd + install -pD -m644 libexec/telnetd/telnetd.8 /usr/src/tmp/telnet-buildroot/usr/share/man/man8/telnetd.8 + install -pD -m640 /usr/src/RPM/SOURCES/telnetd.xinetd /usr/src/tmp/telnet-buildroot/etc/xinetd.d/telnetd + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/telnet-buildroot (auto) Verifying and fixing files in /usr/src/tmp/telnet-buildroot (binconfig,pkgconfig,libtool,desktop) Checking contents of files in /usr/src/tmp/telnet-buildroot/ (default) Compressing files in /usr/src/tmp/telnet-buildroot (auto) 056-debuginfo.brp: WARNING: You have 2 stripped ELF objects. Please compile with debugging information! 056-debuginfo.brp: WARNING: An excerpt from the list of affected files follows: ./usr/bin/telnet ./usr/sbin/telnetd Verifying ELF objects in /usr/src/tmp/telnet-buildroot (arch=normal,fhs=normal,lfs=relaxed,lint=relaxed,rpath=normal,stack=normal,textrel=normal,unresolved=normal) verify-elf: WARNING: ./usr/sbin/telnetd: uses non-LFS functions: open verify-elf: WARNING: ./usr/bin/telnet: uses non-LFS functions: fopen Hardlinking identical .pyc and .pyo files Processing files: telnet-3.0-alt9.1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.rCj1yY find-provides: running scripts (debuginfo,lib,pam,perl,pkgconfig,python,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.PgblI0 find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,rpmlib,shebang,shell,static,symlinks,systemd-services) Requires: /lib/ld-linux.so.2, libc.so.6(ALT_2.24), libc.so.6(GLIBC_2.0), libc.so.6(GLIBC_2.1), libc.so.6(GLIBC_2.11), libc.so.6(GLIBC_2.15), libc.so.6(GLIBC_2.3), libc.so.6(GLIBC_2.3.4), libc.so.6(GLIBC_2.4), libc.so.6(GLIBC_2.8), libtinfo.so.5 >= set:ljUP8ZbF4, rtld(GNU_HASH) Requires(rpmlib): rpmlib(SetVersions) Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.7mDBkb Processing files: telnet-server-3.0-alt9.1 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.77133 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd telnet-3.0 + DOCDIR=/usr/src/tmp/telnet-buildroot/usr/share/doc/telnet-server-3.0 + export DOCDIR + rm -rf /usr/src/tmp/telnet-buildroot/usr/share/doc/telnet-server-3.0 + /bin/mkdir -p /usr/src/tmp/telnet-buildroot/usr/share/doc/telnet-server-3.0 + cp -prL telnetd.eps /usr/src/tmp/telnet-buildroot/usr/share/doc/telnet-server-3.0 + chmod -R go-w /usr/src/tmp/telnet-buildroot/usr/share/doc/telnet-server-3.0 + chmod -R a+rX /usr/src/tmp/telnet-buildroot/usr/share/doc/telnet-server-3.0 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.mwUfcQ find-provides: running scripts (debuginfo,lib,pam,perl,pkgconfig,python,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.s9o0xM find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,rpmlib,shebang,shell,static,symlinks,systemd-services) Finding Requires(pre) (using /usr/lib/rpm/find-scriptlet-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.o8BcCO Requires: /var/empty, /etc/xinetd.d, /lib/ld-linux.so.2, libc.so.6(GLIBC_2.0), libc.so.6(GLIBC_2.1), libc.so.6(GLIBC_2.15), libc.so.6(GLIBC_2.3), libc.so.6(GLIBC_2.3.4), libc.so.6(GLIBC_2.4), libutil.so.1(GLIBC_2.0), rtld(GNU_HASH) Requires(interp): /bin/sh Requires(pre): shadow-utils, /bin/sh, /usr/sbin/groupadd, /usr/sbin/useradd Requires(postun): shadow-utils Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.1nzaD6 Wrote: /usr/src/RPM/RPMS/i586/telnet-3.0-alt9.1.i586.rpm Wrote: /usr/src/RPM/RPMS/i586/telnet-server-3.0-alt9.1.i586.rpm 6.02user 0.95system 0:11.02elapsed 63%CPU (0avgtext+0avgdata 33616maxresident)k 0inputs+0outputs (0major+331992minor)pagefaults 0swaps 9.34user 3.31system 0:17.59elapsed 71%CPU (0avgtext+0avgdata 116980maxresident)k 0inputs+0outputs (0major+607659minor)pagefaults 0swaps