=>> Building net/rdist6 build started at Fri Apr 5 15:08:32 BST 2024 port directory: /usr/ports/net/rdist6 package name: rdist-6.1.5_8 building for: FreeBSD pkg-builder.dan.net.uk 13.2-RELEASE-p10 FreeBSD 13.2-RELEASE-p10 amd64 maintained by: cy@FreeBSD.org Makefile datestamp: -rw-r--r-- 1 root wheel 787 Mar 2 16:12 /usr/ports/net/rdist6/Makefile Ports top last git commit: c2c35d895e Ports top unclean checkout: yes Port dir last git commit: 36174cb325 Port dir unclean checkout: no Poudriere version: poudriere-git-3.4.99.20240122_1 Host OSVERSION: 1400097 Jail OSVERSION: 1302001 Job Id: 12 ---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/12/.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-- cy@FreeBSD.org --End MAINTAINER-- --CONFIGURE_ARGS-- --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- XDG_DATA_HOME=/wrkdirs/usr/ports/net/rdist6/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/net/rdist6/work XDG_CACHE_HOME=/wrkdirs/usr/ports/net/rdist6/work/.cache HOME=/wrkdirs/usr/ports/net/rdist6/work TMPDIR="/tmp" PATH=/ccache/libexec/ccache:/wrkdirs/usr/ports/net/rdist6/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/net/rdist6/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-- BUILD_OPT="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " BUILD_CLIENT=rdist6 STAGEDIR=/wrkdirs/usr/ports/net/rdist6/work/stage XDG_DATA_HOME=/wrkdirs/usr/ports/net/rdist6/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/net/rdist6/work XDG_CACHE_HOME=/wrkdirs/usr/ports/net/rdist6/work/.cache HOME=/wrkdirs/usr/ports/net/rdist6/work TMPDIR="/tmp" PATH=/ccache/libexec/ccache:/wrkdirs/usr/ports/net/rdist6/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/net/rdist6/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-- RDIST_NAME=rdist6 OSREL=13.2 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/rdist" EXAMPLESDIR="share/examples/rdist" DATADIR="share/rdist" WWWDIR="www/rdist" ETCDIR="etc/rdist" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/rdist DOCSDIR=/usr/local/share/doc/rdist EXAMPLESDIR=/usr/local/share/examples/rdist WWWDIR=/usr/local/www/rdist ETCDIR=/usr/local/etc/rdist --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 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> rdist-6.1.5_8 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 ===> rdist-6.1.5_8 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of rdist-6.1.5_8 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Fetching all distfiles required by rdist-6.1.5_8 for building =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Fetching all distfiles required by rdist-6.1.5_8 for building => SHA256 Checksum OK for rdist-6.1.5.tar.gz. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Fetching all distfiles required by rdist-6.1.5_8 for building ===> Extracting for rdist-6.1.5_8 => SHA256 Checksum OK for rdist-6.1.5.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 rdist-6.1.5_8 ===> Applying FreeBSD patches for rdist-6.1.5_8 from /usr/ports/net/rdist6/files =========================================================================== =================================================== ===== 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 rdist-6.1.5_8 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building for rdist-6.1.5_8 Making "all" in "src" yacc -d gram.y mv y.tab.c gram.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DOS_H=\"os-freebsd2.h\" -I. -I../include -I../config -c gram.c -o gram.o gram.y:329:10: warning: implicit conversion from 'int' to 'char' changes value from 160 to -96 [-Wconstant-conversion] QUOTECHAR); ^~~~~~~~~ ../include/defs.h:105:19: note: expanded from macro 'QUOTECHAR' #define QUOTECHAR 160 /* quote next character */ ^~~ 1 warning generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DOS_H=\"os-freebsd2.h\" -I. -I../include -I../config -c rdist.c -o rdist.o rdist.c:100:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] main(argc, argv, envp) ^ rdist.c:118:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (cp = msgparseopts(localmsglist, TRUE)) { ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rdist.c:118:9: note: place parentheses around the assignment to silence this warning if (cp = msgparseopts(localmsglist, TRUE)) { ^ ( ) rdist.c:118:9: note: use '==' to turn this assignment into an equality comparison if (cp = msgparseopts(localmsglist, TRUE)) { ^ == rdist.c:121:3: warning: implicit declaration of function 'usage' is invalid in C99 [-Wimplicit-function-declaration] usage(); ^ rdist.c:162:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (cp = msgparseopts(optarg, TRUE)) { ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ rdist.c:162:11: note: place parentheses around the assignment to silence this warning if (cp = msgparseopts(optarg, TRUE)) { ^ ( ) rdist.c:162:11: note: use '==' to turn this assignment into an equality comparison if (cp = msgparseopts(optarg, TRUE)) { ^ == rdist.c:164:5: warning: implicit declaration of function 'usage' is invalid in C99 [-Wimplicit-function-declaration] usage(); ^ rdist.c:178:5: warning: implicit declaration of function 'usage' is invalid in C99 [-Wimplicit-function-declaration] usage(); ^ rdist.c:215:4: warning: implicit declaration of function 'define' is invalid in C99 [-Wimplicit-function-declaration] define(optarg); ^ rdist.c:220:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (cp = msgparseopts("stdout=all,debug", TRUE)) { ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rdist.c:220:11: note: place parentheses around the assignment to silence this warning if (cp = msgparseopts("stdout=all,debug", TRUE)) { ^ ( ) rdist.c:220:11: note: use '==' to turn this assignment into an equality comparison if (cp = msgparseopts("stdout=all,debug", TRUE)) { ^ == rdist.c:222:5: warning: implicit declaration of function 'usage' is invalid in C99 [-Wimplicit-function-declaration] usage(); ^ rdist.c:242:5: warning: implicit declaration of function 'usage' is invalid in C99 [-Wimplicit-function-declaration] usage(); ^ rdist.c:249:5: warning: implicit declaration of function 'usage' is invalid in C99 [-Wimplicit-function-declaration] usage(); ^ rdist.c:257:5: warning: implicit declaration of function 'usage' is invalid in C99 [-Wimplicit-function-declaration] usage(); ^ rdist.c:259:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (cp = searchpath(optarg)) ~~~^~~~~~~~~~~~~~~~~~~~ rdist.c:259:11: note: place parentheses around the assignment to silence this warning if (cp = searchpath(optarg)) ^ ( ) rdist.c:259:11: note: use '==' to turn this assignment into an equality comparison if (cp = searchpath(optarg)) ^ == rdist.c:264:5: warning: implicit declaration of function 'usage' is invalid in C99 [-Wimplicit-function-declaration] usage(); ^ rdist.c:288:4: warning: implicit declaration of function 'usage' is invalid in C99 [-Wimplicit-function-declaration] usage(); ^ rdist.c:293:3: warning: implicit declaration of function 'msgprconfig' is invalid in C99 [-Wimplicit-function-declaration] msgprconfig(); ^ rdist.c:307:3: warning: implicit declaration of function 'docmdargs' is invalid in C99 [-Wimplicit-function-declaration] docmdargs(realargc - optind, &realargv[optind]); ^ rdist.c:311:10: warning: implicit declaration of function 'yyparse' is invalid in C99 [-Wimplicit-function-declaration] (void) yyparse(); ^ rdist.c:362:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] usage() ^ rdist.c:393:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] docmdargs(nargs, args) ^ rdist.c:439:2: warning: implicit declaration of function 'insert' is invalid in C99 [-Wimplicit-function-declaration] insert((char *)NULL, files, hosts, cmds); ^ rdist.c:441:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ 22 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DOS_H=\"os-freebsd2.h\" -I. -I../include -I../config -c client.c -o client.o client.c:180:10: warning: implicit declaration of function 'sendcmd' is invalid in C99 [-Wimplicit-function-declaration] (void) sendcmd(C_SPECIAL, ^ client.c:187:10: warning: implicit declaration of function 'response' is invalid in C99 [-Wimplicit-function-declaration] while (response() > 0) ^ client.c:267:12: warning: implicit declaration of function 'sendcmd' is invalid in C99 [-Wimplicit-function-declaration] (void) sendcmd(C_CMDSPECIAL, NULL); ^ client.c:268:9: warning: implicit declaration of function 'response' is invalid in C99 [-Wimplicit-function-declaration] if (response() < 0) ^ client.c:272:11: warning: implicit declaration of function 'sendcmd' is invalid in C99 [-Wimplicit-function-declaration] (void) sendcmd(RC_FILE, f->n_name); ^ client.c:273:8: warning: implicit declaration of function 'response' is invalid in C99 [-Wimplicit-function-declaration] if (response() < 0) ^ client.c:277:11: warning: implicit declaration of function 'sendcmd' is invalid in C99 [-Wimplicit-function-declaration] (void) sendcmd(C_CMDSPECIAL, NULL); ^ client.c:278:8: warning: implicit declaration of function 'response' is invalid in C99 [-Wimplicit-function-declaration] if (response() < 0) ^ client.c:283:10: warning: implicit declaration of function 'sendcmd' is invalid in C99 [-Wimplicit-function-declaration] (void) sendcmd(RC_COMMAND, sc->sc_name); ^ client.c:284:10: warning: implicit declaration of function 'response' is invalid in C99 [-Wimplicit-function-declaration] while (response() > 0) ^ client.c:359:10: warning: implicit declaration of function 'sendcmd' is invalid in C99 [-Wimplicit-function-declaration] (void) sendcmd(C_RECVHARDLINK, "%o %d %s %s", ^ client.c:371:9: warning: implicit declaration of function 'response' is invalid in C99 [-Wimplicit-function-declaration] return(response()); ^ client.c:402:9: warning: implicit declaration of function 'sendcmd' is invalid in C99 [-Wimplicit-function-declaration] (void) sendcmd(C_RECVREG, "%o %04o %lld %ld %ld %s %s %s", ^ client.c:407:6: warning: implicit declaration of function 'response' is invalid in C99 [-Wimplicit-function-declaration] if (response() < 0) { ^ client.c:499:9: warning: implicit declaration of function 'sendcmd' is invalid in C99 [-Wimplicit-function-declaration] (void) sendcmd(C_CLEAN, "%o", IS_ON(opts, DO_VERIFY)); ^ client.c:500:6: warning: implicit declaration of function 'response' is invalid in C99 [-Wimplicit-function-declaration] if (response() < 0) ^ client.c:520:8: warning: implicit declaration of function 'except' is invalid in C99 [-Wimplicit-function-declaration] if (except(target)) ^ client.c:595:9: warning: implicit declaration of function 'sendcmd' is invalid in C99 [-Wimplicit-function-declaration] (void) sendcmd(C_RECVDIR, "%o %04o 0 0 0 %s %s %s", ^ client.c:597:6: warning: implicit declaration of function 'response' is invalid in C99 [-Wimplicit-function-declaration] if (response() < 0) ^ client.c:606:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (dp = readdir(d)) { ~~~^~~~~~~~~~~~ client.c:606:12: note: place parentheses around the assignment to silence this warning while (dp = readdir(d)) { ^ ( ) client.c:606:12: note: use '==' to turn this assignment into an equality comparison while (dp = readdir(d)) { ^ == client.c:619:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (*ptarget++ = *cp++) ~~~~~~~~~~~^~~~~~~ client.c:619:21: note: place parentheses around the assignment to silence this warning while (*ptarget++ = *cp++) ^ ( ) client.c:619:21: note: use '==' to turn this assignment into an equality comparison while (*ptarget++ = *cp++) ^ == client.c:664:9: warning: implicit declaration of function 'sendcmd' is invalid in C99 [-Wimplicit-function-declaration] (void) sendcmd(C_RECVSYMLINK, "%o %04o %lld %ld %ld %s %s %s", ^ client.c:669:6: warning: implicit declaration of function 'response' is invalid in C99 [-Wimplicit-function-declaration] if (response() < 0) ^ client.c:777:9: warning: implicit declaration of function 'sendcmd' is invalid in C99 [-Wimplicit-function-declaration] (void) sendcmd(C_QUERY, "%s", rname); ^ client.c:780:18: warning: assigning to 'char *' from 'u_char[1024]' (aka 'unsigned char[1024]') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] n = remline(cp = respbuff, sizeof(respbuff), TRUE); ^ ~~~~~~~~ client.c:1040:6: warning: implicit declaration of function 'except' is invalid in C99 [-Wimplicit-function-declaration] if (except(target)) ^ client.c:1075:10: warning: implicit declaration of function 'sendcmd' is invalid in C99 [-Wimplicit-function-declaration] (void) sendcmd(C_CHMOD, "%o %04o %s", ^ client.c:1077:10: warning: implicit declaration of function 'response' is invalid in C99 [-Wimplicit-function-declaration] (void) response(); ^ client.c:1145:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (file = getnotifyfile()) ~~~~~^~~~~~~~~~~~~~~~~ client.c:1145:11: note: place parentheses around the assignment to silence this warning if (file = getnotifyfile()) ^ ( ) client.c:1145:11: note: use '==' to turn this assignment into an equality comparison if (file = getnotifyfile()) ^ == client.c:1237:10: warning: implicit declaration of function 'sendcmd' is invalid in C99 [-Wimplicit-function-declaration] (void) sendcmd(C_DIRTARGET, "%o %s", opts, dest); ^ client.c:1240:6: warning: implicit declaration of function 'response' is invalid in C99 [-Wimplicit-function-declaration] if (response() < 0) ^ 31 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DOS_H=\"os-freebsd2.h\" -I. -I../include -I../config -c child.c -o child.o child.c:514:7: warning: implicit declaration of function 'setnonblocking' is invalid in C99 [-Wimplicit-function-declaration] if (setnonblocking(newchild.c_readfd, TRUE) < 0) { ^ 1 warning generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DOS_H=\"os-freebsd2.h\" -I. -I../include -I../config -c docmd.c -o docmd.o docmd.c:87:10: warning: implicit declaration of function 'sendcmd' is invalid in C99 [-Wimplicit-function-declaration] (void) sendcmd(C_FERRMSG, NULL); ^ docmd.c:308:10: warning: implicit declaration of function 'rshrcmd' is invalid in C99 [-Wimplicit-function-declaration] desc = rshrcmd(&rhost, -1, luser, ruser, cmd, 0); ^ docmd.c:362:13: warning: implicit declaration of function 'okname' is invalid in C99 [-Wimplicit-function-declaration] else if (!okname(ruser)) ^ docmd.c:370:25: warning: field precision should have type 'int', but argument has type 'unsigned long' [-Wformat] (void) sprintf(buf, "%.*s -S", sizeof(buf)-5, path_rdistd); ~~^~ ~~~~~~~~~~~~~ docmd.c:395:10: warning: implicit declaration of function 'sendcmd' is invalid in C99 [-Wimplicit-function-declaration] (void) sendcmd(S_VERSION, "%d", VERSION); ^ docmd.c:396:7: warning: implicit declaration of function 'response' is invalid in C99 [-Wimplicit-function-declaration] if (response() < 0) ^ docmd.c:402:24: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] proto_version = atoi(&respbuff[1]); ^~~~~~~~~~~~ /usr/include/stdlib.h:94:23: note: passing argument to parameter here int atoi(const char *); ^ docmd.c:415:10: warning: implicit declaration of function 'sendcmd' is invalid in C99 [-Wimplicit-function-declaration] (void) sendcmd(C_SETCONFIG, "%c%s", SC_HOSTNAME, host); ^ docmd.c:416:7: warning: implicit declaration of function 'response' is invalid in C99 [-Wimplicit-function-declaration] if (response() < 0) ^ docmd.c:420:10: warning: implicit declaration of function 'sendcmd' is invalid in C99 [-Wimplicit-function-declaration] (void) sendcmd(C_SETCONFIG, "%c%lld", SC_FREESPACE, ^ docmd.c:422:7: warning: implicit declaration of function 'response' is invalid in C99 [-Wimplicit-function-declaration] if (response() < 0) ^ docmd.c:426:10: warning: implicit declaration of function 'sendcmd' is invalid in C99 [-Wimplicit-function-declaration] (void) sendcmd(C_SETCONFIG, "%c%lld", SC_FREEFILES, ^ docmd.c:428:7: warning: implicit declaration of function 'response' is invalid in C99 [-Wimplicit-function-declaration] if (response() < 0) ^ docmd.c:432:10: warning: implicit declaration of function 'sendcmd' is invalid in C99 [-Wimplicit-function-declaration] (void) sendcmd(C_SETCONFIG, "%c%s", SC_LOGGING, remotemsglist); ^ docmd.c:433:7: warning: implicit declaration of function 'response' is invalid in C99 [-Wimplicit-function-declaration] if (response() < 0) ^ docmd.c:618:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] okname(name) ^ docmd.c:658:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (dp = readdir(d)) { ~~~^~~~~~~~~~~~ docmd.c:658:12: note: place parentheses around the assignment to silence this warning while (dp = readdir(d)) { ^ ( ) docmd.c:658:12: note: use '==' to turn this assignment into an equality comparison while (dp = readdir(d)) { ^ == docmd.c:668:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (*ptarget++ = *cp++) ~~~~~~~~~~~^~~~~~~ docmd.c:668:21: note: place parentheses around the assignment to silence this warning while (*ptarget++ = *cp++) ^ ( ) docmd.c:668:21: note: use '==' to turn this assignment into an equality comparison while (*ptarget++ = *cp++) ^ == docmd.c:692:6: warning: implicit declaration of function 'except' is invalid in C99 [-Wimplicit-function-declaration] if (except(name)) ^ 19 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DOS_H=\"os-freebsd2.h\" -I. -I../include -I../config -c distopt.c -o distopt.o distopt.c:96:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (distopt = getdistopt(optstr)) { ~~~~~~~~^~~~~~~~~~~~~~~~~~~~ distopt.c:96:15: note: place parentheses around the assignment to silence this warning if (distopt = getdistopt(optstr)) { ^ ( ) distopt.c:96:15: note: use '==' to turn this assignment into an equality comparison if (distopt = getdistopt(optstr)) { ^ == 1 warning generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DOS_H=\"os-freebsd2.h\" -I. -I../include -I../config -c expand.c -o expand.o expand.c:90:3: warning: implicit declaration of function 'yyerror' is invalid in C99 [-Wimplicit-function-declaration] yyerror("Too many names"); ^ expand.c:100:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] } while (*cp++ = *s1++); ~~~~~~^~~~~~~ expand.c:100:17: note: place parentheses around the assignment to silence this warning } while (*cp++ = *s1++); ^ ( ) expand.c:100:17: note: use '==' to turn this assignment into an equality comparison } while (*cp++ = *s1++); ^ == expand.c:105:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] } while (*cp++ = *s2++); ~~~~~~^~~~~~~ expand.c:105:17: note: place parentheses around the assignment to silence this warning } while (*cp++ = *s2++); ^ ( ) expand.c:105:17: note: use '==' to turn this assignment into an equality comparison } while (*cp++ = *s2++); ^ == expand.c:112:3: warning: implicit declaration of function 'yyerror' is invalid in C99 [-Wimplicit-function-declaration] yyerror("Pathname too long"); ^ expand.c:213:4: warning: implicit declaration of function 'yyerror' is invalid in C99 [-Wimplicit-function-declaration] yyerror("Variable is too large."); ^ expand.c:238:4: warning: implicit declaration of function 'yyerror' is invalid in C99 [-Wimplicit-function-declaration] yyerror("no variable name after '$'"); ^ expand.c:245:6: warning: implicit declaration of function 'yyerror' is invalid in C99 [-Wimplicit-function-declaration] yyerror("unmatched '{'"); ^ expand.c:252:5: warning: implicit declaration of function 'yyerror' is invalid in C99 [-Wimplicit-function-declaration] yyerror("no variable name after '$'"); ^ expand.c:298:6: warning: implicit declaration of function 'yyerror' is invalid in C99 [-Wimplicit-function-declaration] yyerror((char *)ebuf+1); ^ expand.c:305:35: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for (cp = (u_char *)path; *cp++ = *cp1++; ) ~~~~~~^~~~~~~~ expand.c:305:35: note: place parentheses around the assignment to silence this warning for (cp = (u_char *)path; *cp++ = *cp1++; ) ^ ( ) expand.c:305:35: note: use '==' to turn this assignment into an equality comparison for (cp = (u_char *)path; *cp++ = *cp1++; ) ^ == expand.c:330:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] argcmp(a1, a2) ^ expand.c:370:10: warning: implicit declaration of function 'execbrc' is invalid in C99 [-Wimplicit-function-declaration] (void) execbrc(cp, (u_char *)NULL); ^ expand.c:400:7: warning: implicit declaration of function 'match' is invalid in C99 [-Wimplicit-function-declaration] if (match(dp->d_name, pattern)) { ^ expand.c:417:2: warning: implicit declaration of function 'yyerror' is invalid in C99 [-Wimplicit-function-declaration] yyerror(path); ^ expand.c:420:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] execbrc(p, s) /* quote in p */ ^ expand.c:449:5: warning: implicit declaration of function 'yyerror' is invalid in C99 [-Wimplicit-function-declaration] yyerror("Missing ']'"); ^ expand.c:458:3: warning: implicit declaration of function 'yyerror' is invalid in C99 [-Wimplicit-function-declaration] yyerror("Missing '}'"); ^ expand.c:490:15: warning: implicit declaration of function 'amatch' is invalid in C99 [-Wimplicit-function-declaration] } else if (amatch((char *)s, restbuf)) ^ expand.c:500:5: warning: implicit declaration of function 'yyerror' is invalid in C99 [-Wimplicit-function-declaration] yyerror("Missing ']'"); ^ expand.c:510:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] match(s, p) /* quote in p */ ^ expand.c:521:6: warning: implicit declaration of function 'amatch' is invalid in C99 [-Wimplicit-function-declaration] c = amatch(s, p); ^ expand.c:527:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] amatch(s, p) /* quote in p */ ^ expand.c:548:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (cc = *p++) { ~~~^~~~~~ expand.c:548:14: note: place parentheses around the assignment to silence this warning while (cc = *p++) { ^ ( ) expand.c:548:14: note: use '==' to turn this assignment into an equality comparison while (cc = *p++) { ^ == expand.c:563:5: warning: implicit declaration of function 'yyerror' is invalid in C99 [-Wimplicit-function-declaration] yyerror("Missing ']'"); ^ expand.c:610:7: warning: add explicit braces to avoid dangling else [-Wdangling-else] } else ^ 25 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DOS_H=\"os-freebsd2.h\" -I. -I../include -I../config -c lookup.c -o lookup.o lookup.c:71:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] define(name) ^ lookup.c:125:1: warning: non-void function does not return a value [-Wreturn-type] } ^ lookup.c:157:29: warning: field precision should have type 'int', but argument has type 'unsigned long' [-Wformat] (void) sprintf(ebuf, "%.*s redefined", ~~^~ lookup.c:160:5: warning: implicit declaration of function 'yyerror' is invalid in C99 [-Wimplicit-function-declaration] yyerror(ebuf); ^ lookup.c:167:27: warning: field precision should have type 'int', but argument has type 'unsigned long' [-Wformat] (void) sprintf(ebuf, "%.*s undefined", ~~^~ lookup.c:169:3: warning: implicit declaration of function 'yyerror' is invalid in C99 [-Wimplicit-function-declaration] yyerror(ebuf); ^ 6 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DOS_H=\"os-freebsd2.h\" -I. -I../include -I../config -c isexec.c -o isexec.o isexec.c:67:7: warning: implicit declaration of function 'ntohl' is invalid in C99 [-Wimplicit-function-declaration] !N_BADMAG(ehdr)) ^ /usr/include/sys/imgact_aout.h:70:3: note: expanded from macro 'N_BADMAG' N_GETMAGIC_NET(ex) != OMAGIC && N_GETMAGIC_NET(ex) != NMAGIC && \ ^ /usr/include/sys/imgact_aout.h:52:3: note: expanded from macro 'N_GETMAGIC_NET' (ntohl((ex).a_midmag) & 0xffff) ^ 1 warning generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DOS_H=\"os-freebsd2.h\" -I. -I../include -I../config -c signal.c -o signal.o cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DOS_H=\"os-freebsd2.h\" -I. -I../include -I../config -c rshrcmd.c -o rshrcmd.o rshrcmd.c:37:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] rshrcmd(ahost, port, luser, ruser, cmd, fd2p) ^ rshrcmd.c:51:6: warning: implicit declaration of function 'getsocketpair' is invalid in C99 [-Wimplicit-function-declaration] if (getsocketpair(AF_UNIX, SOCK_STREAM, 0, sp) < 0) { ^ rshrcmd.c:104:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ 3 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DOS_H=\"os-freebsd2.h\" -I. -I../include -I../config -c common.c -o common.o common.c:137:2: warning: implicit declaration of function 'setargs_settup' is invalid in C99 [-Wimplicit-function-declaration] setargs_settup(argc, argv, envp); ^ common.c:636:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ common.c:683:24: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for (s1 = ebuf; *s1++ = *s2++; ) ~~~~~~^~~~~~~ common.c:683:24: note: place parentheses around the assignment to silence this warning for (s1 = ebuf; *s1++ = *s2++; ) ^ ( ) common.c:683:24: note: use '==' to turn this assignment into an equality comparison for (s1 = ebuf; *s1++ = *s2++; ) ^ == common.c:688:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (*s1++ = *s3++) ~~~~~~^~~~~~~ common.c:688:16: note: place parentheses around the assignment to silence this warning while (*s1++ = *s3++) ^ ( ) common.c:688:16: note: use '==' to turn this assignment into an equality comparison while (*s1++ = *s3++) ^ == common.c:820:48: warning: missing sentinel in function call [-Wsentinel] (void) execl(_PATH_BSHELL, "sh", "-c", cmd, 0); ^ , NULL /usr/include/unistd.h:332:6: note: function has been explicitly marked sentinel here int execl(const char *, const char *, ...) __null_sentinel; ^ common.c:860:14: warning: implicit declaration of function 'wait' is invalid in C99 [-Wimplicit-function-declaration] while ((i = wait(&status)) != pid && i != -1) ^ common.c:927:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (cp = strrchr(path, '/')) ~~~^~~~~~~~~~~~~~~~~~~~ common.c:927:9: note: place parentheses around the assignment to silence this warning if (cp = strrchr(path, '/')) ^ ( ) common.c:927:9: note: use '==' to turn this assignment into an equality comparison if (cp = strrchr(path, '/')) ^ == common.c:992:9: warning: implicit declaration of function 'socketpair' is invalid in C99 [-Wimplicit-function-declaration] return(socketpair(domain, type, protocol, sv)); ^ 8 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DOS_H=\"os-freebsd2.h\" -I. -I../include -I../config -c message.c -o message.o message.c:128:30: warning: field precision should have type 'int', but argument has type 'unsigned long' [-Wformat] (void) sprintf(buf, " %.*s=", ~~^~ message.c:243:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (cp = strchr(strptr, ',')) ~~~^~~~~~~~~~~~~~~~~~~~~ message.c:243:10: note: place parentheses around the assignment to silence this warning if (cp = strchr(strptr, ',')) ^ ( ) message.c:243:10: note: use '==' to turn this assignment into an equality comparison if (cp = strchr(strptr, ',')) ^ == message.c:247:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (mtp = getmsgtype(word)) { ~~~~^~~~~~~~~~~~~~~~~~ message.c:247:11: note: place parentheses around the assignment to silence this warning if (mtp = getmsgtype(word)) { ^ ( ) message.c:247:11: note: use '==' to turn this assignment into an equality comparison if (mtp = getmsgtype(word)) { ^ == message.c:311:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (mcp = setmsgtypes(msgfac, cp)) ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ message.c:311:12: note: place parentheses around the assignment to silence this warning if (mcp = setmsgtypes(msgfac, cp)) ^ ( ) message.c:311:12: note: use '==' to turn this assignment into an equality comparison if (mcp = setmsgtypes(msgfac, cp)) ^ == message.c:351:11: warning: implicit declaration of function 'sendcmd' is invalid in C99 [-Wimplicit-function-declaration] (void) sendcmd(cmd, "%s", msgbuf); ^ message.c:526:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (cp = strchr(msgbuf, '\n')) ~~~^~~~~~~~~~~~~~~~~~~~~~ message.c:526:10: note: place parentheses around the assignment to silence this warning if (cp = strchr(msgbuf, '\n')) ^ ( ) message.c:526:10: note: use '==' to turn this assignment into an equality comparison if (cp = strchr(msgbuf, '\n')) ^ == 6 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DOS_H=\"os-freebsd2.h\" -I. -I../include -I../config -c setargs.c -o setargs.o setargs.c:69:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] setargs_settup(argc, argv, envp) ^ setargs.c:90:1: warning: non-void function does not return a value [-Wreturn-type] } ^ 2 warnings generated. cc -o rdist6 gram.o rdist.o client.o child.o docmd.o distopt.o expand.o lookup.o isexec.o signal.o rshrcmd.o common.o message.o setargs.o -lcompat cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DOS_H=\"os-freebsd2.h\" -I. -I../include -I../config -c rdistd.c -o rdistd.o rdistd.c:70:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] main(argc, argv, envp) ^ rdistd.c:111:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (cp = msgparseopts(localmsglist, TRUE)) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rdistd.c:111:9: note: place parentheses around the assignment to silence this warning if (cp = msgparseopts(localmsglist, TRUE)) ^ ( ) rdistd.c:111:9: note: use '==' to turn this assignment into an equality comparison if (cp = msgparseopts(localmsglist, TRUE)) ^ == 2 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DOS_H=\"os-freebsd2.h\" -I. -I../include -I../config -c server.c -o server.o server.c:255:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (gr = mygetgroup(group)) { ~~~^~~~~~~~~~~~~~~~~~~ server.c:255:10: note: place parentheses around the assignment to silence this warning if (gr = mygetgroup(group)) { ^ ( ) server.c:255:10: note: use '==' to turn this assignment into an equality comparison if (gr = mygetgroup(group)) { ^ == server.c:365:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (dp = readdir(d)) { ~~~^~~~~~~~~~~~ server.c:365:12: note: place parentheses around the assignment to silence this warning while (dp = readdir(d)) { ^ ( ) server.c:365:12: note: use '==' to turn this assignment into an equality comparison while (dp = readdir(d)) { ^ == server.c:379:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (*ptarget++ = *cp++) ~~~~~~~~~~~^~~~~~~ server.c:379:21: note: place parentheses around the assignment to silence this warning while (*ptarget++ = *cp++) ^ ( ) server.c:379:21: note: use '==' to turn this assignment into an equality comparison while (*ptarget++ = *cp++) ^ == server.c:435:2: warning: implicit declaration of function 'sendcmd' is invalid in C99 [-Wimplicit-function-declaration] ack(); ^ ../include/defs.h:190:24: note: expanded from macro 'ack' #define ack() (void) sendcmd(C_ACK, (char *)NULL) ^ server.c:439:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (dp = readdir(d)) { ~~~^~~~~~~~~~~~ server.c:439:12: note: place parentheses around the assignment to silence this warning while (dp = readdir(d)) { ^ ( ) server.c:439:12: note: use '==' to turn this assignment into an equality comparison while (dp = readdir(d)) { ^ == server.c:453:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (*ptarget++ = *cp++) ~~~~~~~~~~~^~~~~~~ server.c:453:21: note: place parentheses around the assignment to silence this warning while (*ptarget++ = *cp++) ^ ( ) server.c:453:21: note: use '==' to turn this assignment into an equality comparison while (*ptarget++ = *cp++) ^ == server.c:487:9: warning: implicit declaration of function 'sendcmd' is invalid in C99 [-Wimplicit-function-declaration] (void) sendcmd(CC_END, NULL); ^ server.c:488:9: warning: implicit declaration of function 'response' is invalid in C99 [-Wimplicit-function-declaration] (void) response(); ^ server.c:518:2: warning: implicit declaration of function 'sendcmd' is invalid in C99 [-Wimplicit-function-declaration] ack(); ^ ../include/defs.h:190:24: note: expanded from macro 'ack' #define ack() (void) sendcmd(C_ACK, (char *)NULL) ^ server.c:594:7: warning: implicit declaration of function 'is_nfs_mounted' is invalid in C99 [-Wimplicit-function-declaration] s = is_nfs_mounted(target, &stb, &stbvalid); ^ server.c:596:11: warning: implicit declaration of function 'sendcmd' is invalid in C99 [-Wimplicit-function-declaration] (void) sendcmd(QC_ONNFS, NULL); ^ server.c:609:7: warning: implicit declaration of function 'is_ro_mounted' is invalid in C99 [-Wimplicit-function-declaration] s = is_ro_mounted(target, &stb, &stbvalid); ^ server.c:611:11: warning: implicit declaration of function 'sendcmd' is invalid in C99 [-Wimplicit-function-declaration] (void) sendcmd(QC_ONRO, NULL); ^ server.c:623:7: warning: implicit declaration of function 'is_symlinked' is invalid in C99 [-Wimplicit-function-declaration] if (is_symlinked(target, &stb, &stbvalid) > 0) { ^ server.c:624:11: warning: implicit declaration of function 'sendcmd' is invalid in C99 [-Wimplicit-function-declaration] (void) sendcmd(QC_SYM, NULL); ^ server.c:637:11: warning: implicit declaration of function 'sendcmd' is invalid in C99 [-Wimplicit-function-declaration] (void) sendcmd(QC_NO, NULL); ^ server.c:648:10: warning: implicit declaration of function 'sendcmd' is invalid in C99 [-Wimplicit-function-declaration] (void) sendcmd(QC_YES, "%lld %ld %o %s %s", ^ server.c:782:2: warning: implicit declaration of function 'sendcmd' is invalid in C99 [-Wimplicit-function-declaration] ack(); ^ ../include/defs.h:190:24: note: expanded from macro 'ack' #define ack() (void) sendcmd(C_ACK, (char *)NULL) ^ server.c:794:8: warning: implicit declaration of function 'readrem' is invalid in C99 [-Wimplicit-function-declaration] j = readrem(cp, amt); ^ server.c:838:6: warning: implicit declaration of function 'response' is invalid in C99 [-Wimplicit-function-declaration] if (response() < 0) { ^ server.c:1047:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (cp = getusername(stb.st_uid, target, o)) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ server.c:1047:12: note: place parentheses around the assignment to silence this warning if (cp = getusername(stb.st_uid, target, o)) ^ ( ) server.c:1047:12: note: use '==' to turn this assignment into an equality comparison if (cp = getusername(stb.st_uid, target, o)) ^ == server.c:1056:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (cp = getgroupname(stb.st_gid, target, o)) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ server.c:1056:12: note: place parentheses around the assignment to silence this warning if (cp = getgroupname(stb.st_gid, target, o)) ^ ( ) server.c:1056:12: note: use '==' to turn this assignment into an equality comparison if (cp = getgroupname(stb.st_gid, target, o)) ^ == server.c:1094:4: warning: implicit declaration of function 'sendcmd' is invalid in C99 [-Wimplicit-function-declaration] ack(); ^ ../include/defs.h:190:24: note: expanded from macro 'ack' #define ack() (void) sendcmd(C_ACK, (char *)NULL) ^ server.c:1100:3: warning: implicit declaration of function 'sendcmd' is invalid in C99 [-Wimplicit-function-declaration] ack(); ^ ../include/defs.h:190:24: note: expanded from macro 'ack' #define ack() (void) sendcmd(C_ACK, (char *)NULL) ^ server.c:1114:5: warning: implicit declaration of function 'sendcmd' is invalid in C99 [-Wimplicit-function-declaration] ack(); ^ ../include/defs.h:190:24: note: expanded from macro 'ack' #define ack() (void) sendcmd(C_ACK, (char *)NULL) ^ server.c:1144:2: warning: implicit declaration of function 'sendcmd' is invalid in C99 [-Wimplicit-function-declaration] ack(); ^ ../include/defs.h:190:24: note: expanded from macro 'ack' #define ack() (void) sendcmd(C_ACK, (char *)NULL) ^ server.c:1147:6: warning: implicit declaration of function 'response' is invalid in C99 [-Wimplicit-function-declaration] if (response() < 0) { ^ server.c:1310:2: warning: implicit declaration of function 'sendcmd' is invalid in C99 [-Wimplicit-function-declaration] ack(); ^ ../include/defs.h:190:24: note: expanded from macro 'ack' #define ack() (void) sendcmd(C_ACK, (char *)NULL) ^ server.c:1355:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (estr = msgparseopts(cp, TRUE)) { ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ server.c:1355:12: note: place parentheses around the assignment to silence this warning if (estr = msgparseopts(cp, TRUE)) { ^ ( ) server.c:1355:12: note: use '==' to turn this assignment into an equality comparison if (estr = msgparseopts(cp, TRUE)) { ^ == server.c:1472:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (*ptarget++ = *file++) ~~~~~~~~~~~^~~~~~~~~ server.c:1472:22: note: place parentheses around the assignment to silence this warning while (*ptarget++ = *file++) ^ ( ) server.c:1472:22: note: use '==' to turn this assignment into an equality comparison while (*ptarget++ = *file++) ^ == server.c:1505:7: warning: implicit declaration of function 'getfilesysinfo' is invalid in C99 [-Wimplicit-function-declaration] if (getfilesysinfo(target, &freespace, &freefiles) != 0) ^ server.c:1581:2: warning: implicit declaration of function 'sendcmd' is invalid in C99 [-Wimplicit-function-declaration] ack(); ^ ../include/defs.h:190:24: note: expanded from macro 'ack' #define ack() (void) sendcmd(C_ACK, (char *)NULL) ^ server.c:1624:9: warning: implicit declaration of function 'sendcmd' is invalid in C99 [-Wimplicit-function-declaration] (void) sendcmd(S_VERSION, NULL); ^ 33 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DOS_H=\"os-freebsd2.h\" -I. -I../include -I../config -c filesys.c -o filesys.o filesys.c:128:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (p = (char *) strrchr(file, '/')) { ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ filesys.c:128:10: note: place parentheses around the assignment to silence this warning if (p = (char *) strrchr(file, '/')) { ^ ( ) filesys.c:128:10: note: use '==' to turn this assignment into an equality comparison if (p = (char *) strrchr(file, '/')) { ^ == filesys.c:174:10: warning: address of array 'file' will always evaluate to 'true' [-Wpointer-bool-conversion] return((file && *file) ? file : (char *)NULL); ^~~~ ~~ filesys.c:250:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (mnt = getmountent(mfp)) { ~~~~^~~~~~~~~~~~~~~~~~ filesys.c:250:13: note: place parentheses around the assignment to silence this warning while (mnt = getmountent(mfp)) { ^ ( ) filesys.c:250:13: note: use '==' to turn this assignment into an equality comparison while (mnt = getmountent(mfp)) { ^ == filesys.c:333:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (mnt = findmnt(pstat, mntinfo)) ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ filesys.c:333:10: note: place parentheses around the assignment to silence this warning if (mnt = findmnt(pstat, mntinfo)) ^ ( ) filesys.c:333:10: note: use '==' to turn this assignment into an equality comparison if (mnt = findmnt(pstat, mntinfo)) ^ == filesys.c:340:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (tmpmi = makemntinfo(mntinfo)) { ~~~~~~^~~~~~~~~~~~~~~~~~~~~~ filesys.c:340:12: note: place parentheses around the assignment to silence this warning if (tmpmi = makemntinfo(mntinfo)) { ^ ( ) filesys.c:340:12: note: use '==' to turn this assignment into an equality comparison if (tmpmi = makemntinfo(mntinfo)) { ^ == filesys.c:342:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (mnt = findmnt(pstat, mntinfo)) ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ filesys.c:342:11: note: place parentheses around the assignment to silence this warning if (mnt = findmnt(pstat, mntinfo)) ^ ( ) filesys.c:342:11: note: use '==' to turn this assignment into an equality comparison if (mnt = findmnt(pstat, mntinfo)) ^ == 6 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DOS_H=\"os-freebsd2.h\" -I. -I../include -I../config -c filesys-os.c -o filesys-os.o cc -o rdistd rdistd.o server.o filesys.o filesys-os.o common.o message.o setargs.o -lcompat Making "all" in "config" Making "all" in "doc" Making "all" in "support" Making "all" in "mf" =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> rdist-6.1.5_8 depends on executable: rsh - not found ===> Installing existing package /packages/All/bsdrcmds-20171003.01.pkg [pkg-builder.dan.net.uk] Installing bsdrcmds-20171003.01... [pkg-builder.dan.net.uk] Extracting bsdrcmds-20171003.01: .......... done ===> rdist-6.1.5_8 depends on executable: rsh - found ===> Returning to build of rdist-6.1.5_8 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Staging for rdist-6.1.5_8 ===> Generating temporary packing list Making "install" in "src" install -c rdist6 /wrkdirs/usr/ports/net/rdist6/work/stage/usr/local/bin/rdist6 install -c rdistd /wrkdirs/usr/ports/net/rdist6/work/stage/usr/local/bin/rdistd Making "install" in "config" Making "install" in "doc" Making "install" in "support" Making "install" in "mf" Making "install.man" in "src" Making "install.man" in "config" Making "install.man" in "doc" install -c rdist.man /wrkdirs/usr/ports/net/rdist6/work/stage/usr/local/share/man/man1/rdist6.1 install -c rdistd.man /wrkdirs/usr/ports/net/rdist6/work/stage/usr/local/share/man/man8/rdistd.8 Making "install.man" in "support" Making "install.man" in "mf" ====> 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-05T14:08:32+0000' 'PKG_NOTE_ports_top_git_hash=c2c35d895e' 'PKG_NOTE_ports_top_checkout_unclean=yes' 'PKG_NOTE_port_git_hash=36174cb325' '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 rdist-6.1.5_8 ===> Building rdist-6.1.5_8 =========================================================================== =>> Cleaning up wrkdir ===> Cleaning for rdist-6.1.5_8 build of net/rdist6 | rdist-6.1.5_8 ended at Fri Apr 5 15:08:42 BST 2024 build time: 00:00:11