<86>Sep 28 09:03:34 userdel[1143126]: delete user 'rooter' <86>Sep 28 09:03:34 userdel[1143126]: removed group 'rooter' owned by 'rooter' <86>Sep 28 09:03:34 userdel[1143126]: removed shadow group 'rooter' owned by 'rooter' <86>Sep 28 09:03:34 groupadd[1143140]: group added to /etc/group: name=rooter, GID=585 <86>Sep 28 09:03:34 groupadd[1143140]: group added to /etc/gshadow: name=rooter <86>Sep 28 09:03:34 groupadd[1143140]: new group: name=rooter, GID=585 <86>Sep 28 09:03:34 useradd[1143152]: new user: name=rooter, UID=585, GID=585, home=/root, shell=/bin/bash <86>Sep 28 09:03:34 userdel[1143176]: delete user 'builder' <86>Sep 28 09:03:34 groupadd[1143190]: group added to /etc/group: name=builder, GID=586 <86>Sep 28 09:03:34 groupadd[1143190]: group added to /etc/gshadow: name=builder <86>Sep 28 09:03:34 groupadd[1143190]: new group: name=builder, GID=586 <86>Sep 28 09:03:34 useradd[1143201]: new user: name=builder, UID=586, GID=586, home=/usr/src, shell=/bin/bash /usr/src/in/srpm/telnet-3.0-alt9.1.src.rpm: license not found in '/usr/share/license' directory: BSD-style warning: line 43: Deprecated PreReq converted to Requires(pre,postun): PreReq: shadow-utils <13>Sep 28 09:03:39 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.13415 + 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.13415 + 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 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 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 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 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 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 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] 979 | 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] 1734 | chown(line, 0, 0); | ^~~~~~~~~~~~~~~~~ sys_term.c:1737:5: warning: ignoring return value of 'chown', declared with attribute warn_unused_result [-Wunused-result] 1737 | 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] 367 | 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=] 809 | "%s%s%s%s%s", | ^~ In file included from /usr/include/stdio.h:867, from telnetd.h:38, from utility.c:37: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 1 and 36 bytes into a destination of size 32 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __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 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 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] 135 | n1 = TerminalWrite(ttyoring.bottom, n1); | ~~~~~~~~^~~~~~~ | | | unsigned char * In file included from telnet_locl.h:85, from terminal.c:37: externs.h:251:25: note: expected 'char *' but argument is of type 'unsigned char *' 251 | 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 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 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] 204 | env_define("DISPLAY", (unsigned char*)p); | ^~~~~~~~~ | | | char * 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 *' 197 | 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 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] 961 | 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 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 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 -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] 1114 | tn_setmode(bit) | ^~~~~~~~~~ commands.c: In function 'tn_clearmode': commands.c:1120:1: warning: type of 'bit' defaults to 'int' [-Wimplicit-int] 1120 | 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] 1672 | if ((ep = env_find("DISPLAY")) | ^~~~~~~~~ | | | char * commands.c:1640:17: note: expected 'unsigned char *' but argument is of type 'char *' 1640 | unsigned char *var; | ^~~ commands.c:1700:16: warning: pointer targets in passing argument 1 of 'env_find' differ in signedness [-Wpointer-sign] 1700 | if ((env_find("USER") == NULL) && (ep = env_find("LOGNAME"))) { | ^~~~~~ | | | char * commands.c:1640:17: note: expected 'unsigned char *' but argument is of type 'char *' 1640 | unsigned char *var; | ^~~ commands.c:1700:51: warning: pointer targets in passing argument 1 of 'env_find' differ in signedness [-Wpointer-sign] 1700 | if ((env_find("USER") == NULL) && (ep = env_find("LOGNAME"))) { | ^~~~~~~~~ | | | char * commands.c:1640:17: note: expected 'unsigned char *' but argument is of type 'char *' 1640 | unsigned char *var; | ^~~ commands.c:1704:21: warning: pointer targets in passing argument 1 of 'env_find' differ in signedness [-Wpointer-sign] 1704 | if ((ep = env_find("TERM"))) | ^~~~~~ | | | char * commands.c:1640:17: note: expected 'unsigned char *' but argument is of type 'char *' 1640 | unsigned char *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] 1733 | 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] 1735 | 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] 1688 | 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] 2310 | (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] 1302 | (void) fgets(buf, sizeof(buf), stdin); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:508, 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] 106 | 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] 106 | 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] 106 | 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 -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.69448 + 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.H8q4Lu 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.LuV5hu 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.6hI5Pq Processing files: telnet-server-3.0-alt9.1 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.95464 + 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.mrXFIu 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.xudnRq 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.ENgRdu 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.FeN1Yr 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 12.20user 2.31system 0:14.37elapsed 100%CPU (0avgtext+0avgdata 33168maxresident)k 0inputs+0outputs (0major+323068minor)pagefaults 0swaps /.out/telnet-3.0-alt9.1.i586.rpm: license not found in '/usr/share/license' directory: BSD-style /.out/telnet-server-3.0-alt9.1.i586.rpm: license not found in '/usr/share/license' directory: BSD-style 19.57user 7.79system 0:31.24elapsed 87%CPU (0avgtext+0avgdata 110504maxresident)k 0inputs+0outputs (0major+604836minor)pagefaults 0swaps