<86>Nov 9 06:19:27 userdel[1323143]: delete user 'rooter' <86>Nov 9 06:19:27 userdel[1323143]: removed group 'rooter' owned by 'rooter' <86>Nov 9 06:19:27 groupadd[1323234]: group added to /etc/group: name=rooter, GID=1229 <86>Nov 9 06:19:27 groupadd[1323234]: group added to /etc/gshadow: name=rooter <86>Nov 9 06:19:27 groupadd[1323234]: new group: name=rooter, GID=1229 <86>Nov 9 06:19:27 useradd[1323311]: new user: name=rooter, UID=1229, GID=1229, home=/root, shell=/bin/bash, from=none <86>Nov 9 06:19:28 userdel[1323430]: delete user 'builder' <86>Nov 9 06:19:28 userdel[1323430]: removed group 'builder' owned by 'builder' <86>Nov 9 06:19:28 userdel[1323430]: removed shadow group 'builder' owned by 'builder' <86>Nov 9 06:19:28 groupadd[1323536]: group added to /etc/group: name=builder, GID=1230 <86>Nov 9 06:19:28 groupadd[1323536]: group added to /etc/gshadow: name=builder <86>Nov 9 06:19:28 groupadd[1323536]: new group: name=builder, GID=1230 <86>Nov 9 06:19:28 useradd[1323649]: new user: name=builder, UID=1230, GID=1230, home=/usr/src, shell=/bin/bash, from=none /usr/src/in/srpm/telnet-3.0-alt10.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>Nov 9 06:19:33 rpmi: libtinfo-devel-6.3.20220618-alt4 sisyphus+327286.4600.14.1 1711486782 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-alt10.nosrc.rpm (w1.gzdio) warning: line 32: Deprecated PreReq converted to Requires(pre,postun): PreReq: shadow-utils Installing telnet-3.0-alt10.src.rpm Building target platforms: i586 Building for target i586 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.82150 + 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.82150 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd telnet-3.0 ++ getconf LFS_CFLAGS + export 'CFLAGS=-c -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64' + CFLAGS='-c -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64' + 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 -flto=auto -march=i586 -mtune=generic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -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 -flto=auto -march=i586 -mtune=generic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -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 -flto=auto -march=i586 -mtune=generic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -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 -flto=auto -march=i586 -mtune=generic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -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 -flto=auto -march=i586 -mtune=generic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -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 -flto=auto -march=i586 -mtune=generic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -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 -flto=auto -march=i586 -mtune=generic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -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 -flto=auto -march=i586 -mtune=generic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -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 -flto=auto -march=i586 -mtune=generic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -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 -flto=auto -march=i586 -mtune=generic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -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:13: 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 -flto=auto -march=i586 -mtune=generic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -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 -flto=auto -march=i586 -mtune=generic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -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 -flto=auto -march=i586 -mtune=generic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -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 -flto=auto -march=i586 -mtune=generic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -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)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 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 -flto=auto -march=i586 -mtune=generic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -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 -flto=auto -march=i586 -mtune=generic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -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 -flto=auto -march=i586 -mtune=generic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I../../lib -DKLUDGELINEMODE -DUSE_TERMIO -DENV_HACK -Wall -Dlint main.c -o main.o main.c: In function 'main': main.c:204:44: 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:29: 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 -flto=auto -march=i586 -mtune=generic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I../../lib -DKLUDGELINEMODE -DUSE_TERMIO -DENV_HACK -Wall -Dlint terminal.c -o terminal.o terminal.c: In function 'ttyflush': terminal.c:135:52: 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 -flto=auto -march=i586 -mtune=generic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -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: error: type of 'netin' defaults to 'int' [-Wimplicit-int] 961 | process_rings(netin, netout, netex, ttyin, ttyout, poll) | ^~~~~~~~~~~~~ sys_bsd.c:961:1: error: type of 'netout' defaults to 'int' [-Wimplicit-int] sys_bsd.c:961:1: error: type of 'netex' defaults to 'int' [-Wimplicit-int] sys_bsd.c:961:1: error: type of 'ttyin' defaults to 'int' [-Wimplicit-int] sys_bsd.c:961:1: error: type of 'ttyout' defaults to 'int' [-Wimplicit-int] make[1]: *** [Makefile:59: sys_bsd.o] Error 1 make[1]: Leaving directory '/usr/src/RPM/BUILD/telnet-3.0/usr.bin/telnet' make[1]: *** Waiting for unfinished jobs.... make[1]: Entering directory '/usr/src/RPM/BUILD/telnet-3.0/usr.bin/telnet' gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -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 -flto=auto -march=i586 -mtune=generic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I../../lib -DKLUDGELINEMODE -DUSE_TERMIO -DENV_HACK -Wall -Dlint commands.c -o commands.o commands.c: In function 'tn_setmode': commands.c:1114:1: error: type of 'bit' defaults to 'int' [-Wimplicit-int] 1114 | tn_setmode(bit) | ^~~~~~~~~~ commands.c: In function 'tn_clearmode': commands.c:1120:1: error: type of 'bit' defaults to 'int' [-Wimplicit-int] 1120 | tn_clearmode(bit) | ^~~~~~~~~~~~ commands.c: In function 'env_init': commands.c:1672:28: 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:24: note: expected 'unsigned char *' but argument is of type 'char *' 1640 | unsigned char *var; | ^~~ commands.c:1700:23: 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:24: note: expected 'unsigned char *' but argument is of type 'char *' 1640 | unsigned char *var; | ^~~ commands.c:1700:58: 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:24: note: expected 'unsigned char *' but argument is of type 'char *' 1640 | unsigned char *var; | ^~~ commands.c:1704:28: 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:24: note: expected 'unsigned char *' but argument is of type 'char *' 1640 | unsigned char *var; | ^~~ commands.c: In function 'env_define': commands.c:1733:22: 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:24: 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:17: 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:16: 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:24: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 1302 | (void) fgets(buf, sizeof(buf), stdin); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: *** [Makefile:59: commands.o] Error 1 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 -flto=auto -march=i586 -mtune=generic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -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 -flto=auto -march=i586 -mtune=generic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -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 -flto=auto -march=i586 -mtune=generic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -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: *** [Makefile:4: all] Error 2 error: Bad exit status from /usr/src/tmp/rpm-tmp.82150 (%build) RPM build errors: line 32: Deprecated PreReq converted to Requires(pre,postun): PreReq: shadow-utils Bad exit status from /usr/src/tmp/rpm-tmp.82150 (%build) Command exited with non-zero status 1 2.49user 0.41system 0:01.85elapsed 156%CPU (0avgtext+0avgdata 37408maxresident)k 0inputs+0outputs (0major+93976minor)pagefaults 0swaps hsh-rebuild: rebuild of `telnet-3.0-alt10.src.rpm' failed. Command exited with non-zero status 1 5.07user 2.03system 0:13.57elapsed 52%CPU (0avgtext+0avgdata 136888maxresident)k 0inputs+0outputs (0major+179897minor)pagefaults 0swaps