+ 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 /usr/pkg/bin/gmake all-recursive gmake[1]: Entering directory '/home/pbulk/build/ham/tnt/work/tnt-1.9.2' Making all in doc gmake[2]: Entering directory '/home/pbulk/build/ham/tnt/work/tnt-1.9.2/doc' Making all in solaris gmake[3]: Entering directory '/home/pbulk/build/ham/tnt/work/tnt-1.9.2/doc/solaris' gmake[3]: Nothing to be done for 'all'. gmake[3]: Leaving directory '/home/pbulk/build/ham/tnt/work/tnt-1.9.2/doc/solaris' gmake[3]: Entering directory '/home/pbulk/build/ham/tnt/work/tnt-1.9.2/doc' gmake[3]: Nothing to be done for 'all-am'. gmake[3]: Leaving directory '/home/pbulk/build/ham/tnt/work/tnt-1.9.2/doc' gmake[2]: Leaving directory '/home/pbulk/build/ham/tnt/work/tnt-1.9.2/doc' Making all in intl gmake[2]: Entering directory '/home/pbulk/build/ham/tnt/work/tnt-1.9.2/intl' gmake[2]: Nothing to be done for 'all'. gmake[2]: Leaving directory '/home/pbulk/build/ham/tnt/work/tnt-1.9.2/intl' Making all in po gmake[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 gmake[2]: Leaving directory '/home/pbulk/build/ham/tnt/work/tnt-1.9.2/po' Making all in src gmake[2]: Entering directory '/home/pbulk/build/ham/tnt/work/tnt-1.9.2/src' Making all in runprgs gmake[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 info.c: In function 'main': info.c:116:5: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(buffer, 158, procstream); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ info.c:138:5: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(buffer, 100, procstream); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ info.c:158:5: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(buffer, 100, procstream); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ help.c: In function 'main': help.c:58:8: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] 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 logcall.c: In function 'find_name': logcall.c:67:5: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] 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] 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] 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 gmake[3]: Leaving directory '/home/pbulk/build/ham/tnt/work/tnt-1.9.2/src/runprgs' gmake[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] 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] 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:495, from tnt.h:32, from boxlist.c:10: In function 'strncpy', inlined from 'boxline_analysis.constprop' at boxlist.c:523:5, inlined from 'check_bid_in_line' at boxlist.c:814:7: /usr/include/bits/string_fortified.h:110:10: warning: '__builtin___strncpy_chk' writing 8 bytes into a region of size 7 overflows the destination [-Wstringop-overflow=] return __builtin___strncpy_chk (__dest, __src, __len, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__dest)); ~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'boxline_analysis.constprop' at boxlist.c:527:5, inlined from 'check_bid_in_line' at boxlist.c:814:7: /usr/include/bits/string_fortified.h:110:10: warning: '__builtin___strncpy_chk' writing 160 bytes into a region of size 7 overflows the destination [-Wstringop-overflow=] return __builtin___strncpy_chk (__dest, __src, __len, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__dest)); ~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'boxline_analysis.constprop' at boxlist.c:577:5, inlined from 'check_bid_in_line' at boxlist.c:814:7: /usr/include/bits/string_fortified.h:110:10: warning: '__builtin___strncpy_chk' writing 8 bytes into a region of size 7 overflows the destination [-Wstringop-overflow=] return __builtin___strncpy_chk (__dest, __src, __len, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__dest)); ~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'boxline_analysis.constprop' at boxlist.c:581:5, inlined from 'check_bid_in_line' at boxlist.c:814:7: /usr/include/bits/string_fortified.h:110:10: warning: '__builtin___strncpy_chk' writing 160 bytes into a region of size 7 overflows the destination [-Wstringop-overflow=] return __builtin___strncpy_chk (__dest, __src, __len, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__dest)); ~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'boxline_analysis.constprop' at boxlist.c:615:5, inlined from 'check_bid_in_line' at boxlist.c:814:7: /usr/include/bits/string_fortified.h:110:10: warning: '__builtin___strncpy_chk' writing 160 bytes into a region of size 7 overflows the destination [-Wstringop-overflow=] return __builtin___strncpy_chk (__dest, __src, __len, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __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] xc_stat[channel].starttime = time(NULL); ^~~~ utime connect.c: In function 'connect_update': connect.c:760:6: warning: type of 'len' defaults to 'int' [-Wimplicit-int] void connect_update(channel,buffer,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 cookie.c cookie.c: In function 'init_cookie': cookie.c:27:13: warning: implicit declaration of function 'time'; did you mean 'utime'? [-Wimplicit-function-declaration] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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 main.c: In function 'main': main.c:475:21: warning: implicit declaration of function 'time'; did you mean 'utime'? [-Wimplicit-function-declaration] ser_resp_time = time(NULL); ^~~~ utime main.c:430:5: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] chdir("/"); ^~~~~~~~~~ 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 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 monbox.c: In function 'check_mbeacon_head': monbox.c:2419:10: warning: implicit declaration of function 'time'; did you mean 'utime'? [-Wimplicit-function-declaration] 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] write(*handle, crlfarr, 1); ^~~~~~~~~~~~~~~~~~~~~~~~~~ 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] fgets(tmpstr,160,fd); ^~~~~~~~~~~~~~~~~~~~ priv.c:783:7: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] 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] 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] 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] 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] fgets(tmp_str, 98, tmp_mh); ^~~~~~~~~~~~~~~~~~~~~~~~~~ remote.c:3759:7: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] 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] 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] 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] 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] 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] 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] 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] 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] 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] chown(filename, 0, 0); ^~~~~~~~~~~~~~~~~~~~~ shell.c:154:3: warning: ignoring return value of 'chown', declared with attribute warn_unused_result [-Wunused-result] 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] dup(0); ^~~~~~ shell.c:358:5: warning: ignoring return value of 'dup', declared with attribute warn_unused_result [-Wunused-result] 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] dup(0); ^~~~~~ shell.c:549:5: warning: ignoring return value of 'dup', declared with attribute warn_unused_result [-Wunused-result] dup(0); ^~~~~~ shell.c:576:7: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] chdir(pw->pw_dir); ^~~~~~~~~~~~~~~~~ shell.c: In function 'close_shell2': shell.c:1702:6: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fdut, &utmpbuf, sizeof(utmpbuf)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ shell.c:1705:8: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] 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] 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] switch(tgetent(cbuf, term)) { ^~~~~~~ getenv window.c:646:20: warning: implicit declaration of function 'tgetstr'; did you mean 'tcgetsid'? [-Wimplicit-function-declaration] if ((CM = (char*)tgetstr("cm", &_tptr)) == NULL) { ^~~~~~~ tcgetsid window.c:646:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] if ((CM = (char*)tgetstr("cm", &_tptr)) == NULL) { ^ window.c:659:18: warning: implicit declaration of function 'tgetnum'; did you mean 'tcgetsid'? [-Wimplicit-function-declaration] if ((LINES = tgetnum("li")) <= 0) { ^~~~~~~ tcgetsid window.c:678:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] if ((AL = (char*)tgetstr("al", &_tptr)) == NULL) { ^ window.c:684:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] if ((DL = (char*)tgetstr("dl", &_tptr)) == NULL) { ^ window.c:690:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] if ((IC = (char*)tgetstr("ic", &_tptr)) == NULL) { ^ window.c:696:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] if ((DC = (char*)tgetstr("dc", &_tptr)) == NULL) { ^ window.c:702:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] if ((CL = (char*)tgetstr("cl", &_tptr)) == NULL) { ^ window.c:706:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] if ((IS = (char*)tgetstr("is", &_tptr)) == NULL) ^ window.c:708:8: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] RS = (char*)tgetstr("rs", &_tptr); ^ window.c:709:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] if ((ND = (char*)tgetstr("nd", &_tptr)) == NULL) { ^ window.c:713:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] if ((CE = (char*)tgetstr("ce", &_tptr)) == NULL) { ^ window.c:717:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] if ((WR = (char*)tgetstr("cr", &_tptr)) == NULL) ^ window.c:719:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] if ((NL = (char*)tgetstr("nl", &_tptr)) == NULL) ^ window.c:721:7: warning: implicit declaration of function 'tgetflag'; did you mean 'getchar'? [-Wimplicit-function-declaration] if (tgetflag("bs") || ((BC = (char*)tgetstr("bc", &_tptr)) == NULL)) ^~~~~~~~ getchar window.c:721:32: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 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] if ((CS = (char*)tgetstr("cs", &_tptr)) == NULL) ^ window.c:732:8: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] VE = (char*)tgetstr("ve", &_tptr); ^ window.c:733:8: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] VI = (char*)tgetstr("vi", &_tptr); ^ window.c:736:8: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] SO = (char*)tgetstr("so", &_tptr); ^ window.c:737:8: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] SE = (char*)tgetstr("se", &_tptr); ^ window.c:738:8: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] US = (char*)tgetstr("us", &_tptr); ^ window.c:739:8: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] UE = (char*)tgetstr("ue", &_tptr); ^ window.c:740:8: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] MB = (char*)tgetstr("mb", &_tptr); ^ window.c:741:8: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] MR = (char*)tgetstr("mr", &_tptr); ^ window.c:742:8: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] MD = (char*)tgetstr("md", &_tptr); ^ window.c:743:8: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] MH = (char*)tgetstr("mh", &_tptr); ^ window.c:744:8: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 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] 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] 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] write(1,"\007",1); ^~~~~~~~~~~~~~~~~ window.c:1130:5: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] 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] 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] 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] 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] 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] 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] 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] 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] write(fd1, heardstring, strlen(heardstring)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xmon.c:356:3: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd1, heardstring, strlen(heardstring)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xmon.c:377:7: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd1, heardstring, strlen(heardstring)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xmon.c:385:5: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] 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] 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 tntc.c: In function 'main': tntc.c:401:3: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] 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] write(1,buffer,nrread); ^~~~~~~~~~~~~~~~~~~~~~ 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 keyboard.o: In function `cmd_gpgpedit': keyboard.c:(.text+0x11a9): warning: the use of `mktemp' is dangerous, better use `mkstemp' or `mkdtemp' window.o: In function `term_init': window.c:(.text+0xad4): undefined reference to `tgetnum' window.c:(.text+0xe3e): undefined reference to `tgetent' window.c:(.text+0xf1f): undefined reference to `tgetnum' window.c:(.text+0x1038): undefined reference to `tgetnum' window.c:(.text+0x107b): undefined reference to `tgetstr' window.c:(.text+0x10f6): undefined reference to `tgetstr' window.c:(.text+0x111f): undefined reference to `tgetstr' window.c:(.text+0x1148): undefined reference to `tgetstr' window.c:(.text+0x1171): undefined reference to `tgetstr' window.o:window.c:(.text+0x119a): more undefined references to `tgetstr' follow window.o: In function `term_init': window.c:(.text+0x12a8): undefined reference to `tgetflag' window.c:(.text+0x12cc): undefined reference to `tgetstr' window.c:(.text+0x1380): undefined reference to `tgetnum' window.c:(.text+0x13ef): undefined reference to `tgetstr' window.c:(.text+0x1409): undefined reference to `tgetstr' window.c:(.text+0x143a): undefined reference to `tgetstr' window.c:(.text+0x1454): undefined reference to `tgetstr' window.c:(.text+0x146e): undefined reference to `tgetstr' window.o:window.c:(.text+0x1488): more undefined references to `tgetstr' follow window.o: In function `phy_treset': window.c:(.text+0x1a40): undefined reference to `tputs' window.o: In function `phy_gotoxy': window.c:(.text+0x1b5e): undefined reference to `tgoto' window.c:(.text+0x1b71): undefined reference to `tputs' window.o: In function `phy_newline': window.c:(.text+0x1c32): undefined reference to `tputs' window.o: In function `set_cursor': window.c:(.text+0x1f18): undefined reference to `tputs' window.c:(.text+0x1f40): undefined reference to `tgoto' window.c:(.text+0x1f53): undefined reference to `tputs' window.o: In function `win_charout_noctl': window.c:(.text+0x2db7): undefined reference to `tputs' window.o: In function `win_charout_cntl': window.c:(.text+0x3ee7): undefined reference to `tputs' window.c:(.text+0x3f0b): undefined reference to `tputs' window.o: In function `phy_scrnor': window.c:(.text+0x197d): undefined reference to `tputs' window.o:window.c:(.text+0x1a5c): more undefined references to `tputs' follow collect2: error: ld returned 1 exit status gmake[3]: *** [Makefile:254: tnt] Error 1 gmake[3]: *** Waiting for unfinished jobs.... gmake[3]: Leaving directory '/home/pbulk/build/ham/tnt/work/tnt-1.9.2/src' gmake[2]: *** [Makefile:272: all-recursive] Error 1 gmake[2]: Leaving directory '/home/pbulk/build/ham/tnt/work/tnt-1.9.2/src' gmake[1]: *** [Makefile:184: all-recursive] Error 1 gmake[1]: Leaving directory '/home/pbulk/build/ham/tnt/work/tnt-1.9.2' gmake: *** [Makefile:328: all-recursive-am] Error 2 *** Error code 2 Stop. bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/ham/tnt *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/ham/tnt