+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/tnt-1.9.2nb1/work.log + su pbulk -c '"$@"' make /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/tnt-1.9.2nb1/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 WARNING: [license.mk] Every package should define a LICENSE. ===> Building for tnt-1.9.2nb1 cd . && autoheader WARNING: 'autoheader' is missing on your system. You should only need it if you modified 'acconfig.h' or 'configure.in'. You might want to install the Autoconf and GNU m4 packages. Grab them from any GNU archive site. cd . \ && CONFIG_FILES= CONFIG_HEADERS=config.h \ /bin/bash ./config.status creating config.h config.h is unchanged /bin/make all-recursive make[1]: Entering directory '/home/pbulk/build/ham/tnt/work/tnt-1.9.2' Making all in doc make[2]: Entering directory '/home/pbulk/build/ham/tnt/work/tnt-1.9.2/doc' Making all in solaris make[3]: Entering directory '/home/pbulk/build/ham/tnt/work/tnt-1.9.2/doc/solaris' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/home/pbulk/build/ham/tnt/work/tnt-1.9.2/doc/solaris' make[3]: Entering directory '/home/pbulk/build/ham/tnt/work/tnt-1.9.2/doc' make[3]: Nothing to be done for 'all-am'. make[3]: Leaving directory '/home/pbulk/build/ham/tnt/work/tnt-1.9.2/doc' make[2]: Leaving directory '/home/pbulk/build/ham/tnt/work/tnt-1.9.2/doc' Making all in intl make[2]: Entering directory '/home/pbulk/build/ham/tnt/work/tnt-1.9.2/intl' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/home/pbulk/build/ham/tnt/work/tnt-1.9.2/intl' Making all in po make[2]: Entering directory '/home/pbulk/build/ham/tnt/work/tnt-1.9.2/po' PATH=../src:$PATH /bin/xgettext --default-domain=tnt --directory=.. \ --add-comments --keyword=_ --keyword=N_ \ --files-from=./POTFILES.in \ && test ! -f tnt.po \ || ( rm -f ./tnt.pot \ && mv tnt.po ./tnt.pot ) src/file.c:1151: warning: internationalized messages should not contain the '\r' escape sequence src/file.c:1151: warning: internationalized messages should not contain the '\r' escape sequence src/file.c:1159: warning: internationalized messages should not contain the '\r' escape sequence src/file.c:1159: warning: internationalized messages should not contain the '\r' escape sequence src/file.c:1171: warning: internationalized messages should not contain the '\r' escape sequence src/file.c:1171: warning: internationalized messages should not contain the '\r' escape sequence src/file.c:1179: warning: internationalized messages should not contain the '\r' escape sequence src/file.c:1179: warning: internationalized messages should not contain the '\r' escape sequence src/file.c:1179: warning: internationalized messages should not contain the '\r' escape sequence src/file.c:1806: warning: internationalized messages should not contain the '\r' escape sequence src/file.c:1813: warning: internationalized messages should not contain the '\r' escape sequence src/file.c:1910: warning: internationalized messages should not contain the '\r' escape sequence src/iface.c:1319: warning: internationalized messages should not contain the '\r' escape sequence src/iface.c:1322: warning: internationalized messages should not contain the '\r' escape sequence src/keyboard.c:2450: warning: internationalized messages should not contain the '\r' escape sequence src/keyboard.c:2450: warning: internationalized messages should not contain the '\r' escape sequence src/keyboard.c:2470: warning: internationalized messages should not contain the '\r' escape sequence src/keyboard.c:2470: warning: internationalized messages should not contain the '\r' escape sequence src/keyboard.c:2501: warning: internationalized messages should not contain the '\r' escape sequence src/xmon.c:320: warning: internationalized messages should not contain the '\r' escape sequence rm -f cat-id-tbl.tmp sed -f ../intl/po2tbl.sed ./tnt.pot \ | sed -e "s/@PACKAGE NAME@/tnt/" > cat-id-tbl.tmp sed: couldn't open file ../intl/po2tbl.sed: No such file or directory if cmp -s cat-id-tbl.tmp ./cat-id-tbl.c; then \ rm cat-id-tbl.tmp; \ else \ echo cat-id-tbl.c changed; \ rm -f ./cat-id-tbl.c; \ mv cat-id-tbl.tmp ./cat-id-tbl.c; \ fi cat-id-tbl.c changed cd . && rm -f stamp-cat-id && echo timestamp > stamp-cat-id make[2]: Leaving directory '/home/pbulk/build/ham/tnt/work/tnt-1.9.2/po' Making all in src make[2]: Entering directory '/home/pbulk/build/ham/tnt/work/tnt-1.9.2/src' Making all in runprgs make[3]: Entering directory '/home/pbulk/build/ham/tnt/work/tnt-1.9.2/src/runprgs' cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../intl -I/usr/include -pipe -O2 -I/usr/include -DTNT_LINUX -c help.c cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../intl -I/usr/include -pipe -O2 -I/usr/include -DTNT_LINUX -c info.c help.c: In function 'main': help.c:58:15: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 58 | fgets(tmp_str, 199, help_file); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../intl -I/usr/include -pipe -O2 -I/usr/include -DTNT_LINUX -c logcall.c info.c: In function 'main': info.c:116:5: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 116 | fgets(buffer, 158, procstream); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ info.c:138:5: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 138 | fgets(buffer, 100, procstream); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ info.c:158:5: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 158 | fgets(buffer, 100, procstream); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ logcall.c: In function 'find_name': logcall.c:67:5: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 67 | fgets(buffer, MAXSIZE-1, names_tnt); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ logcall.c: In function 'find_routes': logcall.c:124:5: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 124 | fgets(buffer, MAXSIZE-1, routes_tnt); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ logcall.c: In function 'find_connects': logcall.c:248:5: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 248 | fgets(buffer, MAXSIZE-1, log_tnt); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -pipe -O2 -I/usr/include -DTNT_LINUX -Wl,-zrelro -L/usr/lib64 -Wl,-R/usr/lib64 -Wl,-R/usr/pkg/lib -o help help.o -lintl cc -pipe -O2 -I/usr/include -DTNT_LINUX -Wl,-zrelro -L/usr/lib64 -Wl,-R/usr/lib64 -Wl,-R/usr/pkg/lib -o info info.o -lintl cc -pipe -O2 -I/usr/include -DTNT_LINUX -Wl,-zrelro -L/usr/lib64 -Wl,-R/usr/lib64 -Wl,-R/usr/pkg/lib -o logcall logcall.o -lintl make[3]: Leaving directory '/home/pbulk/build/ham/tnt/work/tnt-1.9.2/src/runprgs' make[3]: Entering directory '/home/pbulk/build/ham/tnt/work/tnt-1.9.2/src' cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I../intl -DLOCALEDIR=\"/usr/pkg/share/locale\" -funsigned-char -I/usr/include -pipe -O2 -I/usr/include -DTNT_LINUX -c ax25dump.c cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I../intl -DLOCALEDIR=\"/usr/pkg/share/locale\" -funsigned-char -I/usr/include -pipe -O2 -I/usr/include -DTNT_LINUX -c ax25k.c cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I../intl -DLOCALEDIR=\"/usr/pkg/share/locale\" -funsigned-char -I/usr/include -pipe -O2 -I/usr/include -DTNT_LINUX -c bcast.c cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I../intl -DLOCALEDIR=\"/usr/pkg/share/locale\" -funsigned-char -I/usr/include -pipe -O2 -I/usr/include -DTNT_LINUX -c bcastadd.c bcast.c: In function 'dec_bcstfile': bcast.c:972:7: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 972 | read(handle1, header, sizeof(fileheadertype)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bcast.c: In function 'send_bcast2': bcast.c:1497:7: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 1497 | read(tp->FileHandle, &fhe[fh_data_1 - 1], hl); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I../intl -DLOCALEDIR=\"/usr/pkg/share/locale\" -funsigned-char -I/usr/include -pipe -O2 -I/usr/include -DTNT_LINUX -c boxlist.c In file included from /usr/include/string.h:519, from tnt.h:32, from boxlist.c:10: In function 'strncpy', inlined from 'boxline_analysis' at boxlist.c:527:5, inlined from 'check_bid_in_line' at boxlist.c:814:7: /usr/include/bits/string_fortified.h:95:10: warning: '__builtin___strncpy_chk' writing 160 bytes into a region of size 7 overflows the destination [-Wstringop-overflow=] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'boxline_analysis' at boxlist.c:581:5, inlined from 'check_bid_in_line' at boxlist.c:814:7: /usr/include/bits/string_fortified.h:95:10: warning: '__builtin___strncpy_chk' writing 160 bytes into a region of size 7 overflows the destination [-Wstringop-overflow=] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I../intl -DLOCALEDIR=\"/usr/pkg/share/locale\" -funsigned-char -I/usr/include -pipe -O2 -I/usr/include -DTNT_LINUX -c codconv.c cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I../intl -DLOCALEDIR=\"/usr/pkg/share/locale\" -funsigned-char -I/usr/include -pipe -O2 -I/usr/include -DTNT_LINUX -c comp.c cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I../intl -DLOCALEDIR=\"/usr/pkg/share/locale\" -funsigned-char -I/usr/include -pipe -O2 -I/usr/include -DTNT_LINUX -c connect.c connect.c: In function 'cmd_xconnect_ext': connect.c:628:34: warning: implicit declaration of function 'time'; did you mean 'utime'? [-Wimplicit-function-declaration] 628 | xc_stat[channel].starttime = time(NULL); | ^~~~ | utime cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I../intl -DLOCALEDIR=\"/usr/pkg/share/locale\" -funsigned-char -I/usr/include -pipe -O2 -I/usr/include -DTNT_LINUX -c cookie.c connect.c: In function 'connect_update': connect.c:760:6: warning: type of 'len' defaults to 'int' [-Wimplicit-int] 760 | void connect_update(channel,buffer,len) | ^~~~~~~~~~~~~~ cookie.c: In function 'init_cookie': cookie.c:27:13: warning: implicit declaration of function 'time'; did you mean 'utime'? [-Wimplicit-function-declaration] 27 | t = (int)time(NULL); | ^~~~ | utime cookie.c: In function 'gen_cookie': cookie.c:104:6: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 104 | write(dest,cook_head_str,strlen(cook_head_str)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cookie.c:105:6: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 105 | write(dest,cook_dash_str,strlen(cook_head_str)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cookie.c:121:6: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 121 | write(dest,cook_dash_str,strlen(cook_head_str)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cookie.c:122:6: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 122 | write(dest,cook_foot_str,strlen(cook_head_str)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cookie.c: In function 'write_cookie': cookie.c:65:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 65 | if (c != 0x0d) write(dest,&c,1); | ^~~~~~~~~~~~~~~~ cookie.c:70:27: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 70 | else if (c != 0x0d) write(dest,&c,1); | ^~~~~~~~~~~~~~~~ cookie.c:73:4: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 73 | write(dest,&c,1); | ^~~~~~~~~~~~~~~~ cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I../intl -DLOCALEDIR=\"/usr/pkg/share/locale\" -funsigned-char -I/usr/include -pipe -O2 -I/usr/include -DTNT_LINUX -c crc.c cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I../intl -DLOCALEDIR=\"/usr/pkg/share/locale\" -funsigned-char -I/usr/include -pipe -O2 -I/usr/include -DTNT_LINUX -c display.c cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I../intl -DLOCALEDIR=\"/usr/pkg/share/locale\" -funsigned-char -I/usr/include -pipe -O2 -I/usr/include -DTNT_LINUX -c file.c file.c: In function 'open_logfile': file.c:676:23: warning: implicit declaration of function 'time'; did you mean 'utime'? [-Wimplicit-function-declaration] 676 | yapp->bufupdate = time(NULL); | ^~~~ | utime cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I../intl -DLOCALEDIR=\"/usr/pkg/share/locale\" -funsigned-char -I/usr/include -pipe -O2 -I/usr/include -DTNT_LINUX -c huffman.c cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I../intl -DLOCALEDIR=\"/usr/pkg/share/locale\" -funsigned-char -I/usr/include -pipe -O2 -I/usr/include -DTNT_LINUX -c iface.c iface.c: In function 'iface_trying': iface.c:1479:8: warning: implicit declaration of function 'time'; did you mean 'utime'? [-Wimplicit-function-declaration] 1479 | if ((time(NULL) - last_iface_try) < 120) return; | ^~~~ | utime cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I../intl -DLOCALEDIR=\"/usr/pkg/share/locale\" -funsigned-char -I/usr/include -pipe -O2 -I/usr/include -DTNT_LINUX -c init.c cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I../intl -DLOCALEDIR=\"/usr/pkg/share/locale\" -funsigned-char -I/usr/include -pipe -O2 -I/usr/include -DTNT_LINUX -c keyboard.c keyboard.c: In function 'cmd_kmacro': keyboard.c:2234:7: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 2234 | fgets(tmp,99,fp); | ^~~~~~~~~~~~~~~~ cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I../intl -DLOCALEDIR=\"/usr/pkg/share/locale\" -funsigned-char -I/usr/include -pipe -O2 -I/usr/include -DTNT_LINUX -c log.c cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I../intl -DLOCALEDIR=\"/usr/pkg/share/locale\" -funsigned-char -I/usr/include -pipe -O2 -I/usr/include -DTNT_LINUX -c macro.c cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I../intl -DLOCALEDIR=\"/usr/pkg/share/locale\" -funsigned-char -I/usr/include -pipe -O2 -I/usr/include -DTNT_LINUX -c main.c cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I../intl -DLOCALEDIR=\"/usr/pkg/share/locale\" -funsigned-char -I/usr/include -pipe -O2 -I/usr/include -DTNT_LINUX -c monbox.c main.c: In function 'main': main.c:475:21: warning: implicit declaration of function 'time'; did you mean 'utime'? [-Wimplicit-function-declaration] 475 | ser_resp_time = time(NULL); | ^~~~ | utime main.c:430:5: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result] 430 | chdir("/"); | ^~~~~~~~~~ monbox.c: In function 'check_mbeacon_head': monbox.c:2419:10: warning: implicit declaration of function 'time'; did you mean 'utime'? [-Wimplicit-function-declaration] 2419 | if ((time(NULL) - scanmbea_time) > SCANMBEA_TIMEOUT) { | ^~~~ | utime monbox.c: In function 'string_to_file': monbox.c:622:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 622 | write(*handle, crlfarr, 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I../intl -DLOCALEDIR=\"/usr/pkg/share/locale\" -funsigned-char -I/usr/include -pipe -O2 -I/usr/include -DTNT_LINUX -c priv.c priv.c: In function 'scan_login_received': priv.c:726:7: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 726 | fgets(tmpstr,160,fd); | ^~~~~~~~~~~~~~~~~~~~ priv.c:783:7: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 783 | fgets(tmpstr,160,fd); | ^~~~~~~~~~~~~~~~~~~~ priv.c: In function 'priv_diebox': priv.c:1083:7: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 1083 | fscanf(fd,"%4s",priv); /* get the 4 priv characters */ | ^~~~~~~~~~~~~~~~~~~~~ cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I../intl -DLOCALEDIR=\"/usr/pkg/share/locale\" -funsigned-char -I/usr/include -pipe -O2 -I/usr/include -DTNT_LINUX -c remote.c remote.c: In function 'cmd_sysop': remote.c:2687:9: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 2687 | fgets(password,132,fd); | ^~~~~~~~~~~~~~~~~~~~~~ remote.c: In function 'init_session': remote.c:3291:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 3291 | fscanf(f1,"%ld",&session_sek); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ remote.c: In function 'rem_heardlist': remote.c:3758:7: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 3758 | fgets(tmp_str, 98, tmp_mh); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ remote.c:3759:7: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 3759 | write(fd1, tmp_str, strlen(tmp_str)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ remote.c:3766:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 3766 | write(fd1, tmp_str, strlen(tmp_str)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ remote.c:3773:7: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 3773 | write(fd1, tmp_str, strlen(tmp_str)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ remote.c:3780:11: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 3780 | write(fd1, tmp_str, strlen(tmp_str)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ remote.c:3786:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 3786 | write(fd1, tmp_str, strlen(tmp_str)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ remote.c:3791:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 3791 | write(fd1, tmp_str, strlen(tmp_str)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ remote.c:3794:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 3794 | write(fd1, "\n", strlen("\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I../intl -DLOCALEDIR=\"/usr/pkg/share/locale\" -funsigned-char -I/usr/include -pipe -O2 -I/usr/include -DTNT_LINUX -c serial.c serial.c: In function 'init_serial': serial.c:549:3: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 549 | write(lock, lckpidstr, strlen(lckpidstr)); /* this gives us an uucp style lock file */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I../intl -DLOCALEDIR=\"/usr/pkg/share/locale\" -funsigned-char -I/usr/include -pipe -O2 -I/usr/include -DTNT_LINUX -c shell.c shell.c: In function 'pty_send_data': shell.c:1023:34: warning: implicit declaration of function 'time'; did you mean 'utime'? [-Wimplicit-function-declaration] 1023 | sh_stat[channel].bufupdate = time(NULL); | ^~~~ | utime shell.c: In function 'restore_pty': shell.c:151:3: warning: ignoring return value of 'chown' declared with attribute 'warn_unused_result' [-Wunused-result] 151 | chown(filename, 0, 0); | ^~~~~~~~~~~~~~~~~~~~~ shell.c:154:3: warning: ignoring return value of 'chown' declared with attribute 'warn_unused_result' [-Wunused-result] 154 | chown(filename, 0, 0); | ^~~~~~~~~~~~~~~~~~~~~ shell.c: In function 'cmd_shell': shell.c:357:5: warning: ignoring return value of 'dup' declared with attribute 'warn_unused_result' [-Wunused-result] 357 | dup(0); | ^~~~~~ shell.c:358:5: warning: ignoring return value of 'dup' declared with attribute 'warn_unused_result' [-Wunused-result] 358 | dup(0); | ^~~~~~ shell.c: In function 'cmd_run': shell.c:548:5: warning: ignoring return value of 'dup' declared with attribute 'warn_unused_result' [-Wunused-result] 548 | dup(0); | ^~~~~~ shell.c:549:5: warning: ignoring return value of 'dup' declared with attribute 'warn_unused_result' [-Wunused-result] 549 | dup(0); | ^~~~~~ shell.c:576:7: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result] 576 | chdir(pw->pw_dir); | ^~~~~~~~~~~~~~~~~ shell.c: In function 'close_shell2': shell.c:1702:13: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1702 | write(fdut, &utmpbuf, sizeof(utmpbuf)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ shell.c:1705:15: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1705 | write(fdut, &utmpbuf, sizeof(utmpbuf)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ shell.c: In function 'handle_socket_rxdata': shell.c:1429:15: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 1429 | fgets(tmpstr,99,fp); | ^~~~~~~~~~~~~~~~~~~ cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I../intl -DLOCALEDIR=\"/usr/pkg/share/locale\" -funsigned-char -I/usr/include -pipe -O2 -I/usr/include -DTNT_LINUX -c window.c window.c: In function 'term_init': window.c:634:10: warning: implicit declaration of function 'tgetent'; did you mean 'getenv'? [-Wimplicit-function-declaration] 634 | switch(tgetent(cbuf, term)) { | ^~~~~~~ | getenv window.c:646:20: warning: implicit declaration of function 'tgetstr' [-Wimplicit-function-declaration] 646 | if ((CM = (char*)tgetstr("cm", &_tptr)) == NULL) { | ^~~~~~~ window.c:646:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 646 | if ((CM = (char*)tgetstr("cm", &_tptr)) == NULL) { | ^ window.c:659:18: warning: implicit declaration of function 'tgetnum' [-Wimplicit-function-declaration] 659 | if ((LINES = tgetnum("li")) <= 0) { | ^~~~~~~ window.c:678:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 678 | if ((AL = (char*)tgetstr("al", &_tptr)) == NULL) { | ^ window.c:684:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 684 | if ((DL = (char*)tgetstr("dl", &_tptr)) == NULL) { | ^ window.c:690:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 690 | if ((IC = (char*)tgetstr("ic", &_tptr)) == NULL) { | ^ window.c:696:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 696 | if ((DC = (char*)tgetstr("dc", &_tptr)) == NULL) { | ^ window.c:702:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 702 | if ((CL = (char*)tgetstr("cl", &_tptr)) == NULL) { | ^ window.c:706:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 706 | if ((IS = (char*)tgetstr("is", &_tptr)) == NULL) | ^ window.c:708:8: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 708 | RS = (char*)tgetstr("rs", &_tptr); | ^ window.c:709:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 709 | if ((ND = (char*)tgetstr("nd", &_tptr)) == NULL) { | ^ window.c:713:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 713 | if ((CE = (char*)tgetstr("ce", &_tptr)) == NULL) { | ^ window.c:717:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 717 | if ((WR = (char*)tgetstr("cr", &_tptr)) == NULL) | ^ window.c:719:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 719 | if ((NL = (char*)tgetstr("nl", &_tptr)) == NULL) | ^ window.c:721:7: warning: implicit declaration of function 'tgetflag' [-Wimplicit-function-declaration] 721 | if (tgetflag("bs") || ((BC = (char*)tgetstr("bc", &_tptr)) == NULL)) | ^~~~~~~~ window.c:721:32: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 721 | if (tgetflag("bs") || ((BC = (char*)tgetstr("bc", &_tptr)) == NULL)) | ^ window.c:723:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 723 | if ((CS = (char*)tgetstr("cs", &_tptr)) == NULL) | ^ window.c:732:8: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 732 | VE = (char*)tgetstr("ve", &_tptr); | ^ window.c:733:8: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 733 | VI = (char*)tgetstr("vi", &_tptr); | ^ window.c:736:8: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 736 | SO = (char*)tgetstr("so", &_tptr); | ^ window.c:737:8: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 737 | SE = (char*)tgetstr("se", &_tptr); | ^ window.c:738:8: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 738 | US = (char*)tgetstr("us", &_tptr); | ^ window.c:739:8: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 739 | UE = (char*)tgetstr("ue", &_tptr); | ^ window.c:740:8: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 740 | MB = (char*)tgetstr("mb", &_tptr); | ^ window.c:741:8: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 741 | MR = (char*)tgetstr("mr", &_tptr); | ^ window.c:742:8: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 742 | MD = (char*)tgetstr("md", &_tptr); | ^ window.c:743:8: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 743 | MH = (char*)tgetstr("mh", &_tptr); | ^ window.c:744:8: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 744 | ME = (char*)tgetstr("me", &_tptr); | ^ window.c: In function 'phy_treset': window.c:814:5: warning: implicit declaration of function 'tputs'; did you mean 'puts'? [-Wimplicit-function-declaration] 814 | tputs(IS,1,phy_charout); | ^~~~~ | puts window.c: In function 'phy_gotoxy': window.c:932:14: warning: implicit declaration of function 'tgoto' [-Wimplicit-function-declaration] 932 | else tputs(tgoto(CM,col,lin),1,phy_charout); | ^~~~~ window.c: In function 'beep': window.c:1127:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1127 | write(1,"\007",1); | ^~~~~~~~~~~~~~~~~ window.c:1130:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1130 | write(frontend_fd,"\007",1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ window.c: In function 'phy_charout': window.c:524:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 524 | write(1,&ch,1); | ^~~~~~~~~~~~~~ window.c: In function 'phy_scrnor': window.c:991:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 991 | write(1,"\033[r",3); | ^~~~~~~~~~~~~~~~~~~ window.c: In function 'phy_treset': window.c:819:7: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 819 | write(1,"\033c",2); | ^~~~~~~~~~~~~~~~~~ window.c: In function 'phy_strout': window.c:513:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 513 | write(1,str,strlen(str)); | ^~~~~~~~~~~~~~~~~~~~~~~~ window.c: In function 'phy_attrout': window.c:1095:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1095 | write(1,str,i); | ^~~~~~~~~~~~~~ window.c: In function 'phy_no_transl': window.c:1107:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1107 | write(1,"\033(U",3); | ^~~~~~~~~~~~~~~~~~~ window.c: In function 'phy_normal_transl': window.c:1117:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1117 | write(1,"\033(B",3); | ^~~~~~~~~~~~~~~~~~~ cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I../intl -DLOCALEDIR=\"/usr/pkg/share/locale\" -funsigned-char -I/usr/include -pipe -O2 -I/usr/include -DTNT_LINUX -c xmon.c xmon.c: In function 'sel_remhlist': xmon.c:353:3: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 353 | write(fd1, heardstring, strlen(heardstring)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xmon.c:356:3: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 356 | write(fd1, heardstring, strlen(heardstring)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xmon.c:377:7: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 377 | write(fd1, heardstring, strlen(heardstring)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xmon.c:385:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 385 | write(fd1, heardstring, strlen(heardstring)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I../intl -DLOCALEDIR=\"/usr/pkg/share/locale\" -funsigned-char -I/usr/include -pipe -O2 -I/usr/include -DTNT_LINUX -c yapp.c yapp.c: In function 'yapp_download_data': yapp.c:704:7: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 704 | write(rx_file[yapp->channel].fd, &yapp->buffer[2], len); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I../intl -DLOCALEDIR=\"/usr/pkg/share/locale\" -funsigned-char -I/usr/include -pipe -O2 -I/usr/include -DTNT_LINUX -c tntc.c cc -pipe -O2 -I/usr/include -DTNT_LINUX -Wl,-zrelro -L/usr/lib64 -Wl,-R/usr/lib64 -Wl,-R/usr/pkg/lib -o tnt ax25dump.o ax25k.o bcast.o bcastadd.o boxlist.o codconv.o comp.o connect.o cookie.o crc.o display.o file.o huffman.o iface.o init.o keyboard.o log.o macro.o main.o monbox.o priv.o remote.o serial.o shell.o window.o xmon.o yapp.o -lintl /bin/ld: keyboard.o: in function `cmd_gpgpedit': keyboard.c:(.text+0x1280): warning: the use of `mktemp' is dangerous, better use `mkstemp' or `mkdtemp' tntc.c: In function 'main': tntc.c:401:3: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 401 | write(sockfd,frontend_para,strlen(frontend_para)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tntc.c:461:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 461 | write(1,buffer,nrread); | ^~~~~~~~~~~~~~~~~~~~~~ /bin/ld: window.o: in function `term_init': window.c:(.text+0x8df): undefined reference to `tgetnum' /bin/ld: window.c:(.text+0xcc2): undefined reference to `tgetent' /bin/ld: window.c:(.text+0xcf2): undefined reference to `tgetstr' /bin/ld: window.c:(.text+0xd7b): undefined reference to `tgetstr' /bin/ld: window.c:(.text+0xda4): undefined reference to `tgetstr' /bin/ld: window.c:(.text+0xdcd): undefined reference to `tgetstr' /bin/ld: window.c:(.text+0xdf6): undefined reference to `tgetstr' /bin/ld: window.o:window.c:(.text+0xe1f): more undefined references to `tgetstr' follow /bin/ld: window.o: in function `term_init': window.c:(.text+0xf2d): undefined reference to `tgetflag' /bin/ld: window.c:(.text+0xf51): undefined reference to `tgetstr' /bin/ld: window.c:(.text+0x1057): undefined reference to `tgetnum' /bin/ld: window.c:(.text+0x11aa): undefined reference to `tgetnum' /bin/ld: window.c:(.text+0x1229): undefined reference to `tgetnum' /bin/ld: window.c:(.text+0x1284): undefined reference to `tgetstr' /bin/ld: window.c:(.text+0x129e): undefined reference to `tgetstr' /bin/ld: window.c:(.text+0x12cf): undefined reference to `tgetstr' /bin/ld: window.c:(.text+0x12e9): undefined reference to `tgetstr' /bin/ld: window.c:(.text+0x1303): undefined reference to `tgetstr' /bin/ld: window.o:window.c:(.text+0x131d): more undefined references to `tgetstr' follow /bin/ld: window.o: in function `frontend_exit': window.c:(.text+0x1600): undefined reference to `tputs' /bin/ld: window.o: in function `phy_treset': window.c:(.text+0x1a00): undefined reference to `tputs' /bin/ld: window.o: in function `phy_gotoxy': window.c:(.text+0x1b64): undefined reference to `tgoto' /bin/ld: window.o: in function `update_window': window.c:(.text+0x1efe): undefined reference to `tputs' /bin/ld: window.c:(.text+0x1f16): undefined reference to `tputs' /bin/ld: window.o: in function `win_scrollup': window.c:(.text+0x1fe1): undefined reference to `tputs' /bin/ld: window.c:(.text+0x2015): undefined reference to `tputs' /bin/ld: window.c:(.text+0x204e): undefined reference to `tputs' /bin/ld: window.o:window.c:(.text+0x2066): more undefined references to `tputs' follow /bin/ld: window.o: in function `set_cursor': window.c:(.text+0x2392): undefined reference to `tgoto' /bin/ld: window.c:(.text+0x23a5): undefined reference to `tputs' /bin/ld: window.o: in function `real_window_top.part.0': window.c:(.text+0x249d): undefined reference to `tputs' /bin/ld: window.o: in function `window_exit': window.c:(.text+0x2650): undefined reference to `tputs' /bin/ld: window.o: in function `real_screen': window.c:(.text+0x28cd): undefined reference to `tputs' /bin/ld: window.c:(.text+0x2a48): undefined reference to `tputs' /bin/ld: window.o:window.c:(.text+0x2cd9): more undefined references to `tputs' follow collect2: error: ld returned 1 exit status make[3]: *** [Makefile:254: tnt] Error 1 make[3]: *** Waiting for unfinished jobs.... make[3]: Leaving directory '/home/pbulk/build/ham/tnt/work/tnt-1.9.2/src' make[2]: *** [Makefile:272: all-recursive] Error 1 make[2]: Leaving directory '/home/pbulk/build/ham/tnt/work/tnt-1.9.2/src' make[1]: *** [Makefile:184: all-recursive] Error 1 make[1]: Leaving directory '/home/pbulk/build/ham/tnt/work/tnt-1.9.2' make: *** [Makefile:328: all-recursive-am] Error 2 *** Error code 2 Stop. bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/ham/tnt *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/ham/tnt