=>> Building mail/opendmarc build started at Sun Apr 7 01:51:28 CEST 2024 port directory: /usr/ports/mail/opendmarc package name: opendmarc-1.4.2_2 building for: FreeBSD 14amd64-portscommit-job-07 14.0-RELEASE-p4 FreeBSD 14.0-RELEASE-p4 amd64 maintained by: freebsd@gushi.org Makefile datestamp: -rw-r--r-- 1 1001 1001 1683 Apr 6 22:40 /usr/ports/mail/opendmarc/Makefile Poudriere version: poudriere-git-3.4.99.20240122_1 Host OSVERSION: 1500017 Jail OSVERSION: 1400097 Job Id: 07 ---Begin Environment--- SHELL=/bin/sh OSVERSION=1400097 UNAME_v=FreeBSD 14.0-RELEASE-p4 UNAME_r=14.0-RELEASE-p4 BLOCKSIZE=K MAIL=/var/mail/root MM_CHARSET=UTF-8 LANG=C.UTF-8 WARNING_WAIT=0 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/14amd64-portscommit/ref DEV_WARNING_WAIT=0 LC_COLLATE=C POUDRIERE_BUILD_TYPE=bulk PACKAGE_BUILDING=yes SAVED_TERM=tmux-256color GID=0 OUTPUT_REDIRECTED_STDERR=4 OUTPUT_REDIRECTED=1 UID=0 PWD=/usr/local/poudriere/data/.m/14amd64-portscommit/07/.p OUTPUT_REDIRECTED_STDOUT=3 NO_WARNING_PKG_INSTALL_EOL=yes P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS MASTERNAME=14amd64-portscommit SCRIPTPREFIX=/usr/local/share/poudriere SCRIPTNAME=bulk.sh OLDPWD=/usr/local/poudriere/data/.m/14amd64-portscommit/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 opendmarc-1.4.2_2: DOCS=on: Build and/or install documentation SPF=on: Enable support for SPF record checking ===> Use 'make config' to modify these settings ---End OPTIONS List--- --MAINTAINER-- freebsd@gushi.org --End MAINTAINER-- --CONFIGURE_ARGS-- --with-spf --with-spf2-include=/usr/local/include/spf2 --with-spf2-lib=/usr/local/lib --with-milter=/usr --prefix=/usr/local ${_LATE_CONFIGURE_ARGS} --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- ac_cv_path_PERL=/usr/local/bin/perl ac_cv_path_PERL_PATH=/usr/local/bin/perl PERL_USE_UNSAFE_INC=1 XDG_DATA_HOME=/wrkdirs/usr/ports/mail/opendmarc/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/mail/opendmarc/work XDG_CACHE_HOME=/wrkdirs/usr/ports/mail/opendmarc/work/.cache HOME=/wrkdirs/usr/ports/mail/opendmarc/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/mail/opendmarc/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/mail/opendmarc/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh DEFAULT_AUTOCONF=2.72 CONFIG_SITE=/usr/ports/Templates/config.site lt_cv_sys_max_cmd_len=524288 --End CONFIGURE_ENV-- --MAKE_ENV-- PERL_USE_UNSAFE_INC=1 XDG_DATA_HOME=/wrkdirs/usr/ports/mail/opendmarc/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/mail/opendmarc/work XDG_CACHE_HOME=/wrkdirs/usr/ports/mail/opendmarc/work/.cache HOME=/wrkdirs/usr/ports/mail/opendmarc/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/mail/opendmarc/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/mail/opendmarc/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 DEFAULT_AUTOCONF=2.72 PREFIX=/usr/local LOCALBASE=/usr/local CC="cc" CFLAGS="-O2 -pipe -I/usr/include -fstack-protector-strong -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" -Wl,-rpath,/usr/lib:/usr/local/lib -L/usr/lib -fstack-protector-strong " LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -I/usr/include -fstack-protector-strong -fno-strict-aliasing " 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=14.0 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib PERL_VERSION=5.36.3 PERL_VER=5.36 PERL5_MAN1=lib/perl5/site_perl/man/man1 PERL5_MAN3=lib/perl5/site_perl/man/man3 SITE_PERL=lib/perl5/site_perl SITE_ARCH=lib/perl5/site_perl/mach/5.36 DOCSDIR="share/doc/opendmarc" EXAMPLESDIR="share/examples/opendmarc" DATADIR="share/opendmarc" WWWDIR="www/opendmarc" ETCDIR="etc/opendmarc" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/opendmarc DOCSDIR=/usr/local/share/doc/opendmarc EXAMPLESDIR=/usr/local/share/examples/opendmarc WWWDIR=/usr/local/www/opendmarc ETCDIR=/usr/local/etc/opendmarc --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 #### #### DISABLE_LICENSES="YES" multimedia_liba-utils_UNSET=WAYLAND net-mgmt_icingaweb2-module-reporting_UNSET=PDF lang_gcc12_UNSET=LTO_BOOTSTRAP lang_gcc13_UNSET=LTO_BOOTSTRAP lang_gcc_UNSET=LTO_BOOTSTRAP www_nginx_SET+=HEADERS_MORE www_nginx_SET+=LUA www_nginx_SET+=SET_MISC DEFAULT_VERSIONS+=mysql=10.11m #### Misc Poudriere #### .include "/etc/make.conf.ports_env" ---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) 63795 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: DEVELOPER_MODE=yes DEVELOPER=1 STRICT_DEPENDS=yes USER=nobody UID=65534 GID=65534 =========================================================================== =================================================== ===== env: DEVELOPER_MODE=yes USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> opendmarc-1.4.2_2 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.21.0.pkg [14amd64-portscommit-job-07] Installing pkg-1.21.0... [14amd64-portscommit-job-07] Extracting pkg-1.21.0: .......... done ===> opendmarc-1.4.2_2 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of opendmarc-1.4.2_2 =========================================================================== =================================================== ===== env: DEVELOPER_MODE=yes USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: DEVELOPER_MODE=yes STRICT_DEPENDS=yes USER=root UID=0 GID=0 ===> opendmarc-1.4.2_2 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by opendmarc-1.4.2_2 for building =========================================================================== =================================================== ===== env: DEVELOPER_MODE=yes STRICT_DEPENDS=yes USER=root UID=0 GID=0 ===> opendmarc-1.4.2_2 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by opendmarc-1.4.2_2 for building => SHA256 Checksum OK for trusteddomainproject-OpenDMARC-1.4.2-rel-opendmarc-1-4-2_GH0.tar.gz. =========================================================================== =================================================== ===== env: DEVELOPER_MODE=yes USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: DEVELOPER_MODE=yes STRICT_DEPENDS=yes USER=nobody UID=65534 GID=65534 ===> opendmarc-1.4.2_2 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by opendmarc-1.4.2_2 for building ===> Extracting for opendmarc-1.4.2_2 => SHA256 Checksum OK for trusteddomainproject-OpenDMARC-1.4.2-rel-opendmarc-1-4-2_GH0.tar.gz. =========================================================================== =================================================== ===== env: DEVELOPER_MODE=yes USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: DEVELOPER_MODE=yes DEVELOPER=1 STRICT_DEPENDS=yes USER=nobody UID=65534 GID=65534 ===> Patching for opendmarc-1.4.2_2 =========================================================================== =================================================== ===== env: DEVELOPER_MODE=yes USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> opendmarc-1.4.2_2 depends on package: perl5>=5.36<5.37 - not found ===> Installing existing package /packages/All/perl5-5.36.3_1.pkg [14amd64-portscommit-job-07] Installing perl5-5.36.3_1... [14amd64-portscommit-job-07] Extracting perl5-5.36.3_1: .......... done ===> opendmarc-1.4.2_2 depends on package: perl5>=5.36<5.37 - found ===> Returning to build of opendmarc-1.4.2_2 ===> opendmarc-1.4.2_2 depends on package: autoconf>=2.72 - not found ===> Installing existing package /packages/All/autoconf-2.72.pkg [14amd64-portscommit-job-07] Installing autoconf-2.72... [14amd64-portscommit-job-07] `-- Installing autoconf-switch-20220527... [14amd64-portscommit-job-07] `-- Extracting autoconf-switch-20220527: ....... done [14amd64-portscommit-job-07] `-- Installing indexinfo-0.3.1... [14amd64-portscommit-job-07] `-- Extracting indexinfo-0.3.1: . done [14amd64-portscommit-job-07] `-- Installing m4-1.4.19_1,1... [14amd64-portscommit-job-07] | `-- Installing gettext-runtime-0.22.5... [14amd64-portscommit-job-07] | `-- Extracting gettext-runtime-0.22.5: .......... done [14amd64-portscommit-job-07] `-- Extracting m4-1.4.19_1,1: .......... done [14amd64-portscommit-job-07] Extracting autoconf-2.72: .......... done ===> opendmarc-1.4.2_2 depends on package: autoconf>=2.72 - found ===> Returning to build of opendmarc-1.4.2_2 ===> opendmarc-1.4.2_2 depends on package: automake>=1.16.5 - not found ===> Installing existing package /packages/All/automake-1.16.5_1.pkg [14amd64-portscommit-job-07] Installing automake-1.16.5_1... [14amd64-portscommit-job-07] Extracting automake-1.16.5_1: .......... done ===> opendmarc-1.4.2_2 depends on package: automake>=1.16.5 - found ===> Returning to build of opendmarc-1.4.2_2 ===> opendmarc-1.4.2_2 depends on executable: libtoolize - not found ===> Installing existing package /packages/All/libtool-2.4.7_2.pkg [14amd64-portscommit-job-07] Installing libtool-2.4.7_2... [14amd64-portscommit-job-07] Extracting libtool-2.4.7_2: .......... done ===> opendmarc-1.4.2_2 depends on executable: libtoolize - found ===> Returning to build of opendmarc-1.4.2_2 =========================================================================== =================================================== ===== env: DEVELOPER_MODE=yes USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> opendmarc-1.4.2_2 depends on shared library: libspf2.so - not found ===> Installing existing package /packages/All/libspf2-1.2.11_1.pkg [14amd64-portscommit-job-07] Installing libspf2-1.2.11_1... [14amd64-portscommit-job-07] Extracting libspf2-1.2.11_1: .......... done ===> opendmarc-1.4.2_2 depends on shared library: libspf2.so - found (/usr/local/lib/libspf2.so) ===> Returning to build of opendmarc-1.4.2_2 ===> opendmarc-1.4.2_2 depends on shared library: libmariadb.so.3 - not found ===> Installing existing package /packages/All/mariadb1011-client-10.11.7.pkg [14amd64-portscommit-job-07] Installing mariadb1011-client-10.11.7... [14amd64-portscommit-job-07] `-- Installing libedit-3.1.20230828_1,1... [14amd64-portscommit-job-07] `-- Extracting libedit-3.1.20230828_1,1: .......... done [14amd64-portscommit-job-07] `-- Installing libfmt-10.2.1... [14amd64-portscommit-job-07] `-- Extracting libfmt-10.2.1: .......... done [14amd64-portscommit-job-07] `-- Installing libiconv-1.17_1... [14amd64-portscommit-job-07] `-- Extracting libiconv-1.17_1: .......... done [14amd64-portscommit-job-07] `-- Installing liblz4-1.9.4_1,1... [14amd64-portscommit-job-07] `-- Extracting liblz4-1.9.4_1,1: .......... done [14amd64-portscommit-job-07] `-- Installing pcre2-10.43... [14amd64-portscommit-job-07] `-- Extracting pcre2-10.43: .......... done [14amd64-portscommit-job-07] `-- Installing readline-8.2.10... [14amd64-portscommit-job-07] `-- Extracting readline-8.2.10: .......... done [14amd64-portscommit-job-07] `-- Installing zstd-1.5.6... [14amd64-portscommit-job-07] `-- Extracting zstd-1.5.6: .......... done ===> Creating groups. Creating group 'mysql' with gid '88'. ===> Creating users Creating user 'mysql' with uid '88'. ===> Creating homedir(s) [14amd64-portscommit-job-07] Extracting mariadb1011-client-10.11.7: .......... done ===== Message from mariadb1011-client-10.11.7: -- MariaDB respects hier(7) and doesn't check /etc and /etc/mysql for my.cnf. Please move existing my.cnf files from those paths to /usr/local/etc/mysql or /usr/local/etc. Sample configuration files are provided in /usr/local/etc/mysql and /usr/local/etc/mysql/conf.d. The rc(8) script no longer uses /var/db/mysql/my.cnf for configuration nor /var/db/mysql for logs and PID-file. This port does NOT include the mytop perl script, this is included in the MariaDB tarball but the most recent version can be found in the databases/mytop port %%WSREP%%Using wsrep clustering requires adding a configuration file. %%WSREP%%Copy /usr/local/etc/mysql/conf.d/wsrep.conf.sample to %%WSREP%%/usr/local/etc/mysql/conf.d/wsrep.conf and change what you need there. ===> opendmarc-1.4.2_2 depends on shared library: libmariadb.so.3 - found (/usr/local/lib/mysql/libmariadb.so.3) ===> Returning to build of opendmarc-1.4.2_2 =========================================================================== =>> Recording filesystem state for prebuild... done =================================================== ===== env: DEVELOPER_MODE=yes STRICT_DEPENDS=yes USER=nobody UID=65534 GID=65534 ===> opendmarc-1.4.2_2 depends on package: perl5>=5.36<5.37 - found ===> opendmarc-1.4.2_2 depends on package: autoconf>=2.72 - found ===> opendmarc-1.4.2_2 depends on package: automake>=1.16.5 - found ===> opendmarc-1.4.2_2 depends on executable: libtoolize - found ===> opendmarc-1.4.2_2 depends on shared library: libspf2.so - found (/usr/local/lib/libspf2.so) ===> opendmarc-1.4.2_2 depends on shared library: libmariadb.so.3 - found (/usr/local/lib/mysql/libmariadb.so.3) ===> Configuring for opendmarc-1.4.2_2 libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'build-aux'. libtoolize: copying file 'build-aux/ltmain.sh' libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'. libtoolize: copying file 'm4/libtool.m4' libtoolize: copying file 'm4/ltoptions.m4' libtoolize: copying file 'm4/ltsugar.m4' libtoolize: copying file 'm4/ltversion.m4' libtoolize: copying file 'm4/lt~obsolete.m4' configure.ac:52: installing 'build-aux/compile' configure.ac:45: installing 'build-aux/config.guess' configure.ac:45: installing 'build-aux/config.sub' configure.ac:46: installing 'build-aux/install-sh' configure.ac:46: installing 'build-aux/missing' libopendmarc/Makefile.am: installing 'build-aux/depcomp' parallel-tests: installing 'build-aux/test-driver' configure: loading site script /usr/ports/Templates/config.site checking build system type... amd64-portbld-freebsd14.0 checking host system type... amd64-portbld-freebsd14.0 checking target system type... amd64-portbld-freebsd14.0 checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a race-free mkdir -p... (cached) /bin/mkdir -p checking for gawk... (cached) /usr/bin/awk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether make supports the include directive... yes (GNU style) checking for gcc... cc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether the compiler supports GNU C... yes checking whether cc accepts -g... yes checking for cc option to enable C11 features... none needed checking whether cc understands -c and -o together... yes checking dependency style of cc... gcc3 checking for sys/types.h... (cached) yes checking for netinet/in.h... (cached) yes checking for arpa/nameser.h... (cached) yes checking for netdb.h... (cached) yes checking for resolv.h... (cached) yes checking for ns_type... yes checking for gcc... (cached) cc checking whether the compiler supports GNU C... (cached) yes checking whether cc accepts -g... (cached) yes checking for cc option to enable C11 features... (cached) none needed checking whether cc understands -c and -o together... (cached) yes checking dependency style of cc... (cached) gcc3 checking how to print strings... printf checking for a sed that does not truncate output... (cached) /usr/bin/sed checking for grep that handles long lines and -e... (cached) /usr/bin/grep checking for egrep... (cached) /usr/bin/egrep checking for fgrep... (cached) /usr/bin/fgrep checking for ld used by cc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm checking the name lister (/usr/bin/nm) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... (cached) 524288 checking how to convert amd64-portbld-freebsd14.0 file names to amd64-portbld-freebsd14.0 format... func_convert_file_noop checking how to convert amd64-portbld-freebsd14.0 file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for file... file checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for ar... ar checking for archiver @FILE support... no checking for strip... strip checking for ranlib... ranlib checking command to parse /usr/bin/nm output from cc object... ok checking for sysroot... no checking for a working dd... /bin/dd checking how to truncate binary pipes... /bin/dd bs=4096 count=1 checking for mt... mt checking if mt is a manifest tool... no checking for stdio.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for strings.h... (cached) yes checking for sys/stat.h... (cached) yes checking for sys/types.h... (cached) yes checking for unistd.h... (cached) yes checking for dlfcn.h... (cached) yes checking for objdir... .libs checking if cc supports -fno-rtti -fno-exceptions... yes checking for cc option to produce PIC... -fPIC -DPIC checking if cc PIC flag -fPIC -DPIC works... yes checking if cc static flag -static works... yes checking if cc supports -c -o file.o... yes checking if cc supports -c -o file.o... (cached) yes checking whether the cc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... freebsd14.0 ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes ./configure: PKG_PROG_PKG_CONFIG: not found checking how to run the C preprocessor... cpp checking for egrep -e... (cached) /usr/bin/egrep checking whether cc is Clang... yes checking whether pthreads work with "-pthread" and "-lpthread"... yes checking whether Clang needs flag to prevent "argument unused" warning when linking with -pthread... no checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE checking whether more special flags are required for pthreads... no checking for PTHREAD_PRIO_INHERIT... yes checking for stdio.h... (cached) yes checking for syslog.h... yes checking for sysexits.h... yes checking for poll.h... (cached) yes checking for time.h... (cached) yes checking for netdb.h... (cached) yes checking for errno.h... (cached) yes checking for ctype.h... (cached) yes checking for fcntl.h... (cached) yes checking for string.h... (cached) yes checking for sys/param.h... (cached) yes checking for sys/socket.h... (cached) yes checking for sys/types.h... (cached) yes checking for sys/types.h... (cached) yes checking for arpa/inet.h... (cached) yes checking for sys/socket.h... (cached) yes checking for netdb.h... (cached) yes checking for sys/ioctl.h... (cached) yes checking for iso/limits_iso.h... no checking for netinet/in.h... (cached) yes checking for arpa/nameser.h... (cached) yes checking for resolv.h... (cached) yes checking for connect in -lsocket... no checking for hstrerror in -lresolv... no checking for inet_aton in -lresolv... no checking for library containing res_ninit... no checking for library containing res_ndestroy... no checking for idn_free in -lidn... no checking for nanosleep in -lrt... yes checking for library containing inet_addr... none required checking for library containing freehostent... none required checking for library containing inet_pton... none required checking for library containing inet_ntop... none required checking for library containing getipnodebyname... none required checking for sys/types.h... (cached) yes checking for netinet/in.h... (cached) yes checking for arpa/nameser.h... (cached) yes checking for netdb.h... (cached) yes checking for resolv.h... (cached) yes checking whether byte ordering is bigendian... no checking whether struct tm is in sys/time.h or time.h... time.h checking for an ANSI C-conforming const... yes checking for size_t... (cached) yes checking size of long... 8 checking size of int... 4 checking size of short... 2 checking size of char... 1 checking size of size_t... 8 checking size of long long... 8 checking size of unsigned long long... 8 checking size of void *... 8 checking for GNU libc compatible malloc... (cached) yes checking for GNU libc compatible realloc... yes checking for library containing strlcat... none required checking for library containing strlcpy... none required checking for basename... (cached) yes checking for syslog... yes checking for cuserid... no checking for memset... (cached) yes checking for memcpy... (cached) yes checking for strerror... (cached) yes checking for strchr... (cached) yes checking for strrchr... (cached) yes checking for strdup... (cached) yes checking for strpbrk... (cached) yes checking for inet_ntoa... (cached) yes checking for strcasecmp... (cached) yes checking for strncasecmp... (cached) yes checking for signal.h... (cached) yes checking for regex.h... yes checking for bsd/string.h... no checking for strl.h... no checking whether ln -s works... yes checking for miltertest... no checking whether the resolver works without -lresolv... yes checking for library containing SPF_record_new... -lspf2 checking for library containing SPF_server_new... none required checking for math.h... (cached) yes checking for library containing floor... -lm checking for floor... yes checking for milter library and includes... /usr checking for library containing smfi_register... -lmilter checking for smfi_insheader... yes checking for smfi_opensocket... yes checking for smfi_progress... yes checking for smfi_setsymlist... yes checking for smfi_version... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating contrib/Makefile config.status: creating contrib/init/Makefile config.status: creating contrib/init/generic/Makefile config.status: creating contrib/init/redhat/Makefile config.status: creating contrib/init/redhat/opendmarc config.status: creating contrib/rddmarc/Makefile config.status: creating contrib/service/Makefile config.status: creating contrib/service/opendmarc.service config.status: creating contrib/spec/Makefile config.status: creating contrib/spec/opendmarc.spec config.status: creating db/Makefile config.status: creating libopendmarc/Makefile config.status: creating libopendmarc/tests/Makefile config.status: creating libopendmarc/tests/testfiles/Makefile config.status: creating libopendmarc/docs/Makefile config.status: creating opendmarc/Makefile config.status: creating opendmarc/opendmarc.conf.5 config.status: creating opendmarc/opendmarc.8 config.status: creating opendmarc/opendmarc-check.8 config.status: creating opendmarc/tests/Makefile config.status: creating reports/Makefile config.status: creating reports/opendmarc-expire config.status: creating reports/opendmarc-expire.8 config.status: creating reports/opendmarc-import config.status: creating reports/opendmarc-import.8 config.status: creating reports/opendmarc-importstats.8 config.status: creating reports/opendmarc-params config.status: creating reports/opendmarc-params.8 config.status: creating reports/opendmarc-reports config.status: creating reports/opendmarc-reports.8 config.status: creating build-config.h config.status: executing depfiles commands config.status: executing libtool commands =========================================================================== =================================================== ===== env: DEVELOPER_MODE=yes STRICT_DEPENDS=yes USER=nobody UID=65534 GID=65534 ===> Building for opendmarc-1.4.2_2 --- all --- /usr/bin/make all-recursive --- all-recursive --- Making all in contrib --- all-recursive --- Making all in init --- all-recursive --- Making all in generic Making all in redhat Making all in rddmarc Making all in service Making all in spec Making all in db Making all in libopendmarc --- all-recursive --- Making all in tests --- all-recursive --- Making all in testfiles Making all in docs --- opendmarc_dns.lo --- --- opendmarc_xml.lo --- --- opendmarc_tld.lo --- --- opendmarc_policy.lo --- --- opendmarc_util.lo --- --- opendmarc_hash.lo --- --- opendmarc_strl.lo --- --- opendmarc_spf.lo --- --- opendmarc_spf_dns.lo --- --- opendmarc_dns.lo --- /bin/sh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I.. -I. -I.. -DCONFIG_BASE=\"/usr/local/etc\" -I /usr/local/include/spf2 -O2 -pipe -I/usr/include -fstack-protector-strong -fno-strict-aliasing -MT opendmarc_dns.lo -MD -MP -MF .deps/opendmarc_dns.Tpo -c -o opendmarc_dns.lo opendmarc_dns.c --- opendmarc_xml.lo --- /bin/sh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I.. -I. -I.. -DCONFIG_BASE=\"/usr/local/etc\" -I /usr/local/include/spf2 -O2 -pipe -I/usr/include -fstack-protector-strong -fno-strict-aliasing -MT opendmarc_xml.lo -MD -MP -MF .deps/opendmarc_xml.Tpo -c -o opendmarc_xml.lo opendmarc_xml.c --- opendmarc_tld.lo --- /bin/sh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I.. -I. -I.. -DCONFIG_BASE=\"/usr/local/etc\" -I /usr/local/include/spf2 -O2 -pipe -I/usr/include -fstack-protector-strong -fno-strict-aliasing -MT opendmarc_tld.lo -MD -MP -MF .deps/opendmarc_tld.Tpo -c -o opendmarc_tld.lo opendmarc_tld.c --- opendmarc_policy.lo --- /bin/sh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I.. -I. -I.. -DCONFIG_BASE=\"/usr/local/etc\" -I /usr/local/include/spf2 -O2 -pipe -I/usr/include -fstack-protector-strong -fno-strict-aliasing -MT opendmarc_policy.lo -MD -MP -MF .deps/opendmarc_policy.Tpo -c -o opendmarc_policy.lo opendmarc_policy.c --- opendmarc_util.lo --- /bin/sh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I.. -I. -I.. -DCONFIG_BASE=\"/usr/local/etc\" -I /usr/local/include/spf2 -O2 -pipe -I/usr/include -fstack-protector-strong -fno-strict-aliasing -MT opendmarc_util.lo -MD -MP -MF .deps/opendmarc_util.Tpo -c -o opendmarc_util.lo opendmarc_util.c --- opendmarc_hash.lo --- /bin/sh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I.. -I. -I.. -DCONFIG_BASE=\"/usr/local/etc\" -I /usr/local/include/spf2 -O2 -pipe -I/usr/include -fstack-protector-strong -fno-strict-aliasing -MT opendmarc_hash.lo -MD -MP -MF .deps/opendmarc_hash.Tpo -c -o opendmarc_hash.lo opendmarc_hash.c --- opendmarc_strl.lo --- /bin/sh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I.. -I. -I.. -DCONFIG_BASE=\"/usr/local/etc\" -I /usr/local/include/spf2 -O2 -pipe -I/usr/include -fstack-protector-strong -fno-strict-aliasing -MT opendmarc_strl.lo -MD -MP -MF .deps/opendmarc_strl.Tpo -c -o opendmarc_strl.lo opendmarc_strl.c --- opendmarc_spf.lo --- /bin/sh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I.. -I. -I.. -DCONFIG_BASE=\"/usr/local/etc\" -I /usr/local/include/spf2 -O2 -pipe -I/usr/include -fstack-protector-strong -fno-strict-aliasing -MT opendmarc_spf.lo -MD -MP -MF .deps/opendmarc_spf.Tpo -c -o opendmarc_spf.lo opendmarc_spf.c --- opendmarc_spf_dns.lo --- /bin/sh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I.. -I. -I.. -DCONFIG_BASE=\"/usr/local/etc\" -I /usr/local/include/spf2 -O2 -pipe -I/usr/include -fstack-protector-strong -fno-strict-aliasing -MT opendmarc_spf_dns.lo -MD -MP -MF .deps/opendmarc_spf_dns.Tpo -c -o opendmarc_spf_dns.lo opendmarc_spf_dns.c --- opendmarc_xml.lo --- libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I. -I.. -DCONFIG_BASE=\"/usr/local/etc\" -I /usr/local/include/spf2 -O2 -pipe -I/usr/include -fstack-protector-strong -fno-strict-aliasing -MT opendmarc_xml.lo -MD -MP -MF .deps/opendmarc_xml.Tpo -c opendmarc_xml.c -fPIC -DPIC -o .libs/opendmarc_xml.o --- opendmarc_dns.lo --- libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I. -I.. -DCONFIG_BASE=\"/usr/local/etc\" -I /usr/local/include/spf2 -O2 -pipe -I/usr/include -fstack-protector-strong -fno-strict-aliasing -MT opendmarc_dns.lo -MD -MP -MF .deps/opendmarc_dns.Tpo -c opendmarc_dns.c -fPIC -DPIC -o .libs/opendmarc_dns.o --- opendmarc_hash.lo --- libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I. -I.. -DCONFIG_BASE=\"/usr/local/etc\" -I /usr/local/include/spf2 -O2 -pipe -I/usr/include -fstack-protector-strong -fno-strict-aliasing -MT opendmarc_hash.lo -MD -MP -MF .deps/opendmarc_hash.Tpo -c opendmarc_hash.c -fPIC -DPIC -o .libs/opendmarc_hash.o --- opendmarc_strl.lo --- libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I. -I.. -DCONFIG_BASE=\"/usr/local/etc\" -I /usr/local/include/spf2 -O2 -pipe -I/usr/include -fstack-protector-strong -fno-strict-aliasing -MT opendmarc_strl.lo -MD -MP -MF .deps/opendmarc_strl.Tpo -c opendmarc_strl.c -fPIC -DPIC -o .libs/opendmarc_strl.o --- opendmarc_policy.lo --- libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I. -I.. -DCONFIG_BASE=\"/usr/local/etc\" -I /usr/local/include/spf2 -O2 -pipe -I/usr/include -fstack-protector-strong -fno-strict-aliasing -MT opendmarc_policy.lo -MD -MP -MF .deps/opendmarc_policy.Tpo -c opendmarc_policy.c -fPIC -DPIC -o .libs/opendmarc_policy.o --- opendmarc_util.lo --- libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I. -I.. -DCONFIG_BASE=\"/usr/local/etc\" -I /usr/local/include/spf2 -O2 -pipe -I/usr/include -fstack-protector-strong -fno-strict-aliasing -MT opendmarc_util.lo -MD -MP -MF .deps/opendmarc_util.Tpo -c opendmarc_util.c -fPIC -DPIC -o .libs/opendmarc_util.o --- opendmarc_spf_dns.lo --- libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I. -I.. -DCONFIG_BASE=\"/usr/local/etc\" -I /usr/local/include/spf2 -O2 -pipe -I/usr/include -fstack-protector-strong -fno-strict-aliasing -MT opendmarc_spf_dns.lo -MD -MP -MF .deps/opendmarc_spf_dns.Tpo -c opendmarc_spf_dns.c -fPIC -DPIC -o .libs/opendmarc_spf_dns.o --- opendmarc_spf.lo --- libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I. -I.. -DCONFIG_BASE=\"/usr/local/etc\" -I /usr/local/include/spf2 -O2 -pipe -I/usr/include -fstack-protector-strong -fno-strict-aliasing -MT opendmarc_spf.lo -MD -MP -MF .deps/opendmarc_spf.Tpo -c opendmarc_spf.c -fPIC -DPIC -o .libs/opendmarc_spf.o --- opendmarc_tld.lo --- libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I. -I.. -DCONFIG_BASE=\"/usr/local/etc\" -I /usr/local/include/spf2 -O2 -pipe -I/usr/include -fstack-protector-strong -fno-strict-aliasing -MT opendmarc_tld.lo -MD -MP -MF .deps/opendmarc_tld.Tpo -c opendmarc_tld.c -fPIC -DPIC -o .libs/opendmarc_tld.o opendmarc_tld.c:50:13: 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 (strlen(cp) == 0) ^~ /usr/include/string.h:100:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ opendmarc_tld.c:57:31: 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] (void) strlcpy((char *)copy, cp, sizeof copy); ^~ /usr/include/string.h:98:59: note: passing argument to parameter here size_t strlcpy(char * __restrict, const char * __restrict, size_t); ^ opendmarc_tld.c:188:67: warning: passing 'u_char[256]' (aka 'unsigned char[256]') 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 (opendmarc_hash_lookup(hashp, revbuf, (void *)revbuf, strlen(revbuf)) == NULL) ^~~~~~ /usr/include/string.h:100:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ opendmarc_tld.c:188:36: warning: passing 'u_char[256]' (aka 'unsigned char[256]') 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 (opendmarc_hash_lookup(hashp, revbuf, (void *)revbuf, strlen(revbuf)) == NULL) ^~~~~~ ./opendmarc_internal.h:225:69: note: passing argument to parameter 'string' here void * opendmarc_hash_lookup(OPENDMARC_HASH_CTX *hctx, char *string, void *data, size_t datalen); ^ opendmarc_tld.c:261: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] (void) strlcpy(tld, domain, tld_len); ^~~ /usr/include/string.h:98:34: note: passing argument to parameter here size_t strlcpy(char * __restrict, const char * __restrict, size_t); ^ opendmarc_tld.c:261:23: 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] (void) strlcpy(tld, domain, tld_len); ^~~~~~ /usr/include/string.h:98:59: note: passing argument to parameter here size_t strlcpy(char * __restrict, const char * __restrict, size_t); ^ opendmarc_tld.c:265:28: warning: passing 'u_char[256]' (aka 'unsigned char[256]') 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] for (rp = revbuf + strlen(revbuf) -1; rp > revbuf; --rp) ^~~~~~ /usr/include/string.h:100:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ opendmarc_tld.c:270: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] (void) strlcpy(tld, domain, tld_len); ^~~ /usr/include/string.h:98:34: note: passing argument to parameter here size_t strlcpy(char * __restrict, const char * __restrict, size_t); ^ opendmarc_tld.c:270: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] (void) strlcpy(tld, domain, tld_len); ^~~~~~ /usr/include/string.h:98:59: note: passing argument to parameter here size_t strlcpy(char * __restrict, const char * __restrict, size_t); ^ opendmarc_tld.c:280:41: warning: passing 'u_char[256]' (aka 'unsigned char[256]') 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] vp = opendmarc_hash_lookup(TLD_hctx, revbuf, NULL, 0); ^~~~~~ ./opendmarc_internal.h:225:69: note: passing argument to parameter 'string' here void * opendmarc_hash_lookup(OPENDMARC_HASH_CTX *hctx, char *string, void *data, size_t datalen); ^ --- opendmarc_strl.lo --- libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I. -I.. -DCONFIG_BASE=\"/usr/local/etc\" -I /usr/local/include/spf2 -O2 -pipe -I/usr/include -fstack-protector-strong -fno-strict-aliasing -MT opendmarc_strl.lo -MD -MP -MF .deps/opendmarc_strl.Tpo -c opendmarc_strl.c -o opendmarc_strl.o >/dev/null 2>&1 --- opendmarc_tld.lo --- opendmarc_tld.c:295:41: warning: passing 'u_char[256]' (aka 'unsigned char[256]') 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] vp = opendmarc_hash_lookup(TLD_hctx, revbuf, NULL, 0); ^~~~~~ ./opendmarc_internal.h:225:69: note: passing argument to parameter 'string' here void * opendmarc_hash_lookup(OPENDMARC_HASH_CTX *hctx, char *string, void *data, size_t datalen); ^ opendmarc_tld.c:301:24: warning: passing 'u_char[256]' (aka 'unsigned char[256]') 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] char * cp = strchr(revbuf, '.'); ^~~~~~ /usr/include/string.h:80:26: note: passing argument to parameter here char *strchr(const char *, int) __pure; ^ --- opendmarc_util.lo --- opendmarc_util.c:79: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] ary[0] = strdup(str); ^~~ /usr/include/string.h:90:26: note: passing argument to parameter here char *strdup(const char *) __malloc_like; ^ opendmarc_util.c:79:10: 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] ary[0] = strdup(str); ^ ~~~~~~~~~~~ opendmarc_util.c:107: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] ary[i] = strdup(str); ^~~ /usr/include/string.h:90:26: note: passing argument to parameter here char *strdup(const char *) __malloc_like; ^ opendmarc_util.c:107:9: 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] ary[i] = strdup(str); ^ ~~~~~~~~~~~ opendmarc_util.c:171:10: 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] for (sp = str, ep = buf; *sp != '\0'; sp++) ^ ~~~ opendmarc_util.c:171:20: 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] for (sp = str, ep = buf; *sp != '\0'; sp++) ^ ~~~ opendmarc_util.c:216:17: warning: passing 'u_char[1024]' (aka 'unsigned char[1024]') 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] (void) strncpy(copy, raw, len); ^~~~ /usr/include/string.h:112:32: note: passing argument to parameter here char *strncpy(char * __restrict, const char * __restrict, size_t); ^ opendmarc_util.c:216:23: 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] (void) strncpy(copy, raw, len); ^~~ /usr/include/string.h:112:57: note: passing argument to parameter here char *strncpy(char * __restrict, const char * __restrict, size_t); ^ opendmarc_util.c:333:14: 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] ep = strchr(cp, '@'); ^~ /usr/include/string.h:80:26: note: passing argument to parameter here char *strchr(const char *, int) __pure; ^ opendmarc_util.c:333:5: 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] ep = strchr(cp, '@'); ^ ~~~~~~~~~~~~~~~ --- opendmarc_policy.lo --- opendmarc_policy.c:87:35: warning: passing 'u_char[1024]' (aka 'unsigned char[1024]') 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] --- opendmarc_util.lo --- opendmarc_util.c:349: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] (void) strlcpy(buf, cp, buflen); ^~~ /usr/include/string.h:98:34: note: passing argument to parameter here size_t strlcpy(char * __restrict, const char * __restrict, size_t); ^ --- opendmarc_policy.lo --- ret = opendmarc_tld_read_file(Opendmarc_Libp->tld_source_file, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./dmarc.h:155:41: note: passing argument to parameter 'path_fname' here --- opendmarc_util.lo --- opendmarc_util.c:349: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] (void) strlcpy(buf, cp, buflen); ^~ /usr/include/string.h:98:59: note: passing argument to parameter here --- opendmarc_policy.lo --- int opendmarc_tld_read_file(char *path_fname, char *commentstring, char *drop, char *except); ^ --- opendmarc_util.lo --- size_t strlcpy(char * __restrict, const char * __restrict, size_t); ^ --- opendmarc_policy.lo --- opendmarc_policy.c:290:17: warning: passing 'u_char[512]' (aka 'unsigned char[512]') 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] (void) strlcpy(tld_buf, tld, sizeof tld_buf); ^~~~~~~ /usr/include/string.h:98:34: note: passing argument to parameter here size_t strlcpy(char * __restrict, const char * __restrict, size_t); ^ opendmarc_policy.c:290:26: 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] (void) strlcpy(tld_buf, tld, sizeof tld_buf); ^~~ /usr/include/string.h:98:59: note: passing argument to parameter here size_t strlcpy(char * __restrict, const char * __restrict, size_t); ^ opendmarc_policy.c:294:24: warning: passing 'u_char[512]' (aka 'unsigned char[512]') 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] ep = rev_sub + strlen(rev_sub) -1; ^~~~~~~ /usr/include/string.h:100:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ opendmarc_policy.c:300:24: warning: passing 'u_char[512]' (aka 'unsigned char[512]') 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] ep = rev_tld + strlen(rev_tld) -1; ^~~~~~~ /usr/include/string.h:100:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ opendmarc_policy.c:307:17: warning: passing 'u_char[512]' (aka 'unsigned char[512]') 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(rev_tld, rev_sub) == 0) ^~~~~~~ /usr/include/strings.h:63:29: note: passing argument to parameter here int strcasecmp(const char *, const char *) __pure; ^ opendmarc_policy.c:307:26: warning: passing 'u_char[512]' (aka 'unsigned char[512]') 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(rev_tld, rev_sub) == 0) ^~~~~~~ /usr/include/strings.h:63:43: note: passing argument to parameter here int strcasecmp(const char *, const char *) __pure; ^ opendmarc_policy.c:310:45: warning: passing 'u_char[512]' (aka 'unsigned char[512]') 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] ret = strncasecmp(rev_tld, rev_sub, strlen(rev_tld)); ^~~~~~~ /usr/include/string.h:100:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ opendmarc_policy.c:310:20: warning: passing 'u_char[512]' (aka 'unsigned char[512]') 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] ret = strncasecmp(rev_tld, rev_sub, strlen(rev_tld)); ^~~~~~~ /usr/include/strings.h:64:30: note: passing argument to parameter here int strncasecmp(const char *, const char *, size_t) __pure; ^ opendmarc_policy.c:310:29: warning: passing 'u_char[512]' (aka 'unsigned char[512]') 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] ret = strncasecmp(rev_tld, rev_sub, strlen(rev_tld)); ^~~~~~~ /usr/include/strings.h:64:44: note: passing argument to parameter here int strncasecmp(const char *, const char *, size_t) __pure; ^ opendmarc_policy.c:314:52: warning: passing 'u_char[512]' (aka 'unsigned char[512]') 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] ret = strncasecmp(rev_sub, rev_tld, strlen(rev_sub)); ^~~~~~~ /usr/include/string.h:100:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ opendmarc_policy.c:314:27: warning: passing 'u_char[512]' (aka 'unsigned char[512]') 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] ret = strncasecmp(rev_sub, rev_tld, strlen(rev_sub)); ^~~~~~~ /usr/include/strings.h:64:30: note: passing argument to parameter here int strncasecmp(const char *, const char *, size_t) __pure; ^ opendmarc_policy.c:314:36: warning: passing 'u_char[512]' (aka 'unsigned char[512]') 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] ret = strncasecmp(rev_sub, rev_tld, strlen(rev_sub)); ^~~~~~~ /usr/include/strings.h:64:44: note: passing argument to parameter here int strncasecmp(const char *, const char *, size_t) __pure; ^ opendmarc_policy.c:323:24: warning: passing 'u_char[512]' (aka 'unsigned char[512]') 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] ep = rev_tld + strlen(rev_tld) -1; ^~~~~~~ /usr/include/string.h:100:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ opendmarc_policy.c:330:17: warning: passing 'u_char[512]' (aka 'unsigned char[512]') 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(rev_tld, rev_sub) == 0) ^~~~~~~ /usr/include/strings.h:63:29: note: passing argument to parameter here int strcasecmp(const char *, const char *) __pure; ^ opendmarc_policy.c:330:26: warning: passing 'u_char[512]' (aka 'unsigned char[512]') 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(rev_tld, rev_sub) == 0) ^~~~~~~ /usr/include/strings.h:63:43: note: passing argument to parameter here int strcasecmp(const char *, const char *) __pure; ^ opendmarc_policy.c:333:45: warning: passing 'u_char[512]' (aka 'unsigned char[512]') 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] ret = strncasecmp(rev_tld, rev_sub, strlen(rev_tld)); ^~~~~~~ /usr/include/string.h:100:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ opendmarc_policy.c:333:20: warning: passing 'u_char[512]' (aka 'unsigned char[512]') 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] ret = strncasecmp(rev_tld, rev_sub, strlen(rev_tld)); ^~~~~~~ /usr/include/strings.h:64:30: note: passing argument to parameter here int strncasecmp(const char *, const char *, size_t) __pure; ^ opendmarc_policy.c:333:29: warning: passing 'u_char[512]' (aka 'unsigned char[512]') 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] ret = strncasecmp(rev_tld, rev_sub, strlen(rev_tld)); ^~~~~~~ /usr/include/strings.h:64:44: note: passing argument to parameter here int strncasecmp(const char *, const char *, size_t) __pure; ^ opendmarc_policy.c:337:52: warning: passing 'u_char[512]' (aka 'unsigned char[512]') 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] ret = strncasecmp(rev_sub, rev_tld, strlen(rev_sub)); ^~~~~~~ /usr/include/string.h:100:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ opendmarc_policy.c:337:27: warning: passing 'u_char[512]' (aka 'unsigned char[512]') 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] ret = strncasecmp(rev_sub, rev_tld, strlen(rev_sub)); ^~~~~~~ /usr/include/strings.h:64:30: note: passing argument to parameter here int strncasecmp(const char *, const char *, size_t) __pure; ^ opendmarc_policy.c:337:36: warning: passing 'u_char[512]' (aka 'unsigned char[512]') 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] ret = strncasecmp(rev_sub, rev_tld, strlen(rev_sub)); ^~~~~~~ /usr/include/strings.h:64:44: note: passing argument to parameter here int strncasecmp(const char *, const char *, size_t) __pure; ^ opendmarc_policy.c:373:46: warning: passing 'char[256]' 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] dp = opendmarc_util_finddomain(from_domain, domain_buf, sizeof domain_buf); ^~~~~~~~~~ ./opendmarc_internal.h:240:58: note: passing argument to parameter 'buf' here u_char * opendmarc_util_finddomain(u_char *raw, u_char *buf, size_t buflen); ^ opendmarc_policy.c:373:5: 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] dp = opendmarc_util_finddomain(from_domain, domain_buf, sizeof domain_buf); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ opendmarc_policy.c:376:20: 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] pctx->from_domain = strdup((char *)dp); ^ ~~~~~~~~~~~~~~~~~~ opendmarc_policy.c:418:41: warning: passing 'char[256]' 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] dp = opendmarc_util_finddomain(domain, domain_buf, sizeof domain_buf); ^~~~~~~~~~ ./opendmarc_internal.h:240:58: note: passing argument to parameter 'buf' here u_char * opendmarc_util_finddomain(u_char *raw, u_char *buf, size_t buflen); ^ opendmarc_policy.c:418:5: 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] dp = opendmarc_util_finddomain(domain, domain_buf, sizeof domain_buf); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ opendmarc_policy.c:421:20: 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] if (!check_domain(dp)) ^~ opendmarc_policy.c:38:27: note: passing argument to parameter 'domain' here bool check_domain(u_char *domain) ^ opendmarc_policy.c:424:27: 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] pctx->spf_human_outcome = strdup((char *)human_readable); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ opendmarc_policy.c:425:19: 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] pctx->spf_domain = strdup((char *)dp); ^ ~~~~~~~~~~~~~~~~~~ opendmarc_policy.c:509:49: warning: passing 'char[256]' 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] dp = opendmarc_util_finddomain(d_equal_domain, domain_buf, sizeof domain_buf); ^~~~~~~~~~ ./opendmarc_internal.h:240:58: note: passing argument to parameter 'buf' here u_char * opendmarc_util_finddomain(u_char *raw, u_char *buf, size_t buflen); ^ opendmarc_policy.c:510:27: 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 (dp == NULL || strlen(dp) == 0) ^~ /usr/include/string.h:100:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ opendmarc_policy.c:518:29: 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((char *)dp, pctx->from_domain) == 0) ^~~~~~~~~~~~~~~~~ /usr/include/strings.h:63:43: note: passing argument to parameter here int strcasecmp(const char *, const char *) __pure; ^ opendmarc_policy.c:575:21: 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] pctx->dkim_domain = strdup((char *)dp); ^ ~~~~~~~~~~~~~~~~~~ opendmarc_policy.c:579:23: 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] pctx->dkim_selector = strdup((char *)s_equal_selector); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ opendmarc_policy.c:584:28: 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] pctx->dkim_human_outcome = strdup((char *)human_result); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ opendmarc_policy.c:633: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(uri, "mailto:", 7) == 0) ^~~ /usr/include/strings.h:64:30: note: passing argument to parameter here int strncasecmp(const char *, const char *, size_t) __pure; ^ --- opendmarc_spf_dns.lo --- libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I. -I.. -DCONFIG_BASE=\"/usr/local/etc\" -I /usr/local/include/spf2 -O2 -pipe -I/usr/include -fstack-protector-strong -fno-strict-aliasing -MT opendmarc_spf_dns.lo -MD -MP -MF .deps/opendmarc_spf_dns.Tpo -c opendmarc_spf_dns.c -o opendmarc_spf_dns.o >/dev/null 2>&1 --- opendmarc_policy.lo --- opendmarc_policy.c:669:44: warning: passing 'u_char[1024]' (aka '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] if (dns_reply == NETDB_SUCCESS && strcmp( buf, "&" ) != 0) ^~~ /usr/include/string.h:85:25: note: passing argument to parameter here int strcmp(const char *, const char *) __pure; ^ opendmarc_policy.c:698:44: warning: passing 'u_char[1024]' (aka '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] if (dns_reply == NETDB_SUCCESS && strcmp( buf, "&" ) != 0) ^~~ /usr/include/string.h:85:25: note: passing argument to parameter here int strcmp(const char *, const char *) __pure; ^ opendmarc_policy.c:767:31: 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 (domain == NULL || strlen(domain) == 0) ^~~~~~ /usr/include/string.h:100:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ opendmarc_policy.c:775:17: warning: passing 'u_char[256]' (aka 'unsigned char[256]') 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] (void) strlcpy(copy, "_dmarc.", sizeof copy); ^~~~ /usr/include/string.h:98:34: note: passing argument to parameter here size_t strlcpy(char * __restrict, const char * __restrict, size_t); ^ opendmarc_policy.c:776:17: warning: passing 'u_char[256]' (aka 'unsigned char[256]') 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] (void) strlcat(copy, domain, sizeof copy); ^~~~ /usr/include/string.h:97:34: note: passing argument to parameter here size_t strlcat(char * __restrict, const char * __restrict, size_t); ^ opendmarc_policy.c:776:23: 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] (void) strlcat(copy, domain, sizeof copy); ^~~~~~ /usr/include/string.h:97:59: note: passing argument to parameter here size_t strlcat(char * __restrict, const char * __restrict, size_t); ^ opendmarc_policy.c:780:28: warning: passing 'u_char[256]' (aka 'unsigned char[256]') 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] bp = dmarc_dns_get_record(copy, &dns_reply, buf, sizeof buf); ^~~~ ./opendmarc_internal.h:186:35: note: passing argument to parameter 'domain' here char * dmarc_dns_get_record(char *domain, int *reply, char *got_txtbuf, size_t got_txtlen); ^ opendmarc_policy.c:780:46: warning: passing 'u_char[1024]' (aka 'unsigned char[1024]') 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] bp = dmarc_dns_get_record(copy, &dns_reply, buf, sizeof buf); ^~~ ./opendmarc_internal.h:186:61: note: passing argument to parameter 'got_txtbuf' here char * dmarc_dns_get_record(char *domain, int *reply, char *got_txtbuf, size_t got_txtlen); ^ opendmarc_policy.c:780:5: 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] bp = dmarc_dns_get_record(copy, &dns_reply, buf, sizeof buf); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ opendmarc_policy.c:792:18: warning: passing 'u_char[256]' (aka 'unsigned char[256]') 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] (void) strlcpy(copy, buf, sizeof copy); ^~~~ /usr/include/string.h:98:34: note: passing argument to parameter here size_t strlcpy(char * __restrict, const char * __restrict, size_t); ^ opendmarc_policy.c:792:24: warning: passing 'u_char[1024]' (aka '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] (void) strlcpy(copy, buf, sizeof copy); ^~~ /usr/include/string.h:98:59: note: passing argument to parameter here size_t strlcpy(char * __restrict, const char * __restrict, size_t); ^ opendmarc_policy.c:801:13: warning: passing 'u_char[256]' (aka 'unsigned char[256]') 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 (strlen(tld) > 0) ^~~ /usr/include/string.h:100:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ opendmarc_policy.c:803:40: warning: passing 'u_char[256]' (aka 'unsigned char[256]') 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] pctx->organizational_domain = strdup(tld); ^~~ /usr/include/string.h:90:26: note: passing argument to parameter here char *strdup(const char *) __malloc_like; ^ opendmarc_policy.c:803:31: 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] pctx->organizational_domain = strdup(tld); ^ ~~~~~~~~~~~ opendmarc_policy.c:806:18: warning: passing 'u_char[256]' (aka 'unsigned char[256]') 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] (void) strlcpy(copy, "_dmarc.", sizeof copy); ^~~~ /usr/include/string.h:98:34: note: passing argument to parameter here size_t strlcpy(char * __restrict, const char * __restrict, size_t); ^ opendmarc_policy.c:807:18: warning: passing 'u_char[256]' (aka 'unsigned char[256]') 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] (void) strlcat(copy, tld, sizeof copy); ^~~~ /usr/include/string.h:97:34: note: passing argument to parameter here size_t strlcat(char * __restrict, const char * __restrict, size_t); ^ opendmarc_policy.c:807:24: warning: passing 'u_char[256]' (aka 'unsigned char[256]') 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] (void) strlcat(copy, tld, sizeof copy); ^~~ /usr/include/string.h:97:59: note: passing argument to parameter here size_t strlcat(char * __restrict, const char * __restrict, size_t); ^ opendmarc_policy.c:810:29: warning: passing 'u_char[256]' (aka 'unsigned char[256]') 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] bp = dmarc_dns_get_record(copy, &dns_reply, buf, sizeof buf); ^~~~ ./opendmarc_internal.h:186:35: note: passing argument to parameter 'domain' here char * dmarc_dns_get_record(char *domain, int *reply, char *got_txtbuf, size_t got_txtlen); ^ opendmarc_policy.c:810:47: warning: passing 'u_char[1024]' (aka 'unsigned char[1024]') 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] bp = dmarc_dns_get_record(copy, &dns_reply, buf, sizeof buf); ^~~ ./opendmarc_internal.h:186:61: note: passing argument to parameter 'got_txtbuf' here char * dmarc_dns_get_record(char *domain, int *reply, char *got_txtbuf, size_t got_txtlen); ^ opendmarc_policy.c:810:6: 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] bp = dmarc_dns_get_record(copy, &dns_reply, buf, sizeof buf); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ opendmarc_policy.c:819:19: warning: passing 'u_char[256]' (aka 'unsigned char[256]') 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] (void) strlcpy(copy, buf, sizeof copy); ^~~~ /usr/include/string.h:98:34: note: passing argument to parameter here size_t strlcpy(char * __restrict, const char * __restrict, size_t); ^ opendmarc_policy.c:819:25: warning: passing 'u_char[1024]' (aka '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] (void) strlcpy(copy, buf, sizeof copy); ^~~ /usr/include/string.h:98:59: note: passing argument to parameter here size_t strlcpy(char * __restrict, const char * __restrict, size_t); ^ opendmarc_policy.c:966:25: 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] sp = (u_char *)strchr(cp, ';'); ^~ /usr/include/string.h:80:26: note: passing argument to parameter here char *strchr(const char *, int) __pure; ^ opendmarc_policy.c:1077: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] pctx->pct = strtoul(vp, NULL, 10); ^~ /usr/include/stdlib.h:120:34: note: passing argument to parameter here strtoul(const char * __restrict, char ** __restrict, int); ^ opendmarc_policy.c:1091:12: 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] for (xp = vp; *xp != '\0'; ++xp) ^ ~~ opendmarc_policy.c:1097:23: 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] pctx->ri = strtoul(vp, NULL, 10); ^~ /usr/include/stdlib.h:120:34: note: passing argument to parameter here strtoul(const char * __restrict, char ** __restrict, int); ^ opendmarc_policy.c:1110:12: 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] for (xp = vp; *xp != '\0'; ) ^ ~~ opendmarc_policy.c:1118:33: 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] xp = opendmarc_util_cleanup(xp, xbuf, sizeof xbuf); ^~ ./opendmarc_internal.h:239:42: note: passing argument to parameter 'str' here u_char * opendmarc_util_cleanup(u_char *str, u_char *buf, size_t buflen); ^ opendmarc_policy.c:1118:8: 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] xp = opendmarc_util_cleanup(xp, xbuf, sizeof xbuf); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ opendmarc_policy.c:1157:12: 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] for (xp = vp; *xp != '\0'; ) ^ ~~ opendmarc_policy.c:1165:33: 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] xp = opendmarc_util_cleanup(xp, xbuf, sizeof xbuf); ^~ ./opendmarc_internal.h:239:42: note: passing argument to parameter 'str' here u_char * opendmarc_util_cleanup(u_char *str, u_char *buf, size_t buflen); ^ opendmarc_policy.c:1165:8: 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] xp = opendmarc_util_cleanup(xp, xbuf, sizeof xbuf); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ opendmarc_policy.c:1168:47: 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] pctx->rua_list = opendmarc_util_pushargv(xp, pctx->rua_list, ^~ ./opendmarc_internal.h:236:43: note: passing argument to parameter 'str' here u_char ** opendmarc_util_pushargv(u_char *str, u_char **ary, int *cnt); ^ opendmarc_policy.c:1194:12: 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] for (xp = vp; *xp != '\0'; ) ^ ~~ opendmarc_policy.c:1202:33: 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] xp = opendmarc_util_cleanup(xp, xbuf, sizeof xbuf); ^~ ./opendmarc_internal.h:239:42: note: passing argument to parameter 'str' here u_char * opendmarc_util_cleanup(u_char *str, u_char *buf, size_t buflen); ^ opendmarc_policy.c:1202:8: 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] xp = opendmarc_util_cleanup(xp, xbuf, sizeof xbuf); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ opendmarc_policy.c:1205:47: 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] pctx->ruf_list = opendmarc_util_pushargv(xp, pctx->ruf_list, ^~ ./opendmarc_internal.h:236:43: note: passing argument to parameter 'str' here u_char ** opendmarc_util_pushargv(u_char *str, u_char **ary, int *cnt); ^ opendmarc_policy.c:1226:12: 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] for (xp = vp; *xp != '\0'; ) ^ ~~ opendmarc_policy.c:1234:33: 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] xp = opendmarc_util_cleanup(xp, xbuf, sizeof xbuf); ^~ ./opendmarc_internal.h:239:42: note: passing argument to parameter 'str' here u_char * opendmarc_util_cleanup(u_char *str, u_char *buf, size_t buflen); ^ opendmarc_policy.c:1234:8: 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] xp = opendmarc_util_cleanup(xp, xbuf, sizeof xbuf); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ opendmarc_policy.c:1293:30: 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] pctx->from_domain = strdup(domain); ^~~~~~ /usr/include/string.h:90:26: note: passing argument to parameter here char *strdup(const char *) __malloc_like; ^ opendmarc_policy.c:1293:21: 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] pctx->from_domain = strdup(domain); ^ ~~~~~~~~~~~~~~ opendmarc_policy.c:1319:29: 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] pctx->from_domain = strdup(domain); ^~~~~~ /usr/include/string.h:90:26: note: passing argument to parameter here char *strdup(const char *) __malloc_like; ^ opendmarc_policy.c:1319:20: 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] pctx->from_domain = strdup(domain); ^ ~~~~~~~~~~~~~~ opendmarc_policy.c:1324:50: 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] pctx->organizational_domain = (u_char *)strdup(organizationaldomain); ^~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:90:26: note: passing argument to parameter here char *strdup(const char *) __malloc_like; ^ opendmarc_policy.c:1754: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] if (strlcat(buf, pctx->ip_addr, buflen) >= buflen) return E2BIG; ^~~~~~~~~~~~~ /usr/include/string.h:97:59: note: passing argument to parameter here size_t strlcat(char * __restrict, const char * __restrict, size_t); ^ opendmarc_policy.c:1773: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] if (strlcat(buf, pctx->spf_domain, buflen) >= buflen) return E2BIG; ^~~~~~~~~~~~~~~~ /usr/include/string.h:97:59: note: passing argument to parameter here size_t strlcat(char * __restrict, const char * __restrict, size_t); ^ opendmarc_policy.c:1811: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] if (strlcat(buf, pctx->spf_human_outcome, buflen) >= buflen) return E2BIG; ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:97:59: note: passing argument to parameter here size_t strlcat(char * __restrict, const char * __restrict, size_t); ^ opendmarc_policy.c:1829: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] if (strlcat(buf, pctx->dkim_domain, buflen) >= buflen) return E2BIG; ^~~~~~~~~~~~~~~~~ /usr/include/string.h:97:59: note: passing argument to parameter here size_t strlcat(char * __restrict, const char * __restrict, size_t); ^ opendmarc_policy.c:1834: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] if (strlcat(buf, pctx->dkim_selector, buflen) >= buflen) return E2BIG; ^~~~~~~~~~~~~~~~~~~ /usr/include/string.h:97:59: note: passing argument to parameter here size_t strlcat(char * __restrict, const char * __restrict, size_t); ^ opendmarc_policy.c:1858: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] if (strlcat(buf, pctx->dkim_human_outcome, buflen) >= buflen) return E2BIG; ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:97:59: note: passing argument to parameter here size_t strlcat(char * __restrict, const char * __restrict, size_t); ^ opendmarc_policy.c:2011: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] if (strlcat(buf, (pctx->rua_list)[i], buflen) >= buflen) return E2BIG; ^~~~~~~~~~~~~~~~~~~ /usr/include/string.h:97:59: note: passing argument to parameter here size_t strlcat(char * __restrict, const char * __restrict, size_t); ^ opendmarc_policy.c:2022: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] if (strlcat(buf, (pctx->ruf_list)[i], buflen) >= buflen) return E2BIG; ^~~~~~~~~~~~~~~~~~~ /usr/include/string.h:97:59: note: passing argument to parameter here size_t strlcat(char * __restrict, const char * __restrict, size_t); ^ --- opendmarc_strl.lo --- mv -f .deps/opendmarc_strl.Tpo .deps/opendmarc_strl.Plo --- opendmarc_spf.lo --- libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I. -I.. -DCONFIG_BASE=\"/usr/local/etc\" -I /usr/local/include/spf2 -O2 -pipe -I/usr/include -fstack-protector-strong -fno-strict-aliasing -MT opendmarc_spf.lo -MD -MP -MF .deps/opendmarc_spf.Tpo -c opendmarc_spf.c -o opendmarc_spf.o >/dev/null 2>&1 --- opendmarc_tld.lo --- 12 warnings generated. libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I. -I.. -DCONFIG_BASE=\"/usr/local/etc\" -I /usr/local/include/spf2 -O2 -pipe -I/usr/include -fstack-protector-strong -fno-strict-aliasing -MT opendmarc_tld.lo -MD -MP -MF .deps/opendmarc_tld.Tpo -c opendmarc_tld.c -o opendmarc_tld.o >/dev/null 2>&1 --- opendmarc_dns.lo --- libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I. -I.. -DCONFIG_BASE=\"/usr/local/etc\" -I /usr/local/include/spf2 -O2 -pipe -I/usr/include -fstack-protector-strong -fno-strict-aliasing -MT opendmarc_dns.lo -MD -MP -MF .deps/opendmarc_dns.Tpo -c opendmarc_dns.c -o opendmarc_dns.o >/dev/null 2>&1 --- opendmarc_spf_dns.lo --- mv -f .deps/opendmarc_spf_dns.Tpo .deps/opendmarc_spf_dns.Plo --- opendmarc_hash.lo --- libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I. -I.. -DCONFIG_BASE=\"/usr/local/etc\" -I /usr/local/include/spf2 -O2 -pipe -I/usr/include -fstack-protector-strong -fno-strict-aliasing -MT opendmarc_hash.lo -MD -MP -MF .deps/opendmarc_hash.Tpo -c opendmarc_hash.c -o opendmarc_hash.o >/dev/null 2>&1 --- opendmarc_util.lo --- 12 warnings generated. libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I. -I.. -DCONFIG_BASE=\"/usr/local/etc\" -I /usr/local/include/spf2 -O2 -pipe -I/usr/include -fstack-protector-strong -fno-strict-aliasing -MT opendmarc_util.lo -MD -MP -MF .deps/opendmarc_util.Tpo -c opendmarc_util.c -o opendmarc_util.o >/dev/null 2>&1 --- opendmarc_spf.lo --- mv -f .deps/opendmarc_spf.Tpo .deps/opendmarc_spf.Plo --- opendmarc_xml.lo --- libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I. -I.. -DCONFIG_BASE=\"/usr/local/etc\" -I /usr/local/include/spf2 -O2 -pipe -I/usr/include -fstack-protector-strong -fno-strict-aliasing -MT opendmarc_xml.lo -MD -MP -MF .deps/opendmarc_xml.Tpo -c opendmarc_xml.c -o opendmarc_xml.o >/dev/null 2>&1 --- opendmarc_tld.lo --- mv -f .deps/opendmarc_tld.Tpo .deps/opendmarc_tld.Plo --- opendmarc_dns.lo --- mv -f .deps/opendmarc_dns.Tpo .deps/opendmarc_dns.Plo --- opendmarc_hash.lo --- mv -f .deps/opendmarc_hash.Tpo .deps/opendmarc_hash.Plo --- opendmarc_util.lo --- mv -f .deps/opendmarc_util.Tpo .deps/opendmarc_util.Plo --- opendmarc_policy.lo --- 90 warnings generated. libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I. -I.. -DCONFIG_BASE=\"/usr/local/etc\" -I /usr/local/include/spf2 -O2 -pipe -I/usr/include -fstack-protector-strong -fno-strict-aliasing -MT opendmarc_policy.lo -MD -MP -MF .deps/opendmarc_policy.Tpo -c opendmarc_policy.c -o opendmarc_policy.o >/dev/null 2>&1 --- opendmarc_xml.lo --- mv -f .deps/opendmarc_xml.Tpo .deps/opendmarc_xml.Plo --- opendmarc_policy.lo --- mv -f .deps/opendmarc_policy.Tpo .deps/opendmarc_policy.Plo --- libopendmarc.la --- /bin/sh ../libtool --tag=CC --mode=link cc -I /usr/local/include/spf2 -O2 -pipe -I/usr/include -fstack-protector-strong -fno-strict-aliasing -version-info 2:3:0 -Wl,-rpath,/usr/lib:/usr/local/lib -L/usr/lib -fstack-protector-strong -L/usr/local/lib -o libopendmarc.la -rpath /usr/local/lib opendmarc_dns.lo opendmarc_xml.lo opendmarc_tld.lo opendmarc_policy.lo opendmarc_util.lo opendmarc_hash.lo opendmarc_strl.lo opendmarc_spf.lo opendmarc_spf_dns.lo -lm -lspf2 -lrt libtool: link: cc -shared -fPIC -DPIC .libs/opendmarc_dns.o .libs/opendmarc_xml.o .libs/opendmarc_tld.o .libs/opendmarc_policy.o .libs/opendmarc_util.o .libs/opendmarc_hash.o .libs/opendmarc_strl.o .libs/opendmarc_spf.o .libs/opendmarc_spf_dns.o -L/usr/lib -L/usr/local/lib -lm -lspf2 -lrt -O2 -fstack-protector-strong -Wl,-rpath -Wl,/usr/lib:/usr/local/lib -fstack-protector-strong -Wl,-soname -Wl,libopendmarc.so.2 -o .libs/libopendmarc.so.2.0.3 libtool: link: (cd ".libs" && rm -f "libopendmarc.so.2" && ln -s "libopendmarc.so.2.0.3" "libopendmarc.so.2") libtool: link: (cd ".libs" && rm -f "libopendmarc.so" && ln -s "libopendmarc.so.2.0.3" "libopendmarc.so") libtool: link: ar cr .libs/libopendmarc.a opendmarc_dns.o opendmarc_xml.o opendmarc_tld.o opendmarc_policy.o opendmarc_util.o opendmarc_hash.o opendmarc_strl.o opendmarc_spf.o opendmarc_spf_dns.o libtool: link: ranlib .libs/libopendmarc.a libtool: link: ( cd ".libs" && rm -f "libopendmarc.la" && ln -s "../libopendmarc.la" "libopendmarc.la" ) Making all in reports Making all in opendmarc --- all-recursive --- --- opendmarc-config.o --- --- opendmarc-opendmarc.o --- --- opendmarc-opendmarc-ar.o --- --- opendmarc-opendmarc-arcares.o --- --- opendmarc-opendmarc-arcseal.o --- --- opendmarc-opendmarc-dstring.o --- --- opendmarc-parse.o --- --- opendmarc-test.o --- --- opendmarc-util.o --- --- opendmarc_check-opendmarc-check.o --- --- opendmarc-config.o --- cc -DHAVE_CONFIG_H -I. -I.. -I/usr/include -I./../libopendmarc -DCONFIG_BASE=\"/usr/local/etc\" -pthread -I /usr/local/include/spf2 -O2 -pipe -I/usr/include -fstack-protector-strong -fno-strict-aliasing -MT opendmarc-config.o -MD -MP -MF .deps/opendmarc-config.Tpo -c -o opendmarc-config.o `test -f 'config.c' || echo './'`config.c --- opendmarc-opendmarc.o --- cc -DHAVE_CONFIG_H -I. -I.. -I/usr/include -I./../libopendmarc -DCONFIG_BASE=\"/usr/local/etc\" -pthread -I /usr/local/include/spf2 -O2 -pipe -I/usr/include -fstack-protector-strong -fno-strict-aliasing -MT opendmarc-opendmarc.o -MD -MP -MF .deps/opendmarc-opendmarc.Tpo -c -o opendmarc-opendmarc.o `test -f 'opendmarc.c' || echo './'`opendmarc.c --- opendmarc-opendmarc-ar.o --- cc -DHAVE_CONFIG_H -I. -I.. -I/usr/include -I./../libopendmarc -DCONFIG_BASE=\"/usr/local/etc\" -pthread -I /usr/local/include/spf2 -O2 -pipe -I/usr/include -fstack-protector-strong -fno-strict-aliasing -MT opendmarc-opendmarc-ar.o -MD -MP -MF .deps/opendmarc-opendmarc-ar.Tpo -c -o opendmarc-opendmarc-ar.o `test -f 'opendmarc-ar.c' || echo './'`opendmarc-ar.c --- opendmarc-opendmarc-arcares.o --- cc -DHAVE_CONFIG_H -I. -I.. -I/usr/include -I./../libopendmarc -DCONFIG_BASE=\"/usr/local/etc\" -pthread -I /usr/local/include/spf2 -O2 -pipe -I/usr/include -fstack-protector-strong -fno-strict-aliasing -MT opendmarc-opendmarc-arcares.o -MD -MP -MF .deps/opendmarc-opendmarc-arcares.Tpo -c -o opendmarc-opendmarc-arcares.o `test -f 'opendmarc-arcares.c' || echo './'`opendmarc-arcares.c --- opendmarc-opendmarc-arcseal.o --- cc -DHAVE_CONFIG_H -I. -I.. -I/usr/include -I./../libopendmarc -DCONFIG_BASE=\"/usr/local/etc\" -pthread -I /usr/local/include/spf2 -O2 -pipe -I/usr/include -fstack-protector-strong -fno-strict-aliasing -MT opendmarc-opendmarc-arcseal.o -MD -MP -MF .deps/opendmarc-opendmarc-arcseal.Tpo -c -o opendmarc-opendmarc-arcseal.o `test -f 'opendmarc-arcseal.c' || echo './'`opendmarc-arcseal.c --- opendmarc-opendmarc-dstring.o --- cc -DHAVE_CONFIG_H -I. -I.. -I/usr/include -I./../libopendmarc -DCONFIG_BASE=\"/usr/local/etc\" -pthread -I /usr/local/include/spf2 -O2 -pipe -I/usr/include -fstack-protector-strong -fno-strict-aliasing -MT opendmarc-opendmarc-dstring.o -MD -MP -MF .deps/opendmarc-opendmarc-dstring.Tpo -c -o opendmarc-opendmarc-dstring.o `test -f 'opendmarc-dstring.c' || echo './'`opendmarc-dstring.c --- opendmarc-parse.o --- cc -DHAVE_CONFIG_H -I. -I.. -I/usr/include -I./../libopendmarc -DCONFIG_BASE=\"/usr/local/etc\" -pthread -I /usr/local/include/spf2 -O2 -pipe -I/usr/include -fstack-protector-strong -fno-strict-aliasing -MT opendmarc-parse.o -MD -MP -MF .deps/opendmarc-parse.Tpo -c -o opendmarc-parse.o `test -f 'parse.c' || echo './'`parse.c --- opendmarc-test.o --- cc -DHAVE_CONFIG_H -I. -I.. -I/usr/include -I./../libopendmarc -DCONFIG_BASE=\"/usr/local/etc\" -pthread -I /usr/local/include/spf2 -O2 -pipe -I/usr/include -fstack-protector-strong -fno-strict-aliasing -MT opendmarc-test.o -MD -MP -MF .deps/opendmarc-test.Tpo -c -o opendmarc-test.o `test -f 'test.c' || echo './'`test.c --- opendmarc-util.o --- cc -DHAVE_CONFIG_H -I. -I.. -I/usr/include -I./../libopendmarc -DCONFIG_BASE=\"/usr/local/etc\" -pthread -I /usr/local/include/spf2 -O2 -pipe -I/usr/include -fstack-protector-strong -fno-strict-aliasing -MT opendmarc-util.o -MD -MP -MF .deps/opendmarc-util.Tpo -c -o opendmarc-util.o `test -f 'util.c' || echo './'`util.c --- opendmarc_check-opendmarc-check.o --- cc -DHAVE_CONFIG_H -I. -I.. -I./../libopendmarc -DCONFIG_BASE=\"/usr/local/etc\" -I /usr/local/include/spf2 -O2 -pipe -I/usr/include -fstack-protector-strong -fno-strict-aliasing -MT opendmarc_check-opendmarc-check.o -MD -MP -MF .deps/opendmarc_check-opendmarc-check.Tpo -c -o opendmarc_check-opendmarc-check.o `test -f 'opendmarc-check.c' || echo './'`opendmarc-check.c opendmarc-check.c:95:40: warning: passing 'char[10]' 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] dmarc = opendmarc_policy_connect_init(LOCALHOST, FALSE); ^~~~~~~~~ opendmarc-check.c:33:19: note: expanded from macro 'LOCALHOST' #define LOCALHOST "127.0.0.1" ^~~~~~~~~~~ ./../libopendmarc/dmarc.h:116:56: note: passing argument to parameter 'ip_addr' here DMARC_POLICY_T * opendmarc_policy_connect_init(u_char *ip_addr, int ip_type); ^ opendmarc-check.c:108:54: 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] status = opendmarc_policy_store_from_domain(dmarc, argv[c]); ^~~~~~~ ./../libopendmarc/dmarc.h:124:85: note: passing argument to parameter 'domain' here OPENDMARC_STATUS_T opendmarc_policy_store_from_domain(DMARC_POLICY_T *pctx, u_char *domain); ^ --- opendmarc-parse.o --- parse.c:515:7: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] addr = line; ^ ~~~~ parse.c:516:9: warning: assigning to 'char *' from 'unsigned 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 = line; !done; p++) ^ ~~~~ parse.c:554:31: warning: passing 'char *' to parameter of type '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 = dmarcf_mail_parse(addr, &u, &d); ^~~~ parse.c:366:34: note: passing argument to parameter 'line' here dmarcf_mail_parse(unsigned char *line, unsigned char **user_out, ^ parse.c:615: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] uout[n] = (char *) NULL; ^ ~~~~~~~~~~~~~ parse.c:616: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] dout[n] = (char *) NULL; ^ ~~~~~~~~~~~~~ --- opendmarc-opendmarc-arcares.o --- opendmarc-arcares.c:115:13: 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] string_ptr = string; ^ ~~~~~~ opendmarc-arcares.c:134:9: warning: returning 'u_char *' (aka 'unsigned char *') from a function with result type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] return string; ^~~~~~ opendmarc-arcares.c:167:30: 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] memcpy(tmp, hdr, MIN(strlen(hdr), sizeof tmp - 1)); ^~~ /usr/include/sys/param.h:331:21: note: expanded from macro 'MIN' #define MIN(a,b) (((a)<(b))?(a):(b)) ^ /usr/include/string.h:100:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ opendmarc-arcares.c:167:30: 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] memcpy(tmp, hdr, MIN(strlen(hdr), sizeof tmp - 1)); ^~~ /usr/include/sys/param.h:331:30: note: expanded from macro 'MIN' #define MIN(a,b) (((a)<(b))?(a):(b)) ^ /usr/include/string.h:100:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ opendmarc-arcares.c:169:16: 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] while ((token = strsep((char **)&tmp_ptr, ";")) != NULL) ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ opendmarc-arcares.c:177:30: 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] leading_space_len = strspn(token, " \n\t"); ^~~~~ /usr/include/string.h:128:28: note: passing argument to parameter here size_t strspn(const char *, const char *) __pure; ^ opendmarc-arcares.c:178:13: 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] token_ptr = token + leading_space_len; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~ opendmarc-arcares.c:188:13: warning: passing 'u_char[513]' (aka 'unsigned char[513]') 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(aar->arc, sizeof aar->arc, "%s=%s", tag_label, tag_value); ^~~~~~~~ /usr/include/stdio.h:297:32: note: passing argument to parameter here int snprintf(char * __restrict, size_t, const char * __restrict, ^ opendmarc-arcares.c:192:13: warning: passing 'u_char[513]' (aka 'unsigned char[513]') 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(aar->dkim, sizeof aar->dkim, "%s=%s", tag_label, tag_value); ^~~~~~~~~ /usr/include/stdio.h:297:32: note: passing argument to parameter here int snprintf(char * __restrict, size_t, const char * __restrict, ^ opendmarc-arcares.c:196:13: warning: passing 'u_char[513]' (aka 'unsigned char[513]') 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(aar->dmarc, sizeof aar->dmarc, "%s=%s", tag_label, tag_value); ^~~~~~~~~~ /usr/include/stdio.h:297:32: note: passing argument to parameter here int snprintf(char * __restrict, size_t, const char * __restrict, ^ opendmarc-arcares.c:202:15: 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] if ((token = strsep((char **) &tmp_ptr, ";")) != NULL) --- opendmarc_check-opendmarc-check.o --- 2 warnings generated. mv -f .deps/opendmarc_check-opendmarc-check.Tpo .deps/opendmarc_check-opendmarc-check.Po --- opendmarc-util.o --- mv -f .deps/opendmarc-util.Tpo .deps/opendmarc-util.Po --- opendmarc-opendmarc.o --- opendmarc.c:1604:10: 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] domain = cur->list_str; ^ ~~~~~~~~~~~~~ opendmarc.c:1607:13: 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] entry.key = domain; ^ ~~~~~~ opendmarc.c:2043:50: warning: passing 'char[2049]' 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] cc->cctx_dmarc = opendmarc_policy_connect_init(cc->cctx_ipstr, ^~~~~~~~~~~~~~ --- opendmarc-opendmarc-arcares.o --- ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ opendmarc-arcares.c:204: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] leading_space_len = strspn(token, " \n\t"); ^~~~~ /usr/include/string.h:128:28: note: passing argument to parameter here size_t strspn(const char *, const char *) __pure; ^ opendmarc-arcares.c:206:13: warning: passing 'u_char[257]' (aka 'unsigned char[257]') 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] strlcpy(aar->authserv_id, tag_value, sizeof aar->authserv_id); ^~~~~~~~~~~~~~~~ --- opendmarc-opendmarc-arcseal.o --- opendmarc-arcseal.c:104:13: 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] string_ptr = string; ^ ~~~~~~ opendmarc-arcseal.c:123:9: warning: returning 'u_char *' (aka 'unsigned char *') from a function with result type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] return string; ^~~~~~ opendmarc-arcseal.c:155:33: 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] memcpy(tmp, hdr, MIN_OF(strlen(hdr), sizeof tmp - 1)); ^~~ ./opendmarc.h:75:24: note: expanded from macro 'MIN_OF' --- opendmarc-check --- --- opendmarc-opendmarc.o --- ./../libopendmarc/dmarc.h:116:56: note: passing argument to parameter 'ip_addr' here DMARC_POLICY_T * opendmarc_policy_connect_init(u_char *ip_addr, int ip_type); ^ opendmarc.c:2053:50: warning: passing 'char[2049]' 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] cc->cctx_dmarc = opendmarc_policy_connect_init(cc->cctx_ipstr, ^~~~~~~~~~~~~~ ./../libopendmarc/dmarc.h:116:56: note: passing argument to parameter 'ip_addr' here DMARC_POLICY_T * opendmarc_policy_connect_init(u_char *ip_addr, int ip_type); ^ --- opendmarc-opendmarc-arcares.o --- /usr/include/string.h:98:34: note: passing argument to parameter here size_t strlcpy(char * __restrict, const char * __restrict, size_t); ^ opendmarc-arcares.c:211:13: warning: passing 'u_char[513]' (aka 'unsigned char[513]') 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(aar->spf, sizeof aar->spf, "%s=%s", tag_label, tag_value); ^~~~~~~~ /usr/include/stdio.h:297:32: note: passing argument to parameter here int snprintf(char * __restrict, size_t, const char * __restrict, ^ opendmarc-arcares.c:254:37: 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] --- opendmarc-opendmarc-arcseal.o --- #define MIN_OF(x, y) ((x) <= (y)) ? (x) : (y) ^ /usr/include/string.h:100:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ opendmarc-arcseal.c:155:33: 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] memcpy(tmp, hdr, MIN_OF(strlen(hdr), sizeof tmp - 1)); ^~~ ./opendmarc.h:75:38: note: expanded from macro 'MIN_OF' #define MIN_OF(x, y) ((x) <= (y)) ? (x) : (y) ^ /usr/include/string.h:100:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ --- opendmarc-opendmarc.o --- opendmarc.c:2066:50: warning: passing 'char[2049]' 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] cc->cctx_dmarc = opendmarc_policy_connect_init(cc->cctx_ipstr, ^~~~~~~~~~~~~~ ./../libopendmarc/dmarc.h:116:56: note: passing argument to parameter 'ip_addr' here DMARC_POLICY_T * opendmarc_policy_connect_init(u_char *ip_addr, int ip_type); ^ opendmarc.c:2194:11: warning: passing 'unsigned char[2049]' 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(dfc->mctx_envfrom, envfrom[0], ^~~~~~~~~~~~~~~~~ /usr/include/string.h:112:32: note: passing argument to parameter here --- opendmarc-opendmarc-arcares.o --- memcpy(tmp, hdr_arc, MIN_OF(strlen(hdr_arc), sizeof tmp - 1)); ^~~~~~~ ./opendmarc.h:75:24: note: expanded from macro 'MIN_OF' #define MIN_OF(x, y) ((x) <= (y)) ? (x) : (y) ^ /usr/include/string.h:100:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ opendmarc-arcares.c:254:37: 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] memcpy(tmp, hdr_arc, MIN_OF(strlen(hdr_arc), sizeof tmp - 1)); ^~~~~~~ ./opendmarc.h:75:38: note: expanded from macro 'MIN_OF' #define MIN_OF(x, y) ((x) <= (y)) ? (x) : (y) ^ /usr/include/string.h:100:28: note: passing argument to parameter here size_t strlen(const char *) __pure; --- opendmarc-opendmarc-arcseal.o --- opendmarc-arcseal.c:157:16: 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] while ((token = strsep((char **)&tmp_ptr, ";")) != NULL) ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ opendmarc-arcseal.c:165:30: 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] leading_space_len = strspn(token, " \n\t"); ^~~~~ /usr/include/string.h:128:28: note: passing argument to parameter here size_t strspn(const char *, const char *) __pure; ^ --- opendmarc-opendmarc.o --- char *strncpy(char * __restrict, const char * __restrict, size_t); ^ opendmarc.c:2197:16: warning: passing 'unsigned char[2049]' 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] len = strlen(dfc->mctx_envfrom); ^~~~~~~~~~~~~~~~~ /usr/include/string.h:100:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ opendmarc.c:2214:14: warning: passing 'unsigned char[2049]' 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(dfc->mctx_envfrom, '@'); ^~~~~~~~~~~~~~~~~ /usr/include/string.h:80:26: note: passing argument to parameter here char *strchr(const char *, int) __pure; --- opendmarc-opendmarc-arcares.o --- ^ opendmarc-arcares.c:256:16: 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] while ((token = strsep((char **)&tmp_ptr, ";")) != NULL) ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ opendmarc-arcares.c:264:30: 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] leading_space_len = strspn(token, " \n\t"); ^~~~~ /usr/include/string.h:128:28: note: passing argument to parameter here size_t strspn(const char *, const char *) __pure; ^ --- opendmarc-opendmarc-arcseal.o --- opendmarc-arcseal.c:166:13: 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] token_ptr = token + leading_space_len; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~ opendmarc-arcseal.c:170:50: 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] tag_value = opendmarc_arcseal_strip_whitespace(token_ptr); ^~~~~~~~~ opendmarc-arcseal.c:96:44: note: passing argument to parameter 'string' here opendmarc_arcseal_strip_whitespace(u_char *string) ^ --- opendmarc-opendmarc.o --- ^ opendmarc.c:2214:5: 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(dfc->mctx_envfrom, '@'); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ opendmarc.c:2216:12: warning: passing 'unsigned char[2049]' 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(dfc->mctx_envdomain, p + 1, BUFRSZ); ^~~~~~~~~~~~~~~~~~~ /usr/include/string.h:112:32: note: passing argument to parameter here char *strncpy(char * __restrict, const char * __restrict, size_t); ^ --- opendmarc-opendmarc-arcares.o --- opendmarc-arcares.c:265:13: 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] token_ptr = token + leading_space_len; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~ opendmarc-arcares.c:269:50: 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] tag_value = opendmarc_arcares_strip_whitespace(token_ptr); ^~~~~~~~~ opendmarc-arcares.c:107:44: note: passing argument to parameter 'string' here opendmarc_arcares_strip_whitespace(u_char *string) ^ --- opendmarc-opendmarc-arcseal.o --- opendmarc-arcseal.c:177:12: warning: passing 'u_char[257]' (aka 'unsigned char[257]') 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] strlcpy(as->algorithm, tag_value, sizeof as->algorithm); ^~~~~~~~~~~~~ /usr/include/string.h:98:34: note: passing argument to parameter here size_t strlcpy(char * __restrict, const char * __restrict, size_t); ^ opendmarc-arcseal.c:181:12: warning: passing 'u_char[257]' (aka 'unsigned char[257]') 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] strlcpy(as->chain_validation, tag_value, sizeof as->chain_validation); ^~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:98:34: note: passing argument to parameter here --- opendmarc-opendmarc.o --- opendmarc.c:2216:33: 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(dfc->mctx_envdomain, p + 1, BUFRSZ); ^~~~~ /usr/include/string.h:112:57: note: passing argument to parameter here char *strncpy(char * __restrict, const char * __restrict, size_t); ^ opendmarc.c:2373:19: 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] dfc->mctx_jobid = (u_char *) dmarcf_getsymval(ctx, "i"); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- opendmarc-opendmarc-arcares.o --- opendmarc-arcares.c:275:12: warning: passing 'u_char[257]' (aka 'unsigned char[257]') 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] strlcpy(arc->arcresult, tag_value, sizeof arc->arcresult); ^~~~~~~~~~~~~~ /usr/include/string.h:98:34: note: passing argument to parameter here size_t strlcpy(char * __restrict, const char * __restrict, size_t); ^ opendmarc-arcares.c:279:12: warning: passing 'u_char[513]' (aka 'unsigned char[513]') 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] strlcpy(arc->arcchain, tag_value, sizeof arc->arcchain); ^~~~~~~~~~~~~ /usr/include/string.h:98:34: note: passing argument to parameter here --- opendmarc-opendmarc-arcseal.o --- size_t strlcpy(char * __restrict, const char * __restrict, size_t); ^ opendmarc-arcseal.c:189:12: warning: passing 'u_char[257]' (aka 'unsigned char[257]') 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] strlcpy(as->signature_domain, tag_value, sizeof as->signature_domain); ^~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:98:34: note: passing argument to parameter here size_t strlcpy(char * __restrict, const char * __restrict, size_t); ^ opendmarc-arcseal.c:193:12: warning: passing 'u_char[257]' (aka 'unsigned char[257]') 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] strlcpy(as->signature_selector, tag_value, sizeof as->signature_selector); --- opendmarc-opendmarc.o --- opendmarc.c:2382:20: 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] dfc->mctx_jobid = (u_char *) JOBIDUNKNOWN; ^ ~~~~~~~~~~~~~~~~~~~~~~~ opendmarc.c:2410:17: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char[27]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] reqhdrs_error = "not exactly one From field"; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ opendmarc.c:2414:17: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char[27]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] reqhdrs_error = "not exactly one Date field"; --- opendmarc-opendmarc-arcares.o --- size_t strlcpy(char * __restrict, const char * __restrict, size_t); ^ opendmarc-arcares.c:283:12: warning: passing 'u_char[257]' (aka 'unsigned char[257]') 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] strlcpy(arc->smtpclientip, tag_value, sizeof arc->smtpclientip); ^~~~~~~~~~~~~~~~~ /usr/include/string.h:98:34: note: passing argument to parameter here size_t strlcpy(char * __restrict, const char * __restrict, size_t); ^ opendmarc-arcares.c:323:12: warning: passing 'u_char[257]' (aka 'unsigned char[257]') 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] strlcpy(aar->authserv_id, aar_hdr->arcares.authserv_id, sizeof aar->authserv_id); --- opendmarc-opendmarc-arcseal.o --- ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:98:34: note: passing argument to parameter here size_t strlcpy(char * __restrict, const char * __restrict, size_t); ^ opendmarc-arcseal.c:197:12: warning: passing 'u_char[257]' (aka 'unsigned char[257]') 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] strlcpy(as->signature_time, tag_value, sizeof as->signature_time); ^~~~~~~~~~~~~~~~~~ /usr/include/string.h:98:34: note: passing argument to parameter here size_t strlcpy(char * __restrict, const char * __restrict, size_t); ^ --- opendmarc-opendmarc.o --- ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ opendmarc.c:2417:17: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char[25]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] reqhdrs_error = "multiple Reply-To fields"; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ opendmarc.c:2420:17: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char[19]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] reqhdrs_error = "multiple To fields"; ^ ~~~~~~~~~~~~~~~~~~~~ opendmarc.c:2423:17: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char[19]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] reqhdrs_error = "multiple Cc fields"; --- opendmarc-opendmarc-arcares.o --- ^~~~~~~~~~~~~~~~ /usr/include/string.h:98:34: note: passing argument to parameter here size_t strlcpy(char * __restrict, const char * __restrict, size_t); ^ opendmarc-arcares.c:323:30: warning: passing 'u_char[257]' (aka 'unsigned char[257]') 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] strlcpy(aar->authserv_id, aar_hdr->arcares.authserv_id, sizeof aar->authserv_id); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:98:59: note: passing argument to parameter here size_t strlcpy(char * __restrict, const char * __restrict, size_t); ^ --- opendmarc-opendmarc-arcseal.o --- opendmarc-arcseal.c:201:12: warning: passing 'u_char[513]' (aka 'unsigned char[513]') 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] strlcpy(as->signature_value, tag_value, sizeof as->signature_value); ^~~~~~~~~~~~~~~~~~~ /usr/include/string.h:98:34: note: passing argument to parameter here size_t strlcpy(char * __restrict, const char * __restrict, size_t); ^ --- opendmarc-opendmarc.o --- ^ ~~~~~~~~~~~~~~~~~~~~ opendmarc.c:2426:17: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char[20]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] reqhdrs_error = "multiple Bcc fields"; ^ ~~~~~~~~~~~~~~~~~~~~~ opendmarc.c:2429:17: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char[27]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] reqhdrs_error = "multiple Message-Id fields"; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ opendmarc.c:2432:17: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char[28]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] reqhdrs_error = "multiple In-Reply-To fields"; --- opendmarc-opendmarc-arcares.o --- opendmarc-arcares.c:324:12: warning: passing 'u_char[513]' (aka 'unsigned char[513]') 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] strlcpy(aar->arc, aar_hdr->arcares.arc, sizeof aar->arc); ^~~~~~~~ /usr/include/string.h:98:34: note: passing argument to parameter here size_t strlcpy(char * __restrict, const char * __restrict, size_t); ^ opendmarc-arcares.c:324:22: warning: passing 'u_char[513]' (aka 'unsigned char[513]') 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] strlcpy(aar->arc, aar_hdr->arcares.arc, sizeof aar->arc); ^~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:98:59: note: passing argument to parameter here --- opendmarc-opendmarc.o --- ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ opendmarc.c:2435:17: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char[27]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] reqhdrs_error = "multiple References fields"; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ opendmarc.c:2438:17: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char[24]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] reqhdrs_error = "multiple Subject fields"; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~ opendmarc.c:2467:10: warning: passing 'unsigned char[2049]' 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(addrbuf, from->hdr_value, sizeof addrbuf - 1); --- opendmarc-opendmarc-arcares.o --- size_t strlcpy(char * __restrict, const char * __restrict, size_t); ^ opendmarc-arcares.c:325:12: warning: passing 'u_char[513]' (aka 'unsigned char[513]') 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] strlcpy(aar->dkim, aar_hdr->arcares.dkim, sizeof aar->dkim); ^~~~~~~~~ /usr/include/string.h:98:34: note: passing argument to parameter here size_t strlcpy(char * __restrict, const char * __restrict, size_t); ^ opendmarc-arcares.c:325:23: warning: passing 'u_char[513]' (aka 'unsigned char[513]') 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] strlcpy(aar->dkim, aar_hdr->arcares.dkim, sizeof aar->dkim); --- opendmarc-opendmarc-dstring.o --- mv -f .deps/opendmarc-opendmarc-dstring.Tpo .deps/opendmarc-opendmarc-dstring.Po --- opendmarc-opendmarc.o --- ^~~~~~~ /usr/include/string.h:112:32: note: passing argument to parameter here char *strncpy(char * __restrict, const char * __restrict, size_t); ^ opendmarc.c:2468:35: warning: passing 'unsigned char[2049]' 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 = dmarcf_mail_parse_multi(addrbuf, &users, &domains, &froms); ^~~~~~~ ./parse.h:25:47: note: passing argument to parameter here extern int dmarcf_mail_parse_multi __P((char *, unsigned char ***, ^ opendmarc.c:2480: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] strcasecmp(domains[0], domains[c]) != 0) --- opendmarc-opendmarc-arcares.o --- ^~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:98:59: note: passing argument to parameter here size_t strlcpy(char * __restrict, const char * __restrict, size_t); ^ opendmarc-arcares.c:326:12: warning: passing 'u_char[513]' (aka 'unsigned char[513]') 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] strlcpy(aar->dmarc, aar_hdr->arcares.dmarc, sizeof aar->dmarc); ^~~~~~~~~~ /usr/include/string.h:98:34: note: passing argument to parameter here size_t strlcpy(char * __restrict, const char * __restrict, size_t); ^ --- opendmarc-check --- /bin/sh ../libtool --tag=CC --mode=link cc -I /usr/local/include/spf2 -O2 -pipe -I/usr/include -fstack-protector-strong -fno-strict-aliasing -Wl,-rpath,/usr/lib:/usr/local/lib -L/usr/lib -fstack-protector-strong -L/usr/local/lib -o opendmarc-check opendmarc_check-opendmarc-check.o ../libopendmarc/libopendmarc.la -lm -lspf2 -lrt --- opendmarc-config.o --- mv -f .deps/opendmarc-config.Tpo .deps/opendmarc-config.Po --- opendmarc-opendmarc.o --- ^~~~~~~~~~ /usr/include/strings.h:63:29: note: passing argument to parameter here int strcasecmp(const char *, const char *) __pure; ^ opendmarc.c:2480:31: 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] strcasecmp(domains[0], domains[c]) != 0) ^~~~~~~~~~ /usr/include/strings.h:63:43: note: passing argument to parameter here int strcasecmp(const char *, const char *) __pure; ^ opendmarc.c:2513: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] --- opendmarc-opendmarc-arcares.o --- opendmarc-arcares.c:326:24: warning: passing 'u_char[513]' (aka 'unsigned char[513]') 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] strlcpy(aar->dmarc, aar_hdr->arcares.dmarc, sizeof aar->dmarc); ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:98:59: note: passing argument to parameter here size_t strlcpy(char * __restrict, const char * __restrict, size_t); ^ opendmarc-arcares.c:327:12: warning: passing 'u_char[513]' (aka 'unsigned char[513]') 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] strlcpy(aar->spf, aar_hdr->arcares.spf, sizeof aar->spf); ^~~~~~~~ --- opendmarc-opendmarc.o --- dmarcf_match(domain, conf->conf_ignoredomains, TRUE)) ^~~~~~ opendmarc.c:986:26: note: passing argument to parameter 'str' here dmarcf_match(const char *str, char **array, _Bool icase) ^ opendmarc.c:2524:10: warning: passing 'unsigned char[2049]' 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(dfc->mctx_fromdomain, domain, sizeof dfc->mctx_fromdomain - 1); ^~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:112:32: note: passing argument to parameter here char *strncpy(char * __restrict, const char * __restrict, size_t); ^ opendmarc.c:2524: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] --- opendmarc-opendmarc-arcares.o --- /usr/include/string.h:98:34: note: passing argument to parameter here size_t strlcpy(char * __restrict, const char * __restrict, size_t); ^ opendmarc-arcares.c:327:22: warning: passing 'u_char[513]' (aka 'unsigned char[513]') 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] strlcpy(aar->spf, aar_hdr->arcares.spf, sizeof aar->spf); ^~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:98:59: note: passing argument to parameter here size_t strlcpy(char * __restrict, const char * __restrict, size_t); ^ --- opendmarc-opendmarc.o --- strncpy(dfc->mctx_fromdomain, domain, sizeof dfc->mctx_fromdomain - 1); ^~~~~~ /usr/include/string.h:112:57: note: passing argument to parameter here char *strncpy(char * __restrict, const char * __restrict, size_t); ^ opendmarc.c:2576:31: 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] if (opendmarc_arcares_parse(hdr->hdr_value, &aar_hdr_new->arcares) != 0) ^~~~~~~~~~~~~~ ./opendmarc-arcares.h:105:49: note: passing argument to parameter 'hdr' here extern int opendmarc_arcares_parse __P((u_char *hdr, struct arcares *aar)); ^ opendmarc.c:2623:31: 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] if (opendmarc_arcseal_parse(hdr->hdr_value, &as_hdr_new->arcseal) != 0) ^~~~~~~~~~~~~~ ./opendmarc-arcseal.h:85:49: note: passing argument to parameter 'hdr' here extern int opendmarc_arcseal_parse __P((u_char *hdr, struct arcseal *as)); ^ opendmarc.c:2653:18: 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] if (ares_parse(hdr->hdr_value, &ar) != 0) ^~~~~~~~~~~~~~ ./opendmarc-ar.h:103:36: note: passing argument to parameter 'hdr' here extern int ares_parse __P((u_char *hdr, struct authres *ar)); ^ opendmarc.c:2657:18: warning: passing 'unsigned char[257]' 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(ar.ares_host, authservid) != 0 && ^~~~~~~~~~~~ /usr/include/strings.h:63:29: note: passing argument to parameter here int strcasecmp(const char *, const char *) __pure; ^ opendmarc.c:2659:22: warning: passing 'unsigned char[257]' 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] !dmarcf_match(ar.ares_host, conf->conf_trustedauthservids, ^~~~~~~~~~~~ opendmarc.c:986:26: note: passing argument to parameter 'str' here dmarcf_match(const char *str, char **array, _Bool icase) ^ opendmarc.c:2677:37: warning: passing 'unsigned char[257]' 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] slash = (unsigned char *) strchr(ar.ares_host, '/'); ^~~~~~~~~~~~ /usr/include/string.h:80:26: note: passing argument to parameter here char *strchr(const char *, int) __pure; ^ --- opendmarc-test.o --- mv -f .deps/opendmarc-test.Tpo .deps/opendmarc-test.Po --- opendmarc-opendmarc-arcseal.o --- 14 warnings generated. mv -f .deps/opendmarc-opendmarc-arcseal.Tpo .deps/opendmarc-opendmarc-arcseal.Po --- opendmarc-opendmarc-ar.o --- mv -f .deps/opendmarc-opendmarc-ar.Tpo .deps/opendmarc-opendmarc-ar.Po --- opendmarc-opendmarc.o --- opendmarc.c:2692:20: warning: passing 'unsigned char[257]' 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(ar.ares_host, authservid) != 0 && ^~~~~~~~~~~~ /usr/include/strings.h:63:29: note: passing argument to parameter here int strcasecmp(const char *, const char *) __pure; ^ opendmarc.c:2694:24: warning: passing 'unsigned char[257]' 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] !dmarcf_match(ar.ares_host, ^~~~~~~~~~~~ opendmarc.c:986:26: note: passing argument to parameter 'str' here dmarcf_match(const char *str, char **array, _Bool icase) ^ --- opendmarc-parse.o --- 5 warnings generated. --- opendmarc-opendmarc.o --- opendmarc.c:2697: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] strcmp(slash + 1, dfc->mctx_jobid) != 0) ^~~~~~~~~ /usr/include/string.h:85:25: note: passing argument to parameter here int strcmp(const char *, const char *) __pure; ^ opendmarc.c:2743:21: warning: passing 'unsigned char[257]' 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] strcasecmp(ar.ares_result[c].result_property[i], ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/strings.h:63:29: note: passing argument to parameter here int strcasecmp(const char *, const char *) __pure; --- opendmarc-opendmarc-arcares.o --- 33 warnings generated. --- opendmarc-opendmarc.o --- ^ opendmarc.c:2748:18: warning: passing 'unsigned char[257]' 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] d = strchr(ar.ares_result[c].result_value[i], ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:80:26: note: passing argument to parameter here char *strchr(const char *, int) __pure; ^ opendmarc.c:2751:10: warning: assigning to 'char *' from 'unsigned char[257]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] d = ar.ares_result[c].result_value[i]; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ opendmarc.c:2754:22: warning: passing 'unsigned char[2049]' 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] dfc->mctx_envdomain) == 0) ^~~~~~~~~~~~~~~~~~~ /usr/include/strings.h:63:43: note: passing argument to parameter here int strcasecmp(const char *, const char *) __pure; ^ opendmarc.c:2776:22: warning: passing 'unsigned char[257]' 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(ar.ares_result[c].result_property[pc], ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/strings.h:63:29: note: passing argument to parameter here int strcasecmp(const char *, const char *) __pure; ^ opendmarc.c:2779:16: warning: assigning to 'char *' from 'unsigned char[257]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] spfaddr = ar.ares_result[c].result_value[pc]; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ opendmarc.c:2782:17: warning: passing 'unsigned char[2049]' 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(addrbuf, ^~~~~~~ /usr/include/string.h:112:32: note: passing argument to parameter here char *strncpy(char * __restrict, const char * __restrict, size_t); ^ opendmarc.c:2788:18: warning: passing 'unsigned char[2049]' 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(addrbuf, ^~~~~~~ /usr/include/stdio.h:297:32: note: passing argument to parameter here int snprintf(char * __restrict, size_t, const char * __restrict, ^ opendmarc.c:2796:27: warning: passing 'unsigned char[257]' 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] else if (strcasecmp(ar.ares_result[c].result_property[pc], ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/strings.h:63:29: note: passing argument to parameter here int strcasecmp(const char *, const char *) __pure; ^ opendmarc.c:2800:16: warning: assigning to 'char *' from 'unsigned char[257]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] spfaddr = ar.ares_result[c].result_value[pc]; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ opendmarc.c:2801:17: warning: passing 'unsigned char[2049]' 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(addrbuf, ^~~~~~~ /usr/include/stdio.h:297:32: note: passing argument to parameter here int snprintf(char * __restrict, size_t, const char * __restrict, ^ opendmarc.c:2959:36: 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] arcchainlen = dmarcf_mkarray(arcchain, ":", ^~~~~~~~ opendmarc.c:914:22: note: passing argument to parameter 'str' here dmarcf_mkarray(char *str, char *delim, char ***array) ^ opendmarc.c:2968:18: 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] entry.key = arcdomain; ^ ~~~~~~~~~ opendmarc.c:3013:40: warning: passing 'unsigned char[2049]' 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] dfc->mctx_envdomain); ^~~~~~~~~~~~~~~~~~~ opendmarc.c:441:44: note: passing argument to parameter 'envdomain' here dmarcf_parse_received_spf(char *str, char *envdomain) ^ opendmarc.c:3087:16: warning: assigning to 'char *' from 'unsigned char[2049]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] use_domain = dfc->mctx_envdomain; ^ ~~~~~~~~~~~~~~~~~~~ opendmarc.c:3096:34: 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] use_domain, ^~~~~~~~~~ ./../libopendmarc/dmarc.h:126:77: note: passing argument to parameter 'domain' here OPENDMARC_STATUS_T opendmarc_policy_store_spf(DMARC_POLICY_T *pctx, u_char *domain, int result, int origin, u_char *human_result); ^ opendmarc.c:3099:34: warning: passing 'char[512]' 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] human); ^~~~~ ./../libopendmarc/dmarc.h:126:117: note: passing argument to parameter 'human_result' here OPENDMARC_STATUS_T opendmarc_policy_store_spf(DMARC_POLICY_T *pctx, u_char *domain, int result, int origin, u_char *human_result); ^ opendmarc.c:3130:14: warning: passing '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] snprintf(header, sizeof header, ^~~~~~ /usr/include/stdio.h:297:32: note: passing argument to parameter here int snprintf(char * __restrict, size_t, const char * __restrict, ^ opendmarc.c:3136:14: warning: passing '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] snprintf(header, sizeof header, ^~~~~~ /usr/include/stdio.h:297:32: note: passing argument to parameter here int snprintf(char * __restrict, size_t, const char * __restrict, ^ opendmarc.c:3142:11: warning: passing '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] header) == MI_FAILURE) ^~~~~~ opendmarc.c:338:60: note: passing argument to parameter 'hvalue' here dmarcf_insheader(SMFICTX *ctx, int idx, char *hname, char *hvalue) ^ opendmarc.c:3202:12: warning: passing '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] snprintf(header, sizeof header, ^~~~~~ /usr/include/stdio.h:297:32: note: passing argument to parameter here int snprintf(char * __restrict, size_t, const char * __restrict, ^ opendmarc.c:3207:24: warning: passing '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] header) == MI_FAILURE) ^~~~~~ opendmarc.c:338:60: note: passing argument to parameter 'hvalue' here dmarcf_insheader(SMFICTX *ctx, int idx, char *hname, char *hvalue) ^ opendmarc.c:3335: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] if (strncasecmp(ruv[c], "mailto:", 7) != 0) ^~~~~~ /usr/include/strings.h:64:30: note: passing argument to parameter here int strncasecmp(const char *, const char *, size_t) __pure; ^ opendmarc.c:3338: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] bang = strchr(ruv[c], '!'); ^~~~~~ /usr/include/string.h:80:26: note: passing argument to parameter here char *strchr(const char *, int) __pure; ^ opendmarc.c:3338:9: 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] bang = strchr(ruv[c], '!'); ^ ~~~~~~~~~~~~~~~~~~~ opendmarc.c:3347:40: warning: passing 'char[5]' 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] dmarcf_dstring_cat(dfc->mctx_afrf, "To: "); ^~~~~~ ./opendmarc-dstring.h:22:71: note: passing argument to parameter here extern _Bool dmarcf_dstring_cat __P((struct dmarcf_dstring *, u_char *)); ^ opendmarc.c:3352:40: 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] dmarcf_dstring_cat(dfc->mctx_afrf, ", "); ^~~~ ./opendmarc-dstring.h:22:71: note: passing argument to parameter here extern _Bool dmarcf_dstring_cat __P((struct dmarcf_dstring *, u_char *)); ^ opendmarc.c:3362:40: warning: passing 'char[5]' 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] dmarcf_dstring_cat(dfc->mctx_afrf, "To: "); ^~~~~~ ./opendmarc-dstring.h:22:71: note: passing argument to parameter here extern _Bool dmarcf_dstring_cat __P((struct dmarcf_dstring *, u_char *)); ^ opendmarc.c:3364:24: 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] conf->conf_afrfbcc); ^~~~~~~~~~~~~~~~~~ ./opendmarc-dstring.h:22:71: note: passing argument to parameter here extern _Bool dmarcf_dstring_cat __P((struct dmarcf_dstring *, u_char *)); ^ opendmarc.c:3378:39: warning: passing 'char[2]' 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] dmarcf_dstring_cat(dfc->mctx_afrf, "\n"); ^~~~ ./opendmarc-dstring.h:22:71: note: passing argument to parameter here extern _Bool dmarcf_dstring_cat __P((struct dmarcf_dstring *, u_char *)); ^ opendmarc.c:3383:40: warning: passing 'char[6]' 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] dmarcf_dstring_cat(dfc->mctx_afrf, "Bcc: "); ^~~~~~~ ./opendmarc-dstring.h:22:71: note: passing argument to parameter here extern _Bool dmarcf_dstring_cat __P((struct dmarcf_dstring *, u_char *)); ^ opendmarc.c:3385:24: 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] conf->conf_afrfbcc); ^~~~~~~~~~~~~~~~~~ ./opendmarc-dstring.h:22:71: note: passing argument to parameter here extern _Bool dmarcf_dstring_cat __P((struct dmarcf_dstring *, u_char *)); ^ opendmarc.c:3386:40: warning: passing 'char[2]' 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] dmarcf_dstring_cat(dfc->mctx_afrf, "\n"); ^~~~ ./opendmarc-dstring.h:22:71: note: passing argument to parameter here extern _Bool dmarcf_dstring_cat __P((struct dmarcf_dstring *, u_char *)); ^ opendmarc.c:3412:23: warning: passing 'char[19]' 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] "MIME-Version: 1.0\n"); ^~~~~~~~~~~~~~~~~~~~~ ./opendmarc-dstring.h:22:71: note: passing argument to parameter here extern _Bool dmarcf_dstring_cat __P((struct dmarcf_dstring *, u_char *)); ^ opendmarc.c:3420:39: warning: passing 'char[2]' 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] dmarcf_dstring_cat(dfc->mctx_afrf, "\n"); ^~~~ ./opendmarc-dstring.h:22:71: note: passing argument to parameter here extern _Bool dmarcf_dstring_cat __P((struct dmarcf_dstring *, u_char *)); ^ opendmarc.c:3440:23: warning: passing 'char[40]' 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] "Feedback-Type: auth-failure\n" ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./opendmarc-dstring.h:22:71: note: passing argument to parameter here extern _Bool dmarcf_dstring_cat __P((struct dmarcf_dstring *, u_char *)); ^ opendmarc.c:3448:23: warning: passing 'char[21]' 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] "Auth-Failure: dmarc\n"); ^~~~~~~~~~~~~~~~~~~~~~~ ./opendmarc-dstring.h:22:71: note: passing argument to parameter here extern _Bool dmarcf_dstring_cat __P((struct dmarcf_dstring *, u_char *)); ^ opendmarc.c:3563:13: warning: passing 'unsigned char[2049]' 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(replybuf, sizeof replybuf, ^~~~~~~~ /usr/include/stdio.h:297:32: note: passing argument to parameter here int snprintf(char * __restrict, size_t, const char * __restrict, ^ opendmarc.c:3567:47: warning: passing 'unsigned char[2049]' 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] DMARC_REJECT_ESC, replybuf); ^~~~~~~~ opendmarc.c:314:63: note: passing argument to parameter 'replytxt' here dmarcf_setreply(SMFICTX *ctx, char *rcode, char *xcode, char *replytxt) ^ opendmarc.c:3598:13: warning: passing 'unsigned char[2049]' 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(replybuf, sizeof replybuf, ^~~~~~~~ /usr/include/stdio.h:297:32: note: passing argument to parameter here int snprintf(char * __restrict, size_t, const char * __restrict, ^ opendmarc.c:3602:34: warning: passing 'unsigned char[2049]' 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 = smfi_quarantine(ctx, replybuf); ^~~~~~~~ /usr/include/libmilter/mfapi.h:559:60: note: passing argument to parameter 'reason' here LIBMILTER_API int smfi_quarantine __P((SMFICTX *ctx, char *reason)); ^ opendmarc.c:3748:12: warning: passing '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] snprintf(header, sizeof header, ^~~~~~ /usr/include/stdio.h:297:32: note: passing argument to parameter here int snprintf(char * __restrict, size_t, const char * __restrict, ^ opendmarc.c:3756:24: warning: passing '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] header) == MI_FAILURE) ^~~~~~ opendmarc.c:338:60: note: passing argument to parameter 'hvalue' here dmarcf_insheader(SMFICTX *ctx, int idx, char *hname, char *hvalue) ^ opendmarc.c:3842:12: warning: passing '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] snprintf(header, sizeof header, "%s v%s %s %s", ^~~~~~ /usr/include/stdio.h:297:32: note: passing argument to parameter here int snprintf(char * __restrict, size_t, const char * __restrict, ^ opendmarc.c:3848:24: warning: passing '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] header) == MI_FAILURE) ^~~~~~ opendmarc.c:338:60: note: passing argument to parameter 'hvalue' here dmarcf_insheader(SMFICTX *ctx, int idx, char *hname, char *hvalue) ^ --- opendmarc-opendmarc-arcares.o --- mv -f .deps/opendmarc-opendmarc-arcares.Tpo .deps/opendmarc-opendmarc-arcares.Po --- opendmarc-parse.o --- mv -f .deps/opendmarc-parse.Tpo .deps/opendmarc-parse.Po --- opendmarc-opendmarc.o --- opendmarc.c:5204:11: warning: passing 'u_char[1024]' (aka 'unsigned char[1024]') 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(libopendmarc.tld_source_file, curconf->conf_pslist, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:112:32: note: passing argument to parameter here char *strncpy(char * __restrict, const char * __restrict, size_t); ^ --- opendmarc-check --- libtool: link: cc -I /usr/local/include/spf2 -O2 -pipe -I/usr/include -fstack-protector-strong -fno-strict-aliasing -Wl,-rpath -Wl,/usr/lib:/usr/local/lib -fstack-protector-strong -o .libs/opendmarc-check opendmarc_check-opendmarc-check.o -L/usr/lib -L/usr/local/lib ../libopendmarc/.libs/libopendmarc.so -lm -lspf2 -lrt -Wl,-rpath -Wl,/usr/local/lib --- opendmarc-opendmarc.o --- 85 warnings generated. mv -f .deps/opendmarc-opendmarc.Tpo .deps/opendmarc-opendmarc.Po --- opendmarc --- /bin/sh ../libtool --tag=CC --mode=link cc -pthread -I /usr/local/include/spf2 -O2 -pipe -I/usr/include -fstack-protector-strong -fno-strict-aliasing -L/usr/lib -pthread -Wl,-rpath,/usr/lib:/usr/local/lib -L/usr/lib -fstack-protector-strong -L/usr/local/lib -o opendmarc opendmarc-config.o opendmarc-opendmarc.o opendmarc-opendmarc-ar.o opendmarc-opendmarc-arcares.o opendmarc-opendmarc-arcseal.o opendmarc-opendmarc-dstring.o opendmarc-parse.o opendmarc-test.o opendmarc-util.o ../libopendmarc/libopendmarc.la -lmilter -lpthread -lm -lspf2 -lrt libtool: link: cc -I /usr/local/include/spf2 -O2 -pipe -I/usr/include -fstack-protector-strong -fno-strict-aliasing -Wl,-rpath -Wl,/usr/lib:/usr/local/lib -fstack-protector-strong -o .libs/opendmarc opendmarc-config.o opendmarc-opendmarc.o opendmarc-opendmarc-ar.o opendmarc-opendmarc-arcares.o opendmarc-opendmarc-arcseal.o opendmarc-opendmarc-dstring.o opendmarc-parse.o opendmarc-test.o opendmarc-util.o -L/usr/lib -L/usr/local/lib ../libopendmarc/.libs/libopendmarc.so -lmilter -lpthread -lm -lspf2 -lrt -pthread -Wl,-rpath -Wl,/usr/local/lib =========================================================================== =>> Checking for filesystem violations... done =================================================== ===== env: DEVELOPER_MODE=yes USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> opendmarc-1.4.2_2 depends on package: p5-Switch>=0 - not found ===> Installing existing package /packages/All/p5-Switch-2.17_1.pkg [14amd64-portscommit-job-07] Installing p5-Switch-2.17_1... [14amd64-portscommit-job-07] `-- Installing p5-Filter-1.64... [14amd64-portscommit-job-07] `-- Extracting p5-Filter-1.64: .......... done [14amd64-portscommit-job-07] Extracting p5-Switch-2.17_1: ... done ===> opendmarc-1.4.2_2 depends on package: p5-Switch>=0 - found ===> Returning to build of opendmarc-1.4.2_2 ===> opendmarc-1.4.2_2 depends on package: p5-DBI>=0 - not found ===> Installing existing package /packages/All/p5-DBI-1.643.pkg [14amd64-portscommit-job-07] Installing p5-DBI-1.643... [14amd64-portscommit-job-07] Extracting p5-DBI-1.643: .......... done ===> opendmarc-1.4.2_2 depends on package: p5-DBI>=0 - found ===> Returning to build of opendmarc-1.4.2_2 ===> opendmarc-1.4.2_2 depends on package: p5-DBD-mysql4>=0 - not found ===> Installing existing package /packages/All/p5-DBD-mysql4-4.052.pkg [14amd64-portscommit-job-07] Installing p5-DBD-mysql4-4.052... [14amd64-portscommit-job-07] `-- Installing p5-Crypt-SSLeay-0.72_3... [14amd64-portscommit-job-07] | `-- Installing p5-LWP-Protocol-https-6.14... [14amd64-portscommit-job-07] | | `-- Installing p5-IO-Socket-SSL-2.085... [14amd64-portscommit-job-07] | | `-- Installing p5-IO-Socket-IP-0.42... [14amd64-portscommit-job-07] | | `-- Extracting p5-IO-Socket-IP-0.42: ... done [14amd64-portscommit-job-07] | | `-- Installing p5-Mozilla-CA-20240313... [14amd64-portscommit-job-07] | | `-- Extracting p5-Mozilla-CA-20240313: .... done [14amd64-portscommit-job-07] | | `-- Installing p5-Net-SSLeay-1.94... [14amd64-portscommit-job-07] | | `-- Extracting p5-Net-SSLeay-1.94: .......... done [14amd64-portscommit-job-07] | | `-- Extracting p5-IO-Socket-SSL-2.085: .......... done [14amd64-portscommit-job-07] | | `-- Installing p5-Net-HTTP-6.23... [14amd64-portscommit-job-07] | | `-- Installing p5-URI-5.28... [14amd64-portscommit-job-07] | | `-- Extracting p5-URI-5.28: .......... done [14amd64-portscommit-job-07] | | `-- Extracting p5-Net-HTTP-6.23: ......... done [14amd64-portscommit-job-07] | | `-- Installing p5-libwww-6.70... [14amd64-portscommit-job-07] | | `-- Installing p5-Authen-NTLM-1.09_1... [14amd64-portscommit-job-07] | | | `-- Installing p5-Digest-HMAC-1.04... [14amd64-portscommit-job-07] | | | `-- Extracting p5-Digest-HMAC-1.04: ....... done [14amd64-portscommit-job-07] | | `-- Extracting p5-Authen-NTLM-1.09_1: ..... done [14amd64-portscommit-job-07] | | `-- Installing p5-Encode-Locale-1.05... [14amd64-portscommit-job-07] | | `-- Extracting p5-Encode-Locale-1.05: ... done [14amd64-portscommit-job-07] | | `-- Installing p5-File-Listing-6.16... [14amd64-portscommit-job-07] | | | `-- Installing p5-HTTP-Date-6.06... [14amd64-portscommit-job-07] | | | `-- Installing p5-TimeDate-2.33,1... [14amd64-portscommit-job-07] | | | `-- Extracting p5-TimeDate-2.33,1: .......... done [14amd64-portscommit-job-07] | | | `-- Extracting p5-HTTP-Date-6.06: ... done [14amd64-portscommit-job-07] | | `-- Extracting p5-File-Listing-6.16: ... done [14amd64-portscommit-job-07] | | `-- Installing p5-HTML-Parser-3.82... [14amd64-portscommit-job-07] | | | `-- Installing p5-HTML-Tagset-3.24... [14amd64-portscommit-job-07] | | | `-- Extracting p5-HTML-Tagset-3.24: ... done [14amd64-portscommit-job-07] | | | `-- Installing p5-HTTP-Message-6.45... [14amd64-portscommit-job-07] | | | `-- Installing p5-Clone-0.46... [14amd64-portscommit-job-07] | | | `-- Extracting p5-Clone-0.46: ..... done [14amd64-portscommit-job-07] | | | `-- Installing p5-IO-HTML-1.004... [14amd64-portscommit-job-07] | | | `-- Extracting p5-IO-HTML-1.004: ... done [14amd64-portscommit-job-07] | | | `-- Installing p5-LWP-MediaTypes-6.04... [14amd64-portscommit-job-07] | | | `-- Extracting p5-LWP-MediaTypes-6.04: .... done [14amd64-portscommit-job-07] | | | `-- Extracting p5-HTTP-Message-6.45: .......... done [14amd64-portscommit-job-07] | | `-- Extracting p5-HTML-Parser-3.82: .......... done [14amd64-portscommit-job-07] | | `-- Installing p5-HTTP-CookieJar-0.014... [14amd64-portscommit-job-07] | | `-- Extracting p5-HTTP-CookieJar-0.014: ..... done [14amd64-portscommit-job-07] | | `-- Installing p5-HTTP-Cookies-6.11... [14amd64-portscommit-job-07] | | `-- Extracting p5-HTTP-Cookies-6.11: ....... done [14amd64-portscommit-job-07] | | `-- Installing p5-HTTP-Negotiate-6.01_1... [14amd64-portscommit-job-07] | | `-- Extracting p5-HTTP-Negotiate-6.01_1: ... done [14amd64-portscommit-job-07] | | `-- Installing p5-Try-Tiny-0.31... [14amd64-portscommit-job-07] | | `-- Extracting p5-Try-Tiny-0.31: ... done [14amd64-portscommit-job-07] | | `-- Installing p5-WWW-RobotRules-6.02_1... [14amd64-portscommit-job-07] | | `-- Extracting p5-WWW-RobotRules-6.02_1: ..... done [14amd64-portscommit-job-07] | | `-- Extracting p5-libwww-6.70: .......... done [14amd64-portscommit-job-07] | `-- Extracting p5-LWP-Protocol-https-6.14: ... done [14amd64-portscommit-job-07] `-- Extracting p5-Crypt-SSLeay-0.72_3: .......... done [14amd64-portscommit-job-07] Extracting p5-DBD-mysql4-4.052: ......... done ===> opendmarc-1.4.2_2 depends on package: p5-DBD-mysql4>=0 - found ===> Returning to build of opendmarc-1.4.2_2 ===> opendmarc-1.4.2_2 depends on package: p5-HTTP-Message>=0 - found ===> opendmarc-1.4.2_2 depends on package: perl5>=5.36<5.37 - found =========================================================================== =>> Recording filesystem state for prestage... done =================================================== ===== env: DEVELOPER_MODE=yes STRICT_DEPENDS=yes USER=nobody UID=65534 GID=65534 ===> Staging for opendmarc-1.4.2_2 ===> opendmarc-1.4.2_2 depends on package: p5-Switch>=0 - found ===> opendmarc-1.4.2_2 depends on package: p5-DBI>=0 - found ===> opendmarc-1.4.2_2 depends on package: p5-DBD-mysql4>=0 - found ===> opendmarc-1.4.2_2 depends on package: p5-HTTP-Message>=0 - found ===> opendmarc-1.4.2_2 depends on package: perl5>=5.36<5.37 - found ===> Generating temporary packing list Making install in contrib Making install in init Making install in generic /bin/mkdir -p '/wrkdirs/usr/ports/mail/opendmarc/work/stage/usr/local/share/doc/opendmarc' install -m 0644 opendmarc '/wrkdirs/usr/ports/mail/opendmarc/work/stage/usr/local/share/doc/opendmarc' Making install in redhat /bin/mkdir -p '/wrkdirs/usr/ports/mail/opendmarc/work/stage/usr/local/share/doc/opendmarc' install -m 0644 opendmarc '/wrkdirs/usr/ports/mail/opendmarc/work/stage/usr/local/share/doc/opendmarc' Making install in rddmarc /bin/mkdir -p '/wrkdirs/usr/ports/mail/opendmarc/work/stage/usr/local/share/doc/opendmarc' install -m 0644 README.rddmarc dmarcfail.py mkdmarc mysql_ip6.c rddmarc '/wrkdirs/usr/ports/mail/opendmarc/work/stage/usr/local/share/doc/opendmarc' Making install in service /bin/mkdir -p '/wrkdirs/usr/ports/mail/opendmarc/work/stage/usr/local/share/doc/opendmarc' install -m 0644 opendmarc.service.in '/wrkdirs/usr/ports/mail/opendmarc/work/stage/usr/local/share/doc/opendmarc' Making install in spec /bin/mkdir -p '/wrkdirs/usr/ports/mail/opendmarc/work/stage/usr/local/share/doc/opendmarc' install -m 0644 opendmarc.spec.in '/wrkdirs/usr/ports/mail/opendmarc/work/stage/usr/local/share/doc/opendmarc' /bin/mkdir -p '/wrkdirs/usr/ports/mail/opendmarc/work/stage/usr/local/share/doc/opendmarc' install -m 0644 README '/wrkdirs/usr/ports/mail/opendmarc/work/stage/usr/local/share/doc/opendmarc' Making install in db /bin/mkdir -p '/wrkdirs/usr/ports/mail/opendmarc/work/stage/usr/local/share/doc/opendmarc' install -m 0644 README.schema schema.mysql '/wrkdirs/usr/ports/mail/opendmarc/work/stage/usr/local/share/doc/opendmarc' Making install in libopendmarc Making install in tests Making install in testfiles Making install in docs /bin/mkdir -p '/wrkdirs/usr/ports/mail/opendmarc/work/stage/usr/local/share/doc/opendmarc' install -m 0644 index.html dmarc_policy_t.html opendmarc_dns_fake_record.html opendmarc_get_policy_to_enforce.html opendmarc_lib_t.html opendmarc_policy_connect_clear.html opendmarc_policy_connect_init.html opendmarc_policy_connect_rset.html opendmarc_policy_connect_shutdown.html opendmarc_policy_fetch_adkim.html opendmarc_policy_fetch_alignment.html opendmarc_policy_fetch_aspf.html opendmarc_policy_fetch_fo.html opendmarc_policy_fetch_p.html opendmarc_policy_fetch_pct.html opendmarc_policy_fetch_rf.html opendmarc_policy_fetch_rua.html opendmarc_policy_fetch_ruf.html opendmarc_policy_fetch_sp.html opendmarc_policy_fetch_utilized_domain.html opendmarc_policy_library_init.html opendmarc_policy_library_shutdown.html opendmarc_policy_parse_dmarc.html opendmarc_policy_query_dmarc.html opendmarc_policy_status_to_str.html opendmarc_policy_store_dkim.html opendmarc_policy_store_dmarc.html opendmarc_policy_store_from_domain.html opendmarc_policy_store_spf.html opendmarc_policy_to_buf.html opendmarc_spf_test.html opendmarc_status_t.html opendmarc_tld_read_file.html opendmarc_tld_shutdown.html opendmarc_util_clearargv.html opendmarc_xml.html opendmarc_xml_parse.html overview.html '/wrkdirs/usr/ports/mail/opendmarc/work/stage/usr/local/share/doc/opendmarc' /bin/mkdir -p '/wrkdirs/usr/ports/mail/opendmarc/work/stage/usr/local/lib' /bin/sh ../libtool --mode=install /usr/bin/install -c libopendmarc.la '/wrkdirs/usr/ports/mail/opendmarc/work/stage/usr/local/lib' libtool: install: /usr/bin/install -c .libs/libopendmarc.so.2.0.3 /wrkdirs/usr/ports/mail/opendmarc/work/stage/usr/local/lib/libopendmarc.so.2.0.3 libtool: install: (cd /wrkdirs/usr/ports/mail/opendmarc/work/stage/usr/local/lib && { ln -s -f libopendmarc.so.2.0.3 libopendmarc.so.2 || { rm -f libopendmarc.so.2 && ln -s libopendmarc.so.2.0.3 libopendmarc.so.2; }; }) libtool: install: (cd /wrkdirs/usr/ports/mail/opendmarc/work/stage/usr/local/lib && { ln -s -f libopendmarc.so.2.0.3 libopendmarc.so || { rm -f libopendmarc.so && ln -s libopendmarc.so.2.0.3 libopendmarc.so; }; }) libtool: install: /usr/bin/install -c .libs/libopendmarc.lai /wrkdirs/usr/ports/mail/opendmarc/work/stage/usr/local/lib/libopendmarc.la libtool: install: /usr/bin/install -c .libs/libopendmarc.a /wrkdirs/usr/ports/mail/opendmarc/work/stage/usr/local/lib/libopendmarc.a libtool: install: chmod 644 /wrkdirs/usr/ports/mail/opendmarc/work/stage/usr/local/lib/libopendmarc.a libtool: install: ranlib /wrkdirs/usr/ports/mail/opendmarc/work/stage/usr/local/lib/libopendmarc.a libtool: warning: remember to run 'libtool --finish /usr/local/lib' /bin/mkdir -p '/wrkdirs/usr/ports/mail/opendmarc/work/stage/usr/local/include/opendmarc' install -m 0644 dmarc.h '/wrkdirs/usr/ports/mail/opendmarc/work/stage/usr/local/include/opendmarc' Making install in reports /bin/mkdir -p '/wrkdirs/usr/ports/mail/opendmarc/work/stage/usr/local/sbin' install -m 555 opendmarc-expire opendmarc-import opendmarc-importstats opendmarc-params opendmarc-reports '/wrkdirs/usr/ports/mail/opendmarc/work/stage/usr/local/sbin' /bin/mkdir -p '/wrkdirs/usr/ports/mail/opendmarc/work/stage/usr/local/share/doc/opendmarc' install -m 0644 README '/wrkdirs/usr/ports/mail/opendmarc/work/stage/usr/local/share/doc/opendmarc' /bin/mkdir -p '/wrkdirs/usr/ports/mail/opendmarc/work/stage/usr/local/share/man/man8' install -m 0644 opendmarc-expire.8 opendmarc-import.8 opendmarc-params.8 opendmarc-reports.8 opendmarc-importstats.8 '/wrkdirs/usr/ports/mail/opendmarc/work/stage/usr/local/share/man/man8' Making install in opendmarc /bin/mkdir -p '/wrkdirs/usr/ports/mail/opendmarc/work/stage/usr/local/sbin' /bin/sh ../libtool --mode=install install -s -m 555 opendmarc opendmarc-check '/wrkdirs/usr/ports/mail/opendmarc/work/stage/usr/local/sbin' libtool: warning: '../libopendmarc/libopendmarc.la' has not been installed in '/usr/local/lib' libtool: install: install -m 555 -s .libs/opendmarc /wrkdirs/usr/ports/mail/opendmarc/work/stage/usr/local/sbin/opendmarc libtool: warning: '../libopendmarc/libopendmarc.la' has not been installed in '/usr/local/lib' libtool: install: install -m 555 -s .libs/opendmarc-check /wrkdirs/usr/ports/mail/opendmarc/work/stage/usr/local/sbin/opendmarc-check /bin/mkdir -p '/wrkdirs/usr/ports/mail/opendmarc/work/stage/usr/local/share/doc/opendmarc' install -m 0644 opendmarc.conf.sample '/wrkdirs/usr/ports/mail/opendmarc/work/stage/usr/local/share/doc/opendmarc' /bin/mkdir -p '/wrkdirs/usr/ports/mail/opendmarc/work/stage/usr/local/share/man/man5' install -m 0644 opendmarc.conf.5 '/wrkdirs/usr/ports/mail/opendmarc/work/stage/usr/local/share/man/man5' /bin/mkdir -p '/wrkdirs/usr/ports/mail/opendmarc/work/stage/usr/local/share/man/man8' install -m 0644 opendmarc.8 opendmarc-check.8 '/wrkdirs/usr/ports/mail/opendmarc/work/stage/usr/local/share/man/man8' /bin/mkdir -p '/wrkdirs/usr/ports/mail/opendmarc/work/stage/usr/local/share/doc/opendmarc' install -m 0644 LICENSE LICENSE.Sendmail '/wrkdirs/usr/ports/mail/opendmarc/work/stage/usr/local/share/doc/opendmarc' install -m 0644 /wrkdirs/usr/ports/mail/opendmarc/work/OpenDMARC-rel-opendmarc-1-4-2/opendmarc/opendmarc.conf.sample /wrkdirs/usr/ports/mail/opendmarc/work/stage/usr/local/etc/mail ====> Compressing man pages (compress-man) ===> Staging rc.d startup script(s) =========================================================================== ====> Running Q/A tests (stage-qa) Warning: you might not need LIB_DEPENDS on libmariadb.so.3 Warning: lang/p5-Switch was in Perl CORE. Check with `corelist Switch 0` and `corelist -a Switch` if it should be conditionally added depending on PERL_LEVEL Notice: You have some Perl modules as dependencies but you do not have devel/p5-Module-CoreList installed, the perlcore QA check gets better results when using it, especially with older Perl versions. Warning: You have disabled the licenses framework with DISABLE_LICENSES, unable to run checks ====> Checking for pkg-plist issues (check-plist) ===> Parsing plist ===> Checking for items in STAGEDIR missing from pkg-plist ===> Checking for items in pkg-plist which are not in STAGEDIR ===> No pkg-plist issues found (check-plist) =>> Checking for staging violations... done =================================================== ===== env: DEVELOPER_MODE=yes 'PKG_NOTES=build_timestamp built_by' 'PKG_NOTE_build_timestamp=2024-04-06T23:51:28+0000' 'PKG_NOTE_built_by=poudriere-git-3.4.99.20240122_1' STRICT_DEPENDS=yes USER=nobody UID=65534 GID=65534 ===> Building packages for opendmarc-1.4.2_2 ===> Building opendmarc-1.4.2_2 =========================================================================== =>> Recording filesystem state for preinst... done =================================================== ===== env: DEVELOPER_MODE=yes STRICT_DEPENDS=yes USER=root UID=0 GID=0 ===> Installing for opendmarc-1.4.2_2 ===> Checking if opendmarc is already installed ===> Registering installation for opendmarc-1.4.2_2 [14amd64-portscommit-job-07] Installing opendmarc-1.4.2_2... =========================================================================== =>> Checking shared library dependencies 0x0000000000000001 NEEDED Shared library: [libc.so.7] 0x0000000000000001 NEEDED Shared library: [libm.so.5] 0x0000000000000001 NEEDED Shared library: [libmilter.so.6] 0x0000000000000001 NEEDED Shared library: [libopendmarc.so.2] 0x0000000000000001 NEEDED Shared library: [librt.so.1] 0x0000000000000001 NEEDED Shared library: [libspf2.so.2] 0x0000000000000001 NEEDED Shared library: [libthr.so.3] =================================================== ===== env: DEVELOPER_MODE=yes STRICT_DEPENDS=yes USER=root UID=0 GID=0 ===> Deinstalling for opendmarc ===> Deinstalling opendmarc-1.4.2_2 Updating database digests format: .......... done Checking integrity... done (0 conflicting) Deinstallation has been requested for the following 1 packages (of 0 packages in the universe): Installed packages to be REMOVED: opendmarc: 1.4.2_2 Number of packages to be removed: 1 [14amd64-portscommit-job-07] [1/1] Deinstalling opendmarc-1.4.2_2... [14amd64-portscommit-job-07] [1/1] Deleting files for opendmarc-1.4.2_2: .......... done =========================================================================== =>> Checking for extra files and directories =>> Cleaning up wrkdir ===> Cleaning for opendmarc-1.4.2_2 build of mail/opendmarc | opendmarc-1.4.2_2 ended at Sun Apr 7 01:51:48 CEST 2024 build time: 00:00:20