[00:00:00] Creating the reference jail... done [00:00:02] Mounting system devices for 120-default [00:00:02] Mounting ports/packages/distfiles [00:00:02] Stashing existing package repository [00:00:03] Mounting packages from: /pou/data/packages/120-default [00:00:03] Copying /var/db/ports from: /usr/local/etc/poudriere.d/options [00:00:03] Appending to make.conf: /usr/local/etc/poudriere.d/make.conf [00:00:03] Appending to make.conf: /usr/local/etc/poudriere.d/120-default-make.conf /etc/resolv.conf -> /pou/data/.m/120-default/ref/etc/resolv.conf [00:00:03] Starting jail 120-default [00:00:03] Ports supports: FLAVORS SELECTED_OPTIONS [00:00:04] Logs: /pou/data/logs/bulk/120-default/2019-01-31_07h38m01s [00:00:04] Loading MOVED for /pou/data/.m/120-default/ref/usr/ports [00:00:05] Gathering ports metadata [00:00:05] Calculating ports order and dependencies [00:00:05] Sanity checking the repository [00:00:05] Checking packages for incremental rebuild needs [00:00:09] Deleting stale symlinks... done [00:00:09] Deleting empty directories... done [00:00:09] Cleaning the build queue [00:00:09] Sanity checking build queue [00:00:09] Processing PRIORITY_BOOST [00:00:09] Balancing pool [00:00:09] Recording filesystem state for prepkg... done [00:00:09] Building 1 packages using 1 builders [00:00:09] Starting/Cloning builders [00:00:09] Hit CTRL+t at any time to see build progress and stats [00:00:09] [01] [00:00:00] Building security/fakeroot | fakeroot-1.23 [00:00:17] [01] [00:00:08] Finished security/fakeroot | fakeroot-1.23: Success [00:00:17] Stopping 1 builders [00:00:18] Creating pkg repository Creating repository in /tmp/packages: .......... done Packing files for repository: .... done [00:00:38] Committing packages to repository: /pou/data/packages/120-default/.real_1548916719 via .latest symlink [00:00:38] Removing old packages [00:00:38] Building with flags: PREFIX=/var/qmail build started at Thu Jan 31 07:38:40 CET 2019 port directory: /usr/ports/mail/qmail-tls package name: netqmail-tls-1.06.20160918_2 building for: FreeBSD 120-default 12.0-RELEASE FreeBSD 12.0-RELEASE amd64 maintained by: erdgeist@erdgeist.org Makefile ident: $FreeBSD: head/mail/qmail-tls/Makefile 436247 2017-03-15 14:45:30Z mat $ Poudriere version: 3.2.99.20181024 Host OSVERSION: 1300003 Jail OSVERSION: 1200086 Job Id: ---Begin Environment--- SHELL=/bin/csh OSVERSION=1200086 UNAME_v=FreeBSD 12.0-RELEASE UNAME_r=12.0-RELEASE BLOCKSIZE=K MAIL=/var/mail/root WARNING_WAIT=0 STATUS=1 HOME=/root PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin LOCALBASE=/usr/local USER=root TRYBROKEN=yes LIBEXECPREFIX=/usr/local/libexec/poudriere POUDRIERE_VERSION=3.2.99.20181024 MASTERMNT=/pou/data/.m/120-default/ref DEV_WARNING_WAIT=0 POUDRIERE_BUILD_TYPE=bulk PACKAGE_BUILDING=yes SAVED_TERM=screen GID=0 UID=0 PWD=/pou/data/.m/120-default/ref/.p NO_WARNING_PKG_INSTALL_EOL=yes P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS MASTERNAME=120-default SCRIPTPREFIX=/usr/local/share/poudriere OLDPWD=/pou/data/.m/120-default/ref/.p/pool SCRIPTPATH=/usr/local/share/poudriere/testport.sh POUDRIEREPATH=/usr/local/bin/poudriere ---End Environment--- ---Begin Poudriere Port Flags/Env--- PORT_FLAGS=PREFIX=/var/qmail PKGENV=PACKAGES=/tmp/pkgs PKGREPOSITORY=/tmp/pkgs FLAVOR= DEPENDS_ARGS= MAKE_ARGS= ---End Poudriere Port Flags/Env--- ---Begin OPTIONS List--- ===> The following configuration options are available for netqmail-tls-1.06.20160918_2: BIG_CONCURRENCY_PATCH=off: Use a concurrency greater than 240 BIG_TODO_PATCH=off: Enable big_todo qmail patch BLOCKEXEC_PATCH=off: Block many windows viruses/worms DISCBOUNCES_PATCH=off: Discard double-bounces DNS_CNAME=on: Request CNAME (vs ANY for BIND 4 bug) DOCS=on: Build and/or install documentation EXTTODO_PATCH=off: Extern high-perform. todo processing LOCALTIME_PATCH=off: Emit dates in the local timezone MAILDIRQUOTA_PATCH=off: Maildir++ support OUTGOINGIP_PATCH=off: Set the IP address to send messages QEXTRA=off: Enable QUEUE_EXTRA copy feature QMTPC_PATCH=off: Send email using qmtp protocol RCDLINK=on: Create rc.d/qmail symlink SMTP_AUTH_PATCH=off: Provide SMTP Authentication SPF_PATCH=off: Implement SPF checker TLS_DEBUG=off: Enable additional debug information ===> Use 'make config' to modify these settings ---End OPTIONS List--- --MAINTAINER-- erdgeist@erdgeist.org --End MAINTAINER-- --CONFIGURE_ARGS-- --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- XDG_DATA_HOME=/wrkdirs/usr/ports/mail/qmail-tls/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/mail/qmail-tls/work HOME=/wrkdirs/usr/ports/mail/qmail-tls/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/mail/qmail-tls/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh --End CONFIGURE_ENV-- --MAKE_ENV-- OPENSSLBASE=/usr OPENSSLDIR=/etc/ssl OPENSSLINC=/usr/include OPENSSLLIB=/usr/lib XDG_DATA_HOME=/wrkdirs/usr/ports/mail/qmail-tls/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/mail/qmail-tls/work HOME=/wrkdirs/usr/ports/mail/qmail-tls/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/mail/qmail-tls/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES PREFIX=/var/qmail LOCALBASE=/usr/local CC="cc" CFLAGS="-O2 -pipe -I/usr/include -L/usr/lib -DTLS=20160918 -fstack-protector -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" -fstack-protector " LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -I/usr/include -L/usr/lib -DTLS=20160918 -fstack-protector -fno-strict-aliasing " MANPREFIX="/var/qmail" 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-- QMAIL_PREFIX="/var/qmail" LDAP="@comment " NO_LDAP="" SPAMCONTROL="@comment " TLS="" NO_TLS="@comment " PORTDOCS="" BIG_CONCURRENCY_PATCH="@comment " NO_BIG_CONCURRENCY_PATCH="" BIG_TODO_PATCH="@comment " NO_BIG_TODO_PATCH="" BLOCKEXEC_PATCH="@comment " NO_BLOCKEXEC_PATCH="" DISCBOUNCES_PATCH="@comment " NO_DISCBOUNCES_PATCH="" DNS_CNAME="" NO_DNS_CNAME="@comment " DOCS="" NO_DOCS="@comment " EXTTODO_PATCH="@comment " NO_EXTTODO_PATCH="" LOCALTIME_PATCH="@comment " NO_LOCALTIME_PATCH="" MAILDIRQUOTA_PATCH="@comment " NO_MAILDIRQUOTA_PATCH="" OUTGOINGIP_PATCH="@comment " NO_OUTGOINGIP_PATCH="" QEXTRA="@comment " NO_QEXTRA="" QMTPC_PATCH="@comment " NO_QMTPC_PATCH="" RCDLINK="" NO_RCDLINK="@comment " SMTP_AUTH_PATCH="@comment " NO_SMTP_AUTH_PATCH="" SPF_PATCH="@comment " NO_SPF_PATCH="" TLS_DEBUG="@comment " NO_TLS_DEBUG="" EXTTODO="@comment " RCDLINK="" OSREL=12.0 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/var/qmail LIB32DIR=lib DOCSDIR="doc" EXAMPLESDIR="share/examples/netqmail" DATADIR="share/netqmail" WWWDIR="www/netqmail" ETCDIR="etc/netqmail" --End PLIST_SUB-- --SUB_LIST-- ECHO_CMD=echo RCDLINK= BIG_CONCURRENCY_PATCH="@comment " NO_BIG_CONCURRENCY_PATCH="" BIG_TODO_PATCH="@comment " NO_BIG_TODO_PATCH="" BLOCKEXEC_PATCH="@comment " NO_BLOCKEXEC_PATCH="" DISCBOUNCES_PATCH="@comment " NO_DISCBOUNCES_PATCH="" DNS_CNAME="" NO_DNS_CNAME="@comment " DOCS="" NO_DOCS="@comment " EXTTODO_PATCH="@comment " NO_EXTTODO_PATCH="" LOCALTIME_PATCH="@comment " NO_LOCALTIME_PATCH="" MAILDIRQUOTA_PATCH="@comment " NO_MAILDIRQUOTA_PATCH="" OUTGOINGIP_PATCH="@comment " NO_OUTGOINGIP_PATCH="" QEXTRA="@comment " NO_QEXTRA="" QMTPC_PATCH="@comment " NO_QMTPC_PATCH="" SMTP_AUTH_PATCH="@comment " NO_SMTP_AUTH_PATCH="" SPF_PATCH="@comment " NO_SPF_PATCH="" TLS_DEBUG="@comment " NO_TLS_DEBUG="" PREFIX=/var/qmail LOCALBASE=/usr/local DATADIR=/var/qmail/share/netqmail DOCSDIR=/var/qmail/doc EXAMPLESDIR=/var/qmail/share/examples/netqmail WWWDIR=/var/qmail/www/netqmail ETCDIR=/var/qmail/etc/netqmail --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 #### /usr/local/etc/poudriere.d/make.conf #### WARNING_WAIT=0 #DISABLE_LICENSES=yes #### /usr/local/etc/poudriere.d/120-default-make.conf #### WARNING_WAIT=0 WITH_MPM=event DEFAULT_VERSIONS= perl5=5.28 python=2.7 python3=3.7 ruby=2.5 pgsql=11 php=7.3 mysql=10.3m gcc=8 samba=4.8 #### /usr/ports/Mk/Scripts/ports_env.sh #### _CCVERSION_921dbbb2=FreeBSD clang version 6.0.1 (tags/RELEASE_601/final 335540) (based on LLVM 6.0.1) Target: x86_64-unknown-freebsd12.0 Thread model: posix InstalledDir: /usr/bin _ALTCCVERSION_921dbbb2=none _CXXINTERNAL_acaad9ca=FreeBSD clang version 6.0.1 (tags/RELEASE_601/final 335540) (based on LLVM 6.0.1) Target: x86_64-unknown-freebsd12.0 Thread model: posix InstalledDir: /usr/bin "/usr/bin/ld" "--eh-frame-hdr" "-dynamic-linker" "/libexec/ld-elf.so.1" "--hash-style=both" "--enable-new-dtags" "-o" "a.out" "/usr/lib/crt1.o" "/usr/lib/crti.o" "/usr/lib/crtbegin.o" "-L/usr/lib" "/dev/null" "-lc++" "-lm" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "-lc" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "/usr/lib/crtend.o" "/usr/lib/crtn.o" CC_OUTPUT_921dbbb2_58173849=yes CC_OUTPUT_921dbbb2_9bdba57c=yes CC_OUTPUT_921dbbb2_6a4fe7f5=yes CC_OUTPUT_921dbbb2_6bcac02b=yes CC_OUTPUT_921dbbb2_67d20829=yes CC_OUTPUT_921dbbb2_bfa62e83=yes CC_OUTPUT_921dbbb2_f0b4d593=yes CC_OUTPUT_921dbbb2_308abb44=yes CC_OUTPUT_921dbbb2_f00456e5=yes CC_OUTPUT_921dbbb2_65ad290d=yes CC_OUTPUT_921dbbb2_f2776b26=yes CC_OUTPUT_921dbbb2_b2657cc3=yes CC_OUTPUT_921dbbb2_380987f7=yes CC_OUTPUT_921dbbb2_160933ec=yes CC_OUTPUT_921dbbb2_fb62803b=yes _OBJC_CCVERSION_921dbbb2=FreeBSD clang version 6.0.1 (tags/RELEASE_601/final 335540) (based on LLVM 6.0.1) Target: x86_64-unknown-freebsd12.0 Thread model: posix InstalledDir: /usr/bin _OBJC_ALTCCVERSION_921dbbb2=none ARCH=amd64 OPSYS=FreeBSD _OSRELEASE=12.0-RELEASE OSREL=12.0 OSVERSION=1200086 PYTHONBASE=/usr/local HAVE_COMPAT_IA32_KERN=YES _SMP_CPUS=32 CONFIGURE_MAX_CMD_LEN=262144 HAVE_PORTS_ENV=1 #### Misc 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) 1024 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-- =================================================== You may use the following build options: WITH_BIG_CONCURRENCY_PATCH_CONCURRENCY_LIMIT=NUMBER (default NUMBER=) set this to a value reasonable for your system if you use the patch /!\ netqmail-tls-1.06.20160918_2: Makefile warnings, please consider fixing /!\ Please set LICENSE for this port =========================================================================== =================================================== ===> netqmail-tls-1.06.20160918_2 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.10.5_5.txz [120-default] Installing pkg-1.10.5_5... [120-default] Extracting pkg-1.10.5_5: .......... done ===> netqmail-tls-1.06.20160918_2 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of netqmail-tls-1.06.20160918_2 =========================================================================== =================================================== =========================================================================== =================================================== You may use the following build options: WITH_BIG_CONCURRENCY_PATCH_CONCURRENCY_LIMIT=NUMBER (default NUMBER=) set this to a value reasonable for your system if you use the patch ===> netqmail-tls-1.06.20160918_2 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by netqmail-tls-1.06.20160918_2 for building =========================================================================== =================================================== You may use the following build options: WITH_BIG_CONCURRENCY_PATCH_CONCURRENCY_LIMIT=NUMBER (default NUMBER=) set this to a value reasonable for your system if you use the patch ===> netqmail-tls-1.06.20160918_2 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by netqmail-tls-1.06.20160918_2 for building => SHA256 Checksum OK for qmail/netqmail-1.06.tar.gz. => SHA256 Checksum OK for qmail/qmail-103.patch. => SHA256 Checksum OK for qmail/netqmail-1.06-tls-20160918.patch. =========================================================================== =================================================== =========================================================================== =================================================== You may use the following build options: WITH_BIG_CONCURRENCY_PATCH_CONCURRENCY_LIMIT=NUMBER (default NUMBER=) set this to a value reasonable for your system if you use the patch ===> netqmail-tls-1.06.20160918_2 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by netqmail-tls-1.06.20160918_2 for building ===> Extracting for netqmail-tls-1.06.20160918_2 => SHA256 Checksum OK for qmail/netqmail-1.06.tar.gz. => SHA256 Checksum OK for qmail/qmail-103.patch. => SHA256 Checksum OK for qmail/netqmail-1.06-tls-20160918.patch. =========================================================================== =================================================== =========================================================================== =================================================== ===> Patching for netqmail-tls-1.06.20160918_2 ===> Applying distribution patches for netqmail-tls-1.06.20160918_2 ===> Applying extra patch /usr/ports/mail/qmail-tls/../qmail/files/extra-patch-amd64 ===> Applying extra patch /usr/ports/mail/qmail-tls/../qmail/files/extra-patch-utmpx ===> Applying extra patch /usr/ports/mail/qmail-tls/../qmail/files/extra-patch-dns-cname ===> Applying FreeBSD patches for netqmail-tls-1.06.20160918_2 =========================================================================== =================================================== ===> netqmail-tls-1.06.20160918_2 depends on executable: fakeroot - not found ===> Installing existing package /packages/All/fakeroot-1.23.txz [120-default] Installing fakeroot-1.23... [120-default] Extracting fakeroot-1.23: .......... done ===> netqmail-tls-1.06.20160918_2 depends on executable: fakeroot - found ===> Returning to build of netqmail-tls-1.06.20160918_2 =========================================================================== =================================================== =========================================================================== =>> Recording filesystem state for prebuild... done =================================================== ===> netqmail-tls-1.06.20160918_2 depends on executable: fakeroot - found ===> Configuring for netqmail-tls-1.06.20160918_2 =========================================================================== =================================================== ===> Building for netqmail-tls-1.06.20160918_2 ( cat warn-auto.sh; echo CC=\'`head -1 conf-cc`\'; echo LD=\'`head -1 conf-ld`\' ) > auto-ccld.sh cat auto-ccld.sh make-load.sh > make-load chmod 755 make-load cat auto-ccld.sh find-systype.sh > find-systype chmod 755 find-systype ./find-systype > systype ( cat warn-auto.sh; ./make-load "`cat systype`" ) > load chmod 755 load cat auto-ccld.sh make-compile.sh > make-compile chmod 755 make-compile ( cat warn-auto.sh; ./make-compile "`cat systype`" ) > compile chmod 755 compile ( ( ./compile tryvfork.c && ./load tryvfork ) >/dev/null 2>&1 && cat fork.h2 || cat fork.h1 ) > fork.h rm -f tryvfork.o tryvfork ./compile qmail-local.c cc: warning: argument unused during compilation: '-L/usr/lib' [-Wunused-command-line-argument] qmail-local.c:74:23: warning: implicit declaration of function 'unlink' is invalid in C99 [-Wimplicit-function-declaration] void tryunlinktmp() { unlink(fntmptph); } ^ qmail-local.c:91:6: warning: implicit declaration of function 'chdir' is invalid in C99 [-Wimplicit-function-declaration] if (chdir(dir) == -1) { if (error_temp(errno)) _exit(1); _exit(2); } ^ qmail-local.c:92:8: warning: implicit declaration of function 'getpid' is invalid in C99 [-Wimplicit-function-declaration] pid = getpid(); ^ qmail-local.c:94:2: warning: implicit declaration of function 'gethostname' is invalid in C99 [-Wimplicit-function-declaration] gethostname(host,sizeof(host)); ^ qmail-local.c:106:4: warning: implicit declaration of function 'sleep' is invalid in C99 [-Wimplicit-function-declaration] sleep(2); ^ qmail-local.c:111:2: warning: implicit declaration of function 'alarm' is invalid in C99 [-Wimplicit-function-declaration] alarm(86400); ^ qmail-local.c:127:6: warning: implicit declaration of function 'fsync' is invalid in C99 [-Wimplicit-function-declaration] if (fsync(fd) == -1) goto fail; ^ qmail-local.c:128:6: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration] if (close(fd) == -1) goto fail; /* NFS dorks */ ^ qmail-local.c:130:6: warning: implicit declaration of function 'link' is invalid in C99 [-Wimplicit-function-declaration] if (link(fntmptph,fnnewtph) == -1) goto fail; ^ qmail-local.c:186:2: warning: implicit declaration of function 'alarm' is invalid in C99 [-Wimplicit-function-declaration] alarm(30); ^ qmail-local.c:204:42: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration] if (flaglocked) seek_trunc(fd,pos); close(fd); ^ qmail-local.c:219:6: warning: implicit declaration of function 'fsync' is invalid in C99 [-Wimplicit-function-declaration] if (fsync(fd) == -1) goto writeerrs; ^ qmail-local.c:220:2: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration] close(fd); ^ qmail-local.c:246:6: warning: implicit declaration of function 'execv' is invalid in C99 [-Wimplicit-function-declaration] execv(*args,args); ^ qmail-local.c:322:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ qmail-local.c:367:3: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration] close(*fd); ^ qmail-local.c:490:6: warning: implicit declaration of function 'chdir' is invalid in C99 [-Wimplicit-function-declaration] if (chdir(homedir) == -1) ^ 17 warnings generated. ./compile qmail.c cc: warning: argument unused during compilation: '-L/usr/lib' [-Wunused-command-line-argument] qmail.c:29:7: warning: implicit declaration of function 'pipe' is invalid in C99 [-Wimplicit-function-declaration] if (pipe(pim) == -1) return -1; ^ qmail.c:30:26: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration] if (pipe(pie) == -1) { close(pim[0]); close(pim[1]); return -1; } ^ qmail.c:34:7: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration] close(pim[0]); close(pim[1]); ^ qmail.c:42:11: warning: implicit declaration of function 'chdir' is invalid in C99 [-Wimplicit-function-declaration] if (chdir(auto_qmail) == -1) _exit(61); ^ qmail.c:43:7: warning: implicit declaration of function 'execv' is invalid in C99 [-Wimplicit-function-declaration] execv(*binqqargs,binqqargs); ^ qmail.c:47:21: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration] qq->fdm = pim[1]; close(pim[0]); ^ qmail.c:77:3: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration] close(qq->fdm); ^ qmail.c:99:3: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration] close(qq->fde); ^ 8 warnings generated. ./compile quote.c cc: warning: argument unused during compilation: '-L/usr/lib' [-Wunused-command-line-argument] ./compile now.c cc: warning: argument unused during compilation: '-L/usr/lib' [-Wunused-command-line-argument] ./compile gfrom.c cc: warning: argument unused during compilation: '-L/usr/lib' [-Wunused-command-line-argument] ./compile myctime.c cc: warning: argument unused during compilation: '-L/usr/lib' [-Wunused-command-line-argument] ./compile slurpclose.c cc: warning: argument unused during compilation: '-L/usr/lib' [-Wunused-command-line-argument] slurpclose.c:13:44: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration] if (!stralloc_readyplus(sa,bufsize)) { close(fd); return -1; } ^ slurpclose.c:16:19: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration] if (r <= 0) { close(fd); return r; } ^ 2 warnings generated. cat auto-ccld.sh make-makelib.sh > make-makelib chmod 755 make-makelib ( cat warn-auto.sh; ./make-makelib "`cat systype`" ) > makelib chmod 755 makelib ./compile case_diffb.c cc: warning: argument unused during compilation: '-L/usr/lib' [-Wunused-command-line-argument] ./compile case_diffs.c cc: warning: argument unused during compilation: '-L/usr/lib' [-Wunused-command-line-argument] ./compile case_lowerb.c cc: warning: argument unused during compilation: '-L/usr/lib' [-Wunused-command-line-argument] ./compile case_lowers.c cc: warning: argument unused during compilation: '-L/usr/lib' [-Wunused-command-line-argument] case_lowers.c:7:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (x = *s) { ~~^~~~ case_lowers.c:7:12: note: place parentheses around the assignment to silence this warning while (x = *s) { ^ ( ) case_lowers.c:7:12: note: use '==' to turn this assignment into an equality comparison while (x = *s) { ^ == 1 warning generated. ./compile case_starts.c cc: warning: argument unused during compilation: '-L/usr/lib' [-Wunused-command-line-argument] ./makelib case.a case_diffb.o case_diffs.o case_lowerb.o case_lowers.o case_starts.o ./compile getln.c cc: warning: argument unused during compilation: '-L/usr/lib' [-Wunused-command-line-argument] ./compile getln2.c cc: warning: argument unused during compilation: '-L/usr/lib' [-Wunused-command-line-argument] ./makelib getln.a getln.o getln2.o ./compile subgetopt.c cc: warning: argument unused during compilation: '-L/usr/lib' [-Wunused-command-line-argument] ./compile sgetopt.c cc: warning: argument unused during compilation: '-L/usr/lib' [-Wunused-command-line-argument] ./makelib getopt.a subgetopt.o sgetopt.o ./compile sig_alarm.c cc: warning: argument unused during compilation: '-L/usr/lib' [-Wunused-command-line-argument] ( ( ./compile trysgprm.c && ./load trysgprm ) >/dev/null 2>&1 && echo \#define HASSIGPROCMASK 1 || exit 0 ) > hassgprm.h rm -f trysgprm.o trysgprm ./compile sig_block.c cc: warning: argument unused during compilation: '-L/usr/lib' [-Wunused-command-line-argument] ( ( ./compile trysgact.c && ./load trysgact ) >/dev/null 2>&1 && echo \#define HASSIGACTION 1 || exit 0 ) > hassgact.h rm -f trysgact.o trysgact ./compile sig_catch.c cc: warning: argument unused during compilation: '-L/usr/lib' [-Wunused-command-line-argument] ./compile sig_pause.c cc: warning: argument unused during compilation: '-L/usr/lib' [-Wunused-command-line-argument] ./compile sig_pipe.c cc: warning: argument unused during compilation: '-L/usr/lib' [-Wunused-command-line-argument] ./compile sig_child.c cc: warning: argument unused during compilation: '-L/usr/lib' [-Wunused-command-line-argument] ./compile sig_hup.c cc: warning: argument unused during compilation: '-L/usr/lib' [-Wunused-command-line-argument] ./compile sig_term.c cc: warning: argument unused during compilation: '-L/usr/lib' [-Wunused-command-line-argument] ./compile sig_bug.c cc: warning: argument unused during compilation: '-L/usr/lib' [-Wunused-command-line-argument] ./compile sig_misc.c cc: warning: argument unused during compilation: '-L/usr/lib' [-Wunused-command-line-argument] ./makelib sig.a sig_alarm.o sig_block.o sig_catch.o sig_pause.o sig_pipe.o sig_child.o sig_hup.o sig_term.o sig_bug.o sig_misc.o ./compile open_append.c cc: warning: argument unused during compilation: '-L/usr/lib' [-Wunused-command-line-argument] ./compile open_excl.c cc: warning: argument unused during compilation: '-L/usr/lib' [-Wunused-command-line-argument] ./compile open_read.c cc: warning: argument unused during compilation: '-L/usr/lib' [-Wunused-command-line-argument] ./compile open_trunc.c cc: warning: argument unused during compilation: '-L/usr/lib' [-Wunused-command-line-argument] ./compile open_write.c cc: warning: argument unused during compilation: '-L/usr/lib' [-Wunused-command-line-argument] ./makelib open.a open_append.o open_excl.o open_read.o open_trunc.o open_write.o ./compile seek_cur.c cc: warning: argument unused during compilation: '-L/usr/lib' [-Wunused-command-line-argument] ./compile seek_end.c cc: warning: argument unused during compilation: '-L/usr/lib' [-Wunused-command-line-argument] ./compile seek_set.c cc: warning: argument unused during compilation: '-L/usr/lib' [-Wunused-command-line-argument] ./compile seek_trunc.c cc: warning: argument unused during compilation: '-L/usr/lib' [-Wunused-command-line-argument] ./makelib seek.a seek_cur.o seek_end.o seek_set.o seek_trunc.o ( ( ./compile tryflock.c && ./load tryflock ) >/dev/null 2>&1 && echo \#define HASFLOCK 1 || exit 0 ) > hasflock.h rm -f tryflock.o tryflock ./compile lock_ex.c cc: warning: argument unused during compilation: '-L/usr/lib' [-Wunused-command-line-argument] ./compile lock_exnb.c cc: warning: argument unused during compilation: '-L/usr/lib' [-Wunused-command-line-argument] ./compile lock_un.c cc: warning: argument unused during compilation: '-L/usr/lib' [-Wunused-command-line-argument] ./makelib lock.a lock_ex.o lock_exnb.o lock_un.o ./compile fd_copy.c cc: warning: argument unused during compilation: '-L/usr/lib' [-Wunused-command-line-argument] fd_copy.c:10:3: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration] close(to); ^ 1 warning generated. ./compile fd_move.c cc: warning: argument unused during compilation: '-L/usr/lib' [-Wunused-command-line-argument] fd_move.c:9:3: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration] close(from); ^ 1 warning generated. ./makelib fd.a fd_copy.o fd_move.o ( ( ./compile trywaitp.c && ./load trywaitp ) >/dev/null 2>&1 && echo \#define HASWAITPID 1 || exit 0 ) > haswaitp.h rm -f trywaitp.o trywaitp ./compile wait_pid.c cc: warning: argument unused during compilation: '-L/usr/lib' [-Wunused-command-line-argument] ./compile wait_nohang.c cc: warning: argument unused during compilation: '-L/usr/lib' [-Wunused-command-line-argument] ./makelib wait.a wait_pid.o wait_nohang.o ./compile env.c cc: warning: argument unused during compilation: '-L/usr/lib' [-Wunused-command-line-argument] ./compile envread.c cc: warning: argument unused during compilation: '-L/usr/lib' [-Wunused-command-line-argument] envread.c:12:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for (i = 0;envi = environ[i];++i) ~~~~~^~~~~~~~~~~~ envread.c:12:19: note: place parentheses around the assignment to silence this warning for (i = 0;envi = environ[i];++i) ^ ( ) envread.c:12:19: note: use '==' to turn this assignment into an equality comparison for (i = 0;envi = environ[i];++i) ^ == 1 warning generated. ./makelib env.a env.o envread.o ./compile stralloc_eady.c cc: warning: argument unused during compilation: '-L/usr/lib' [-Wunused-command-line-argument] ./compile stralloc_pend.c cc: warning: argument unused during compilation: '-L/usr/lib' [-Wunused-command-line-argument] ./compile stralloc_copy.c cc: warning: argument unused during compilation: '-L/usr/lib' [-Wunused-command-line-argument] ./compile stralloc_opys.c cc: warning: argument unused during compilation: '-L/usr/lib' [-Wunused-command-line-argument] ./compile stralloc_opyb.c cc: warning: argument unused during compilation: '-L/usr/lib' [-Wunused-command-line-argument] ./compile stralloc_cat.c cc: warning: argument unused during compilation: '-L/usr/lib' [-Wunused-command-line-argument] ./compile stralloc_cats.c cc: warning: argument unused during compilation: '-L/usr/lib' [-Wunused-command-line-argument] ./compile stralloc_catb.c cc: warning: argument unused during compilation: '-L/usr/lib' [-Wunused-command-line-argument] ./compile stralloc_arts.c cc: warning: argument unused during compilation: '-L/usr/lib' [-Wunused-command-line-argument] ./makelib stralloc.a stralloc_eady.o stralloc_pend.o stralloc_copy.o stralloc_opys.o stralloc_opyb.o stralloc_cat.o stralloc_cats.o stralloc_catb.o stralloc_arts.o ./compile alloc.c cc: warning: argument unused during compilation: '-L/usr/lib' [-Wunused-command-line-argument] ./compile alloc_re.c cc: warning: argument unused during compilation: '-L/usr/lib' [-Wunused-command-line-argument] ./makelib alloc.a alloc.o alloc_re.o ./compile strerr_sys.c cc: warning: argument unused during compilation: '-L/usr/lib' [-Wunused-command-line-argument] ./compile strerr_die.c cc: warning: argument unused during compilation: '-L/usr/lib' [-Wunused-command-line-argument] ./makelib strerr.a strerr_sys.o strerr_die.o ./compile substdio.c cc: warning: argument unused during compilation: '-L/usr/lib' [-Wunused-command-line-argument] ./compile substdi.c cc: warning: argument unused during compilation: '-L/usr/lib' [-Wunused-command-line-argument] ./compile substdo.c cc: warning: argument unused during compilation: '-L/usr/lib' [-Wunused-command-line-argument] substdo.c:20:17: warning: if statement has empty body [-Wempty-body] if (w == 0) ; /* luser's fault */ ^ substdo.c:20:17: note: put the semicolon on a separate line to silence this warning 1 warning generated. ./compile subfderr.c cc: warning: argument unused during compilation: '-L/usr/lib' [-Wunused-command-line-argument] ./compile subfdout.c cc: warning: argument unused during compilation: '-L/usr/lib' [-Wunused-command-line-argument] ./compile subfdouts.c cc: warning: argument unused during compilation: '-L/usr/lib' [-Wunused-command-line-argument] ./compile subfdin.c cc: warning: argument unused during compilation: '-L/usr/lib' [-Wunused-command-line-argument] ./compile subfdins.c cc: warning: argument unused during compilation: '-L/usr/lib' [-Wunused-command-line-argument] ./compile substdio_copy.c cc: warning: argument unused during compilation: '-L/usr/lib' [-Wunused-command-line-argument] ./makelib substdio.a substdio.o substdi.o substdo.o subfderr.o subfdout.o subfdouts.o subfdin.o subfdins.o substdio_copy.o ./compile error.c cc: warning: argument unused during compilation: '-L/usr/lib' [-Wunused-command-line-argument] ./compile error_str.c cc: warning: argument unused during compilation: '-L/usr/lib' [-Wunused-command-line-argument] ./compile error_temp.c cc: warning: argument unused during compilation: '-L/usr/lib' [-Wunused-command-line-argument] ./makelib error.a error.o error_str.o error_temp.o ./compile str_len.c cc: warning: argument unused during compilation: '-L/usr/lib' [-Wunused-command-line-argument] ./compile str_diff.c cc: warning: argument unused during compilation: '-L/usr/lib' [-Wunused-command-line-argument] ./compile str_diffn.c cc: warning: argument unused during compilation: '-L/usr/lib' [-Wunused-command-line-argument] ./compile str_cpy.c cc: warning: argument unused during compilation: '-L/usr/lib' [-Wunused-command-line-argument] ./compile str_chr.c cc: warning: argument unused during compilation: '-L/usr/lib' [-Wunused-command-line-argument] ./compile str_rchr.c cc: warning: argument unused during compilation: '-L/usr/lib' [-Wunused-command-line-argument] ./compile str_start.c cc: warning: argument unused during compilation: '-L/usr/lib' [-Wunused-command-line-argument] ./compile byte_chr.c cc: warning: argument unused during compilation: '-L/usr/lib' [-Wunused-command-line-argument] ./compile byte_rchr.c cc: warning: argument unused during compilation: '-L/usr/lib' [-Wunused-command-line-argument] ./compile byte_diff.c cc: warning: argument unused during compilation: '-L/usr/lib' [-Wunused-command-line-argument] ./compile byte_copy.c cc: warning: argument unused during compilation: '-L/usr/lib' [-Wunused-command-line-argument] ./compile byte_cr.c cc: warning: argument unused during compilation: '-L/usr/lib' [-Wunused-command-line-argument] ./compile byte_zero.c cc: warning: argument unused during compilation: '-L/usr/lib' [-Wunused-command-line-argument] ./makelib str.a str_len.o str_diff.o str_diffn.o str_cpy.o str_chr.o str_rchr.o str_start.o byte_chr.o byte_rchr.o byte_diff.o byte_copy.o byte_cr.o byte_zero.o ./compile fmt_str.c cc: warning: argument unused during compilation: '-L/usr/lib' [-Wunused-command-line-argument] fmt_str.c:9:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (s) { while (ch = t[len]) s[len++] = ch; } ~~~^~~~~~~~ fmt_str.c:9:22: note: place parentheses around the assignment to silence this warning if (s) { while (ch = t[len]) s[len++] = ch; } ^ ( ) fmt_str.c:9:22: note: use '==' to turn this assignment into an equality comparison if (s) { while (ch = t[len]) s[len++] = ch; } ^ == 1 warning generated. ./compile fmt_strn.c cc: warning: argument unused during compilation: '-L/usr/lib' [-Wunused-command-line-argument] ./compile fmt_uint.c cc: warning: argument unused during compilation: '-L/usr/lib' [-Wunused-command-line-argument] ./compile fmt_uint0.c cc: warning: argument unused during compilation: '-L/usr/lib' [-Wunused-command-line-argument] ./compile fmt_ulong.c cc: warning: argument unused during compilation: '-L/usr/lib' [-Wunused-command-line-argument] ./compile scan_ulong.c cc: warning: argument unused during compilation: '-L/usr/lib' [-Wunused-command-line-argument] ./compile scan_8long.c cc: warning: argument unused during compilation: '-L/usr/lib' [-Wunused-command-line-argument] ./makelib fs.a fmt_str.o fmt_strn.o fmt_uint.o fmt_uint0.o fmt_ulong.o scan_ulong.o scan_8long.o ./compile datetime.c cc: warning: argument unused during compilation: '-L/usr/lib' [-Wunused-command-line-argument] ./compile datetime_un.c cc: warning: argument unused during compilation: '-L/usr/lib' [-Wunused-command-line-argument] ./makelib datetime.a datetime.o datetime_un.o ./compile auto-str.c cc: warning: argument unused during compilation: '-L/usr/lib' [-Wunused-command-line-argument] auto-str.c:32:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (ch = *value++) { ~~~^~~~~~~~~~ auto-str.c:32:13: note: place parentheses around the assignment to silence this warning while (ch = *value++) { ^ ( ) auto-str.c:32:13: note: use '==' to turn this assignment into an equality comparison while (ch = *value++) { ^ == 1 warning generated. ./load auto-str substdio.a error.a str.a ./auto-str auto_qmail `head -1 conf-qmail` > auto_qmail.c ./compile auto_qmail.c cc: warning: argument unused during compilation: '-L/usr/lib' [-Wunused-command-line-argument] ./compile auto-int8.c cc: warning: argument unused during compilation: '-L/usr/lib' [-Wunused-command-line-argument] auto-int8.c:30:3: warning: implicit declaration of function 'scan_8long' is invalid in C99 [-Wimplicit-function-declaration] scan_8long(value,&num); ^ 1 warning generated. ./load auto-int8 substdio.a error.a str.a fs.a ./auto-int8 auto_patrn `head -1 conf-patrn` > auto_patrn.c ./compile auto_patrn.c cc: warning: argument unused during compilation: '-L/usr/lib' [-Wunused-command-line-argument] ( ( ./compile trylsock.c && ./load trylsock -lsocket -lnsl ) >/dev/null 2>&1 && echo -lsocket -lnsl || exit 0 ) > socket.lib rm -f trylsock.o trylsock ./load qmail-local qmail.o quote.o now.o gfrom.o myctime.o slurpclose.o case.a getln.a getopt.a sig.a open.a seek.a lock.a fd.a wait.a env.a stralloc.a alloc.a strerr.a substdio.a error.a str.a fs.a datetime.a auto_qmail.o auto_patrn.o `cat socket.lib` ( ( ./compile tryulong32.c && ./load tryulong32 && ./tryulong32 ) >/dev/null 2>&1 && cat uint32.h2 || cat uint32.h1 ) > uint32.h rm -f tryulong32.o tryulong32 ./compile qmail-lspawn.c cc: warning: argument unused during compilation: '-L/usr/lib' [-Wunused-command-line-argument] qmail-lspawn.c:95:7: warning: implicit declaration of function 'open_read' is invalid in C99 [-Wimplicit-function-declaration] fd = open_read("users/cdb"); ^ qmail-lspawn.c:117:36: warning: implicit declaration of function 'byte_chr' is invalid in C99 [-Wimplicit-function-declaration] if (!flagwild || (i == 1) || (byte_chr(wildchars.s,wildchars.len,lower.s[i - 1]) < wildchars.len)) ^ qmail-lspawn.c:129:10: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration] close(fd); ^ qmail-lspawn.c:138:4: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration] close(fd); ^ qmail-lspawn.c:141:6: warning: implicit declaration of function 'pipe' is invalid in C99 [-Wimplicit-function-declaration] if (pipe(pi) == -1) _exit(QLX_SYS); ^ qmail-lspawn.c:152:6: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration] close(pi[0]); ^ qmail-lspawn.c:154:6: warning: implicit declaration of function 'execv' is invalid in C99 [-Wimplicit-function-declaration] execv(*args,args); ^ qmail-lspawn.c:157:2: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration] close(pi[1]); ^ qmail-lspawn.c:187:8: warning: implicit declaration of function 'chdir' is invalid in C99 [-Wimplicit-function-declaration] if (chdir(auto_qmail) == -1) _exit(QLX_USAGE); ^ qmail-lspawn.c:197:8: warning: implicit declaration of function 'byte_chr' is invalid in C99 [-Wimplicit-function-declaration] n = byte_chr(x,xlen,0); if (n++ == xlen) _exit(QLX_USAGE); x += n; xlen -= n; ^ qmail-lspawn.c:227:9: warning: implicit declaration of function 'getuid' is invalid in C99 [-Wimplicit-function-declaration] if (!getuid()) _exit(QLX_ROOT); ^ qmail-lspawn.c:229:4: warning: implicit declaration of function 'execv' is invalid in C99 [-Wimplicit-function-declaration] execv(*args,args); ^ 12 warnings generated. ( ./compile trysysel.c >/dev/null 2>&1 && cat select.h2 || cat select.h1 ) > select.h rm -f trysysel.o trysysel ./compile chkspawn.c cc: warning: argument unused during compilation: '-L/usr/lib' [-Wunused-command-line-argument] ./compile auto-int.c cc: warning: argument unused during compilation: '-L/usr/lib' [-Wunused-command-line-argument] ./load auto-int substdio.a error.a str.a fs.a ./auto-int auto_spawn `head -1 conf-spawn` > auto_spawn.c ./compile auto_spawn.c cc: warning: argument unused during compilation: '-L/usr/lib' [-Wunused-command-line-argument] ./load chkspawn substdio.a error.a str.a fs.a auto_spawn.o ./chkspawn ./compile spawn.c cc: warning: argument unused during compilation: '-L/usr/lib' [-Wunused-command-line-argument] spawn.c:47:8: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration] close(d[i].fdout); d[i].fdout = -1; ^ spawn.c:58:6: warning: implicit declaration of function 'write' is invalid in C99 [-Wimplicit-function-declaration] w = write(fd,buf,n); ^ spawn.c:61:19: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration] flagwriting = 0; close(fd); ^ spawn.c:112:5: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration] { close(fdmess); err("Zqmail-spawn unable to fstat message. (#4.3.0)\n"); return; } ^ spawn.c:114:5: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration] { close(fdmess); err("ZSorry, message has wrong type. (#4.3.5)\n"); return; } ^ spawn.c:117:5: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration] { close(fdmess); err("ZSorry, message has wrong owner. (#4.3.5)\n"); return; } ^ spawn.c:119:6: warning: implicit declaration of function 'pipe' is invalid in C99 [-Wimplicit-function-declaration] if (pipe(pi) == -1) ^ spawn.c:120:5: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration] { close(fdmess); err("Zqmail-spawn unable to create pipe. (#4.3.0)\n"); return; } ^ spawn.c:125:2: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration] close(fdmess); ^ spawn.c:143:6: warning: implicit declaration of function 'read' is invalid in C99 [-Wimplicit-function-declaration] r = read(0,cmdbuf,sizeof(cmdbuf)); ^ spawn.c:190:6: warning: implicit declaration of function 'chdir' is invalid in C99 [-Wimplicit-function-declaration] if (chdir(auto_qmail) == -1) _exit(111); ^ spawn.c:236:7: warning: implicit declaration of function 'read' is invalid in C99 [-Wimplicit-function-declaration] r = read(d[i].fdin,inbuf,128); ^ spawn.c:245:5: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration] close(d[i].fdin); d[i].used = 0; ^ spawn.c:248:47: warning: implicit declaration of function 'sleep' is invalid in C99 [-Wimplicit-function-declaration] while (!stralloc_readyplus(&d[i].output,r)) sleep(10); /*XXX*/ ^ 14 warnings generated. ./compile chkshsgr.c cc: warning: argument unused during compilation: '-L/usr/lib' [-Wunused-command-line-argument] chkshsgr.c:7:6: warning: implicit declaration of function 'getgroups' is invalid in C99 [-Wimplicit-function-declaration] if (getgroups(1,x) == 0) if (setgroups(1,x) == -1) _exit(1); ^ chkshsgr.c:7:31: warning: implicit declaration of function 'setgroups' is invalid in C99 [-Wimplicit-function-declaration] if (getgroups(1,x) == 0) if (setgroups(1,x) == -1) _exit(1); ^ 2 warnings generated. ./load chkshsgr ./chkshsgr || ( cat warn-shsgr; exit 1 ) ( ( ./compile tryshsgr.c && ./load tryshsgr && ./tryshsgr ) >/dev/null 2>&1 && echo \#define HASSHORTSETGROUPS 1 || exit 0 ) > hasshsgr.h rm -f tryshsgr.o tryshsgr ./compile prot.c cc: warning: argument unused during compilation: '-L/usr/lib' [-Wunused-command-line-argument] prot.c:13:7: warning: implicit declaration of function 'setgroups' is invalid in C99 [-Wimplicit-function-declaration] if (setgroups(1,&gid) == -1) return -1; ^ prot.c:15:10: warning: implicit declaration of function 'setgid' is invalid in C99 [-Wimplicit-function-declaration] return setgid(gid); /* _should_ be redundant, but on some systems it isn't */ ^ prot.c:20:10: warning: implicit declaration of function 'setuid' is invalid in C99 [-Wimplicit-function-declaration] return setuid(uid); ^ 3 warnings generated. ./compile coe.c cc: warning: argument unused during compilation: '-L/usr/lib' [-Wunused-command-line-argument] ./compile cdb_hash.c cc: warning: argument unused during compilation: '-L/usr/lib' [-Wunused-command-line-argument] ./compile cdb_unpack.c cc: warning: argument unused during compilation: '-L/usr/lib' [-Wunused-command-line-argument] ./compile cdb_seek.c cc: warning: argument unused during compilation: '-L/usr/lib' [-Wunused-command-line-argument] cdb_seek.c:17:11: warning: implicit declaration of function 'read' is invalid in C99 [-Wimplicit-function-declaration] r = read(fd,buf,len); ^ 1 warning generated. ./makelib cdb.a cdb_hash.o cdb_unpack.o cdb_seek.o mv auto_uids.c.dist auto_uids.c ./compile auto_uids.c cc: warning: argument unused during compilation: '-L/usr/lib' [-Wunused-command-line-argument] ./load qmail-lspawn spawn.o prot.o slurpclose.o coe.o sig.a wait.a case.a cdb.a fd.a open.a stralloc.a alloc.a substdio.a error.a str.a fs.a auto_qmail.o auto_uids.o auto_spawn.o ./compile qmail-getpw.c cc: warning: argument unused during compilation: '-L/usr/lib' [-Wunused-command-line-argument] qmail-getpw.c:48:6: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ 1 warning generated. ./auto-str auto_break "`head -1 conf-break`" > auto_break.c ./compile auto_break.c cc: warning: argument unused during compilation: '-L/usr/lib' [-Wunused-command-line-argument] ./auto-str auto_usera `head -1 conf-users` > auto_usera.c ./compile auto_usera.c cc: warning: argument unused during compilation: '-L/usr/lib' [-Wunused-command-line-argument] ./load qmail-getpw case.a substdio.a error.a str.a fs.a auto_break.o auto_usera.o ./compile qmail-remote.c cc: warning: argument unused during compilation: '-L/usr/lib' [-Wunused-command-line-argument] qmail-remote.c:114:26: warning: passing 'const char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] if (ssl_err_str) { out(ssl_err_str); out(" "); } ^~~~~~~~~~~ qmail-remote.c:176:7: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] get(&ch); code = ch - '0'; ^~~ qmail-remote.c:177:7: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] get(&ch); code = code * 10 + (ch - '0'); ^~~ qmail-remote.c:178:7: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] get(&ch); code = code * 10 + (ch - '0'); ^~~ qmail-remote.c:180:9: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] get(&ch); ^~~ qmail-remote.c:182:28: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] while (ch != '\n') get(&ch); ^~~ qmail-remote.c:183:9: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] get(&ch); ^~~ qmail-remote.c:184:9: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] get(&ch); ^~~ qmail-remote.c:185:9: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] get(&ch); ^~~ qmail-remote.c:187:26: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] while (ch != '\n') get(&ch); ^~~ qmail-remote.c:269:24: error: incomplete definition of type 'struct ssl_st' int state = ssl ? ssl->state : SSL_ST_BEFORE; ~~~^ /usr/include/openssl/ossl_typ.h:147:16: note: forward declaration of 'struct ssl_st' typedef struct ssl_st SSL; ^ qmail-remote.c:269:34: error: use of undeclared identifier 'SSL_ST_BEFORE'; did you mean 'TLS_ST_BEFORE'? int state = ssl ? ssl->state : SSL_ST_BEFORE; ^~~~~~~~~~~~~ TLS_ST_BEFORE /usr/include/openssl/ssl.h:979:5: note: 'TLS_ST_BEFORE' declared here TLS_ST_BEFORE, ^ qmail-remote.c:270:15: error: use of undeclared identifier 'SSL_ST_OK'; did you mean 'TLS_ST_OK'? if (state & SSL_ST_OK || (!smtps && state & SSL_ST_BEFORE)) ^~~~~~~~~ TLS_ST_OK /usr/include/openssl/ssl.h:980:5: note: 'TLS_ST_OK' declared here TLS_ST_OK, ^ qmail-remote.c:270:47: error: use of undeclared identifier 'SSL_ST_BEFORE'; did you mean 'TLS_ST_BEFORE'? if (state & SSL_ST_OK || (!smtps && state & SSL_ST_BEFORE)) ^~~~~~~~~~~~~ TLS_ST_BEFORE /usr/include/openssl/ssl.h:979:5: note: 'TLS_ST_BEFORE' declared here TLS_ST_BEFORE, ^ qmail-remote.c:337:7: warning: passing 'const char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] out(s1); if (s2) { out(": "); out(s2); } TLS_QUIT; ^~ qmail-remote.c:337:37: warning: passing 'const char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] out(s1); if (s2) { out(": "); out(s2); } TLS_QUIT; ^~ qmail-remote.c:391:43: warning: passing 'const char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] out("ZNo TLS achieved while "); out(servercert); ^~~~~~~~~~ qmail-remote.c:453:11: warning: passing 'const char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] out(servercert); out(" exists"); TLS_QUIT; ^~~~~~~~~~ qmail-remote.c:490:29: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (match_partner(gn->d.ia5->data, gn->d.ia5->length)){ ^~~~~~~~~~~~~~~ qmail-remote.c:341:31: note: passing argument to parameter 's' here int match_partner(const char *s, int len) ^ qmail-remote.c:505:60: error: incomplete definition of type 'struct X509_name_entry_st' const ASN1_STRING *s = X509_NAME_get_entry(subj, i)->value; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ /usr/include/openssl/x509.h:73:16: note: forward declaration of 'struct X509_name_entry_st' typedef struct X509_name_entry_st X509_NAME_ENTRY; ^ qmail-remote.c:506:47: warning: assigning to 'char *' from 'unsigned char *const' converts between pointers to integer types with different sign [-Wpointer-sign] if (s) { peer.len = s->length; peer.s = s->data; } ^ ~~~~~~~ qmail-remote.c:697:7: warning: implicit declaration of function 'chdir' is invalid in C99 [-Wimplicit-function-declaration] if (chdir(auto_qmail) == -1) temp_chdir(); ^ qmail-remote.c:706:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (relayhost = constmap(&maproutes,host.s + i,host.len - i)) ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qmail-remote.c:706:21: note: place parentheses around the assignment to silence this warning if (relayhost = constmap(&maproutes,host.s + i,host.len - i)) ^ ( ) qmail-remote.c:706:21: note: use '==' to turn this assignment into an equality comparison if (relayhost = constmap(&maproutes,host.s + i,host.len - i)) ^ == qmail-remote.c:737:21: warning: implicit declaration of function 'getpid' is invalid in C99 [-Wimplicit-function-declaration] random = now() + (getpid() << 16); ^ qmail-remote.c:779:5: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration] close(smtpfd); ^ 20 warnings and 5 errors generated. *** Error code 1 Stop. make[1]: stopped in /wrkdirs/usr/ports/mail/qmail-tls/work/netqmail-1.06 *** Error code 1 Stop. make: stopped in /usr/ports/mail/qmail-tls build of mail/qmail-tls | netqmail-tls-1.06.20160918_2 ended at Thu Jan 31 07:38:45 CET 2019 build time: 00:00:06 !!! build failure encountered !!! [00:00:44] Cleaning up [00:00:44] Unmounting file systems