=>> Building mail/dk-milter build started at Tue Apr 2 16:40:41 BST 2024 port directory: /usr/ports/mail/dk-milter package name: dk-milter-1.0.2_7 building for: FreeBSD pkg-builder.dan.net.uk 13.2-RELEASE-p10 FreeBSD 13.2-RELEASE-p10 amd64 maintained by: ports@FreeBSD.org Makefile datestamp: -rw-r--r-- 1 root wheel 3173 Jan 11 20:37 /usr/ports/mail/dk-milter/Makefile Ports top last git commit: c2c35d895e Ports top unclean checkout: yes Port dir last git commit: 77f59b584e Port dir unclean checkout: no Poudriere version: poudriere-git-3.4.99.20240122_1 Host OSVERSION: 1400097 Jail OSVERSION: 1302001 Job Id: 11 ---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/11/.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--- ===> The following configuration options are available for dk-milter-1.0.2_7: DOCS=on: Build and/or install documentation ===> Use 'make config' to modify these settings ---End OPTIONS List--- --MAINTAINER-- ports@FreeBSD.org --End MAINTAINER-- --CONFIGURE_ARGS-- --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- XDG_DATA_HOME=/wrkdirs/usr/ports/mail/dk-milter/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/mail/dk-milter/work XDG_CACHE_HOME=/wrkdirs/usr/ports/mail/dk-milter/work/.cache HOME=/wrkdirs/usr/ports/mail/dk-milter/work TMPDIR="/tmp" PATH=/ccache/libexec/ccache:/wrkdirs/usr/ports/mail/dk-milter/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/mail/dk-milter/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-- OPENSSLBASE=/usr/local OPENSSLDIR=/usr/local/openssl OPENSSLINC=/usr/local/include OPENSSLLIB=/usr/local/lib OPENSSLRPATH=/usr/local/lib XDG_DATA_HOME=/wrkdirs/usr/ports/mail/dk-milter/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/mail/dk-milter/work XDG_CACHE_HOME=/wrkdirs/usr/ports/mail/dk-milter/work/.cache HOME=/wrkdirs/usr/ports/mail/dk-milter/work TMPDIR="/tmp" PATH=/ccache/libexec/ccache:/wrkdirs/usr/ports/mail/dk-milter/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/mail/dk-milter/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=" -Wl,-rpath,/usr/local/lib -Wl,-rpath,/usr/lib:/usr/local/lib -L/usr/lib -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-- PORTDOCS="" OSREL=13.2 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/dk-milter" EXAMPLESDIR="share/examples/dk-milter" DATADIR="share/dk-milter" WWWDIR="www/dk-milter" ETCDIR="etc/dk-milter" --End PLIST_SUB-- --SUB_LIST-- "RC_SCRIPT=/usr/local/etc/rc.d/milter-dk" PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/dk-milter DOCSDIR=/usr/local/share/doc/dk-milter EXAMPLESDIR=/usr/local/share/examples/dk-milter WWWDIR=/usr/local/www/dk-milter ETCDIR=/usr/local/etc/dk-milter --End SUB_LIST-- ---Begin make.conf--- USE_PACKAGE_DEPENDS=yes BATCH=yes WRKDIRPREFIX=/wrkdirs PORTSDIR=/usr/ports PACKAGES=/packages DISTDIR=/distfiles FORCE_PACKAGE=yes PACKAGE_BUILDING=yes PACKAGE_BUILDING_FLAVORS=yes #### #### CCACHE_CPP2=1 WITH_SSP_PORTS=yes WITH_SSP=yes #WITH_LTO=yes DISABLE_LICENSES=yes LICENSES_ACCEPTED=AGPLv3 APACHE10 APACHE11 APACHE20 ART10 ARTPERL10 ART20 BSD BSD2CLAUSE BSD3CLAUSE BSD4CLAUSE BSL CC0-1.0 CDDL ClArtistic EPL GFDL GMGPL GPLv1 GPLv2 GPLv3 GPLv3RLE ISCL LGPL20 LGPL21 LGPL3 LPPL10 LPPL11 LPPL12 LPPL13 LPPL13a LPPL13b LPPL13c MIT MPL OpenSSL OFL10 OFL11 OWL PostgreSQL PHP202 PHP30 PHP301 PSFL RUBY ZLIB ZPL21 SVM-Light EULA ALASIR Microsoft-exFAT SIMIAN UDEVGAME unknown MTA COMMERCIAL teamspeak NO_LICENSES_DIALOGS=yes #### #### NO_IGNORE=yes DEFAULT_VERSIONS+=ssl=openssl mysql=8.0 imagemagick=7 samba=4.13 java=18 WITH_SETID_MODE=force PHP_ZTS=enabled OPTIONS_UNSET+=OPENJPEG OPTIONS_UNSET+=GSSAPI_BASE OPTIONS_SET+=ZTS OPTIONS_SET+=GSSAPI_NONE WITH_CCACHE_BUILD=yes CCACHE_DIR=/root/.ccache NO_CCACHE_DEPEND=1 CCACHE_WRAPPER_PATH= /ccache/libexec/ccache #### Misc Poudriere #### .include "/etc/make.conf.ports_env" GID=0 UID=0 DISABLE_MAKE_JOBS=poudriere ---End make.conf--- --Resource limits-- cpu time (seconds, -t) unlimited file size (512-blocks, -f) unlimited data seg size (kbytes, -d) 33554432 stack size (kbytes, -s) 524288 core file size (512-blocks, -c) unlimited max memory size (kbytes, -m) unlimited locked memory (kbytes, -l) unlimited max user processes (-u) 89999 open files (-n) 8192 virtual mem size (kbytes, -v) unlimited swap limit (kbytes, -w) unlimited socket buffer size (bytes, -b) unlimited pseudo-terminals (-p) unlimited kqueues (-k) unlimited umtx shared locks (-o) unlimited --End resource limits-- =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The dk-milter port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://docs.freebsd.org/en/articles/contributing/#ports-contributing =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> dk-milter-1.0.2_7 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 ===> dk-milter-1.0.2_7 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of dk-milter-1.0.2_7 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The dk-milter port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://docs.freebsd.org/en/articles/contributing/#ports-contributing ===> Fetching all distfiles required by dk-milter-1.0.2_7 for building =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The dk-milter port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://docs.freebsd.org/en/articles/contributing/#ports-contributing ===> Fetching all distfiles required by dk-milter-1.0.2_7 for building => SHA256 Checksum OK for dk-milter-1.0.2.tar.gz. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The dk-milter port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://docs.freebsd.org/en/articles/contributing/#ports-contributing ===> Fetching all distfiles required by dk-milter-1.0.2_7 for building ===> Extracting for dk-milter-1.0.2_7 => SHA256 Checksum OK for dk-milter-1.0.2.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 dk-milter-1.0.2_7 ===> Applying FreeBSD patches for dk-milter-1.0.2_7 from /usr/ports/mail/dk-milter/files =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> dk-milter-1.0.2_7 depends on file: /usr/local/lib/libcrypto.so.12 - not found ===> Installing existing package /packages/All/openssl-3.0.13_1,1.pkg [pkg-builder.dan.net.uk] Installing openssl-3.0.13_1,1... [pkg-builder.dan.net.uk] Extracting openssl-3.0.13_1,1: .......... done ===> dk-milter-1.0.2_7 depends on file: /usr/local/lib/libcrypto.so.12 - found ===> Returning to build of dk-milter-1.0.2_7 ===> dk-milter-1.0.2_7 depends on executable: groff - not found ===> Installing existing package /packages/All/groff-1.23.0_3.pkg [pkg-builder.dan.net.uk] Installing groff-1.23.0_3... [pkg-builder.dan.net.uk] `-- Installing indexinfo-0.3.1... [pkg-builder.dan.net.uk] `-- Extracting indexinfo-0.3.1: . done [pkg-builder.dan.net.uk] `-- Installing libiconv-1.17_1... [pkg-builder.dan.net.uk] `-- Extracting libiconv-1.17_1: .......... done [pkg-builder.dan.net.uk] `-- Installing perl5-5.36.3_1... [pkg-builder.dan.net.uk] `-- Extracting perl5-5.36.3_1: .......... done [pkg-builder.dan.net.uk] `-- Installing psutils-1.17_6... [pkg-builder.dan.net.uk] | `-- Installing libpaper-1.1.28_1... [pkg-builder.dan.net.uk] | `-- Extracting libpaper-1.1.28_1: .......... done [pkg-builder.dan.net.uk] `-- Extracting psutils-1.17_6: .......... done [pkg-builder.dan.net.uk] `-- Installing uchardet-0.0.8_1... [pkg-builder.dan.net.uk] `-- Extracting uchardet-0.0.8_1: .......... done [pkg-builder.dan.net.uk] Extracting groff-1.23.0_3: .......... done ===== Message from groff-1.23.0_3: -- In order to be able to use the html driver, you need to install the following packages: - ghostscript - netpbm ===> dk-milter-1.0.2_7 depends on executable: groff - found ===> Returning to build of dk-milter-1.0.2_7 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Configuring for dk-milter-1.0.2_7 /usr/bin/sed -i.bak -e 's|%%LOCALBASE%%|/usr/local|g' -e "s|\`-O'|\`-O2 -pipe -fstack-protector-strong -fno-strict-aliasing '|g" /wrkdirs/usr/ports/mail/dk-milter/work/dk-milter-1.0.2/devtools/OS/FreeBSD /usr/bin/sed -e "s|%%PREFIX%%|/usr/local|g" -e "s|%%LOCALBASE%%|/usr/local|g" -e 's|%%BDB%%|dnl |g' -e '\|-static|s|%%STATIC%%|dnl |g' -e '\|bld_USE_ARLIB|s/^dnl //g' -e 's|%%OPENSSL%%||g' -e "s|%%OPENSSLINC%%|/usr/local/include|g" -e "s|%%OPENSSLLIB%%|/usr/local/lib|g" -e '\|^dnl |d' -e '/^dnl$/d' /usr/ports/mail/dk-milter/files/site.config.m4 /wrkdirs/usr/ports/mail/dk-milter/work/dk-milter-1.0.2/site.config.m4.dist > /wrkdirs/usr/ports/mail/dk-milter/work/dk-milter-1.0.2/devtools/Site/site.config.m4 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building for dk-milter-1.0.2_7 Making all in: /wrkdirs/usr/ports/mail/dk-milter/work/dk-milter-1.0.2/libar Configuration: pfx=, os=FreeBSD, rel=13.2-RELEASE-p10, rbase=13, rroot=13.2-RELEASE-p10, arch=amd64, sfx=, variant=optimized Using M4=/usr/bin/m4 Creating /wrkdirs/usr/ports/mail/dk-milter/work/dk-milter-1.0.2/obj.FreeBSD.13.2-RELEASE-p10.amd64/libar using /wrkdirs/usr/ports/mail/dk-milter/work/dk-milter-1.0.2/devtools/OS/FreeBSD Including /wrkdirs/usr/ports/mail/dk-milter/work/dk-milter-1.0.2/devtools/Site/site.config.m4 Making dependencies in /wrkdirs/usr/ports/mail/dk-milter/work/dk-milter-1.0.2/obj.FreeBSD.13.2-RELEASE-p10.amd64/libar rm -f sm_os.h ln -f -s ../../include/sm/os/sm_os_freebsd.h sm_os.h mkdep -a -f Makefile -I. -I../../include -I/usr/local/include -D_THREAD_SAFE ar.c manual.c Making in /wrkdirs/usr/ports/mail/dk-milter/work/dk-milter-1.0.2/obj.FreeBSD.13.2-RELEASE-p10.amd64/libar cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I../../include -I/usr/local/include -D_THREAD_SAFE -DXP_MT -c ar.c -o ar.o ar.c:1269:2: warning: implicit declaration of function 'ar_res_parse' is invalid in C99 [-Wimplicit-function-declaration] ar_res_parse(&new->ar_nscount, new->ar_nsaddrs, ^ 1 warning generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I../../include -I/usr/local/include -D_THREAD_SAFE -DXP_MT -c manual.c -o manual.o ar crv libar.a ar.o manual.o a - ar.o a - manual.o ranlib libar.a groff -Tascii -man ar.3 > ar.0 || cp ar.0.dist ar.0 Making all in: /wrkdirs/usr/ports/mail/dk-milter/work/dk-milter-1.0.2/libdk Configuration: pfx=, os=FreeBSD, rel=13.2-RELEASE-p10, rbase=13, rroot=13.2-RELEASE-p10, arch=amd64, sfx=, variant=optimized Using M4=/usr/bin/m4 Creating /wrkdirs/usr/ports/mail/dk-milter/work/dk-milter-1.0.2/obj.FreeBSD.13.2-RELEASE-p10.amd64/libdk using /wrkdirs/usr/ports/mail/dk-milter/work/dk-milter-1.0.2/devtools/OS/FreeBSD Including /wrkdirs/usr/ports/mail/dk-milter/work/dk-milter-1.0.2/devtools/Site/site.config.m4 Making dependencies in /wrkdirs/usr/ports/mail/dk-milter/work/dk-milter-1.0.2/obj.FreeBSD.13.2-RELEASE-p10.amd64/libdk rm -f sm_os.h ln -f -s ../../include/sm/os/sm_os_freebsd.h sm_os.h mkdep -a -f Makefile -I. -I../../include -I/usr/local/include -I../libar/ -DUSE_ARLIB -D_THREAD_SAFE dk.c rfc2822.c util.c Making in /wrkdirs/usr/ports/mail/dk-milter/work/dk-milter-1.0.2/obj.FreeBSD.13.2-RELEASE-p10.amd64/libdk (cd ../../libsm; sh Build ) Configuration: pfx=, os=FreeBSD, rel=13.2-RELEASE-p10, rbase=13, rroot=13.2-RELEASE-p10, arch=amd64, sfx=, variant=optimized Using M4=/usr/bin/m4 Creating /wrkdirs/usr/ports/mail/dk-milter/work/dk-milter-1.0.2/obj.FreeBSD.13.2-RELEASE-p10.amd64/libsm using /wrkdirs/usr/ports/mail/dk-milter/work/dk-milter-1.0.2/devtools/OS/FreeBSD Including /wrkdirs/usr/ports/mail/dk-milter/work/dk-milter-1.0.2/devtools/Site/site.config.m4 Making dependencies in /wrkdirs/usr/ports/mail/dk-milter/work/dk-milter-1.0.2/obj.FreeBSD.13.2-RELEASE-p10.amd64/libsm rm -f sm_os.h ln -f -s ../../include/sm/os/sm_os_freebsd.h sm_os.h mkdep -a -f Makefile -I. -I../../include -I/usr/local/include -DNEWDB -DNIS -DMAP_REGEX assert.c debug.c errstring.c exc.c heap.c match.c rpool.c strdup.c strerror.c strl.c clrerr.c fclose.c feof.c ferror.c fflush.c fget.c fpos.c findfp.c flags.c fopen.c fprintf.c fpurge.c fput.c fread.c fscanf.c fseek.c fvwrite.c fwalk.c fwrite.c get.c makebuf.c put.c refill.c rewind.c setvbuf.c smstdio.c snprintf.c sscanf.c stdio.c strio.c ungetc.c vasprintf.c vfprintf.c vfscanf.c vprintf.c vsnprintf.c wbuf.c wsetup.c string.c stringf.c xtrap.c strto.c test.c path.c strcasecmp.c strrevcmp.c signal.c clock.c config.c shm.c sem.c mbdb.c strexit.c cf.c ldap.c niprop.c mpeix.c memstat.c util.c Making in /wrkdirs/usr/ports/mail/dk-milter/work/dk-milter-1.0.2/obj.FreeBSD.13.2-RELEASE-p10.amd64/libsm cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I../../include -I/usr/local/include -DNEWDB -DNIS -DMAP_REGEX -c assert.c -o assert.o cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I../../include -I/usr/local/include -DNEWDB -DNIS -DMAP_REGEX -c debug.c -o debug.o cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I../../include -I/usr/local/include -DNEWDB -DNIS -DMAP_REGEX -c errstring.c -o errstring.o cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I../../include -I/usr/local/include -DNEWDB -DNIS -DMAP_REGEX -c exc.c -o exc.o cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I../../include -I/usr/local/include -DNEWDB -DNIS -DMAP_REGEX -c heap.c -o heap.o cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I../../include -I/usr/local/include -DNEWDB -DNIS -DMAP_REGEX -c match.c -o match.o cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I../../include -I/usr/local/include -DNEWDB -DNIS -DMAP_REGEX -c rpool.c -o rpool.o cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I../../include -I/usr/local/include -DNEWDB -DNIS -DMAP_REGEX -c strdup.c -o strdup.o cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I../../include -I/usr/local/include -DNEWDB -DNIS -DMAP_REGEX -c strerror.c -o strerror.o cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I../../include -I/usr/local/include -DNEWDB -DNIS -DMAP_REGEX -c strl.c -o strl.o cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I../../include -I/usr/local/include -DNEWDB -DNIS -DMAP_REGEX -c clrerr.c -o clrerr.o cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I../../include -I/usr/local/include -DNEWDB -DNIS -DMAP_REGEX -c fclose.c -o fclose.o cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I../../include -I/usr/local/include -DNEWDB -DNIS -DMAP_REGEX -c feof.c -o feof.o cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I../../include -I/usr/local/include -DNEWDB -DNIS -DMAP_REGEX -c ferror.c -o ferror.o cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I../../include -I/usr/local/include -DNEWDB -DNIS -DMAP_REGEX -c fflush.c -o fflush.o cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I../../include -I/usr/local/include -DNEWDB -DNIS -DMAP_REGEX -c fget.c -o fget.o cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I../../include -I/usr/local/include -DNEWDB -DNIS -DMAP_REGEX -c fpos.c -o fpos.o cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I../../include -I/usr/local/include -DNEWDB -DNIS -DMAP_REGEX -c findfp.c -o findfp.o cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I../../include -I/usr/local/include -DNEWDB -DNIS -DMAP_REGEX -c flags.c -o flags.o cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I../../include -I/usr/local/include -DNEWDB -DNIS -DMAP_REGEX -c fopen.c -o fopen.o cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I../../include -I/usr/local/include -DNEWDB -DNIS -DMAP_REGEX -c fprintf.c -o fprintf.o cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I../../include -I/usr/local/include -DNEWDB -DNIS -DMAP_REGEX -c fpurge.c -o fpurge.o cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I../../include -I/usr/local/include -DNEWDB -DNIS -DMAP_REGEX -c fput.c -o fput.o cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I../../include -I/usr/local/include -DNEWDB -DNIS -DMAP_REGEX -c fread.c -o fread.o cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I../../include -I/usr/local/include -DNEWDB -DNIS -DMAP_REGEX -c fscanf.c -o fscanf.o cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I../../include -I/usr/local/include -DNEWDB -DNIS -DMAP_REGEX -c fseek.c -o fseek.o cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I../../include -I/usr/local/include -DNEWDB -DNIS -DMAP_REGEX -c fvwrite.c -o fvwrite.o cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I../../include -I/usr/local/include -DNEWDB -DNIS -DMAP_REGEX -c fwalk.c -o fwalk.o cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I../../include -I/usr/local/include -DNEWDB -DNIS -DMAP_REGEX -c fwrite.c -o fwrite.o cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I../../include -I/usr/local/include -DNEWDB -DNIS -DMAP_REGEX -c get.c -o get.o cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I../../include -I/usr/local/include -DNEWDB -DNIS -DMAP_REGEX -c makebuf.c -o makebuf.o cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I../../include -I/usr/local/include -DNEWDB -DNIS -DMAP_REGEX -c put.c -o put.o cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I../../include -I/usr/local/include -DNEWDB -DNIS -DMAP_REGEX -c refill.c -o refill.o cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I../../include -I/usr/local/include -DNEWDB -DNIS -DMAP_REGEX -c rewind.c -o rewind.o cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I../../include -I/usr/local/include -DNEWDB -DNIS -DMAP_REGEX -c setvbuf.c -o setvbuf.o cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I../../include -I/usr/local/include -DNEWDB -DNIS -DMAP_REGEX -c smstdio.c -o smstdio.o cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I../../include -I/usr/local/include -DNEWDB -DNIS -DMAP_REGEX -c snprintf.c -o snprintf.o cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I../../include -I/usr/local/include -DNEWDB -DNIS -DMAP_REGEX -c sscanf.c -o sscanf.o cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I../../include -I/usr/local/include -DNEWDB -DNIS -DMAP_REGEX -c stdio.c -o stdio.o cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I../../include -I/usr/local/include -DNEWDB -DNIS -DMAP_REGEX -c strio.c -o strio.o cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I../../include -I/usr/local/include -DNEWDB -DNIS -DMAP_REGEX -c ungetc.c -o ungetc.o cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I../../include -I/usr/local/include -DNEWDB -DNIS -DMAP_REGEX -c vasprintf.c -o vasprintf.o cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I../../include -I/usr/local/include -DNEWDB -DNIS -DMAP_REGEX -c vfprintf.c -o vfprintf.o cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I../../include -I/usr/local/include -DNEWDB -DNIS -DMAP_REGEX -c vfscanf.c -o vfscanf.o cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I../../include -I/usr/local/include -DNEWDB -DNIS -DMAP_REGEX -c vprintf.c -o vprintf.o cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I../../include -I/usr/local/include -DNEWDB -DNIS -DMAP_REGEX -c vsnprintf.c -o vsnprintf.o cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I../../include -I/usr/local/include -DNEWDB -DNIS -DMAP_REGEX -c wbuf.c -o wbuf.o cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I../../include -I/usr/local/include -DNEWDB -DNIS -DMAP_REGEX -c wsetup.c -o wsetup.o cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I../../include -I/usr/local/include -DNEWDB -DNIS -DMAP_REGEX -c string.c -o string.o cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I../../include -I/usr/local/include -DNEWDB -DNIS -DMAP_REGEX -c stringf.c -o stringf.o cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I../../include -I/usr/local/include -DNEWDB -DNIS -DMAP_REGEX -c xtrap.c -o xtrap.o cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I../../include -I/usr/local/include -DNEWDB -DNIS -DMAP_REGEX -c strto.c -o strto.o cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I../../include -I/usr/local/include -DNEWDB -DNIS -DMAP_REGEX -c test.c -o test.o test.c:110:7: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'bool' declared in a previous prototype [-Wknr-promoted-parameter] bool success; ^ ../../include/sm/test.h:38:7: note: previous declaration is here bool _success, ^ 1 warning generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I../../include -I/usr/local/include -DNEWDB -DNIS -DMAP_REGEX -c path.c -o path.o cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I../../include -I/usr/local/include -DNEWDB -DNIS -DMAP_REGEX -c strcasecmp.c -o strcasecmp.o cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I../../include -I/usr/local/include -DNEWDB -DNIS -DMAP_REGEX -c strrevcmp.c -o strrevcmp.o cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I../../include -I/usr/local/include -DNEWDB -DNIS -DMAP_REGEX -c signal.c -o signal.o signal.c:276:7: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'bool' declared in a previous prototype [-Wknr-promoted-parameter] bool block; ^ ../../include/sm/signal.h:79:37: note: previous declaration is here extern void sm_allsignals __P((bool)); ^ 1 warning generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I../../include -I/usr/local/include -DNEWDB -DNIS -DMAP_REGEX -c clock.c -o clock.o cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I../../include -I/usr/local/include -DNEWDB -DNIS -DMAP_REGEX -c config.c -o config.o cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I../../include -I/usr/local/include -DNEWDB -DNIS -DMAP_REGEX -c shm.c -o shm.o shm.c:61:7: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'bool' declared in a previous prototype [-Wknr-promoted-parameter] bool owner; ^ ../../include/sm/shm.h:29:61: note: previous declaration is here extern void *sm_shmstart __P((key_t, int , int , int *, bool)); ^ shm.c:160:7: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'bool' declared in a previous prototype [-Wknr-promoted-parameter] bool owner; ^ ../../include/sm/shm.h:30:45: note: previous declaration is here extern int sm_shmstop __P((void *, int, bool)); ^ shm.c:218:9: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'mode_t' (aka 'unsigned short') declared in a previous prototype [-Wknr-promoted-parameter] mode_t mode; ^ ../../include/sm/shm.h:31:57: note: previous declaration is here extern int sm_shmsetowner __P((int, uid_t, gid_t, mode_t)); ^ 3 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I../../include -I/usr/local/include -DNEWDB -DNIS -DMAP_REGEX -c sem.c -o sem.o sem.c:40:7: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'bool' declared in a previous prototype [-Wknr-promoted-parameter] bool owner; ^ ../../include/sm/sem.h:45:51: note: previous declaration is here extern int sm_sem_start __P((key_t, int, int, bool)); ^ sem.c:224:9: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'mode_t' (aka 'unsigned short') declared in a previous prototype [-Wknr-promoted-parameter] mode_t mode; ^ ../../include/sm/sem.h:50:57: note: previous declaration is here extern int sm_semsetowner __P((int, uid_t, gid_t, mode_t)); ^ 2 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I../../include -I/usr/local/include -DNEWDB -DNIS -DMAP_REGEX -c mbdb.c -o mbdb.o cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I../../include -I/usr/local/include -DNEWDB -DNIS -DMAP_REGEX -c strexit.c -o strexit.o cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I../../include -I/usr/local/include -DNEWDB -DNIS -DMAP_REGEX -c cf.c -o cf.o cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I../../include -I/usr/local/include -DNEWDB -DNIS -DMAP_REGEX -c ldap.c -o ldap.o cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I../../include -I/usr/local/include -DNEWDB -DNIS -DMAP_REGEX -c niprop.c -o niprop.o cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I../../include -I/usr/local/include -DNEWDB -DNIS -DMAP_REGEX -c mpeix.c -o mpeix.o cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I../../include -I/usr/local/include -DNEWDB -DNIS -DMAP_REGEX -c memstat.c -o memstat.o cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I../../include -I/usr/local/include -DNEWDB -DNIS -DMAP_REGEX -c util.c -o util.o ar crv libsm.a assert.o debug.o errstring.o exc.o heap.o match.o rpool.o strdup.o strerror.o strl.o clrerr.o fclose.o feof.o ferror.o fflush.o fget.o fpos.o findfp.o flags.o fopen.o fprintf.o fpurge.o fput.o fread.o fscanf.o fseek.o fvwrite.o fwalk.o fwrite.o get.o makebuf.o put.o refill.o rewind.o setvbuf.o smstdio.o snprintf.o sscanf.o stdio.o strio.o ungetc.o vasprintf.o vfprintf.o vfscanf.o vprintf.o vsnprintf.o wbuf.o wsetup.o string.o stringf.o xtrap.o strto.o test.o path.o strcasecmp.o strrevcmp.o signal.o clock.o config.o shm.o sem.o mbdb.o strexit.o cf.o ldap.o niprop.o mpeix.o memstat.o util.o a - assert.o a - debug.o a - errstring.o a - exc.o a - heap.o a - match.o a - rpool.o a - strdup.o a - strerror.o a - strl.o a - clrerr.o a - fclose.o a - feof.o a - ferror.o a - fflush.o a - fget.o a - fpos.o a - findfp.o a - flags.o a - fopen.o a - fprintf.o a - fpurge.o a - fput.o a - fread.o a - fscanf.o a - fseek.o a - fvwrite.o a - fwalk.o a - fwrite.o a - get.o a - makebuf.o a - put.o a - refill.o a - rewind.o a - setvbuf.o a - smstdio.o a - snprintf.o a - sscanf.o a - stdio.o a - strio.o a - ungetc.o a - vasprintf.o a - vfprintf.o a - vfscanf.o a - vprintf.o a - vsnprintf.o a - wbuf.o a - wsetup.o a - string.o a - stringf.o a - xtrap.o a - strto.o a - test.o a - path.o a - strcasecmp.o a - strrevcmp.o a - signal.o a - clock.o a - config.o a - shm.o a - sem.o a - mbdb.o a - strexit.o a - cf.o a - ldap.o a - niprop.o a - mpeix.o a - memstat.o a - util.o ranlib libsm.a cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I../../include -I/usr/local/include -I../libar/ -DUSE_ARLIB -D_THREAD_SAFE -DXP_MT -c dk.c -o dk.o dk.c:774:7: warning: assigning to 'char *' from 'u_char[1025]' (aka 'unsigned char[1025]') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] path = dk->dk_libhandle->dkl_queryinfo; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dk.c:791:15: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] while (fgets(buf, BUFRSZ, f) != NULL) ^~~ /usr/include/stdio.h:258:30: note: passing argument to parameter here char *fgets(char * __restrict, int, FILE * __restrict); ^ dk.c:813: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] if (strcasecmp(name, buf) == 0) ^~~ /usr/include/strings.h:65:43: note: passing argument to parameter here int strcasecmp(const char *, const char *) __pure; ^ dk.c:815:15: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sm_strlcpy(buf, p2, buflen); ^~~ ../../include/sm/string.h:69:23: note: passing argument to parameter '_dst' here sm_strlcpy __P((char *_dst, const char *_src, ssize_t _len)); ^ dk.c:815:20: 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] sm_strlcpy(buf, p2, buflen); ^~ ../../include/sm/string.h:69:41: note: passing argument to parameter '_src' here sm_strlcpy __P((char *_dst, const char *_src, ssize_t _len)); ^ dk.c:790:27: warning: 'memset' call operates on objects of type 'u_char' (aka 'unsigned char') while the size is based on a different type 'u_char *' (aka 'unsigned char *') [-Wsizeof-pointer-memaccess] memset(buf, '\0', sizeof buf); ~~~ ^~~ dk.c:790:27: note: did you mean to provide an explicit length? memset(buf, '\0', sizeof buf); ^~~ dk.c:1171:21: warning: passing 'unsigned char[1025]' 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] eom = buf + strlen(buf); ^~~ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ dk.c:1212:28: warning: passing '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] dk->dk_b64len = strlen(p + 1); ^~~~~ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ dk.c:1442:26: warning: passing '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] dk->dk_b64len = strlen(dk->dk_b64); ^~~~~~~~~~ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ dk.c:1700:17: 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] colon = strchr(hdr, ':'); ^~~ /usr/include/string.h:81:26: note: passing argument to parameter here char *strchr(const char *, int) __pure; ^ dk.c:1700:8: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] colon = strchr(hdr, ':'); ^ ~~~~~~~~~~~~~~~~ dk.c:1709:38: 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] if (strncasecmp(dk->dk_hdrlist[c], hdr, colon - hdr) == 0 && ^~~ /usr/include/strings.h:66:44: note: passing argument to parameter here int strncasecmp(const char *, const char *, size_t) __pure; ^ dk.c:1802:2: warning: 'SHA1_Init' is deprecated [-Wdeprecated-declarations] SHA1_Init(&sha1->sha1_sha1); ^ /usr/local/include/openssl/sha.h:49:1: note: 'SHA1_Init' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 int SHA1_Init(SHA_CTX *c); ^ /usr/local/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /usr/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ dk.c:1912:3: warning: 'SHA1_Update' is deprecated [-Wdeprecated-declarations] SHA1_Update(&sha1->sha1_sha1, CRLF, 2); ^ /usr/local/include/openssl/sha.h:50:1: note: 'SHA1_Update' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 int SHA1_Update(SHA_CTX *c, const void *data, size_t len); ^ /usr/local/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /usr/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ dk.c:1920:2: warning: 'SHA1_Update' is deprecated [-Wdeprecated-declarations] SHA1_Update(&sha1->sha1_sha1, buf, buflen); ^ /usr/local/include/openssl/sha.h:50:1: note: 'SHA1_Update' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 int SHA1_Update(SHA_CTX *c, const void *data, size_t len); ^ /usr/local/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /usr/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ dk.c:2268:19: 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] if ((strncasecmp(hdr, "from:", 5) == 0 && dk->dk_uhdrn[0] == '\0') || ^~~ /usr/include/strings.h:66:30: note: passing argument to parameter here int strncasecmp(const char *, const char *, size_t) __pure; ^ dk.c:2269:18: 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] strncasecmp(hdr, "sender:", 7) == 0) ^~~ /usr/include/strings.h:66:30: note: passing argument to parameter here int strncasecmp(const char *, const char *, size_t) __pure; ^ dk.c:2277:14: warning: passing 'u_char[1001]' (aka 'unsigned char[1001]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sm_strlcpy(tmphdr, hdr, sizeof tmphdr); ^~~~~~ ../../include/sm/string.h:69:23: note: passing argument to parameter '_dst' here sm_strlcpy __P((char *_dst, const char *_src, ssize_t _len)); ^ dk.c:2277:22: 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] sm_strlcpy(tmphdr, hdr, sizeof tmphdr); ^~~ ../../include/sm/string.h:69:41: note: passing argument to parameter '_src' here sm_strlcpy __P((char *_dst, const char *_src, ssize_t _len)); ^ dk.c:2279:29: warning: passing 'u_char[1001]' (aka 'unsigned char[1001]') 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] colon = (u_char *) strchr(tmphdr, ':'); ^~~~~~ /usr/include/string.h:81:26: note: passing argument to parameter here char *strchr(const char *, int) __pure; ^ dk.c:2281:34: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] status = rfc2822_mailbox_split(colon + 1, &user, &domain); ^~~~~~~~~ ./rfc2822.h:14:45: note: passing argument to parameter 'line' here extern int rfc2822_mailbox_split __P((char *line, char **user_out, ^ dk.c:2287:28: warning: passing 'u_char[1001]' (aka 'unsigned char[1001]') 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] sm_strlcpy(dk->dk_uhdrn, tmphdr, ^~~~~~ ../../include/sm/string.h:69:41: note: passing argument to parameter '_src' here sm_strlcpy __P((char *_dst, const char *_src, ssize_t _len)); ^ dk.c:2299:18: 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] if (strncasecmp(hdr, DK_SIGNHEADER, strlen(DK_SIGNHEADER)) == 0 && ^~~ /usr/include/strings.h:66:30: note: passing argument to parameter here int strncasecmp(const char *, const char *, size_t) __pure; ^ dk.c:2309:32: 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] if (dk_process_dkheader(dk, hval) != 0) ^~~~ dk.c:1483:41: note: passing argument to parameter 'hdr' here dk_process_dkheader(DK *dk, const char *hdr) ^ dk.c:2463:12: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] for (p = strchr(domain, '.'); ^ ~~~~~~~~~~~~~~~~~~~ dk.c:2465:21: warning: passing '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] p = strchr(p + 1, '.')) ^~~~~ /usr/include/string.h:81:26: note: passing argument to parameter here char *strchr(const char *, int) __pure; ^ dk.c:2465:12: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] p = strchr(p + 1, '.')) ^ ~~~~~~~~~~~~~~~~~~ dk.c:2467:21: warning: passing '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] if (strcasecmp(p + 1, ^~~~~ /usr/include/strings.h:65:29: note: passing argument to parameter here int strcasecmp(const char *, const char *) __pure; ^ dk.c:2546:19: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] dk_canon(dk, dk->dk_hdrset[d], ^~~~~~~~~~~~~~~~ dk.c:1896:33: note: passing argument to parameter 'buf' here dk_canon(DK *dk, unsigned char *buf, size_t buflen) ^ dk.c:2592:7: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] at = strchr(dk->dk_uhdrv, '@'); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~ dk.c:2593:17: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] dk_lowercase(at + 1); ^~~~~~ ./util.h:14:37: note: passing argument to parameter 'str' here extern void dk_lowercase __P((char *str)); ^ dk.c:2602:17: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] dk_canon(dk, dk->dk_hdrset[c], ^~~~~~~~~~~~~~~~ dk.c:1896:33: note: passing argument to parameter 'buf' here dk_canon(DK *dk, unsigned char *buf, size_t buflen) ^ dk.c:2786:21: warning: passing 'char[3]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] DK_CANON(dk, CRLF, 2); ^~~~ dk.c:74:16: note: expanded from macro 'CRLF' #define CRLF "\r\n" /* CRLF */ ^~~~~~ dk.c:113:37: note: expanded from macro 'DK_CANON' # define DK_CANON(x,y,z) dk_canon(x,y,z) ^ dk.c:1896:33: note: passing argument to parameter 'buf' here dk_canon(DK *dk, unsigned char *buf, size_t buflen) ^ dk.c:2808:20: warning: passing 'char[3]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] DK_CANON(dk, CRLF, 2); ^~~~ dk.c:74:16: note: expanded from macro 'CRLF' #define CRLF "\r\n" /* CRLF */ ^~~~~~ dk.c:113:37: note: expanded from macro 'DK_CANON' # define DK_CANON(x,y,z) dk_canon(x,y,z) ^ dk.c:1896:33: note: passing argument to parameter 'buf' here dk_canon(DK *dk, unsigned char *buf, size_t buflen) ^ dk.c:2833:19: warning: passing 'char[3]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] DK_CANON(dk, CRLF, 2); ^~~~ dk.c:74:16: note: expanded from macro 'CRLF' #define CRLF "\r\n" /* CRLF */ ^~~~~~ dk.c:113:37: note: expanded from macro 'DK_CANON' # define DK_CANON(x,y,z) dk_canon(x,y,z) ^ dk.c:1896:33: note: passing argument to parameter 'buf' here dk_canon(DK *dk, unsigned char *buf, size_t buflen) ^ dk.c:2872:21: warning: passing 'char[3]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] DK_CANON(dk, CRLF, 2); ^~~~ dk.c:74:16: note: expanded from macro 'CRLF' #define CRLF "\r\n" /* CRLF */ ^~~~~~ dk.c:113:37: note: expanded from macro 'DK_CANON' # define DK_CANON(x,y,z) dk_canon(x,y,z) ^ dk.c:1896:33: note: passing argument to parameter 'buf' here dk_canon(DK *dk, unsigned char *buf, size_t buflen) ^ dk.c:2877:20: warning: passing 'char[3]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] DK_CANON(dk, CRLF, 2); ^~~~ dk.c:74:16: note: expanded from macro 'CRLF' #define CRLF "\r\n" /* CRLF */ ^~~~~~ dk.c:113:37: note: expanded from macro 'DK_CANON' # define DK_CANON(x,y,z) dk_canon(x,y,z) ^ dk.c:1896:33: note: passing argument to parameter 'buf' here dk_canon(DK *dk, unsigned char *buf, size_t buflen) ^ dk.c:2894:21: warning: passing 'char[3]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] DK_CANON(dk, CRLF, 2); ^~~~ dk.c:74:16: note: expanded from macro 'CRLF' #define CRLF "\r\n" /* CRLF */ ^~~~~~ dk.c:113:37: note: expanded from macro 'DK_CANON' # define DK_CANON(x,y,z) dk_canon(x,y,z) ^ dk.c:1896:33: note: passing argument to parameter 'buf' here dk_canon(DK *dk, unsigned char *buf, size_t buflen) ^ dk.c:2919:19: warning: passing 'char[3]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] DK_CANON(dk, CRLF, 2); ^~~~ dk.c:74:16: note: expanded from macro 'CRLF' #define CRLF "\r\n" /* CRLF */ ^~~~~~ dk.c:113:37: note: expanded from macro 'DK_CANON' # define DK_CANON(x,y,z) dk_canon(x,y,z) ^ dk.c:1896:33: note: passing argument to parameter 'buf' here dk_canon(DK *dk, unsigned char *buf, size_t buflen) ^ dk.c:3008:20: warning: 'EVP_PKEY_get1_RSA' is deprecated [-Wdeprecated-declarations] sha1->sha1_rsa = EVP_PKEY_get1_RSA(sha1->sha1_pkey); ^ /usr/local/include/openssl/evp.h:1349:1: note: 'EVP_PKEY_get1_RSA' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 ^ /usr/local/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /usr/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ dk.c:3016:24: warning: 'RSA_size' is deprecated [-Wdeprecated-declarations] sha1->sha1_keysize = RSA_size(sha1->sha1_rsa); ^ /usr/local/include/openssl/rsa.h:204:1: note: 'RSA_size' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa); ^ /usr/local/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /usr/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ dk.c:3020:3: warning: 'SHA1_Final' is deprecated [-Wdeprecated-declarations] SHA1_Final(md, &sha1->sha1_sha1); ^ /usr/local/include/openssl/sha.h:51:1: note: 'SHA1_Final' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 int SHA1_Final(unsigned char *md, SHA_CTX *c); ^ /usr/local/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /usr/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ dk.c:3026:12: warning: 'RSA_verify' is deprecated [-Wdeprecated-declarations] status = RSA_verify(NID_sha1, md, SHA_DIGEST_LENGTH, ^ /usr/local/include/openssl/rsa.h:351:1: note: 'RSA_verify' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 int RSA_verify(int type, const unsigned char *m, ^ /usr/local/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /usr/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ dk.c:3119:19: warning: 'EVP_PKEY_get1_RSA' is deprecated [-Wdeprecated-declarations] sha1->sha1_rsa = EVP_PKEY_get1_RSA(sha1->sha1_pkey); ^ /usr/local/include/openssl/evp.h:1349:1: note: 'EVP_PKEY_get1_RSA' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 ^ /usr/local/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /usr/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ dk.c:3127:23: warning: 'RSA_size' is deprecated [-Wdeprecated-declarations] sha1->sha1_keysize = RSA_size(sha1->sha1_rsa); ^ /usr/local/include/openssl/rsa.h:204:1: note: 'RSA_size' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa); ^ /usr/local/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /usr/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ dk.c:3142:2: warning: 'SHA1_Final' is deprecated [-Wdeprecated-declarations] SHA1_Final(md, &sha1->sha1_sha1); ^ /usr/local/include/openssl/sha.h:51:1: note: 'SHA1_Final' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 int SHA1_Final(unsigned char *md, SHA_CTX *c); ^ /usr/local/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /usr/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ dk.c:3148:11: warning: 'RSA_sign' is deprecated [-Wdeprecated-declarations] status = RSA_sign(NID_sha1, sha1->sha1_rsain, ^ /usr/local/include/openssl/rsa.h:348:1: note: 'RSA_sign' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 int RSA_sign(int type, const unsigned char *m, ^ /usr/local/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /usr/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ dk.c:3234:10: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strncpy(buf, dk->dk_b64, MIN(len, dk->dk_b64len)); ^~~ /usr/include/string.h:107:32: note: passing argument to parameter here char *strncpy(char * __restrict, const char * __restrict, size_t); ^ dk.c:3234:15: warning: passing '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] strncpy(buf, dk->dk_b64, MIN(len, dk->dk_b64len)); ^~~~~~~~~~ /usr/include/string.h:107:57: note: passing argument to parameter here char *strncpy(char * __restrict, const char * __restrict, size_t); ^ dk.c:3261:21: 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] end = buf + strlen(buf); ^~~ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ dk.c:3261:6: warning: assigning to 'char *' from 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] end = buf + strlen(buf); ^ ~~~~~~~~~~~~~~~~~ dk.c:3267:19: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (sm_strlcat(buf, ":", buflen) >= buflen) ^~~ ../../include/sm/string.h:72:23: note: passing argument to parameter '_dst' here sm_strlcat __P((char *_dst, const char *_src, ssize_t _len)); ^ dk.c:3272:18: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (sm_strlcat(buf, dk->dk_hdrlist[c], buflen) >= buflen) ^~~ ../../include/sm/string.h:72:23: note: passing argument to parameter '_dst' here sm_strlcat __P((char *_dst, const char *_src, ssize_t _len)); ^ dk.c:3322:15: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sm_strlcpy((u_char *) ptr, ^~~~~~~~~~~~~~ ../../include/sm/string.h:69:23: note: passing argument to parameter '_dst' here sm_strlcpy __P((char *_dst, const char *_src, ssize_t _len)); ^ dk.c:3327:32: 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] sm_strlcpy(lib->dkl_tmpdir, (u_char *) ptr, ^~~~~~~~~~~~~~ ../../include/sm/string.h:69:41: note: passing argument to parameter '_src' here sm_strlcpy __P((char *_dst, const char *_src, ssize_t _len)); ^ dk.c:3372:20: warning: passing 'u_char[1025]' (aka 'unsigned char[1025]') 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] sm_strlcpy(ptr, lib->dkl_queryinfo, len); ^~~~~~~~~~~~~~~~~~ ../../include/sm/string.h:69:41: note: passing argument to parameter '_src' here sm_strlcpy __P((char *_dst, const char *_src, ssize_t _len)); ^ dk.c:3376:15: warning: passing 'u_char[1025]' (aka 'unsigned char[1025]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sm_strlcpy(lib->dkl_queryinfo, ptr, ^~~~~~~~~~~~~~~~~~ ../../include/sm/string.h:69:23: note: passing argument to parameter '_dst' here sm_strlcpy __P((char *_dst, const char *_src, ssize_t _len)); ^ dk.c:3501:3: warning: 'RSA_free' is deprecated [-Wdeprecated-declarations] RSA_CLOBBER(sha1->sha1_rsa); ^ dk.c:3487:5: note: expanded from macro 'RSA_CLOBBER' RSA_free((x)); \ ^ /usr/local/include/openssl/rsa.h:293:1: note: 'RSA_free' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); ^ /usr/local/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /usr/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ 58 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I../../include -I/usr/local/include -I../libar/ -DUSE_ARLIB -D_THREAD_SAFE -DXP_MT -c rfc2822.c -o rfc2822.o cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I../../include -I/usr/local/include -I../libar/ -DUSE_ARLIB -D_THREAD_SAFE -DXP_MT -c util.c -o util.o ar crv libdk.a dk.o rfc2822.o util.o a - dk.o a - rfc2822.o a - util.o ranlib libdk.a Making all in: /wrkdirs/usr/ports/mail/dk-milter/work/dk-milter-1.0.2/dk-filter Configuration: pfx=, os=FreeBSD, rel=13.2-RELEASE-p10, rbase=13, rroot=13.2-RELEASE-p10, arch=amd64, sfx=, variant=optimized Using M4=/usr/bin/m4 Creating /wrkdirs/usr/ports/mail/dk-milter/work/dk-milter-1.0.2/obj.FreeBSD.13.2-RELEASE-p10.amd64/dk-filter using /wrkdirs/usr/ports/mail/dk-milter/work/dk-milter-1.0.2/devtools/OS/FreeBSD Including /wrkdirs/usr/ports/mail/dk-milter/work/dk-milter-1.0.2/devtools/Site/site.config.m4 Making dependencies in /wrkdirs/usr/ports/mail/dk-milter/work/dk-milter-1.0.2/obj.FreeBSD.13.2-RELEASE-p10.amd64/dk-filter rm -f sm_os.h ln -f -s ../../include/sm/os/sm_os_freebsd.h sm_os.h mkdep -a -f Makefile -I. -I../../include -I/usr/local/include -I../libdk/ -D_THREAD_SAFE dk-filter.c dk-crypto.c util.c Making in /wrkdirs/usr/ports/mail/dk-milter/work/dk-milter-1.0.2/obj.FreeBSD.13.2-RELEASE-p10.amd64/dk-filter cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I../../include -I/usr/local/include -I../libdk/ -D_THREAD_SAFE -DXP_MT -c dk-filter.c -o dk-filter.o dk-filter.c:2108:36: warning: passing 'char[1001]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] status = dk_header(dfc->mctx_dk, hdrbuf, strlen(hdrbuf)); ^~~~~~ ../libdk/dk.h:247:47: note: passing argument to parameter 'hdr' here extern DK_STAT dk_header __P((DK *dk, u_char *hdr, size_t len)); ^ dk-filter.c:2249:22: warning: result of comparison against a string literal is unspecified (use an explicit string comparison function instead) [-Wstring-compare] if (dfc->mctx_jobid == JOBIDUNKNOWN) ^ ~~~~~~~~~~~~ dk-filter.c:2382:25: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] dfc->mctx_hlist + 2, ^~~~~~~~~~~~~~~~~~~ ../libdk/dk.h:317:59: note: passing argument to parameter 'buf' here extern DK_STAT dk_gethdrs __P((DK *dk, int *hcnt, u_char *buf, size_t buflen)); ^ dk-filter.c:2417:13: warning: passing 'unsigned char[1001]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] snprintf(header, sizeof header, ^~~~~~ /usr/include/stdio.h:298:32: note: passing argument to parameter here int snprintf(char * __restrict, size_t, const char * __restrict, ^ dk-filter.c:2426:15: warning: passing 'unsigned char[1001]' 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] n = strlen(header); ^~~~~~ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ dk-filter.c:2427:15: warning: passing 'unsigned char[1024]' 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] s = strlen(sig); ^~~ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ dk-filter.c:2437:17: warning: passing 'unsigned char[1001]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sm_strlcat(header, "\n\t", ^~~~~~ ../../include/sm/string.h:72:23: note: passing argument to parameter '_dst' here sm_strlcat __P((char *_dst, const char *_src, ssize_t _len)); ^ dk-filter.c:2445:23: warning: passing 'unsigned char[1001]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] header) == MI_FAILURE) ^~~~~~ /usr/include/libmilter/mfapi.h:471:69: note: passing argument to parameter here LIBMILTER_API int smfi_insheader __P((SMFICTX *, int, char *, char *)); ^ dk-filter.c:2500:13: warning: passing 'unsigned char[1001]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] snprintf(header, sizeof header, ^~~~~~ /usr/include/stdio.h:298:32: note: passing argument to parameter here int snprintf(char * __restrict, size_t, const char * __restrict, ^ dk-filter.c:2512:13: warning: passing 'unsigned char[1001]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] snprintf(header, sizeof header, ^~~~~~ /usr/include/stdio.h:298:32: note: passing argument to parameter here int snprintf(char * __restrict, size_t, const char * __restrict, ^ dk-filter.c:2523:22: warning: passing 'unsigned char[1001]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] header) == MI_FAILURE) ^~~~~~ /usr/include/libmilter/mfapi.h:471:69: note: passing argument to parameter here LIBMILTER_API int smfi_insheader __P((SMFICTX *, int, char *, char *)); ^ dk-filter.c:3846:21: warning: format specifies type 'unsigned int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat] keyfile, rlen); ^~~~ dk-filter.c:3850:31: warning: format specifies type 'unsigned int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat] progname, keyfile, rlen); ^~~~ 13 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I../../include -I/usr/local/include -I../libdk/ -D_THREAD_SAFE -DXP_MT -c dk-crypto.c -o dk-crypto.o dk-crypto.c:117:2: warning: 'ERR_remove_state' is deprecated [-Wdeprecated-declarations] ERR_remove_state(0); ^ /usr/local/include/openssl/err.h:488:1: note: 'ERR_remove_state' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_1_0_0 void ERR_remove_state(unsigned long pid); ^ /usr/local/include/openssl/macros.h:237:49: note: expanded from macro 'OSSL_DEPRECATEDIN_1_0_0' # define OSSL_DEPRECATEDIN_1_0_0 OSSL_DEPRECATED(1.0.0) ^ /usr/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ dk-crypto.c:292:3: warning: 'ERR_remove_state' is deprecated [-Wdeprecated-declarations] ERR_remove_state(0); ^ /usr/local/include/openssl/err.h:488:1: note: 'ERR_remove_state' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_1_0_0 void ERR_remove_state(unsigned long pid); ^ /usr/local/include/openssl/macros.h:237:49: note: expanded from macro 'OSSL_DEPRECATEDIN_1_0_0' # define OSSL_DEPRECATEDIN_1_0_0 OSSL_DEPRECATED(1.0.0) ^ /usr/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ 2 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I../../include -I/usr/local/include -I../libdk/ -D_THREAD_SAFE -DXP_MT -c util.c -o util.o cc -o dk-filter -pthread -L/usr/local/lib dk-filter.o dk-crypto.o util.o -lmilter /wrkdirs/usr/ports/mail/dk-milter/work/dk-milter-1.0.2/obj.FreeBSD.13.2-RELEASE-p10.amd64/libsm/libsm.a /wrkdirs/usr/ports/mail/dk-milter/work/dk-milter-1.0.2/obj.FreeBSD.13.2-RELEASE-p10.amd64/libdk/libdk.a /wrkdirs/usr/ports/mail/dk-milter/work/dk-milter-1.0.2/obj.FreeBSD.13.2-RELEASE-p10.amd64/libar/libar.a -lutil -lssl -lcrypto groff -Tascii -man dk-filter.8 > dk-filter.0 || cp dk-filter.0.dist dk-filter.0 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> dk-milter-1.0.2_7 depends on file: /usr/local/lib/libcrypto.so.12 - found =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Staging for dk-milter-1.0.2_7 ===> Generating temporary packing list Making install in: /wrkdirs/usr/ports/mail/dk-milter/work/dk-milter-1.0.2/libar Configuration: pfx=, os=FreeBSD, rel=13.2-RELEASE-p10, rbase=13, rroot=13.2-RELEASE-p10, arch=amd64, sfx=, variant=optimized Making in /wrkdirs/usr/ports/mail/dk-milter/work/dk-milter-1.0.2/obj.FreeBSD.13.2-RELEASE-p10.amd64/libar Making install in: /wrkdirs/usr/ports/mail/dk-milter/work/dk-milter-1.0.2/libdk Configuration: pfx=, os=FreeBSD, rel=13.2-RELEASE-p10, rbase=13, rroot=13.2-RELEASE-p10, arch=amd64, sfx=, variant=optimized Making in /wrkdirs/usr/ports/mail/dk-milter/work/dk-milter-1.0.2/obj.FreeBSD.13.2-RELEASE-p10.amd64/libdk Making install in: /wrkdirs/usr/ports/mail/dk-milter/work/dk-milter-1.0.2/dk-filter Configuration: pfx=, os=FreeBSD, rel=13.2-RELEASE-p10, rbase=13, rroot=13.2-RELEASE-p10, arch=amd64, sfx=, variant=optimized Making in /wrkdirs/usr/ports/mail/dk-milter/work/dk-milter-1.0.2/obj.FreeBSD.13.2-RELEASE-p10.amd64/dk-filter install -c -m 555 dk-filter /wrkdirs/usr/ports/mail/dk-milter/work/stage/usr/local/libexec /bin/chmod u+w /wrkdirs/usr/ports/mail/dk-milter/work/stage/usr/local/libexec/dk-filter /usr/bin/strip /wrkdirs/usr/ports/mail/dk-milter/work/stage/usr/local/libexec/dk-filter /bin/chmod u-w /wrkdirs/usr/ports/mail/dk-milter/work/stage/usr/local/libexec/dk-filter install -m 555 /wrkdirs/usr/ports/mail/dk-milter/work/dk-milter-1.0.2/dk-filter/gentxt.csh /wrkdirs/usr/ports/mail/dk-milter/work/stage/usr/local/sbin/gentxt-dk install -m 444 /wrkdirs/usr/ports/mail/dk-milter/work/dk-milter-1.0.2/*/dk-filter.8 /wrkdirs/usr/ports/mail/dk-milter/work/stage/usr/local/share/man/man8/ /bin/mkdir -p /wrkdirs/usr/ports/mail/dk-milter/work/stage/usr/local/share/doc/dk-milter install -m 0644 /wrkdirs/usr/ports/mail/dk-milter/work/dk-milter-1.0.2/FEATURES /wrkdirs/usr/ports/mail/dk-milter/work/stage/usr/local/share/doc/dk-milter/ install -m 0644 /wrkdirs/usr/ports/mail/dk-milter/work/dk-milter-1.0.2/INSTALL /wrkdirs/usr/ports/mail/dk-milter/work/stage/usr/local/share/doc/dk-milter/ install -m 0644 /wrkdirs/usr/ports/mail/dk-milter/work/dk-milter-1.0.2/KNOWNBUGS /wrkdirs/usr/ports/mail/dk-milter/work/stage/usr/local/share/doc/dk-milter/ install -m 0644 /wrkdirs/usr/ports/mail/dk-milter/work/dk-milter-1.0.2/LICENSE /wrkdirs/usr/ports/mail/dk-milter/work/stage/usr/local/share/doc/dk-milter/ install -m 0644 /wrkdirs/usr/ports/mail/dk-milter/work/dk-milter-1.0.2/README /wrkdirs/usr/ports/mail/dk-milter/work/stage/usr/local/share/doc/dk-milter/ install -m 0644 /wrkdirs/usr/ports/mail/dk-milter/work/dk-milter-1.0.2/RELEASE_NOTES /wrkdirs/usr/ports/mail/dk-milter/work/stage/usr/local/share/doc/dk-milter/ install -m 0644 /wrkdirs/usr/ports/mail/dk-milter/work/dk-milter-1.0.2/rfc4870.txt /wrkdirs/usr/ports/mail/dk-milter/work/stage/usr/local/share/doc/dk-milter/ install -m 0644 /wrkdirs/usr/ports/mail/dk-milter/work/dk-milter-1.0.2/dk-filter/autorespond.csh /wrkdirs/usr/ports/mail/dk-milter/work/stage/usr/local/share/doc/dk-milter/ ====> Compressing man pages (compress-man) ===> Staging rc.d startup script(s) =========================================================================== =================================================== ===== 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-02T15:40:41+0000' 'PKG_NOTE_ports_top_git_hash=c2c35d895e' 'PKG_NOTE_ports_top_checkout_unclean=yes' 'PKG_NOTE_port_git_hash=77f59b584e' '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 dk-milter-1.0.2_7 ===> Building dk-milter-1.0.2_7 =========================================================================== =>> Cleaning up wrkdir ===> Cleaning for dk-milter-1.0.2_7 build of mail/dk-milter | dk-milter-1.0.2_7 ended at Tue Apr 2 16:42:30 BST 2024 build time: 00:01:50