=>> Building news/trn build started at Wed Apr 3 17:12:44 BST 2024 port directory: /usr/ports/news/trn package name: trn-3.6_1 building for: FreeBSD pkg-builder.dan.net.uk 13.2-RELEASE-p10 FreeBSD 13.2-RELEASE-p10 amd64 maintained by: ports@FreeBSD.org Makefile datestamp: -rw-r--r-- 1 root wheel 603 Mar 2 16:12 /usr/ports/news/trn/Makefile Ports top last git commit: c2c35d895e Ports top unclean checkout: yes Port dir last git commit: b68745b6b6 Port dir unclean checkout: no Poudriere version: poudriere-git-3.4.99.20240122_1 Host OSVERSION: 1400097 Jail OSVERSION: 1302001 Job Id: 05 ---Begin Environment--- SHELL=/bin/csh OSVERSION=1302001 UNAME_v=FreeBSD 13.2-RELEASE-p10 UNAME_r=13.2-RELEASE-p10 BLOCKSIZE=K MAIL=/var/mail/root MM_CHARSET=UTF-8 LANG=C.UTF-8 STATUS=1 HOME=/root PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin MAKE_OBJDIR_CHECK_WRITABLE=0 LOCALBASE=/usr/local USER=root POUDRIERE_NAME=poudriere-git LIBEXECPREFIX=/usr/local/libexec/poudriere POUDRIERE_VERSION=3.4.99.20240122_1 MASTERMNT=/usr/local/poudriere/data/.m/13-amd64-default-dan/ref LC_COLLATE=C POUDRIERE_BUILD_TYPE=bulk PACKAGE_BUILDING=yes SAVED_TERM=screen OUTPUT_REDIRECTED_STDERR=4 OUTPUT_REDIRECTED=1 PWD=/usr/local/poudriere/data/.m/13-amd64-default-dan/05/.p OUTPUT_REDIRECTED_STDOUT=3 P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS MASTERNAME=13-amd64-default-dan SCRIPTPREFIX=/usr/local/share/poudriere SCRIPTNAME=bulk.sh OLDPWD=/usr/local/poudriere/data/.m/13-amd64-default-dan/ref/.p/pool POUDRIERE_PKGNAME=poudriere-git-3.4.99.20240122_1 SCRIPTPATH=/usr/local/share/poudriere/bulk.sh POUDRIEREPATH=/usr/local/bin/poudriere ---End Environment--- ---Begin Poudriere Port Flags/Env--- PORT_FLAGS= PKGENV= FLAVOR= MAKE_ARGS= ---End Poudriere Port Flags/Env--- ---Begin OPTIONS List--- ---End OPTIONS List--- --MAINTAINER-- ports@FreeBSD.org --End MAINTAINER-- --CONFIGURE_ARGS-- -S --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- PREFIX="/usr/local" LDFLAGS=" -fstack-protector-strong " XDG_DATA_HOME=/wrkdirs/usr/ports/news/trn/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/news/trn/work XDG_CACHE_HOME=/wrkdirs/usr/ports/news/trn/work/.cache HOME=/wrkdirs/usr/ports/news/trn/work TMPDIR="/tmp" PATH=/ccache/libexec/ccache:/wrkdirs/usr/ports/news/trn/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/news/trn/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh CCACHE_DIR="/root/.ccache" --End CONFIGURE_ENV-- --MAKE_ENV-- XDG_DATA_HOME=/wrkdirs/usr/ports/news/trn/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/news/trn/work XDG_CACHE_HOME=/wrkdirs/usr/ports/news/trn/work/.cache HOME=/wrkdirs/usr/ports/news/trn/work TMPDIR="/tmp" PATH=/ccache/libexec/ccache:/wrkdirs/usr/ports/news/trn/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/news/trn/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local LOCALBASE=/usr/local CC="cc" CFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" -fstack-protector-strong " LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " CCACHE_DIR="/root/.ccache" BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 0644" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" --End MAKE_ENV-- --PLIST_SUB-- OSREL=13.2 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/trn" EXAMPLESDIR="share/examples/trn" DATADIR="share/trn" WWWDIR="www/trn" ETCDIR="etc/trn" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/trn DOCSDIR=/usr/local/share/doc/trn EXAMPLESDIR=/usr/local/share/examples/trn WWWDIR=/usr/local/www/trn ETCDIR=/usr/local/etc/trn --End SUB_LIST-- ---Begin make.conf--- USE_PACKAGE_DEPENDS=yes BATCH=yes WRKDIRPREFIX=/wrkdirs PORTSDIR=/usr/ports PACKAGES=/packages DISTDIR=/distfiles FORCE_PACKAGE=yes PACKAGE_BUILDING=yes PACKAGE_BUILDING_FLAVORS=yes #### #### CCACHE_CPP2=1 WITH_SSP_PORTS=yes WITH_SSP=yes #WITH_LTO=yes DISABLE_LICENSES=yes LICENSES_ACCEPTED=AGPLv3 APACHE10 APACHE11 APACHE20 ART10 ARTPERL10 ART20 BSD BSD2CLAUSE BSD3CLAUSE BSD4CLAUSE BSL CC0-1.0 CDDL ClArtistic EPL GFDL GMGPL GPLv1 GPLv2 GPLv3 GPLv3RLE ISCL LGPL20 LGPL21 LGPL3 LPPL10 LPPL11 LPPL12 LPPL13 LPPL13a LPPL13b LPPL13c MIT MPL OpenSSL OFL10 OFL11 OWL PostgreSQL PHP202 PHP30 PHP301 PSFL RUBY ZLIB ZPL21 SVM-Light EULA ALASIR Microsoft-exFAT SIMIAN UDEVGAME unknown MTA COMMERCIAL teamspeak NO_LICENSES_DIALOGS=yes #### #### NO_IGNORE=yes DEFAULT_VERSIONS+=ssl=openssl mysql=8.0 imagemagick=7 samba=4.13 java=18 WITH_SETID_MODE=force PHP_ZTS=enabled OPTIONS_UNSET+=OPENJPEG OPTIONS_UNSET+=GSSAPI_BASE OPTIONS_SET+=ZTS OPTIONS_SET+=GSSAPI_NONE WITH_CCACHE_BUILD=yes CCACHE_DIR=/root/.ccache NO_CCACHE_DEPEND=1 CCACHE_WRAPPER_PATH= /ccache/libexec/ccache #### Misc Poudriere #### .include "/etc/make.conf.ports_env" GID=0 UID=0 DISABLE_MAKE_JOBS=poudriere ---End make.conf--- --Resource limits-- cpu time (seconds, -t) unlimited file size (512-blocks, -f) unlimited data seg size (kbytes, -d) 33554432 stack size (kbytes, -s) 524288 core file size (512-blocks, -c) unlimited max memory size (kbytes, -m) unlimited locked memory (kbytes, -l) unlimited max user processes (-u) 89999 open files (-n) 8192 virtual mem size (kbytes, -v) unlimited swap limit (kbytes, -w) unlimited socket buffer size (bytes, -b) unlimited pseudo-terminals (-p) unlimited kqueues (-k) unlimited umtx shared locks (-o) unlimited --End resource limits-- =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The trn port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://docs.freebsd.org/en/articles/contributing/#ports-contributing =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> trn-3.6_1 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.20.9_1.pkg [pkg-builder.dan.net.uk] Installing pkg-1.20.9_1... [pkg-builder.dan.net.uk] Extracting pkg-1.20.9_1: .......... done ===> trn-3.6_1 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of trn-3.6_1 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The trn port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://docs.freebsd.org/en/articles/contributing/#ports-contributing ===> Fetching all distfiles required by trn-3.6_1 for building =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The trn port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://docs.freebsd.org/en/articles/contributing/#ports-contributing ===> Fetching all distfiles required by trn-3.6_1 for building => SHA256 Checksum OK for trn-3.6.tar.gz. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The trn port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://docs.freebsd.org/en/articles/contributing/#ports-contributing ===> Fetching all distfiles required by trn-3.6_1 for building ===> Extracting for trn-3.6_1 => SHA256 Checksum OK for trn-3.6.tar.gz. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Patching for trn-3.6_1 ===> Applying FreeBSD patches for trn-3.6_1 from /usr/ports/news/trn/files /usr/bin/sed -i.bak 's/$install/\\${DESTDIR}&/' /wrkdirs/usr/ports/news/trn/work/trn-3.6/Makefile.SH =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Configuring for trn-3.6_1 Fetching answers from config.sh... Doing variable substitutions on .SH files... Extracting Makefile (with variable substitutions) Extracting Pnews (with variable substitutions) Extracting Policy.sh (with variable substitutions) Extracting Rnmail (with variable substitutions) Extracting Speller (with variable substitutions) Extracting config.h (with variable substitutions) Extracting filexp (with variable substitutions) Extracting makedepend (with variable substitutions) Extracting makedir (with variable substitutions) Extracting mbox.saver (with variable substitutions) Extracting newsetup (with variable substitutions) Extracting newsgroups (with variable substitutions) Extracting newsnews (with variable substitutions) Extracting norm.saver (with variable substitutions) Done. =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building for trn-3.6_1 cc -c -O addng.c In file included from addng.c:18: ./trn.h:29:1: warning: return type of 'main' is not 'int' [-Wmain-return-type] void main _((int,char**)); ^ ./trn.h:29:1: note: change return type to 'int' void main _((int,char**)); ^~~~ int addng.c:74:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (s = index(buf,' ')) { ~~^~~~~~~~~~~~~~~~ addng.c:74:8: note: place parentheses around the assignment to silence this warning if (s = index(buf,' ')) { ^ ( ) addng.c:74:8: note: use '==' to turn this assignment into an equality comparison if (s = index(buf,' ')) { ^ == 2 warnings generated. cc -c -O art.c In file included from art.c:18: ./trn.h:29:1: warning: return type of 'main' is not 'int' [-Wmain-return-type] void main _((int,char**)); ^ ./trn.h:29:1: note: change return type to 'int' void main _((int,char**)); ^~~~ int art.c:358:23: warning: implicit declaration of function 'tputs' is invalid in C99 [-Wimplicit-function-declaration] if (can_home_clear) erase_eol(); ^ ./term.h:181:21: note: expanded from macro 'erase_eol' #define erase_eol() tputs(CE,1,putchr) FLUSH ^ art.c:428:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ art.c:495:8: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ art.c:622:2: warning: implicit declaration of function 'tputs' is invalid in C99 [-Wimplicit-function-declaration] standout(); /* enter standout mode */ ^ ./term.h:189:20: note: expanded from macro 'standout' #define standout() tputs(SO,1,putchr) FLUSH ^ art.c:748:2: warning: implicit declaration of function 'tputs' is invalid in C99 [-Wimplicit-function-declaration] carriage_return(); ^ ./term.h:193:27: note: expanded from macro 'carriage_return' #define carriage_return() tputs(CR,1,putchr) FLUSH ^ art.c:1152:9: warning: implicit declaration of function 'notplain' is invalid in C99 [-Wimplicit-function-declaration] if (notplain(s)) ^ 7 warnings generated. cc -c -O artio.c cc -c -O artsrch.c artsrch.c:217:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ artsrch.c:285:6: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ 2 warnings generated. cc -c -O autosub.c autosub.c:62:7: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(p = index(patlist, ',')) *p = '\0'; ~~^~~~~~~~~~~~~~~~~~~~~ autosub.c:62:7: note: place parentheses around the assignment to silence this warning if(p = index(patlist, ',')) *p = '\0'; ^ ( ) autosub.c:62:7: note: use '==' to turn this assignment into an equality comparison if(p = index(patlist, ',')) *p = '\0'; ^ == 1 warning generated. cc -c -O backpage.c cc -c -O bits.c In file included from bits.c:28: ./trn.h:29:1: warning: return type of 'main' is not 'int' [-Wmain-return-type] void main _((int,char**)); ^ ./trn.h:29:1: note: change return type to 'int' void main _((int,char**)); ^~~~ int 1 warning generated. cc -c -O cache.c In file included from cache.c:24: ./trn.h:29:1: warning: return type of 'main' is not 'int' [-Wmain-return-type] void main _((int,char**)); ^ ./trn.h:29:1: note: change return type to 'int' void main _((int,char**)); ^~~~ int cache.c:685:7: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ 2 warnings generated. cc -c -O charsubst.c cc -c -O decode.c cc -c -O edit_dist.c cc -c -O final.c final.c:202:2: warning: add explicit braces to avoid dangling else [-Wdangling-else] ELSE ^ ./common.h:345:15: note: expanded from macro 'ELSE' # define ELSE else ^ final.c:231:6: warning: implicit declaration of function 'tputs' is invalid in C99 [-Wimplicit-function-declaration] clear(); ^ ./term.h:180:17: note: expanded from macro 'clear' #define clear() tputs(CL,LINES,putchr) FLUSH ^ 2 warnings generated. cc -c -O hash.c cc -c -O head.c cc -c -O help.c In file included from help.c:18: ./trn.h:29:1: warning: return type of 'main' is not 'int' [-Wmain-return-type] void main _((int,char**)); ^ ./trn.h:29:1: note: change return type to 'int' void main _((int,char**)); ^~~~ int help.c:233:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (cmd = print_lines("\ ~~~~^~~~~~~~~~~~~~~~ help.c:233:13: note: place parentheses around the assignment to silence this warning if (cmd = print_lines("\ ^ ( help.c:233:13: note: use '==' to turn this assignment into an equality comparison if (cmd = print_lines("\ ^ == help.c:296:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (cmd = get_anything()) ~~~~^~~~~~~~~~~~~~~~ help.c:296:13: note: place parentheses around the assignment to silence this warning if (cmd = get_anything()) ^ ( ) help.c:296:13: note: use '==' to turn this assignment into an equality comparison if (cmd = get_anything()) ^ == 3 warnings generated. cc -c -O init.c In file included from init.c:22: ./trn.h:29:1: warning: return type of 'main' is not 'int' [-Wmain-return-type] void main _((int,char**)); ^ ./trn.h:29:1: note: change return type to 'int' void main _((int,char**)); ^~~~ int 1 warning generated. cc -c -O intrp.c In file included from intrp.c:24: ./trn.h:29:1: warning: return type of 'main' is not 'int' [-Wmain-return-type] void main _((int,char**)); ^ ./trn.h:29:1: note: change return type to 'int' void main _((int,char**)); ^~~~ int intrp.c:544:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (s = index(scrbuf,'-')) ~~^~~~~~~~~~~~~~~~~~~ intrp.c:544:13: note: place parentheses around the assignment to silence this warning if (s = index(scrbuf,'-')) ^ ( ) intrp.c:544:13: note: use '==' to turn this assignment into an equality comparison if (s = index(scrbuf,'-')) ^ == intrp.c:598:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (s = compile(&cond_compex,scrbuf,TRUE,TRUE)) { ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ intrp.c:598:13: note: place parentheses around the assignment to silence this warning if (s = compile(&cond_compex,scrbuf,TRUE,TRUE)) { ^ ( ) intrp.c:598:13: note: use '==' to turn this assignment into an equality comparison if (s = compile(&cond_compex,scrbuf,TRUE,TRUE)) { ^ == intrp.c:932:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (h = instr(s,"- (nf", TRUE)) ~~^~~~~~~~~~~~~~~~~~~~~~~~ intrp.c:932:13: note: place parentheses around the assignment to silence this warning if (h = instr(s,"- (nf", TRUE)) ^ ( ) intrp.c:932:13: note: use '==' to turn this assignment into an equality comparison if (h = instr(s,"- (nf", TRUE)) ^ == 4 warnings generated. cc -c -O kfile.c In file included from kfile.c:27: ./trn.h:29:1: warning: return type of 'main' is not 'int' [-Wmain-return-type] void main _((int,char**)); ^ ./trn.h:29:1: note: change return type to 'int' void main _((int,char**)); ^~~~ int kfile.c:68:2: warning: implicit declaration of function 'tputs' is invalid in C99 [-Wimplicit-function-declaration] standout(); ^ ./term.h:189:20: note: expanded from macro 'standout' #define standout() tputs(SO,1,putchr) FLUSH ^ kfile.c:270:2: warning: implicit declaration of function 'tputs' is invalid in C99 [-Wimplicit-function-declaration] clear(); ^ ./term.h:180:17: note: expanded from macro 'clear' #define clear() tputs(CL,LINES,putchr) FLUSH ^ kfile.c:295:6: warning: add explicit braces to avoid dangling else [-Wdangling-else] ELSE ^ ./common.h:345:15: note: expanded from macro 'ELSE' # define ELSE else ^ kfile.c:360:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] else if (newkfp = fopen(buf,"w")) { ~~~~~~~^~~~~~~~~~~~~~~~ kfile.c:360:21: note: place parentheses around the assignment to silence this warning else if (newkfp = fopen(buf,"w")) { ^ ( ) kfile.c:360:21: note: use '==' to turn this assignment into an equality comparison else if (newkfp = fopen(buf,"w")) { ^ == 5 warnings generated. cc -c -O last.c In file included from last.c:18: ./trn.h:29:1: warning: return type of 'main' is not 'int' [-Wmain-return-type] void main _((int,char**)); ^ ./trn.h:29:1: note: change return type to 'int' void main _((int,char**)); ^~~~ int 1 warning generated. cc -c -O ng.c In file included from ng.c:18: ./trn.h:29:1: warning: return type of 'main' is not 'int' [-Wmain-return-type] void main _((int,char**)); ^ ./trn.h:29:1: note: change return type to 'int' void main _((int,char**)); ^~~~ int ng.c:173:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (hideline = getval("HIDELINE",Nullch)) ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ ng.c:173:18: note: place parentheses around the assignment to silence this warning if (hideline = getval("HIDELINE",Nullch)) ^ ( ) ng.c:173:18: note: use '==' to turn this assignment into an equality comparison if (hideline = getval("HIDELINE",Nullch)) ^ == ng.c:175:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (pagestop = getval("PAGESTOP",Nullch)) ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ ng.c:175:18: note: place parentheses around the assignment to silence this warning if (pagestop = getval("PAGESTOP",Nullch)) ^ ( ) ng.c:175:18: note: use '==' to turn this assignment into an equality comparison if (pagestop = getval("PAGESTOP",Nullch)) ^ == ng.c:242:3: warning: implicit declaration of function 'tputs' is invalid in C99 [-Wimplicit-function-declaration] clear(); /* clear the screen */ ^ ./term.h:180:17: note: expanded from macro 'clear' #define clear() tputs(CL,LINES,putchr) FLUSH ^ ng.c:299:6: warning: implicit declaration of function 'tputs' is invalid in C99 [-Wimplicit-function-declaration] clear(); /* clear screen */ ^ ./term.h:180:17: note: expanded from macro 'clear' #define clear() tputs(CL,LINES,putchr) FLUSH ^ ng.c:357:6: warning: implicit declaration of function 'tputs' is invalid in C99 [-Wimplicit-function-declaration] clear_rest(); ^ ./term.h:183:22: note: expanded from macro 'clear_rest' #define clear_rest() tputs(CD,LINES,putchr) FLUSH ^ ng.c:690:2: warning: implicit declaration of function 'tputs' is invalid in C99 [-Wimplicit-function-declaration] carriage_return(); ^ ./term.h:193:27: note: expanded from macro 'carriage_return' #define carriage_return() tputs(CR,1,putchr) FLUSH ^ ng.c:1013:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (cmd = print_lines(tmpbuf,NOMARKING)) { ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ng.c:1013:11: note: place parentheses around the assignment to silence this warning if (cmd = print_lines(tmpbuf,NOMARKING)) { ^ ( ) ng.c:1013:11: note: use '==' to turn this assignment into an equality comparison if (cmd = print_lines(tmpbuf,NOMARKING)) { ^ == 8 warnings generated. cc -c -O ngdata.c In file included from ngdata.c:19: ./trn.h:29:1: warning: return type of 'main' is not 'int' [-Wmain-return-type] void main _((int,char**)); ^ ./trn.h:29:1: note: change return type to 'int' void main _((int,char**)); ^~~~ int ngdata.c:192:5: warning: implicit declaration of function 'tputs' is invalid in C99 [-Wimplicit-function-declaration] clear(); ^ ./term.h:180:17: note: expanded from macro 'clear' #define clear() tputs(CL,LINES,putchr) FLUSH ^ 2 warnings generated. cc -c -O nghash.c In file included from nghash.c:20: ./trn.h:29:1: warning: return type of 'main' is not 'int' [-Wmain-return-type] void main _((int,char**)); ^ ./trn.h:29:1: note: change return type to 'int' void main _((int,char**)); ^~~~ int nghash.c:264:12: warning: implicit declaration of function 'get_near_miss' is invalid in C99 [-Wimplicit-function-declaration] ret = get_near_miss(); ^ nghash.c:288:13: warning: implicit declaration of function 'edit_distn' is invalid in C99 [-Wimplicit-function-declaration] value = edit_distn(ngname, strlen(ngname), data->dat_ptr, len); ^ 3 warnings generated. cc -c -O ngsrch.c In file included from ngsrch.c:21: ./trn.h:29:1: warning: return type of 'main' is not 'int' [-Wmain-return-type] void main _((int,char**)); ^ ./trn.h:29:1: note: change return type to 'int' void main _((int,char**)); ^~~~ int ngsrch.c:102:6: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ 2 warnings generated. cc -c -O ngstuff.c In file included from ngstuff.c:32: ./trn.h:29:1: warning: return type of 'main' is not 'int' [-Wmain-return-type] void main _((int,char**)); ^ ./trn.h:29:1: note: change return type to 'int' void main _((int,char**)); ^~~~ int ngstuff.c:164:24: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for (s = tmpbuf; c = index(s,','); s = ++c) { ~~^~~~~~~~~~~~~~ ngstuff.c:164:24: note: place parentheses around the assignment to silence this warning for (s = tmpbuf; c = index(s,','); s = ++c) { ^ ( ) ngstuff.c:164:24: note: use '==' to turn this assignment into an equality comparison for (s = tmpbuf; c = index(s,','); s = ++c) { ^ == ngstuff.c:360:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for (; ch = *cmdlst; cmdlst++) { ~~~^~~~~~~~~ ngstuff.c:360:15: note: place parentheses around the assignment to silence this warning for (; ch = *cmdlst; cmdlst++) { ^ ( ) ngstuff.c:360:15: note: use '==' to turn this assignment into an equality comparison for (; ch = *cmdlst; cmdlst++) { ^ == 3 warnings generated. cc -c -O only.c cc -c -O rcln.c rcln.c:363:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] else if (newmax = atol(s)) ~~~~~~~^~~~~~~~~ rcln.c:363:18: note: place parentheses around the assignment to silence this warning else if (newmax = atol(s)) ^ ( ) rcln.c:363:18: note: use '==' to turn this assignment into an equality comparison else if (newmax = atol(s)) ^ == 1 warning generated. cc -c -O rcstuff.c In file included from rcstuff.c:24: ./trn.h:29:1: warning: return type of 'main' is not 'int' [-Wmain-return-type] void main _((int,char**)); ^ ./trn.h:29:1: note: change return type to 'int' void main _((int,char**)); ^~~~ int rcstuff.c:297:2: warning: implicit declaration of function 'tputs' is invalid in C99 [-Wimplicit-function-declaration] dingaling(); ^ ./term.h:194:21: note: expanded from macro 'dingaling' #define dingaling() tputs(VB,1,putchr) FLUSH ^ rcstuff.c:303:10: warning: implicit declaration of function 'find_close_match' is invalid in C99 [-Wimplicit-function-declaration] if (find_close_match()) ^ rcstuff.c:317:6: warning: implicit declaration of function 'tputs' is invalid in C99 [-Wimplicit-function-declaration] dingaling(); ^ ./term.h:194:21: note: expanded from macro 'dingaling' #define dingaling() tputs(VB,1,putchr) FLUSH ^ rcstuff.c:712:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (cmd = print_lines(tmpbuf,NOMARKING)) { ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rcstuff.c:712:10: note: place parentheses around the assignment to silence this warning if (cmd = print_lines(tmpbuf,NOMARKING)) { ^ ( ) rcstuff.c:712:10: note: use '==' to turn this assignment into an equality comparison if (cmd = print_lines(tmpbuf,NOMARKING)) { ^ == 5 warnings generated. cc -c -O respond.c In file included from respond.c:26: ./trn.h:29:1: warning: return type of 'main' is not 'int' [-Wmain-return-type] void main _((int,char**)); ^ ./trn.h:29:1: note: change return type to 'int' void main _((int,char**)); ^~~~ int respond.c:660:2: warning: add explicit braces to avoid dangling else [-Wdangling-else] ELSE ^ ./common.h:345:15: note: expanded from macro 'ELSE' # define ELSE else ^ respond.c:709:2: warning: add explicit braces to avoid dangling else [-Wdangling-else] ELSE ^ ./common.h:345:15: note: expanded from macro 'ELSE' # define ELSE else ^ 3 warnings generated. cc -c -O rthread.c In file included from rthread.c:11: ./trn.h:29:1: warning: return type of 'main' is not 'int' [-Wmain-return-type] void main _((int,char**)); ^ ./trn.h:29:1: note: change return type to 'int' void main _((int,char**)); ^~~~ int rthread.c:76:2: warning: add explicit braces to avoid dangling else [-Wdangling-else] else if (firstart > lastart) { ^ rthread.c:1186:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (tb = first_sib(ta, ascent)) { ~~~^~~~~~~~~~~~~~~~~~~~~~~ rthread.c:1186:13: note: place parentheses around the assignment to silence this warning if (tb = first_sib(ta, ascent)) { ^ ( ) rthread.c:1186:13: note: use '==' to turn this assignment into an equality comparison if (tb = first_sib(ta, ascent)) { ^ == rthread.c:1243:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (tb = last_sib(ta, ascent, tb)) { ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ rthread.c:1243:9: note: place parentheses around the assignment to silence this warning if (tb = last_sib(ta, ascent, tb)) { ^ ( ) rthread.c:1243:9: note: use '==' to turn this assignment into an equality comparison if (tb = last_sib(ta, ascent, tb)) { ^ == 4 warnings generated. cc -c -O rt-mt.c In file included from rt-mt.c:11: ./trn.h:29:1: warning: return type of 'main' is not 'int' [-Wmain-return-type] void main _((int,char**)); ^ ./trn.h:29:1: note: change return type to 'int' void main _((int,char**)); ^~~~ int 1 warning generated. cc -c -O rt-ov.c In file included from rt-ov.c:10: ./trn.h:29:1: warning: return type of 'main' is not 'int' [-Wmain-return-type] void main _((int,char**)); ^ ./trn.h:29:1: note: change return type to 'int' void main _((int,char**)); ^~~~ int rt-ov.c:254:2: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ 2 warnings generated. cc -c -O rt-process.c In file included from rt-process.c:11: ./trn.h:29:1: warning: return type of 'main' is not 'int' [-Wmain-return-type] void main _((int,char**)); ^ ./trn.h:29:1: note: change return type to 'int' void main _((int,char**)); ^~~~ int 1 warning generated. cc -c -O rt-page.c In file included from rt-page.c:13: ./trn.h:29:1: warning: return type of 'main' is not 'int' [-Wmain-return-type] void main _((int,char**)); ^ ./trn.h:29:1: note: change return type to 'int' void main _((int,char**)); ^~~~ int rt-page.c:470:2: warning: implicit declaration of function 'tputs' is invalid in C99 [-Wimplicit-function-declaration] maybe_eol(); ^ ./term.h:184:53: note: expanded from macro 'maybe_eol' #define maybe_eol() if(erase_screen&&can_home_clear)tputs(CE,1,putchr) FLUSH ^ rt-page.c:473:2: warning: implicit declaration of function 'tputs' is invalid in C99 [-Wimplicit-function-declaration] clear(); ^ ./term.h:180:17: note: expanded from macro 'clear' #define clear() tputs(CL,LINES,putchr) FLUSH ^ rt-page.c:709:5: warning: implicit declaration of function 'tputs' is invalid in C99 [-Wimplicit-function-declaration] maybe_eol(); ^ ./term.h:184:53: note: expanded from macro 'maybe_eol' #define maybe_eol() if(erase_screen&&can_home_clear)tputs(CE,1,putchr) FLUSH ^ rt-page.c:740:5: warning: implicit declaration of function 'tputs' is invalid in C99 [-Wimplicit-function-declaration] maybe_eol(); ^ ./term.h:184:53: note: expanded from macro 'maybe_eol' #define maybe_eol() if(erase_screen&&can_home_clear)tputs(CE,1,putchr) FLUSH ^ 5 warnings generated. cc -c -O rt-select.c In file included from rt-select.c:10: ./trn.h:29:1: warning: return type of 'main' is not 'int' [-Wmain-return-type] void main _((int,char**)); ^ ./trn.h:29:1: note: change return type to 'int' void main _((int,char**)); ^~~~ int rt-select.c:226:6: warning: implicit declaration of function 'tputs' is invalid in C99 [-Wimplicit-function-declaration] carriage_return(); ^ ./term.h:193:27: note: expanded from macro 'carriage_return' #define carriage_return() tputs(CR,1,putchr) FLUSH ^ rt-select.c:244:5: warning: implicit declaration of function 'interp' is invalid in C99 [-Wimplicit-function-declaration] interp(buf, sizeof buf, mailcall); ^ rt-select.c:250:2: warning: implicit declaration of function 'tputs' is invalid in C99 [-Wimplicit-function-declaration] clear_rest(); ^ ./term.h:183:22: note: expanded from macro 'clear_rest' #define clear_rest() tputs(CD,LINES,putchr) FLUSH ^ rt-select.c:600:2: warning: implicit declaration of function 'tputs' is invalid in C99 [-Wimplicit-function-declaration] erase_eol(); /* erase the prompt */ ^ ./term.h:181:21: note: expanded from macro 'erase_eol' #define erase_eol() tputs(CE,1,putchr) FLUSH ^ 5 warnings generated. cc -c -O rt-util.c rt-util.c:573:6: warning: implicit declaration of function 'tputs' is invalid in C99 [-Wimplicit-function-declaration] backspace(); ^ ./term.h:179:21: note: expanded from macro 'backspace' #define backspace() tputs(BC,0,putchr) FLUSH ^ rt-util.c:599:6: warning: implicit declaration of function 'tputs' is invalid in C99 [-Wimplicit-function-declaration] backspace(); ^ ./term.h:179:21: note: expanded from macro 'backspace' #define backspace() tputs(BC,0,putchr) FLUSH ^ 2 warnings generated. cc -c -O rt-wumpus.c rt-wumpus.c:278:2: warning: implicit declaration of function 'tputs' is invalid in C99 [-Wimplicit-function-declaration] standout(); ^ ./term.h:189:20: note: expanded from macro 'standout' #define standout() tputs(SO,1,putchr) FLUSH ^ rt-wumpus.c:315:2: warning: implicit declaration of function 'tputs' is invalid in C99 [-Wimplicit-function-declaration] maybe_eol(); ^ ./term.h:184:53: note: expanded from macro 'maybe_eol' #define maybe_eol() if(erase_screen&&can_home_clear)tputs(CE,1,putchr) FLUSH ^ rt-wumpus.c:524:6: warning: implicit declaration of function 'tputs' is invalid in C99 [-Wimplicit-function-declaration] standout(); ^ ./term.h:189:20: note: expanded from macro 'standout' #define standout() tputs(SO,1,putchr) FLUSH ^ rt-wumpus.c:529:6: warning: implicit declaration of function 'tputs' is invalid in C99 [-Wimplicit-function-declaration] standout(); ^ ./term.h:189:20: note: expanded from macro 'standout' #define standout() tputs(SO,1,putchr) FLUSH ^ 4 warnings generated. cc -c -O search.c cc -c -O sw.c In file included from sw.c:24: ./trn.h:29:1: warning: return type of 'main' is not 'int' [-Wmain-return-type] void main _((int,char**)); ^ ./trn.h:29:1: note: change return type to 'int' void main _((int,char**)); ^~~~ int sw.c:310:7: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ sw.c:551:34: warning: implicit declaration of function 'ov_init' is invalid in C99 [-Wimplicit-function-declaration] try_ov = ((mode == 'i' || ov_init())? 1 : -1); ^ sw.c:555:34: warning: implicit declaration of function 'mt_init' is invalid in C99 [-Wimplicit-function-declaration] try_mt = ((mode == 'i' || mt_init())? 1 : -1); ^ 4 warnings generated. cc -c -O term.c term.c:171:14: warning: implicit declaration of function 'tgetent' is invalid in C99 [-Wimplicit-function-declaration] status = tgetent(tcbuf,s? s : "dumb"); /* get termcap entry */ ^ term.c:183:10: warning: implicit declaration of function 'tgetflag' is invalid in C99 [-Wimplicit-function-declaration] if (!tgetflag("bs")) { /* is backspace not used? */ ^ term.c:216:15: warning: implicit declaration of function 'tgetnum' is invalid in C99 [-Wimplicit-function-declaration] if ((SG = tgetnum("sg"))<0) ^ term.c:463:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (kt = curmap->km_type[i]) { ~~~^~~~~~~~~~~~~~~~~~~~ term.c:463:9: note: place parentheses around the assignment to silence this warning if (kt = curmap->km_type[i]) { ^ ( ) term.c:463:9: note: use '==' to turn this assignment into an equality comparison if (kt = curmap->km_type[i]) { ^ == term.c:671:6: warning: implicit declaration of function 'tputs' is invalid in C99 [-Wimplicit-function-declaration] backspace(); ^ ./term.h:179:21: note: expanded from macro 'backspace' #define backspace() tputs(BC,0,putchr) FLUSH ^ term.c:744:5: warning: implicit declaration of function 'tputs' is invalid in C99 [-Wimplicit-function-declaration] dingaling(); ^ ./term.h:194:21: note: expanded from macro 'dingaling' #define dingaling() tputs(VB,1,putchr) FLUSH ^ term.c:818:3: warning: implicit declaration of function 'tputs' is invalid in C99 [-Wimplicit-function-declaration] backspace();/* back up over it */ ^ ./term.h:179:21: note: expanded from macro 'backspace' #define backspace() tputs(BC,0,putchr) FLUSH ^ term.c:826:3: warning: implicit declaration of function 'tputs' is invalid in C99 [-Wimplicit-function-declaration] backspace();/* back up over it */ ^ ./term.h:179:21: note: expanded from macro 'backspace' #define backspace() tputs(BC,0,putchr) FLUSH ^ term.c:833:2: warning: implicit declaration of function 'tputs' is invalid in C99 [-Wimplicit-function-declaration] underline(); /* start underlining */ ^ ./term.h:186:21: note: expanded from macro 'underline' #define underline() tputs(US,1,putchr) FLUSH ^ term.c:855:2: warning: implicit declaration of function 'tputs' is invalid in C99 [-Wimplicit-function-declaration] un_standout(); ^ ./term.h:190:23: note: expanded from macro 'un_standout' #define un_standout() tputs(SE,1,putchr) FLUSH ^ term.c:866:2: warning: implicit declaration of function 'tputs' is invalid in C99 [-Wimplicit-function-declaration] un_underline(); ^ ./term.h:187:24: note: expanded from macro 'un_underline' #define un_underline() tputs(UE,1,putchr) FLUSH ^ term.c:965:5: warning: implicit declaration of function 'tputs' is invalid in C99 [-Wimplicit-function-declaration] standout(); ^ ./term.h:189:20: note: expanded from macro 'standout' #define standout() tputs(SO,1,putchr) FLUSH ^ term.c:1026:5: warning: implicit declaration of function 'tputs' is invalid in C99 [-Wimplicit-function-declaration] standout(); ^ ./term.h:189:20: note: expanded from macro 'standout' #define standout() tputs(SO,1,putchr) FLUSH ^ term.c:1124:6: warning: implicit declaration of function 'tputs' is invalid in C99 [-Wimplicit-function-declaration] standout(); ^ ./term.h:189:20: note: expanded from macro 'standout' #define standout() tputs(SO,1,putchr) FLUSH ^ term.c:1131:6: warning: implicit declaration of function 'tputs' is invalid in C99 [-Wimplicit-function-declaration] underline(); ^ ./term.h:186:21: note: expanded from macro 'underline' #define underline() tputs(US,1,putchr) FLUSH ^ term.c:1154:3: warning: implicit declaration of function 'tputs' is invalid in C99 [-Wimplicit-function-declaration] un_standout(); ^ ./term.h:190:23: note: expanded from macro 'un_standout' #define un_standout() tputs(SE,1,putchr) FLUSH ^ term.c:1171:2: warning: implicit declaration of function 'tputs' is invalid in C99 [-Wimplicit-function-declaration] clear(); ^ ./term.h:180:17: note: expanded from macro 'clear' #define clear() tputs(CL,LINES,putchr) FLUSH ^ term.c:1197:6: warning: implicit declaration of function 'tputs' is invalid in C99 [-Wimplicit-function-declaration] backspace(); ^ ./term.h:179:21: note: expanded from macro 'backspace' #define backspace() tputs(BC,0,putchr) FLUSH ^ term.c:1202:6: warning: implicit declaration of function 'tputs' is invalid in C99 [-Wimplicit-function-declaration] backspace(); ^ ./term.h:179:21: note: expanded from macro 'backspace' #define backspace() tputs(BC,0,putchr) FLUSH ^ term.c:1212:5: warning: implicit declaration of function 'tputs' is invalid in C99 [-Wimplicit-function-declaration] backspace(); /* do the old backspace, */ ^ ./term.h:179:21: note: expanded from macro 'backspace' #define backspace() tputs(BC,0,putchr) FLUSH ^ term.c:1243:2: warning: implicit declaration of function 'tputs' is invalid in C99 [-Wimplicit-function-declaration] tputs(tgoto(CM, 0, 0), 1, putchr); /* go to home via CM */ ^ term.c:1247:2: warning: implicit declaration of function 'tputs' is invalid in C99 [-Wimplicit-function-declaration] tputs(HO, 1, putchr); /* home via HO */ ^ term.c:1277:3: warning: implicit declaration of function 'tputs' is invalid in C99 [-Wimplicit-function-declaration] tputs(UP,1,putchr); ^ term.c:1285:5: warning: implicit declaration of function 'tputs' is invalid in C99 [-Wimplicit-function-declaration] tputs(str,1,putchr); ^ term.c:1296:9: warning: add explicit braces to avoid dangling else [-Wdangling-else] else if (outspeed >= B4800)/* 16 lines at 4800 */ ^ 25 warnings generated. cc -c -O trn.c In file included from trn.c:41: ./trn.h:29:1: warning: return type of 'main' is not 'int' [-Wmain-return-type] void main _((int,char**)); ^ ./trn.h:29:1: note: change return type to 'int' void main _((int,char**)); ^~~~ int trn.c:71:1: warning: return type of 'main' is not 'int' [-Wmain-return-type] void ^ trn.c:71:1: note: change return type to 'int' void ^~~~ int trn.c:468:11: warning: format string is not a string literal (potentially insecure) [-Wformat-security] printf(hforhelp); ^~~~~~~~ trn.c:468:11: note: treat the string as an argument to avoid this printf(hforhelp); ^ "%s", trn.c:530:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] ELSE ^ ./common.h:345:15: note: expanded from macro 'ELSE' # define ELSE else ^ trn.c:603:3: warning: implicit declaration of function 'tputs' is invalid in C99 [-Wimplicit-function-declaration] carriage_return(); ^ ./term.h:193:27: note: expanded from macro 'carriage_return' #define carriage_return() tputs(CR,1,putchr) FLUSH ^ trn.c:623:60: warning: data argument not used by format string [-Wformat-extra-args] printf("\nTrn version:%s.\nConfigured for ",patchlevel,rnid); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ 6 warnings generated. cc -c -O util.c util.c:84:17: warning: implicit declaration of function 'wait' is invalid in C99 [-Wimplicit-function-declaration] while ((w = wait(&status)) != pid) ^ 1 warning generated. cc -c -O util2.c cc -c -O unship.c cc -c -O uudecode.c uudecode.c:322:2: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ uudecode.c:333:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] } else if (first) { ^ uudecode.c:441:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (c = *cpt) { ~~^~~~~~ uudecode.c:441:11: note: place parentheses around the assignment to silence this warning while (c = *cpt) { ^ ( ) uudecode.c:441:11: note: use '==' to turn this assignment into an equality comparison while (c = *cpt) { ^ == 3 warnings generated. yacc -d parsedate.y yacc: 6 shift/reduce conflicts. cc -O -c y.tab.c -o parsedate.o parsedate.y:592:30: warning: implicitly declaring library function 'strcmp' with type 'int (const char *, const char *)' [-Wimplicit-function-declaration] if (c == tp->name[0] && strcmp(p, tp->name) == 0) { ^ parsedate.y:592:30: note: include the header or explicitly provide a declaration for 'strcmp' 1 warning generated. rm -f y.tab.c cc -c -O nntpinit.c nntpinit.c:188:37: warning: implicit declaration of function 'inet_ntoa' is invalid in C99 [-Wimplicit-function-declaration] fprintf(stderr, "trying %s\n", inet_ntoa(sin.sin_addr)); ^ nntpinit.c:188:37: warning: format specifies type 'char *' but the argument has type 'int' [-Wformat] fprintf(stderr, "trying %s\n", inet_ntoa(sin.sin_addr)); ~~ ^~~~~~~~~~~~~~~~~~~~~~~ %d nntpinit.c:192:47: warning: format specifies type 'char *' but the argument has type 'int' [-Wformat] fprintf(stderr, "connection to %s: ", inet_ntoa(sin.sin_addr)); ~~ ^~~~~~~~~~~~~~~~~~~~~~~ %d 3 warnings generated. cc -c -O nntpclient.c cc -c -O nntpauth.c nntpauth.c:54:2: warning: implicit declaration of function 'finalize' is invalid in C99 [-Wimplicit-function-declaration] finalize(1); ^ 1 warning generated. cc -c -O nntp.c In file included from nntp.c:12: ./trn.h:29:1: warning: return type of 'main' is not 'int' [-Wmain-return-type] void main _((int,char**)); ^ ./trn.h:29:1: note: change return type to 'int' void main _((int,char**)); ^~~~ int nntp.c:234:2: warning: implicit declaration of function 'tputs' is invalid in C99 [-Wimplicit-function-declaration] carriage_return(); ^ ./term.h:193:27: note: expanded from macro 'carriage_return' #define carriage_return() tputs(CR,1,putchr) FLUSH ^ nntp.c:296:26: warning: adding 'int' to a string does not append to the string [-Wstring-plus-int] nntp_command("XDATE" + (CompliantServer? 0 : 1)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ nntp.c:296:26: note: use array indexing to silence this warning nntp_command("XDATE" + (CompliantServer? 0 : 1)); ^ & [ ] nntp.c:353:31: warning: adding 'int' to a string does not append to the string [-Wstring-plus-int] nntp_command("XLISTGROUP" + (CompliantServer? 0 : 1)); ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ nntp.c:353:31: note: use array indexing to silence this warning nntp_command("XLISTGROUP" + (CompliantServer? 0 : 1)); ^ & [ ] 4 warnings generated. cc -fstack-protector-strong addng.o art.o artio.o artsrch.o autosub.o backpage.o bits.o cache.o charsubst.o decode.o edit_dist.o final.o hash.o head.o help.o init.o intrp.o kfile.o last.o ng.o ngdata.o nghash.o ngsrch.o ngstuff.o only.o rcln.o rcstuff.o respond.o rthread.o rt-mt.o rt-ov.o rt-process.o rt-page.o rt-select.o rt-util.o rt-wumpus.o search.o sw.o term.o trn.o util.o util2.o unship.o uudecode.o parsedate.o nntpinit.o nntpclient.o nntpauth.o nntp.o -lncurses -lm -o trn cc -c -O trn-artchk.c cc -fstack-protector-strong trn-artchk.o util2.o nntpinit.o nntpclient.o nntpauth.o -o trn-artchk -lncurses -lm cc -c -O nntplist.c cc -fstack-protector-strong nntplist.o util2.o nntpinit.o nntpclient.o nntpauth.o -o nntplist -lncurses -lm touch all =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> trn-3.6_1 depends on executable: munpack - not found ===> Installing existing package /packages/All/mpack-1.6_4.pkg [pkg-builder.dan.net.uk] Installing mpack-1.6_4... [pkg-builder.dan.net.uk] Extracting mpack-1.6_4: .... done ===> trn-3.6_1 depends on executable: munpack - found ===> Returning to build of trn-3.6_1 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Staging for trn-3.6_1 ===> Generating temporary packing list export PATH || exit 1 (cd `./filexp /wrkdirs/usr/ports/news/trn/work/stage/usr/local/bin`; mv trn trn.old) mv: rename trn to trn.old: No such file or directory *** Error code 1 (ignored) (cd `./filexp /wrkdirs/usr/ports/news/trn/work/stage/usr/local/bin`; rm trn.old) rm: trn.old: No such file or directory *** Error code 1 (ignored) if test `pwd` != `./filexp /wrkdirs/usr/ports/news/trn/work/stage/usr/local/bin`; then cp trn newsetup newsgroups Pnews Rnmail trn-artchk nntplist `./filexp /wrkdirs/usr/ports/news/trn/work/stage/usr/local/bin`; (cd `./filexp /wrkdirs/usr/ports/news/trn/work/stage/usr/local/bin`; chmod o+x trn newsetup newsgroups Pnews Rnmail trn-artchk nntplist; strip trn trn-artchk nntplist); fi if test /usr/local/lib/trn/filexp = Rnfilexp; then cp ./filexp `./filexp /wrkdirs/usr/ports/news/trn/work/stage/usr/local/bin/Rnfilexp`; fi ./makedir `./filexp /wrkdirs/usr/ports/news/trn/work/stage/usr/local/lib/trn` chmod o+r `./filexp /wrkdirs/usr/ports/news/trn/work/stage/usr/local/lib/trn` if test `pwd` != `./filexp /wrkdirs/usr/ports/news/trn/work/stage/usr/local/lib/trn`; then cp ./INIT norm.saver mbox.saver makedir Pnews.header Speller filexp `./filexp /wrkdirs/usr/ports/news/trn/work/stage/usr/local/lib/trn`; fi if test ! -f `./filexp /wrkdirs/usr/ports/news/trn/work/stage/usr/local/lib/trn/newsnews`; then cp newsnews `./filexp /wrkdirs/usr/ports/news/trn/work/stage/usr/local/lib/trn`; fi (cd `./filexp /wrkdirs/usr/ports/news/trn/work/stage/usr/local/lib/trn`; chmod o+x norm.saver mbox.saver makedir Pnews.header Speller filexp; chmod o+r INIT newsnews) if test "X/wrkdirs/usr/ports/news/trn/work/stage/usr/local/share/man/man1" != "X" -a "X`pwd`" != X`./filexp /wrkdirs/usr/ports/news/trn/work/stage/usr/local/share/man/man1`; then for page in trn.1 Pnews.1 Rnmail.1 newsetup.1 newsgroups.1; do dest=/wrkdirs/usr/ports/news/trn/work/stage/usr/local/share/man/man1/`basename $page .1`.1; rm -f $dest; cp ./$page $dest; chmod 444 $dest; done; fi ====> Compressing man pages (compress-man) =========================================================================== =================================================== ===== env: 'PKG_NOTES=build_timestamp ports_top_git_hash ports_top_checkout_unclean port_git_hash port_checkout_unclean built_by' 'PKG_NOTE_build_timestamp=2024-04-03T16:12:44+0000' 'PKG_NOTE_ports_top_git_hash=c2c35d895e' 'PKG_NOTE_ports_top_checkout_unclean=yes' 'PKG_NOTE_port_git_hash=b68745b6b6' 'PKG_NOTE_port_checkout_unclean=no' 'PKG_NOTE_built_by=poudriere-git-3.4.99.20240122_1' NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building packages for trn-3.6_1 ===> Building trn-3.6_1 =========================================================================== =>> Cleaning up wrkdir ===> Cleaning for trn-3.6_1 build of news/trn | trn-3.6_1 ended at Wed Apr 3 17:13:04 BST 2024 build time: 00:00:20