Cook: rsh 0.17 ================================================================================ QA: checking package receipt... QA: unable to reach "ftp://ftp.uk.linux.org/pub/linux/Networking/netkit" Checking build dependencies... Extracting source archive "netkit-rsh-0.17.tar.gz" Executing: compile_rules CFLAGS : -march=i486 -Os -pipe -mindirect-branch=thunk CXXLAGS : -march=i486 -Os -pipe -mindirect-branch=thunk CPPFLAGS : -D_GLIBCXX_USE_C99_MATH=1 LDFLAGS : -Wl,-Os,--as-needed Directories: /usr/bin /usr/sbin /usr/share/man Installing in chroot tree rooted at /home/slitaz/wok/rsh/install Looking for a C compiler... gcc Checking if gcc accepts gcc warnings... yes Checking if gcc accepts -O2... yes Checking for BSD signal semantics... yes Checking for ncurses... yes Checking for GNU libc... yes Checking for PAM... disabled Checking for shadow... yes Checking for crypt... -lcrypt Checking for forkpty... -lutil Checking for logwtmp... -lutil Checking for socklen_t... yes Checking for snprintf declaration... ok Checking for snprintf implementation... ok Generating MCONFIG... (cd rcp && make) (cd rexec && make) (cd rexecd && make) (cd rlogin && make) (cd rlogind && make) (cd rsh && make) make[1]: Entering directory '/home/slitaz/wok/rsh/source/rsh-0.17/rcp' gcc -march=i486 -Os -pipe -mindirect-branch=thunk -O2 -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline rcp.c -c make[1]: Entering directory '/home/slitaz/wok/rsh/source/rsh-0.17/rexec' gcc -march=i486 -Os -pipe -mindirect-branch=thunk -O2 -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline rexec.c -c make[1]: Entering directory '/home/slitaz/wok/rsh/source/rsh-0.17/rsh' gcc -march=i486 -Os -pipe -mindirect-branch=thunk -O2 -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline rsh.c -c make[1]: Entering directory '/home/slitaz/wok/rsh/source/rsh-0.17/rexecd' gcc -march=i486 -Os -pipe -mindirect-branch=thunk -O2 -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -DUSE_SHADOW -DRESTRICT_FTP=1 rexecd.c -c make[1]: Entering directory '/home/slitaz/wok/rsh/source/rsh-0.17/rlogin' gcc -march=i486 -Os -pipe -mindirect-branch=thunk -O2 -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline rlogin.c -c make[1]: Entering directory '/home/slitaz/wok/rsh/source/rsh-0.17/rlogind' gcc -march=i486 -Os -pipe -mindirect-branch=thunk -O2 -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline rlogind.c -c rexec.c: In function 'echo_fd': rexec.c:361:5: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd_to, buffer, sock_read); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rexec.c: In function 'echo_sig': rexec.c:380:5: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(aux_sock, &sigch, 1); ^~~~~~~~~~~~~~~~~~~~~~~~~~ rsh.c: In function 'main': rsh.c:192:2: warning: 'sigblock' is deprecated [-Wdeprecated-declarations] omask = sigblock(sigmask(SIGINT)|sigmask(SIGQUIT)|sigmask(SIGTERM)); ^~~~~ In file included from rsh.c:45: /usr/include/signal.h:170:12: note: declared here extern int sigblock (int __mask) __THROW __attribute_deprecated__; ^~~~~~~~ rsh.c: In function 'talk': rsh.c:250:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (! FD_ISSET(rem, &rembits)) ^~ rsh.c:252:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' wc = write(rem, bp, cc); ^~ rsh.c:269:2: warning: 'sigsetmask' is deprecated [-Wdeprecated-declarations] sigsetmask(omask); ^~~~~~~~~~ In file included from rsh.c:45: /usr/include/signal.h:173:12: note: declared here extern int sigsetmask (int __mask) __THROW __attribute_deprecated__; ^~~~~~~~~~ rsh.c: In function 'sendsig': rsh.c:308:3: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(rfd2, &x, 1); ^~~~~~~~~~~~~~~~~~ rsh.c: In function 'talk': rsh.c:289:5: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(2, buf, cc); ^~~~~~~~~~~~~~~~~ rsh.c:297:5: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(1, buf, cc); ^~~~~~~~~~~~~~~~~ rexecd.c: In function 'doit': rexecd.c:429:2: warning: missing sentinel in function call [-Wformat=] execle(theshell, cp2, "-c", cmdbuf, 0, myenviron); ^~~~~~ rexecd.c: In function 'main': rexecd.c:150:3: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(0, "\1Where are you?\n", 16); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rexecd.c: In function 'doit': rexecd.c:383:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(2, "\0", 1); ^~~~~~~~~~~~~~~~~ rexecd.c: In function 'fatal': rexecd.c:438:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(2, &x, 1); ^~~~~~~~~~~~~~~ rexecd.c:439:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(2, msg, strlen(msg)); ^~~~~~~~~~~~~~~~~~~~~~~~~~ rlogin.c: In function 'main': rlogin.c:280:2: warning: 'sigblock' is deprecated [-Wdeprecated-declarations] omask = sigblock(sigmask(SIGURG) | sigmask(SIGUSR1)); ^~~~~ In file included from /usr/include/sys/param.h:28, from rlogin.c:51: /usr/include/signal.h:170:12: note: declared here extern int sigblock (int __mask) __THROW __attribute_deprecated__; ^~~~~~~~ rlogin.c: In function 'doit': rlogin.c:366:2: warning: 'sigsetmask' is deprecated [-Wdeprecated-declarations] sigsetmask(omask); ^~~~~~~~~~ In file included from /usr/include/sys/param.h:28, from rlogin.c:51: /usr/include/signal.h:173:12: note: declared here extern int sigsetmask (int __mask) __THROW __attribute_deprecated__; ^~~~~~~~~~ rlogind.c: In function 'fatal': rlogind.c:108:5: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(f, buf, strlen(buf)); ^~~~~~~~~~~~~~~~~~~~~~~~~~ rlogin.c: In function 'setsignal': rlogin.c:379:2: warning: 'sigblock' is deprecated [-Wdeprecated-declarations] int omask = sigblock(sigmask(sig)); ^~~ In file included from /usr/include/sys/param.h:28, from rlogin.c:51: /usr/include/signal.h:170:12: note: declared here extern int sigblock (int __mask) __THROW __attribute_deprecated__; ^~~~~~~~ rlogin.c:383:2: warning: 'sigsetmask' is deprecated [-Wdeprecated-declarations] sigsetmask(omask); ^~~~~~~~~~ In file included from /usr/include/sys/param.h:28, from rlogin.c:51: /usr/include/signal.h:173:12: note: declared here extern int sigsetmask (int __mask) __THROW __attribute_deprecated__; ^~~~~~~~~~ rlogind.c: In function 'doit': rlogind.c:412:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(netfd, "rlogind: Host address mismatch.\r\n", 33); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rlogin.c: In function 'reader': rlogin.c:693:2: warning: 'sigsetmask' is deprecated [-Wdeprecated-declarations] sigsetmask(omask); ^~~~~~~~~~ In file included from /usr/include/sys/param.h:28, from rlogin.c:51: /usr/include/signal.h:173:12: note: declared here extern int sigsetmask (int __mask) __THROW __attribute_deprecated__; ^~~~~~~~~~ rlogind.c: In function 'cleanup': rlogind.c:294:5: warning: ignoring return value of 'chown', declared with attribute warn_unused_result [-Wunused-result] chown(line, 0, 0); ^~~~~~~~~~~~~~~~~ rlogind.c:299:5: warning: ignoring return value of 'chown', declared with attribute warn_unused_result [-Wunused-result] chown(line, 0, 0); ^~~~~~~~~~~~~~~~~ rcp.c: In function 'response': rcp.c:588:4: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(2, rbuf, cp - rbuf); ^~~~~~~~~~~~~~~~~~~~~~~~~ rcp.c: In function 'source': rcp.c:478:10: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] (void)write(rem, buf, (int)strlen(buf)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rcp.c:486:9: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] (void)write(rem, buf, (int)strlen(buf)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rcp.c:502:10: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] (void)write(rem, bp->buf, amt); ^~~~~~~~~~~~~~~~~~~~~~~~ rcp.c:506:10: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] (void)write(rem, "", 1); ^~~~~~~~~~~~~~~~~ rcp.c: In function 'rsource': rcp.c:532:9: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] (void)write(rem, path, (int)strlen(path)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rcp.c:540:8: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] (void)write(rem, path, (int)strlen(path)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rcp.c:559:8: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] (void)write(rem, "E\n", 2); ^~~~~~~~~~~~~~~~~~~~ rlogin.c: In function 'sendwindow': rlogin.c:567:3: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(rem, obuf, sizeof(obuf)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rcp.c: In function 'sink': rcp.c:639:8: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] (void)write(rem, "", 1); ^~~~~~~~~~~~~~~~~ rcp.c:657:11: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] (void)write(2, buf + 1, (int)strlen(buf + 1)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rcp.c:664:10: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] (void)write(rem, "", 1); ^~~~~~~~~~~~~~~~~ rcp.c:688:10: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] (void)write(rem, "", 1); ^~~~~~~~~~~~~~~~~ rcp.c:761:9: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] (void)write(rem, "", 1); ^~~~~~~~~~~~~~~~~ rcp.c:816:10: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] (void)write(rem, "", 1); ^~~~~~~~~~~~~~~~~ rlogin.c: In function 'writer': rlogin.c:486:6: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(rem, &escapechar, 1); ^~~~~~~~~~~~~~~~~~~~~~~~~~ rlogin.c: In function 'echo': rlogin.c:518:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(STDOUT_FILENO, buf, p - buf); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rcp.c: In function 'tolocal': rcp.c:334:9: warning: ignoring return value of 'seteuid', declared with attribute warn_unused_result [-Wunused-result] (void)seteuid(userid); ^~~~~~~~~~~~~~~ rcp.c:342:9: warning: ignoring return value of 'seteuid', declared with attribute warn_unused_result [-Wunused-result] (void)seteuid(0); ^~~~~~~~~~ gcc rexec.o -lcrypt -lutil -lutil -o rexec gcc rexecd.o -lcrypt -lutil -lutil -o rexecd make[1]: Leaving directory '/home/slitaz/wok/rsh/source/rsh-0.17/rexec' (cd rshd && make) make[1]: Entering directory '/home/slitaz/wok/rsh/source/rsh-0.17/rshd' gcc -march=i486 -Os -pipe -mindirect-branch=thunk -O2 -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline rshd.c -c make[1]: Leaving directory '/home/slitaz/wok/rsh/source/rsh-0.17/rexecd' gcc -march=i486 -Os -pipe -mindirect-branch=thunk -O2 -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline network.c -c gcc rsh.o -lcrypt -lutil -lutil -o rsh rshd.c: In function 'doit': rshd.c:488:2: warning: missing sentinel in function call [-Wformat=] execl(theshell, shellname, "-c", cmdbuf, 0); ^~~~~ gcc -march=i486 -Os -pipe -mindirect-branch=thunk -O2 -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline auth.c -c rshd.c:393:3: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] chdir("/"); ^~~~~~~~~~ rshd.c:406:9: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] (void) write(2, "\0", 1); ^~~~~~~~~~~~~~~~~ rshd.c: In function 'error': rshd.c:131:5: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(2, buf, strlen(buf)); ^~~~~~~~~~~~~~~~~~~~~~~~~~ rshd.c: In function 'stderr_parent': rshd.c:209:11: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] else write(sock, buf, cc); ^~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/home/slitaz/wok/rsh/source/rsh-0.17/rsh' network.c: In function 'network_init': network.c:173:2: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read(f, &c, 1); ^~~~~~~~~~~~~~ network.c: In function 'network_confirm': network.c:228:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(netf, "", 1); ^~~~~~~~~~~~~~~~~~ network.c: In function 'network_anticonfirm': network.c:239:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(netf, &x, 1); ^~~~~~~~~~~~~~~~~~ gcc rlogin.o -lcrypt -lutil -lutil -o rlogin gcc rlogind.o network.o auth.o -lcrypt -lutil -lutil -o rlogind make[1]: Leaving directory '/home/slitaz/wok/rsh/source/rsh-0.17/rlogin' gcc rshd.o -lcrypt -lutil -lutil -o rshd make[1]: Leaving directory '/home/slitaz/wok/rsh/source/rsh-0.17/rlogind' make[1]: Leaving directory '/home/slitaz/wok/rsh/source/rsh-0.17/rshd' gcc rcp.o -lcrypt -lutil -lutil -o rcp make[1]: Leaving directory '/home/slitaz/wok/rsh/source/rsh-0.17/rcp' (cd rcp && make install) (cd rexec && make install) (cd rexecd && make install) (cd rlogin && make install) (cd rlogind && make install) (cd rsh && make install) make[1]: Entering directory '/home/slitaz/wok/rsh/source/rsh-0.17/rcp' install -s -o root -m4755 rcp /home/slitaz/wok/rsh/install/usr/bin make[1]: Entering directory '/home/slitaz/wok/rsh/source/rsh-0.17/rexec' install -s -m 755 rexec /home/slitaz/wok/rsh/install/usr/bin make[1]: Entering directory '/home/slitaz/wok/rsh/source/rsh-0.17/rlogin' install -s -o root -m4755 rlogin /home/slitaz/wok/rsh/install/usr/bin make[1]: Entering directory '/home/slitaz/wok/rsh/source/rsh-0.17/rexecd' install -s -m755 rexecd /home/slitaz/wok/rsh/install/usr/sbin/in.rexecd make[1]: Entering directory '/home/slitaz/wok/rsh/source/rsh-0.17/rsh' install -s -o root -m4755 rsh /home/slitaz/wok/rsh/install/usr/bin make[1]: Entering directory '/home/slitaz/wok/rsh/source/rsh-0.17/rlogind' install -s -m755 rlogind /home/slitaz/wok/rsh/install/usr/sbin/in.rlogind install -m644 rcp.1 /home/slitaz/wok/rsh/install/usr/share/man/man1 install -m 644 rexec.1 /home/slitaz/wok/rsh/install/usr/share/man/man1 install -m644 rexecd.8 /home/slitaz/wok/rsh/install/usr/share/man/man8/in.rexecd.8 make[1]: Leaving directory '/home/slitaz/wok/rsh/source/rsh-0.17/rcp' (cd rshd && make install) make[1]: Leaving directory '/home/slitaz/wok/rsh/source/rsh-0.17/rexec' install -m644 rlogind.8 /home/slitaz/wok/rsh/install/usr/share/man/man8/in.rlogind.8 install -m 644 rlogin.1 /home/slitaz/wok/rsh/install/usr/share/man/man1 ln -sf in.rexecd.8 /home/slitaz/wok/rsh/install/usr/share/man/man8/rexecd.8 make[1]: Leaving directory '/home/slitaz/wok/rsh/source/rsh-0.17/rlogin' ln -sf in.rlogind.8 /home/slitaz/wok/rsh/install/usr/share/man/man8/rlogind.8 install -m644 rsh.1 /home/slitaz/wok/rsh/install/usr/share/man/man1 make[1]: Entering directory '/home/slitaz/wok/rsh/source/rsh-0.17/rshd' install -s -m755 rshd /home/slitaz/wok/rsh/install/usr/sbin/in.rshd make[1]: Leaving directory '/home/slitaz/wok/rsh/source/rsh-0.17/rsh' make[1]: Leaving directory '/home/slitaz/wok/rsh/source/rsh-0.17/rlogind' make[1]: Leaving directory '/home/slitaz/wok/rsh/source/rsh-0.17/rexecd' install -m644 rshd.8 /home/slitaz/wok/rsh/install/usr/share/man/man8/in.rshd.8 ln -sf in.rshd.8 /home/slitaz/wok/rsh/install/usr/share/man/man8/rshd.8 make[1]: Leaving directory '/home/slitaz/wok/rsh/source/rsh-0.17/rshd' ================================================================================ Executing strip on all files... Done Time: 1.11s. Size: 117380 B -> 117380 B. Save: 0 KB. Installing (pkg/local): advancecomp-static-2.1-i486 Compressing man pages... Done Time: 2.18s. Size: 38620 B -> 17376 B. Save: 21 KB. Cache hit: 7/7. ================================================================================ Build dependencies to remove: 1 Removing: advancecomp-static Pack: rsh 0.17 ================================================================================ Copying folders and files... Done Copying "receipt"... Done Determining package architecture... i486 Creating the list of files... Done Creating md5sum of files... Done Compressing the FS... Done Creating full cpio archive... Done QA: checking for empty package... Done Removing old package "rsh-0.17-i486.tazpkg" Done The release checksum has changed. ================================================================================ Package "rsh-0.17-i486.tazpkg" created Post-check ================================================================================ Checking build... Done Checking 'any' arch... Done Checking libtool in source/rsh-0.17... Done Checking site script in source/rsh-0.17... Done Checking ownership in install... Done Checking permissions in install... Done Checking broken symlinks in install... Done Querying Repology... Done Updating activity log... Done ================================================================================ Summary for: rsh 0.17 ================================================================================ Src file : netkit-rsh-0.17.tar.gz Src size : 60.0K Source dir : 620.0K Produced : 200.0K Cook time : 11s Cook date : 2020-07-07 22:57 Target arch : i486 -------------------------------------------------------------------------------- # : Packed : Compressed : Files : Package name -------------------------------------------------------------------------------- 1 : 172.0K : 28.8K : 8 : rsh-0.17-i486.tazpkg ================================================================================