Mock Version: 1.4.19 Mock Version: 1.4.19 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target s390x --nodeps /builddir/build/SPECS/opendmarc.spec'], chrootPath='/var/lib/mock/f30-build-17680043-1276732/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=201600uid=1000gid=425user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target s390x --nodeps /builddir/build/SPECS/opendmarc.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: s390x Building for target s390x Wrote: /builddir/build/SRPMS/opendmarc-1.3.2-1.fc30.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target s390x --nodeps /builddir/build/SPECS/opendmarc.spec'], chrootPath='/var/lib/mock/f30-build-17680043-1276732/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=201600uid=1000gid=425user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target s390x --nodeps /builddir/build/SPECS/opendmarc.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: s390x Building for target s390x Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.BJ8vOh + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf opendmarc-1.3.2 + /usr/bin/gzip -dc /builddir/build/SOURCES/opendmarc-1.3.2.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd opendmarc-1.3.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /builddir/build/SOURCES/opendmarc.ticket153.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/opendmarc.ticket159+179.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/opendmarc.ticket193.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/opendmarc.ticket227.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/48.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.IcVsDv + umask 022 + cd /builddir/build/BUILD + cd opendmarc-1.3.2 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=zEC12 -mtune=z13 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=zEC12 -mtune=z13 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=zEC12 -mtune=z13 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=zEC12 -mtune=z13 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./build-aux/config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./build-aux/config.guess ++ basename ./build-aux/config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./build-aux/config.guess '/usr/lib/rpm/redhat/config.guess' -> './build-aux/config.guess' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./build-aux/config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./build-aux/config.sub ++ basename ./build-aux/config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./build-aux/config.sub '/usr/lib/rpm/redhat/config.sub' -> './build-aux/config.sub' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ find . -name ltmain.sh + for i in $(find . -name ltmain.sh) + /usr/bin/sed -i.backup -e 's~compiler_flags=$~compiler_flags="-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld"~' ./build-aux/ltmain.sh + ./configure --build=s390x-redhat-linux-gnu --host=s390x-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-sql-backend --with-spf -with-spf2-include=/usr/include/spf2 --with-spf2-lib=/usr/lib64/libspf2.so checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking for s390x-redhat-linux-gnu-gcc... no checking for gcc... gcc 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 we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for style of include used by make... GNU checking dependency style of gcc... none checking for gcc option to accept ISO C99... none needed checking whether gcc and cc understand -c and -o together... yes checking build system type... s390x-ibm-linux-gnu checking host system type... s390x-ibm-linux-gnu checking how to print strings... printf checking for a sed that does not truncate output... /usr/bin/sed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for fgrep... /usr/bin/grep -F checking for ld used by gcc... /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 -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking how to convert s390x-ibm-linux-gnu file names to s390x-ibm-linux-gnu format... func_convert_file_noop checking how to convert s390x-ibm-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for s390x-redhat-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for s390x-redhat-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for s390x-redhat-linux-gnu-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for s390x-redhat-linux-gnu-strip... no checking for strip... strip checking for s390x-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for s390x-redhat-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld -m elf64_s390) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux 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 checking for s390x-redhat-linux-gnu-pkg-config... /usr/bin/s390x-redhat-linux-gnu-pkg-config checking pkg-config is at least version 0.9.0... yes checking for the pthreads library -lpthreads... no checking whether pthreads work without any flags... no checking whether pthreads work with -Kthread... no checking whether pthreads work with -kthread... no checking for the pthreads library -llthread... no checking whether pthreads work with -pthread... yes checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE checking if more special flags are required for pthreads... no checking for ANSI C header files... (cached) yes checking whether time.h and sys/time.h may both be included... yes checking stdio.h usability... yes checking stdio.h presence... yes checking for stdio.h... yes checking syslog.h usability... yes checking syslog.h presence... yes checking for syslog.h... yes checking sysexits.h usability... yes checking sysexits.h presence... yes checking for sysexits.h... yes checking poll.h usability... yes checking poll.h presence... yes checking for poll.h... yes checking time.h usability... yes checking time.h presence... yes checking for time.h... yes checking netdb.h usability... yes checking netdb.h presence... yes checking for netdb.h... yes checking errno.h usability... yes checking errno.h presence... yes checking for errno.h... yes checking ctype.h usability... yes checking ctype.h presence... yes checking for ctype.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking for string.h... (cached) yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking for sys/types.h... (cached) yes checking for sys/types.h... (cached) yes checking arpa/inet.h usability... yes checking arpa/inet.h presence... yes checking for arpa/inet.h... yes checking for sys/socket.h... (cached) yes checking for netdb.h... (cached) yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking iso/limits_iso.h usability... no checking iso/limits_iso.h presence... no checking for iso/limits_iso.h... no checking for netinet/in.h... yes checking for arpa/nameser.h... yes checking for resolv.h... 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 idn_free in -lidn... no checking for nanosleep in -lrt... yes checking for library containing inet_addr... none required checking for library containing freehostent... no checking for library containing inet_pton... none required checking for library containing inet_ntop... none required checking for library containing getipnodebyname... no 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... yes 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... 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 stdlib.h... (cached) yes checking for GNU libc compatible malloc... yes checking for stdlib.h... (cached) yes checking for GNU libc compatible realloc... yes checking for library containing strlcat... -lbsd checking for library containing strlcpy... none required checking for basename... yes checking for syslog... yes checking for cuserid... yes checking for memset... yes checking for memcpy... yes checking for strerror... yes checking for strchr... yes checking for strrchr... yes checking for strdup... yes checking for strpbrk... yes checking for inet_ntoa... yes checking for strcasecmp... yes checking for strncasecmp... yes checking signal.h usability... yes checking signal.h presence... yes checking for signal.h... yes checking regex.h usability... yes checking regex.h presence... yes checking for regex.h... yes checking bsd/string.h usability... yes checking bsd/string.h presence... yes checking for bsd/string.h... yes checking strl.h usability... no checking strl.h presence... no checking for strl.h... no checking whether ln -s works... yes checking for miltertest... no checking whether the resolver works without -lresolv... no checking whether the resolver works with -lresolv... yes checking for library containing SPF_record_new... -lspf2 checking for library containing SPF_server_new... none required 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 docs/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 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 + sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool + sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool ++ which libtool + make DESTDIR=/builddir/build/BUILDROOT/opendmarc-1.3.2-1.fc30.s390x -j2 LIBTOOL=/usr/bin/libtool make all-recursive make[1]: Entering directory '/builddir/build/BUILD/opendmarc-1.3.2' Making all in contrib make[2]: Entering directory '/builddir/build/BUILD/opendmarc-1.3.2/contrib' Making all in init make[3]: Entering directory '/builddir/build/BUILD/opendmarc-1.3.2/contrib/init' Making all in generic make[4]: Entering directory '/builddir/build/BUILD/opendmarc-1.3.2/contrib/init/generic' make[4]: Nothing to be done for 'all'. make[4]: Leaving directory '/builddir/build/BUILD/opendmarc-1.3.2/contrib/init/generic' Making all in redhat make[4]: Entering directory '/builddir/build/BUILD/opendmarc-1.3.2/contrib/init/redhat' make[4]: Nothing to be done for 'all'. make[4]: Leaving directory '/builddir/build/BUILD/opendmarc-1.3.2/contrib/init/redhat' make[4]: Entering directory '/builddir/build/BUILD/opendmarc-1.3.2/contrib/init' make[4]: Nothing to be done for 'all-am'. make[4]: Leaving directory '/builddir/build/BUILD/opendmarc-1.3.2/contrib/init' make[3]: Leaving directory '/builddir/build/BUILD/opendmarc-1.3.2/contrib/init' Making all in rddmarc make[3]: Entering directory '/builddir/build/BUILD/opendmarc-1.3.2/contrib/rddmarc' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/builddir/build/BUILD/opendmarc-1.3.2/contrib/rddmarc' Making all in service make[3]: Entering directory '/builddir/build/BUILD/opendmarc-1.3.2/contrib/service' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/builddir/build/BUILD/opendmarc-1.3.2/contrib/service' Making all in spec make[3]: Entering directory '/builddir/build/BUILD/opendmarc-1.3.2/contrib/spec' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/builddir/build/BUILD/opendmarc-1.3.2/contrib/spec' make[3]: Entering directory '/builddir/build/BUILD/opendmarc-1.3.2/contrib' make[3]: Nothing to be done for 'all-am'. make[3]: Leaving directory '/builddir/build/BUILD/opendmarc-1.3.2/contrib' make[2]: Leaving directory '/builddir/build/BUILD/opendmarc-1.3.2/contrib' Making all in db make[2]: Entering directory '/builddir/build/BUILD/opendmarc-1.3.2/db' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/builddir/build/BUILD/opendmarc-1.3.2/db' Making all in docs make[2]: Entering directory '/builddir/build/BUILD/opendmarc-1.3.2/docs' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/builddir/build/BUILD/opendmarc-1.3.2/docs' Making all in libopendmarc make[2]: Entering directory '/builddir/build/BUILD/opendmarc-1.3.2/libopendmarc' Making all in tests make[3]: Entering directory '/builddir/build/BUILD/opendmarc-1.3.2/libopendmarc/tests' Making all in testfiles make[4]: Entering directory '/builddir/build/BUILD/opendmarc-1.3.2/libopendmarc/tests/testfiles' make[4]: Nothing to be done for 'all'. make[4]: Leaving directory '/builddir/build/BUILD/opendmarc-1.3.2/libopendmarc/tests/testfiles' make[4]: Entering directory '/builddir/build/BUILD/opendmarc-1.3.2/libopendmarc/tests' make[4]: Nothing to be done for 'all-am'. make[4]: Leaving directory '/builddir/build/BUILD/opendmarc-1.3.2/libopendmarc/tests' make[3]: Leaving directory '/builddir/build/BUILD/opendmarc-1.3.2/libopendmarc/tests' Making all in docs make[3]: Entering directory '/builddir/build/BUILD/opendmarc-1.3.2/libopendmarc/docs' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/builddir/build/BUILD/opendmarc-1.3.2/libopendmarc/docs' make[3]: Entering directory '/builddir/build/BUILD/opendmarc-1.3.2/libopendmarc' /usr/bin/libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I. -I.. -DCONFIG_BASE=\"/etc\" -I /usr/include/spf2 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=zEC12 -mtune=z13 -fasynchronous-unwind-tables -fstack-clash-protection -c -o opendmarc_dns.lo opendmarc_dns.c /usr/bin/libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I. -I.. -DCONFIG_BASE=\"/etc\" -I /usr/include/spf2 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=zEC12 -mtune=z13 -fasynchronous-unwind-tables -fstack-clash-protection -c -o opendmarc_xml.lo opendmarc_xml.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I. -I.. -DCONFIG_BASE=\"/etc\" -I /usr/include/spf2 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=zEC12 -mtune=z13 -fasynchronous-unwind-tables -fstack-clash-protection -c opendmarc_xml.c -fPIC -DPIC -o .libs/opendmarc_xml.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I. -I.. -DCONFIG_BASE=\"/etc\" -I /usr/include/spf2 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=zEC12 -mtune=z13 -fasynchronous-unwind-tables -fstack-clash-protection -c opendmarc_dns.c -fPIC -DPIC -o .libs/opendmarc_dns.o opendmarc_dns.c: In function 'dmarc_dns_get_record': opendmarc_dns.c:119:10: warning: variable 'ttl' set but not used [-Wunused-but-set-variable] 119 | u_long ttl = 0; | ^~~ opendmarc_dns.c:115:7: warning: variable 'class' set but not used [-Wunused-but-set-variable] 115 | int class = -1; | ^~~~~ In file included from /usr/include/stdio.h:867, from opendmarc_internal.h:29, from opendmarc_xml.c:7: In function 'snprintf', inlined from 'opendmarc_xml_parse' at opendmarc_xml.c:549:10: /usr/include/bits/stdio2.h:67:10: warning: '%s' directive argument is null [-Wformat-truncation=] 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I. -I.. -DCONFIG_BASE=\"/etc\" -I /usr/include/spf2 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=zEC12 -mtune=z13 -fasynchronous-unwind-tables -fstack-clash-protection -c opendmarc_xml.c -o opendmarc_xml.o >/dev/null 2>&1 libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I. -I.. -DCONFIG_BASE=\"/etc\" -I /usr/include/spf2 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=zEC12 -mtune=z13 -fasynchronous-unwind-tables -fstack-clash-protection -c opendmarc_dns.c -o opendmarc_dns.o >/dev/null 2>&1 /usr/bin/libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I. -I.. -DCONFIG_BASE=\"/etc\" -I /usr/include/spf2 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=zEC12 -mtune=z13 -fasynchronous-unwind-tables -fstack-clash-protection -c -o opendmarc_tld.lo opendmarc_tld.c /usr/bin/libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I. -I.. -DCONFIG_BASE=\"/etc\" -I /usr/include/spf2 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=zEC12 -mtune=z13 -fasynchronous-unwind-tables -fstack-clash-protection -c -o opendmarc_policy.lo opendmarc_policy.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I. -I.. -DCONFIG_BASE=\"/etc\" -I /usr/include/spf2 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=zEC12 -mtune=z13 -fasynchronous-unwind-tables -fstack-clash-protection -c opendmarc_policy.c -fPIC -DPIC -o .libs/opendmarc_policy.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I. -I.. -DCONFIG_BASE=\"/etc\" -I /usr/include/spf2 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=zEC12 -mtune=z13 -fasynchronous-unwind-tables -fstack-clash-protection -c opendmarc_tld.c -fPIC -DPIC -o .libs/opendmarc_tld.o opendmarc_tld.c: In function 'opendmarc_reverse_domain': opendmarc_tld.c:49:13: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 49 | if (strlen(cp) == 0) | ^~ | | | u_char * {aka unsigned char *} In file included from /usr/include/memory.h:29, from opendmarc_internal.h:26, from opendmarc_tld.c:4: /usr/include/string.h:384:35: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 384 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ opendmarc_tld.c:56:31: warning: pointer targets in passing argument 2 of 'strlcpy' differ in signedness [-Wpointer-sign] 56 | (void) strlcpy((char *)copy, cp, sizeof copy); | ^~ | | | u_char * {aka unsigned char *} In file included from opendmarc_tld.c:8: /usr/include/bsd/string.h:44:39: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 44 | size_t strlcpy(char *dst, const char *src, size_t siz); | ~~~~~~~~~~~~^~~ opendmarc_tld.c: In function 'opendmarc_tld_read_file': opendmarc_tld.c:188:68: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 188 | vp = opendmarc_hash_lookup(hashp, revbuf, (void *)revbuf, strlen(revbuf)); | ^~~~~~ | | | u_char * {aka unsigned char *} In file included from /usr/include/memory.h:29, from opendmarc_internal.h:26, from opendmarc_tld.c:4: /usr/include/string.h:384:35: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 384 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ opendmarc_tld.c:188:37: warning: pointer targets in passing argument 2 of 'opendmarc_hash_lookup' differ in signedness [-Wpointer-sign] 188 | vp = opendmarc_hash_lookup(hashp, revbuf, (void *)revbuf, strlen(revbuf)); | ^~~~~~ | | | u_char * {aka unsigned char *} In file included from opendmarc_tld.c:4: opendmarc_internal.h:212:15: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 212 | void * opendmarc_hash_lookup(OPENDMARC_HASH_CTX *hctx, char *string, void *data, size_t datalen); | ^~~~~~~~~~~~~~~~~~~~~ opendmarc_tld.c:112:9: warning: variable 'vp' set but not used [-Wunused-but-set-variable] 112 | void * vp; | ^~ opendmarc_tld.c: In function 'opendmarc_get_tld': opendmarc_tld.c:260:18: warning: pointer targets in passing argument 1 of 'strlcpy' differ in signedness [-Wpointer-sign] 260 | (void) strlcpy(tld, domain, tld_len); | ^~~ | | | u_char * {aka unsigned char *} In file included from opendmarc_tld.c:8: /usr/include/bsd/string.h:44:22: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 44 | size_t strlcpy(char *dst, const char *src, size_t siz); | ~~~~~~^~~ opendmarc_tld.c:260:23: warning: pointer targets in passing argument 2 of 'strlcpy' differ in signedness [-Wpointer-sign] 260 | (void) strlcpy(tld, domain, tld_len); | ^~~~~~ | | | u_char * {aka unsigned char *} In file included from opendmarc_tld.c:8: /usr/include/bsd/string.h:44:39: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 44 | size_t strlcpy(char *dst, const char *src, size_t siz); | ~~~~~~~~~~~~^~~ opendmarc_tld.c:264:28: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 264 | for (rp = revbuf + strlen(revbuf) -1; rp > revbuf; --rp) | ^~~~~~ | | | u_char * {aka unsigned char *} In file included from /usr/include/memory.h:29, from opendmarc_internal.h:26, from opendmarc_tld.c:4: /usr/include/string.h:384:35: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 384 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ opendmarc_tld.c:269:19: warning: pointer targets in passing argument 1 of 'strlcpy' differ in signedness [-Wpointer-sign] 269 | (void) strlcpy(tld, domain, tld_len); | ^~~ | | | u_char * {aka unsigned char *} In file included from opendmarc_tld.c:8: /usr/include/bsd/string.h:44:22: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 44 | size_t strlcpy(char *dst, const char *src, size_t siz); | ~~~~~~^~~ opendmarc_tld.c:269:24: warning: pointer targets in passing argument 2 of 'strlcpy' differ in signedness [-Wpointer-sign] 269 | (void) strlcpy(tld, domain, tld_len); | ^~~~~~ | | | u_char * {aka unsigned char *} In file included from opendmarc_tld.c:8: /usr/include/bsd/string.h:44:39: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 44 | size_t strlcpy(char *dst, const char *src, size_t siz); | ~~~~~~~~~~~~^~~ opendmarc_tld.c:279:41: warning: pointer targets in passing argument 2 of 'opendmarc_hash_lookup' differ in signedness [-Wpointer-sign] 279 | vp = opendmarc_hash_lookup(TLD_hctx, revbuf, NULL, 0); | ^~~~~~ | | | u_char * {aka unsigned char *} In file included from opendmarc_tld.c:4: opendmarc_internal.h:212:15: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 212 | void * opendmarc_hash_lookup(OPENDMARC_HASH_CTX *hctx, char *string, void *data, size_t datalen); | ^~~~~~~~~~~~~~~~~~~~~ opendmarc_tld.c:294:41: warning: pointer targets in passing argument 2 of 'opendmarc_hash_lookup' differ in signedness [-Wpointer-sign] 294 | vp = opendmarc_hash_lookup(TLD_hctx, revbuf, NULL, 0); | ^~~~~~ | | | u_char * {aka unsigned char *} In file included from opendmarc_tld.c:4: opendmarc_internal.h:212:15: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 212 | void * opendmarc_hash_lookup(OPENDMARC_HASH_CTX *hctx, char *string, void *data, size_t datalen); | ^~~~~~~~~~~~~~~~~~~~~ opendmarc_tld.c:300:24: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] 300 | char * cp = strchr(revbuf, '.'); | ^~~~~~ | | | u_char * {aka unsigned char *} In file included from /usr/include/memory.h:29, from opendmarc_internal.h:26, from opendmarc_tld.c:4: /usr/include/string.h:225:14: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 225 | extern char *strchr (const char *__s, int __c) | ^~~~~~ opendmarc_policy.c: In function 'opendmarc_policy_library_init': opendmarc_policy.c:57:49: warning: pointer targets in passing argument 1 of 'opendmarc_tld_read_file' differ in signedness [-Wpointer-sign] 57 | ret = opendmarc_tld_read_file(Opendmarc_Libp->tld_source_file, | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ | | | u_char * {aka unsigned char *} In file included from opendmarc_policy.c:7: opendmarc_internal.h:217:38: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 217 | int opendmarc_tld_read_file(char *path_fname, char *commentstring, char *drop, char *except); | ~~~~~~^~~~~~~~~~ opendmarc_policy.c: In function 'opendmarc_policy_check_alignment': opendmarc_policy.c:258:17: warning: pointer targets in passing argument 1 of 'strlcpy' differ in signedness [-Wpointer-sign] 258 | (void) strlcpy(tld_buf, tld, sizeof tld_buf); | ^~~~~~~ | | | u_char * {aka unsigned char *} In file included from opendmarc_policy.c:12: /usr/include/bsd/string.h:44:22: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 44 | size_t strlcpy(char *dst, const char *src, size_t siz); | ~~~~~~^~~ opendmarc_policy.c:258:26: warning: pointer targets in passing argument 2 of 'strlcpy' differ in signedness [-Wpointer-sign] 258 | (void) strlcpy(tld_buf, tld, sizeof tld_buf); | ^~~ | | | u_char * {aka unsigned char *} In file included from opendmarc_policy.c:12: /usr/include/bsd/string.h:44:39: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 44 | size_t strlcpy(char *dst, const char *src, size_t siz); | ~~~~~~~~~~~~^~~ opendmarc_policy.c:262:24: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 262 | ep = rev_sub + strlen(rev_sub) -1; | ^~~~~~~ | | | u_char * {aka unsigned char *} In file included from /usr/include/memory.h:29, from opendmarc_internal.h:26, from opendmarc_policy.c:7: /usr/include/string.h:384:35: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 384 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ opendmarc_policy.c:268:24: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 268 | ep = rev_tld + strlen(rev_tld) -1; | ^~~~~~~ | | | u_char * {aka unsigned char *} In file included from /usr/include/memory.h:29, from opendmarc_internal.h:26, from opendmarc_policy.c:7: /usr/include/string.h:384:35: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 384 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ opendmarc_policy.c:275:17: warning: pointer targets in passing argument 1 of 'strcasecmp' differ in signedness [-Wpointer-sign] 275 | if (strcasecmp(rev_tld, rev_sub) == 0) | ^~~~~~~ | | | u_char * {aka unsigned char *} In file included from /usr/include/string.h:431, from /usr/include/memory.h:29, from opendmarc_internal.h:26, from opendmarc_policy.c:7: /usr/include/strings.h:116:36: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 116 | extern int strcasecmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ opendmarc_policy.c:275:26: warning: pointer targets in passing argument 2 of 'strcasecmp' differ in signedness [-Wpointer-sign] 275 | if (strcasecmp(rev_tld, rev_sub) == 0) | ^~~~~~~ | | | u_char * {aka unsigned char *} In file included from /usr/include/string.h:431, from /usr/include/memory.h:29, from opendmarc_internal.h:26, from opendmarc_policy.c:7: /usr/include/strings.h:116:54: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 116 | extern int strcasecmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ opendmarc_policy.c:278:45: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 278 | ret = strncasecmp(rev_tld, rev_sub, strlen(rev_tld)); | ^~~~~~~ | | | u_char * {aka unsigned char *} In file included from /usr/include/memory.h:29, from opendmarc_internal.h:26, from opendmarc_policy.c:7: /usr/include/string.h:384:35: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 384 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ opendmarc_policy.c:278:20: warning: pointer targets in passing argument 1 of 'strncasecmp' differ in signedness [-Wpointer-sign] 278 | ret = strncasecmp(rev_tld, rev_sub, strlen(rev_tld)); | ^~~~~~~ | | | u_char * {aka unsigned char *} In file included from /usr/include/string.h:431, from /usr/include/memory.h:29, from opendmarc_internal.h:26, from opendmarc_policy.c:7: /usr/include/strings.h:120:37: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 120 | extern int strncasecmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ opendmarc_policy.c:278:29: warning: pointer targets in passing argument 2 of 'strncasecmp' differ in signedness [-Wpointer-sign] 278 | ret = strncasecmp(rev_tld, rev_sub, strlen(rev_tld)); | ^~~~~~~ | | | u_char * {aka unsigned char *} In file included from /usr/include/string.h:431, from /usr/include/memory.h:29, from opendmarc_internal.h:26, from opendmarc_policy.c:7: /usr/include/strings.h:120:55: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 120 | extern int strncasecmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ opendmarc_policy.c:282:52: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 282 | ret = strncasecmp(rev_sub, rev_tld, strlen(rev_sub)); | ^~~~~~~ | | | u_char * {aka unsigned char *} In file included from /usr/include/memory.h:29, from opendmarc_internal.h:26, from opendmarc_policy.c:7: /usr/include/string.h:384:35: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 384 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ opendmarc_policy.c:282:27: warning: pointer targets in passing argument 1 of 'strncasecmp' differ in signedness [-Wpointer-sign] 282 | ret = strncasecmp(rev_sub, rev_tld, strlen(rev_sub)); | ^~~~~~~ | | | u_char * {aka unsigned char *} In file included from /usr/include/string.h:431, from /usr/include/memory.h:29, from opendmarc_internal.h:26, from opendmarc_policy.c:7: /usr/include/strings.h:120:37: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 120 | extern int strncasecmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ opendmarc_policy.c:282:36: warning: pointer targets in passing argument 2 of 'strncasecmp' differ in signedness [-Wpointer-sign] 282 | ret = strncasecmp(rev_sub, rev_tld, strlen(rev_sub)); | ^~~~~~~ | | | u_char * {aka unsigned char *} In file included from /usr/include/string.h:431, from /usr/include/memory.h:29, from opendmarc_internal.h:26, from opendmarc_policy.c:7: /usr/include/strings.h:120:55: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 120 | extern int strncasecmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ opendmarc_policy.c:291:24: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 291 | ep = rev_tld + strlen(rev_tld) -1; | ^~~~~~~ | | | u_char * {aka unsigned char *} In file included from /usr/include/memory.h:29, from opendmarc_internal.h:26, from opendmarc_policy.c:7: /usr/include/string.h:384:35: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 384 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ opendmarc_policy.c:298:17: warning: pointer targets in passing argument 1 of 'strcasecmp' differ in signedness [-Wpointer-sign] 298 | if (strcasecmp(rev_tld, rev_sub) == 0) | ^~~~~~~ | | | u_char * {aka unsigned char *} In file included from /usr/include/string.h:431, from /usr/include/memory.h:29, from opendmarc_internal.h:26, from opendmarc_policy.c:7: /usr/include/strings.h:116:36: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 116 | extern int strcasecmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ opendmarc_policy.c:298:26: warning: pointer targets in passing argument 2 of 'strcasecmp' differ in signedness [-Wpointer-sign] 298 | if (strcasecmp(rev_tld, rev_sub) == 0) | ^~~~~~~ | | | u_char * {aka unsigned char *} In file included from /usr/include/string.h:431, from /usr/include/memory.h:29, from opendmarc_internal.h:26, from opendmarc_policy.c:7: /usr/include/strings.h:116:54: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 116 | extern int strcasecmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ opendmarc_policy.c:301:45: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 301 | ret = strncasecmp(rev_tld, rev_sub, strlen(rev_tld)); | ^~~~~~~ | | | u_char * {aka unsigned char *} In file included from /usr/include/memory.h:29, from opendmarc_internal.h:26, from opendmarc_policy.c:7: /usr/include/string.h:384:35: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 384 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ opendmarc_policy.c:301:20: warning: pointer targets in passing argument 1 of 'strncasecmp' differ in signedness [-Wpointer-sign] 301 | ret = strncasecmp(rev_tld, rev_sub, strlen(rev_tld)); | ^~~~~~~ | | | u_char * {aka unsigned char *} In file included from /usr/include/string.h:431, from /usr/include/memory.h:29, from opendmarc_internal.h:26, from opendmarc_policy.c:7: /usr/include/strings.h:120:37: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 120 | extern int strncasecmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ opendmarc_policy.c:301:29: warning: pointer targets in passing argument 2 of 'strncasecmp' differ in signedness [-Wpointer-sign] 301 | ret = strncasecmp(rev_tld, rev_sub, strlen(rev_tld)); | ^~~~~~~ | | | u_char * {aka unsigned char *} In file included from /usr/include/string.h:431, from /usr/include/memory.h:29, from opendmarc_internal.h:26, from opendmarc_policy.c:7: /usr/include/strings.h:120:55: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 120 | extern int strncasecmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ opendmarc_policy.c:305:52: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 305 | ret = strncasecmp(rev_sub, rev_tld, strlen(rev_sub)); | ^~~~~~~ | | | u_char * {aka unsigned char *} In file included from /usr/include/memory.h:29, from opendmarc_internal.h:26, from opendmarc_policy.c:7: /usr/include/string.h:384:35: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 384 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ opendmarc_policy.c:305:27: warning: pointer targets in passing argument 1 of 'strncasecmp' differ in signedness [-Wpointer-sign] 305 | ret = strncasecmp(rev_sub, rev_tld, strlen(rev_sub)); | ^~~~~~~ | | | u_char * {aka unsigned char *} In file included from /usr/include/string.h:431, from /usr/include/memory.h:29, from opendmarc_internal.h:26, from opendmarc_policy.c:7: /usr/include/strings.h:120:37: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 120 | extern int strncasecmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ opendmarc_policy.c:305:36: warning: pointer targets in passing argument 2 of 'strncasecmp' differ in signedness [-Wpointer-sign] 305 | ret = strncasecmp(rev_sub, rev_tld, strlen(rev_sub)); | ^~~~~~~ | | | u_char * {aka unsigned char *} In file included from /usr/include/string.h:431, from /usr/include/memory.h:29, from opendmarc_internal.h:26, from opendmarc_policy.c:7: /usr/include/strings.h:120:55: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 120 | extern int strncasecmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ opendmarc_policy.c: In function 'opendmarc_policy_store_from_domain': opendmarc_policy.c:341:46: warning: pointer targets in passing argument 2 of 'opendmarc_util_finddomain' differ in signedness [-Wpointer-sign] 341 | dp = opendmarc_util_finddomain(from_domain, domain_buf, sizeof domain_buf); | ^~~~~~~~~~ | | | char * In file included from opendmarc_policy.c:7: opendmarc_internal.h:227:11: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' 227 | u_char * opendmarc_util_finddomain(u_char *raw, u_char *buf, size_t buflen); | ^~~~~~~~~~~~~~~~~~~~~~~~~ opendmarc_policy.c:341:5: warning: pointer targets in assignment from 'u_char *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] 341 | dp = opendmarc_util_finddomain(from_domain, domain_buf, sizeof domain_buf); | ^ opendmarc_policy.c:344:20: warning: pointer targets in assignment from 'char *' to 'u_char *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 344 | pctx->from_domain = strdup((char *)dp); | ^ opendmarc_policy.c: In function 'opendmarc_policy_store_spf': opendmarc_policy.c:386:41: warning: pointer targets in passing argument 2 of 'opendmarc_util_finddomain' differ in signedness [-Wpointer-sign] 386 | dp = opendmarc_util_finddomain(domain, domain_buf, sizeof domain_buf); | ^~~~~~~~~~ | | | char * In file included from opendmarc_policy.c:7: opendmarc_internal.h:227:11: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' 227 | u_char * opendmarc_util_finddomain(u_char *raw, u_char *buf, size_t buflen); | ^~~~~~~~~~~~~~~~~~~~~~~~~ opendmarc_policy.c:386:5: warning: pointer targets in assignment from 'u_char *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] 386 | dp = opendmarc_util_finddomain(domain, domain_buf, sizeof domain_buf); | ^ opendmarc_policy.c:390:27: warning: pointer targets in assignment from 'char *' to 'u_char *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 390 | pctx->spf_human_outcome = strdup((char *)human_readable); | ^ opendmarc_policy.c:391:19: warning: pointer targets in assignment from 'char *' to 'u_char *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 391 | pctx->spf_domain = strdup((char *)dp); | ^ opendmarc_policy.c: In function 'opendmarc_policy_store_dkim': opendmarc_policy.c:468:49: warning: pointer targets in passing argument 2 of 'opendmarc_util_finddomain' differ in signedness [-Wpointer-sign] 468 | dp = opendmarc_util_finddomain(d_equal_domain, domain_buf, sizeof domain_buf); | ^~~~~~~~~~ | | | char * In file included from opendmarc_policy.c:7: opendmarc_internal.h:227:11: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' 227 | u_char * opendmarc_util_finddomain(u_char *raw, u_char *buf, size_t buflen); | ^~~~~~~~~~~~~~~~~~~~~~~~~ opendmarc_policy.c:469:27: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 469 | if (dp == NULL || strlen(dp) == 0) | ^~ | | | u_char * {aka unsigned char *} In file included from /usr/include/memory.h:29, from opendmarc_internal.h:26, from opendmarc_policy.c:7: /usr/include/string.h:384:35: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 384 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ opendmarc_policy.c:477:33: warning: pointer targets in passing argument 2 of 'strcasecmp' differ in signedness [-Wpointer-sign] 477 | if (strcasecmp((char *)dp, pctx->from_domain) == 0) | ~~~~^~~~~~~~~~~~~ | | | u_char * {aka unsigned char *} In file included from /usr/include/string.h:431, from /usr/include/memory.h:29, from opendmarc_internal.h:26, from opendmarc_policy.c:7: /usr/include/strings.h:116:54: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 116 | extern int strcasecmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ opendmarc_policy.c:519:21: warning: pointer targets in assignment from 'char *' to 'u_char *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 519 | pctx->dkim_domain = strdup((char *)dp); | ^ opendmarc_policy.c:526:28: warning: pointer targets in assignment from 'char *' to 'u_char *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 526 | pctx->dkim_human_outcome = strdup((char *)human_result); | ^ opendmarc_policy.c: In function 'opendmarc_policy_query_dmarc_xdomain': opendmarc_policy.c:575:18: warning: pointer targets in passing argument 1 of 'strncasecmp' differ in signedness [-Wpointer-sign] 575 | if (strncasecmp(uri, "mailto:", 7) == 0) | ^~~ | | | u_char * {aka unsigned char *} In file included from /usr/include/string.h:431, from /usr/include/memory.h:29, from opendmarc_internal.h:26, from opendmarc_policy.c:7: /usr/include/strings.h:120:37: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 120 | extern int strncasecmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ opendmarc_policy.c: In function 'opendmarc_policy_query_dmarc': opendmarc_policy.c:709:31: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 709 | if (domain == NULL || strlen(domain) == 0) | ^~~~~~ | | | u_char * {aka unsigned char *} In file included from /usr/include/memory.h:29, from opendmarc_internal.h:26, from opendmarc_policy.c:7: /usr/include/string.h:384:35: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 384 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ opendmarc_policy.c:717:17: warning: pointer targets in passing argument 1 of 'strlcpy' differ in signedness [-Wpointer-sign] 717 | (void) strlcpy(copy, "_dmarc.", sizeof copy); | ^~~~ | | | u_char * {aka unsigned char *} In file included from opendmarc_policy.c:12: /usr/include/bsd/string.h:44:22: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 44 | size_t strlcpy(char *dst, const char *src, size_t siz); | ~~~~~~^~~ opendmarc_policy.c:718:17: warning: pointer targets in passing argument 1 of 'strlcat' differ in signedness [-Wpointer-sign] 718 | (void) strlcat(copy, domain, sizeof copy); | ^~~~ | | | u_char * {aka unsigned char *} In file included from opendmarc_policy.c:12: /usr/include/bsd/string.h:45:22: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 45 | size_t strlcat(char *dst, const char *src, size_t siz); | ~~~~~~^~~ opendmarc_policy.c:718:23: warning: pointer targets in passing argument 2 of 'strlcat' differ in signedness [-Wpointer-sign] 718 | (void) strlcat(copy, domain, sizeof copy); | ^~~~~~ | | | u_char * {aka unsigned char *} In file included from opendmarc_policy.c:12: /usr/include/bsd/string.h:45:39: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 45 | size_t strlcat(char *dst, const char *src, size_t siz); | ~~~~~~~~~~~~^~~ opendmarc_policy.c:722:28: warning: pointer targets in passing argument 1 of 'dmarc_dns_get_record' differ in signedness [-Wpointer-sign] 722 | bp = dmarc_dns_get_record(copy, &dns_reply, buf, sizeof buf); | ^~~~ | | | u_char * {aka unsigned char *} In file included from opendmarc_policy.c:7: opendmarc_internal.h:173:8: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 173 | char * dmarc_dns_get_record(char *domain, int *reply, char *got_txtbuf, size_t got_txtlen); | ^~~~~~~~~~~~~~~~~~~~ opendmarc_policy.c:722:46: warning: pointer targets in passing argument 3 of 'dmarc_dns_get_record' differ in signedness [-Wpointer-sign] 722 | bp = dmarc_dns_get_record(copy, &dns_reply, buf, sizeof buf); | ^~~ | | | u_char * {aka unsigned char *} In file included from opendmarc_policy.c:7: opendmarc_internal.h:173:8: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 173 | char * dmarc_dns_get_record(char *domain, int *reply, char *got_txtbuf, size_t got_txtlen); | ^~~~~~~~~~~~~~~~~~~~ opendmarc_policy.c:722:5: warning: pointer targets in assignment from 'char *' to 'u_char *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 722 | bp = dmarc_dns_get_record(copy, &dns_reply, buf, sizeof buf); | ^ opendmarc_policy.c:734:18: warning: pointer targets in passing argument 1 of 'strlcpy' differ in signedness [-Wpointer-sign] 734 | (void) strlcpy(copy, buf, sizeof copy); | ^~~~ | | | u_char * {aka unsigned char *} In file included from opendmarc_policy.c:12: /usr/include/bsd/string.h:44:22: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 44 | size_t strlcpy(char *dst, const char *src, size_t siz); | ~~~~~~^~~ opendmarc_policy.c:734:24: warning: pointer targets in passing argument 2 of 'strlcpy' differ in signedness [-Wpointer-sign] 734 | (void) strlcpy(copy, buf, sizeof copy); | ^~~ | | | u_char * {aka unsigned char *} In file included from opendmarc_policy.c:12: /usr/include/bsd/string.h:44:39: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 44 | size_t strlcpy(char *dst, const char *src, size_t siz); | ~~~~~~~~~~~~^~~ opendmarc_policy.c:743:13: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 743 | if (strlen(tld) > 0) | ^~~ | | | u_char * {aka unsigned char *} In file included from /usr/include/memory.h:29, from opendmarc_internal.h:26, from opendmarc_policy.c:7: /usr/include/string.h:384:35: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 384 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ opendmarc_policy.c:745:40: warning: pointer targets in passing argument 1 of 'strdup' differ in signedness [-Wpointer-sign] 745 | pctx->organizational_domain = strdup(tld); | ^~~ | | | u_char * {aka unsigned char *} In file included from /usr/include/memory.h:29, from opendmarc_internal.h:26, from opendmarc_policy.c:7: /usr/include/string.h:166:14: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 166 | extern char *strdup (const char *__s) | ^~~~~~ opendmarc_policy.c:745:31: warning: pointer targets in assignment from 'char *' to 'u_char *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 745 | pctx->organizational_domain = strdup(tld); | ^ opendmarc_policy.c:748:18: warning: pointer targets in passing argument 1 of 'strlcpy' differ in signedness [-Wpointer-sign] 748 | (void) strlcpy(copy, "_dmarc.", sizeof copy); | ^~~~ | | | u_char * {aka unsigned char *} In file included from opendmarc_policy.c:12: /usr/include/bsd/string.h:44:22: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 44 | size_t strlcpy(char *dst, const char *src, size_t siz); | ~~~~~~^~~ opendmarc_policy.c:749:18: warning: pointer targets in passing argument 1 of 'strlcat' differ in signedness [-Wpointer-sign] 749 | (void) strlcat(copy, tld, sizeof copy); | ^~~~ | | | u_char * {aka unsigned char *} In file included from opendmarc_policy.c:12: /usr/include/bsd/string.h:45:22: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 45 | size_t strlcat(char *dst, const char *src, size_t siz); | ~~~~~~^~~ opendmarc_policy.c:749:24: warning: pointer targets in passing argument 2 of 'strlcat' differ in signedness [-Wpointer-sign] 749 | (void) strlcat(copy, tld, sizeof copy); | ^~~ | | | u_char * {aka unsigned char *} In file included from opendmarc_policy.c:12: /usr/include/bsd/string.h:45:39: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 45 | size_t strlcat(char *dst, const char *src, size_t siz); | ~~~~~~~~~~~~^~~ opendmarc_policy.c:752:29: warning: pointer targets in passing argument 1 of 'dmarc_dns_get_record' differ in signedness [-Wpointer-sign] 752 | bp = dmarc_dns_get_record(copy, &dns_reply, buf, sizeof buf); | ^~~~ | | | u_char * {aka unsigned char *} In file included from opendmarc_policy.c:7: opendmarc_internal.h:173:8: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 173 | char * dmarc_dns_get_record(char *domain, int *reply, char *got_txtbuf, size_t got_txtlen); | ^~~~~~~~~~~~~~~~~~~~ opendmarc_policy.c:752:47: warning: pointer targets in passing argument 3 of 'dmarc_dns_get_record' differ in signedness [-Wpointer-sign] 752 | bp = dmarc_dns_get_record(copy, &dns_reply, buf, sizeof buf); | ^~~ | | | u_char * {aka unsigned char *} In file included from opendmarc_policy.c:7: opendmarc_internal.h:173:8: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 173 | char * dmarc_dns_get_record(char *domain, int *reply, char *got_txtbuf, size_t got_txtlen); | ^~~~~~~~~~~~~~~~~~~~ opendmarc_policy.c:752:6: warning: pointer targets in assignment from 'char *' to 'u_char *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 752 | bp = dmarc_dns_get_record(copy, &dns_reply, buf, sizeof buf); | ^ opendmarc_policy.c:761:19: warning: pointer targets in passing argument 1 of 'strlcpy' differ in signedness [-Wpointer-sign] 761 | (void) strlcpy(copy, buf, sizeof copy); | ^~~~ | | | u_char * {aka unsigned char *} In file included from opendmarc_policy.c:12: /usr/include/bsd/string.h:44:22: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 44 | size_t strlcpy(char *dst, const char *src, size_t siz); | ~~~~~~^~~ opendmarc_policy.c:761:25: warning: pointer targets in passing argument 2 of 'strlcpy' differ in signedness [-Wpointer-sign] 761 | (void) strlcpy(copy, buf, sizeof copy); | ^~~ | | | u_char * {aka unsigned char *} In file included from opendmarc_policy.c:12: /usr/include/bsd/string.h:44:39: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 44 | size_t strlcpy(char *dst, const char *src, size_t siz); | ~~~~~~~~~~~~^~~ opendmarc_policy.c: In function 'opendmarc_policy_parse_dmarc': opendmarc_policy.c:908:25: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] 908 | sp = (u_char *)strchr(cp, ';'); | ^~ | | | u_char * {aka unsigned char *} In file included from /usr/include/memory.h:29, from opendmarc_internal.h:26, from opendmarc_policy.c:7: /usr/include/string.h:225:14: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 225 | extern char *strchr (const char *__s, int __c) | ^~~~~~ opendmarc_policy.c:1019:24: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] 1019 | pctx->pct = strtoul(vp, NULL, 10); | ^~ | | | u_char * {aka unsigned char *} In file included from opendmarc_internal.h:32, from opendmarc_policy.c:7: /usr/include/stdlib.h:180:58: note: expected 'const char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} 180 | extern unsigned long int strtoul (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ opendmarc_policy.c:1033:12: warning: pointer targets in assignment from 'u_char *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] 1033 | for (xp = vp; *xp != '\0'; ++xp) | ^ opendmarc_policy.c:1039:23: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] 1039 | pctx->ri = strtoul(vp, NULL, 10); | ^~ | | | u_char * {aka unsigned char *} In file included from opendmarc_internal.h:32, from opendmarc_policy.c:7: /usr/include/stdlib.h:180:58: note: expected 'const char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} 180 | extern unsigned long int strtoul (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ opendmarc_policy.c:1052:12: warning: pointer targets in assignment from 'u_char *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] 1052 | for (xp = vp; *xp != '\0'; ) | ^ opendmarc_policy.c:1060:33: warning: pointer targets in passing argument 1 of 'opendmarc_util_cleanup' differ in signedness [-Wpointer-sign] 1060 | xp = opendmarc_util_cleanup(xp, xbuf, sizeof xbuf); | ^~ | | | char * In file included from opendmarc_policy.c:7: opendmarc_internal.h:226:11: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' 226 | u_char * opendmarc_util_cleanup(u_char *str, u_char *buf, size_t buflen); | ^~~~~~~~~~~~~~~~~~~~~~ opendmarc_policy.c:1060:8: warning: pointer targets in assignment from 'u_char *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] 1060 | xp = opendmarc_util_cleanup(xp, xbuf, sizeof xbuf); | ^ opendmarc_policy.c:1090:12: warning: pointer targets in assignment from 'u_char *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] 1090 | for (xp = vp; *xp != '\0'; ) | ^ opendmarc_policy.c:1098:33: warning: pointer targets in passing argument 1 of 'opendmarc_util_cleanup' differ in signedness [-Wpointer-sign] 1098 | xp = opendmarc_util_cleanup(xp, xbuf, sizeof xbuf); | ^~ | | | char * In file included from opendmarc_policy.c:7: opendmarc_internal.h:226:11: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' 226 | u_char * opendmarc_util_cleanup(u_char *str, u_char *buf, size_t buflen); | ^~~~~~~~~~~~~~~~~~~~~~ opendmarc_policy.c:1098:8: warning: pointer targets in assignment from 'u_char *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] 1098 | xp = opendmarc_util_cleanup(xp, xbuf, sizeof xbuf); | ^ opendmarc_policy.c:1101:47: warning: pointer targets in passing argument 1 of 'opendmarc_util_pushargv' differ in signedness [-Wpointer-sign] 1101 | pctx->rua_list = opendmarc_util_pushargv(xp, pctx->rua_list, | ^~ | | | char * In file included from opendmarc_policy.c:7: opendmarc_internal.h:223:11: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' 223 | u_char ** opendmarc_util_pushargv(u_char *str, u_char **ary, int *cnt); | ^~~~~~~~~~~~~~~~~~~~~~~ opendmarc_policy.c:1118:12: warning: pointer targets in assignment from 'u_char *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] 1118 | for (xp = vp; *xp != '\0'; ) | ^ opendmarc_policy.c:1126:33: warning: pointer targets in passing argument 1 of 'opendmarc_util_cleanup' differ in signedness [-Wpointer-sign] 1126 | xp = opendmarc_util_cleanup(xp, xbuf, sizeof xbuf); | ^~ | | | char * In file included from opendmarc_policy.c:7: opendmarc_internal.h:226:11: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' 226 | u_char * opendmarc_util_cleanup(u_char *str, u_char *buf, size_t buflen); | ^~~~~~~~~~~~~~~~~~~~~~ opendmarc_policy.c:1126:8: warning: pointer targets in assignment from 'u_char *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] 1126 | xp = opendmarc_util_cleanup(xp, xbuf, sizeof xbuf); | ^ opendmarc_policy.c:1129:47: warning: pointer targets in passing argument 1 of 'opendmarc_util_pushargv' differ in signedness [-Wpointer-sign] 1129 | pctx->ruf_list = opendmarc_util_pushargv(xp, pctx->ruf_list, | ^~ | | | char * In file included from opendmarc_policy.c:7: opendmarc_internal.h:223:11: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' 223 | u_char ** opendmarc_util_pushargv(u_char *str, u_char **ary, int *cnt); | ^~~~~~~~~~~~~~~~~~~~~~~ opendmarc_policy.c:1145:12: warning: pointer targets in assignment from 'u_char *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] 1145 | for (xp = vp; *xp != '\0'; ) | ^ opendmarc_policy.c:1153:33: warning: pointer targets in passing argument 1 of 'opendmarc_util_cleanup' differ in signedness [-Wpointer-sign] 1153 | xp = opendmarc_util_cleanup(xp, xbuf, sizeof xbuf); | ^~ | | | char * In file included from opendmarc_policy.c:7: opendmarc_internal.h:226:11: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' 226 | u_char * opendmarc_util_cleanup(u_char *str, u_char *buf, size_t buflen); | ^~~~~~~~~~~~~~~~~~~~~~ opendmarc_policy.c:1153:8: warning: pointer targets in assignment from 'u_char *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] 1153 | xp = opendmarc_util_cleanup(xp, xbuf, sizeof xbuf); | ^ opendmarc_policy.c:1207:30: warning: pointer targets in passing argument 1 of 'strdup' differ in signedness [-Wpointer-sign] 1207 | pctx->from_domain = strdup(domain); | ^~~~~~ | | | u_char * {aka unsigned char *} In file included from /usr/include/memory.h:29, from opendmarc_internal.h:26, from opendmarc_policy.c:7: /usr/include/string.h:166:14: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 166 | extern char *strdup (const char *__s) | ^~~~~~ opendmarc_policy.c:1207:21: warning: pointer targets in assignment from 'char *' to 'u_char *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 1207 | pctx->from_domain = strdup(domain); | ^ opendmarc_policy.c: In function 'opendmarc_policy_store_dmarc': opendmarc_policy.c:1233:29: warning: pointer targets in passing argument 1 of 'strdup' differ in signedness [-Wpointer-sign] 1233 | pctx->from_domain = strdup(domain); | ^~~~~~ | | | u_char * {aka unsigned char *} In file included from /usr/include/memory.h:29, from opendmarc_internal.h:26, from opendmarc_policy.c:7: /usr/include/string.h:166:14: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 166 | extern char *strdup (const char *__s) | ^~~~~~ opendmarc_policy.c:1233:20: warning: pointer targets in assignment from 'char *' to 'u_char *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 1233 | pctx->from_domain = strdup(domain); | ^ opendmarc_policy.c:1238:50: warning: pointer targets in passing argument 1 of 'strdup' differ in signedness [-Wpointer-sign] 1238 | pctx->organizational_domain = (u_char *)strdup(organizationaldomain); | ^~~~~~~~~~~~~~~~~~~~ | | | u_char * {aka unsigned char *} In file included from /usr/include/memory.h:29, from opendmarc_internal.h:26, from opendmarc_policy.c:7: /usr/include/string.h:166:14: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 166 | extern char *strdup (const char *__s) | ^~~~~~ opendmarc_policy.c: In function 'opendmarc_policy_to_buf': opendmarc_policy.c:1635:24: warning: pointer targets in passing argument 2 of 'strlcat' differ in signedness [-Wpointer-sign] 1635 | if (strlcat(buf, pctx->ip_addr, buflen) >= buflen) return E2BIG; | ~~~~^~~~~~~~~ | | | u_char * {aka unsigned char *} In file included from opendmarc_policy.c:12: /usr/include/bsd/string.h:45:39: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 45 | size_t strlcat(char *dst, const char *src, size_t siz); | ~~~~~~~~~~~~^~~ opendmarc_policy.c:1654:24: warning: pointer targets in passing argument 2 of 'strlcat' differ in signedness [-Wpointer-sign] 1654 | if (strlcat(buf, pctx->spf_domain, buflen) >= buflen) return E2BIG; | ~~~~^~~~~~~~~~~~ | | | u_char * {aka unsigned char *} In file included from opendmarc_policy.c:12: /usr/include/bsd/string.h:45:39: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 45 | size_t strlcat(char *dst, const char *src, size_t siz); | ~~~~~~~~~~~~^~~ opendmarc_policy.c:1692:24: warning: pointer targets in passing argument 2 of 'strlcat' differ in signedness [-Wpointer-sign] 1692 | if (strlcat(buf, pctx->spf_human_outcome, buflen) >= buflen) return E2BIG; | ~~~~^~~~~~~~~~~~~~~~~~~ | | | u_char * {aka unsigned char *} In file included from opendmarc_policy.c:12: /usr/include/bsd/string.h:45:39: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 45 | size_t strlcat(char *dst, const char *src, size_t siz); | ~~~~~~~~~~~~^~~ opendmarc_policy.c:1710:24: warning: pointer targets in passing argument 2 of 'strlcat' differ in signedness [-Wpointer-sign] 1710 | if (strlcat(buf, pctx->dkim_domain, buflen) >= buflen) return E2BIG; | ~~~~^~~~~~~~~~~~~ | | | u_char * {aka unsigned char *} In file included from opendmarc_policy.c:12: /usr/include/bsd/string.h:45:39: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 45 | size_t strlcat(char *dst, const char *src, size_t siz); | ~~~~~~~~~~~~^~~ opendmarc_policy.c:1734:24: warning: pointer targets in passing argument 2 of 'strlcat' differ in signedness [-Wpointer-sign] 1734 | if (strlcat(buf, pctx->dkim_human_outcome, buflen) >= buflen) return E2BIG; | ~~~~^~~~~~~~~~~~~~~~~~~~ | | | u_char * {aka unsigned char *} In file included from opendmarc_policy.c:12: /usr/include/bsd/string.h:45:39: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 45 | size_t strlcat(char *dst, const char *src, size_t siz); | ~~~~~~~~~~~~^~~ opendmarc_policy.c:1887:36: warning: pointer targets in passing argument 2 of 'strlcat' differ in signedness [-Wpointer-sign] 1887 | if (strlcat(buf, (pctx->rua_list)[i], buflen) >= buflen) return E2BIG; | ~~~~~~~~~~~~~~~~^~~ | | | u_char * {aka unsigned char *} In file included from opendmarc_policy.c:12: /usr/include/bsd/string.h:45:39: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 45 | size_t strlcat(char *dst, const char *src, size_t siz); | ~~~~~~~~~~~~^~~ opendmarc_policy.c:1898:36: warning: pointer targets in passing argument 2 of 'strlcat' differ in signedness [-Wpointer-sign] 1898 | if (strlcat(buf, (pctx->ruf_list)[i], buflen) >= buflen) return E2BIG; | ~~~~~~~~~~~~~~~~^~~ | | | u_char * {aka unsigned char *} In file included from opendmarc_policy.c:12: /usr/include/bsd/string.h:45:39: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 45 | size_t strlcat(char *dst, const char *src, size_t siz); | ~~~~~~~~~~~~^~~ libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I. -I.. -DCONFIG_BASE=\"/etc\" -I /usr/include/spf2 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=zEC12 -mtune=z13 -fasynchronous-unwind-tables -fstack-clash-protection -c opendmarc_tld.c -o opendmarc_tld.o >/dev/null 2>&1 /usr/bin/libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I. -I.. -DCONFIG_BASE=\"/etc\" -I /usr/include/spf2 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=zEC12 -mtune=z13 -fasynchronous-unwind-tables -fstack-clash-protection -c -o opendmarc_util.lo opendmarc_util.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I. -I.. -DCONFIG_BASE=\"/etc\" -I /usr/include/spf2 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=zEC12 -mtune=z13 -fasynchronous-unwind-tables -fstack-clash-protection -c opendmarc_policy.c -o opendmarc_policy.o >/dev/null 2>&1 libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I. -I.. -DCONFIG_BASE=\"/etc\" -I /usr/include/spf2 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=zEC12 -mtune=z13 -fasynchronous-unwind-tables -fstack-clash-protection -c opendmarc_util.c -fPIC -DPIC -o .libs/opendmarc_util.o opendmarc_util.c: In function 'opendmarc_util_pushargv': opendmarc_util.c:79:19: warning: pointer targets in passing argument 1 of 'strdup' differ in signedness [-Wpointer-sign] 79 | ary[0] = strdup(str); | ^~~ | | | u_char * {aka unsigned char *} In file included from /usr/include/memory.h:29, from opendmarc_internal.h:26, from opendmarc_util.c:5: /usr/include/string.h:166:14: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 166 | extern char *strdup (const char *__s) | ^~~~~~ opendmarc_util.c:79:10: warning: pointer targets in assignment from 'char *' to 'u_char *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 79 | ary[0] = strdup(str); | ^ opendmarc_util.c:107:18: warning: pointer targets in passing argument 1 of 'strdup' differ in signedness [-Wpointer-sign] 107 | ary[i] = strdup(str); | ^~~ | | | u_char * {aka unsigned char *} In file included from /usr/include/memory.h:29, from opendmarc_internal.h:26, from opendmarc_util.c:5: /usr/include/string.h:166:14: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 166 | extern char *strdup (const char *__s) | ^~~~~~ opendmarc_util.c:107:9: warning: pointer targets in assignment from 'char *' to 'u_char *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 107 | ary[i] = strdup(str); | ^ opendmarc_util.c: In function 'opendmarc_util_cleanup': opendmarc_util.c:171:10: warning: pointer targets in assignment from 'u_char *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] 171 | for (sp = str, ep = buf; *sp != '\0'; sp++) | ^ opendmarc_util.c:171:20: warning: pointer targets in assignment from 'u_char *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] 171 | for (sp = str, ep = buf; *sp != '\0'; sp++) | ^ opendmarc_util.c: In function 'opendmarc_util_finddomain': opendmarc_util.c:216:17: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] 216 | (void) strncpy(copy, raw, len); | ^~~~ | | | u_char * {aka unsigned char *} In file included from /usr/include/features.h:450, from /usr/include/ctype.h:25, from opendmarc_internal.h:11, from opendmarc_util.c:5: /usr/include/bits/string_fortified.h:103:1: note: expected 'char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} 103 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ opendmarc_util.c:216:23: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] 216 | (void) strncpy(copy, raw, len); | ^~~ | | | u_char * {aka unsigned char *} In file included from /usr/include/features.h:450, from /usr/include/ctype.h:25, from opendmarc_internal.h:11, from opendmarc_util.c:5: /usr/include/bits/string_fortified.h:103:1: note: expected 'const char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} 103 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ opendmarc_util.c:333:14: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] 333 | ep = strchr(cp, '@'); | ^~ | | | u_char * {aka unsigned char *} In file included from /usr/include/memory.h:29, from opendmarc_internal.h:26, from opendmarc_util.c:5: /usr/include/string.h:225:14: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 225 | extern char *strchr (const char *__s, int __c) | ^~~~~~ opendmarc_util.c:333:5: warning: pointer targets in assignment from 'char *' to 'u_char *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 333 | ep = strchr(cp, '@'); | ^ opendmarc_util.c:349:17: warning: pointer targets in passing argument 1 of 'strlcpy' differ in signedness [-Wpointer-sign] 349 | (void) strlcpy(buf, cp, buflen); | ^~~ | | | u_char * {aka unsigned char *} In file included from opendmarc_util.c:9: /usr/include/bsd/string.h:44:22: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 44 | size_t strlcpy(char *dst, const char *src, size_t siz); | ~~~~~~^~~ opendmarc_util.c:349:22: warning: pointer targets in passing argument 2 of 'strlcpy' differ in signedness [-Wpointer-sign] 349 | (void) strlcpy(buf, cp, buflen); | ^~ | | | u_char * {aka unsigned char *} In file included from opendmarc_util.c:9: /usr/include/bsd/string.h:44:39: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 44 | size_t strlcpy(char *dst, const char *src, size_t siz); | ~~~~~~~~~~~~^~~ libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I. -I.. -DCONFIG_BASE=\"/etc\" -I /usr/include/spf2 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=zEC12 -mtune=z13 -fasynchronous-unwind-tables -fstack-clash-protection -c opendmarc_util.c -o opendmarc_util.o >/dev/null 2>&1 /usr/bin/libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I. -I.. -DCONFIG_BASE=\"/etc\" -I /usr/include/spf2 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=zEC12 -mtune=z13 -fasynchronous-unwind-tables -fstack-clash-protection -c -o opendmarc_hash.lo opendmarc_hash.c /usr/bin/libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I. -I.. -DCONFIG_BASE=\"/etc\" -I /usr/include/spf2 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=zEC12 -mtune=z13 -fasynchronous-unwind-tables -fstack-clash-protection -c -o opendmarc_strl.lo opendmarc_strl.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I. -I.. -DCONFIG_BASE=\"/etc\" -I /usr/include/spf2 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=zEC12 -mtune=z13 -fasynchronous-unwind-tables -fstack-clash-protection -c opendmarc_hash.c -fPIC -DPIC -o .libs/opendmarc_hash.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I. -I.. -DCONFIG_BASE=\"/etc\" -I /usr/include/spf2 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=zEC12 -mtune=z13 -fasynchronous-unwind-tables -fstack-clash-protection -c opendmarc_strl.c -fPIC -DPIC -o .libs/opendmarc_strl.o opendmarc_hash.c: In function 'opendmarc_hash_init': opendmarc_hash.c:143:16: warning: product '288230376151711744 * 48' of arguments 1 and 2 exceeds maximum object size 9223372036854775807 [-Walloc-size-larger-than=] 143 | hctx->table = calloc(hctx->tablesize, sizeof(OPENDMARC_HASH_SHELF)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from opendmarc_internal.h:32, from opendmarc_hash.c:6: /usr/include/stdlib.h:541:14: note: in a call to allocation function 'calloc' declared here 541 | extern void *calloc (size_t __nmemb, size_t __size) | ^~~~~~ libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I. -I.. -DCONFIG_BASE=\"/etc\" -I /usr/include/spf2 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=zEC12 -mtune=z13 -fasynchronous-unwind-tables -fstack-clash-protection -c opendmarc_strl.c -o opendmarc_strl.o >/dev/null 2>&1 /usr/bin/libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I. -I.. -DCONFIG_BASE=\"/etc\" -I /usr/include/spf2 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=zEC12 -mtune=z13 -fasynchronous-unwind-tables -fstack-clash-protection -c -o opendmarc_spf.lo opendmarc_spf.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I. -I.. -DCONFIG_BASE=\"/etc\" -I /usr/include/spf2 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=zEC12 -mtune=z13 -fasynchronous-unwind-tables -fstack-clash-protection -c opendmarc_hash.c -o opendmarc_hash.o >/dev/null 2>&1 libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I. -I.. -DCONFIG_BASE=\"/etc\" -I /usr/include/spf2 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=zEC12 -mtune=z13 -fasynchronous-unwind-tables -fstack-clash-protection -c opendmarc_spf.c -fPIC -DPIC -o .libs/opendmarc_spf.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I. -I.. -DCONFIG_BASE=\"/etc\" -I /usr/include/spf2 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=zEC12 -mtune=z13 -fasynchronous-unwind-tables -fstack-clash-protection -c opendmarc_spf.c -o opendmarc_spf.o >/dev/null 2>&1 /usr/bin/libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I. -I.. -DCONFIG_BASE=\"/etc\" -I /usr/include/spf2 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=zEC12 -mtune=z13 -fasynchronous-unwind-tables -fstack-clash-protection -c -o opendmarc_spf_dns.lo opendmarc_spf_dns.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I. -I.. -DCONFIG_BASE=\"/etc\" -I /usr/include/spf2 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=zEC12 -mtune=z13 -fasynchronous-unwind-tables -fstack-clash-protection -c opendmarc_spf_dns.c -fPIC -DPIC -o .libs/opendmarc_spf_dns.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I. -I.. -DCONFIG_BASE=\"/etc\" -I /usr/include/spf2 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=zEC12 -mtune=z13 -fasynchronous-unwind-tables -fstack-clash-protection -c opendmarc_spf_dns.c -o opendmarc_spf_dns.o >/dev/null 2>&1 /usr/bin/libtool --tag=CC --mode=link gcc -I /usr/include/spf2 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=zEC12 -mtune=z13 -fasynchronous-unwind-tables -fstack-clash-protection -version-info 2:2:0 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -L/usr/lib64/libspf2.so -o libopendmarc.la -rpath /usr/lib64 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 -lspf2 -lbsd -lrt libtool: link: gcc -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/lib64/libspf2.so -lspf2 -lbsd -lrt -O2 -g -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=zEC12 -mtune=z13 -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,-soname -Wl,libopendmarc.so.2 -o .libs/libopendmarc.so.2.0.2 libtool: link: (cd ".libs" && rm -f "libopendmarc.so.2" && ln -s "libopendmarc.so.2.0.2" "libopendmarc.so.2") libtool: link: (cd ".libs" && rm -f "libopendmarc.so" && ln -s "libopendmarc.so.2.0.2" "libopendmarc.so") libtool: link: ar cru .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" ) make[3]: Leaving directory '/builddir/build/BUILD/opendmarc-1.3.2/libopendmarc' make[2]: Leaving directory '/builddir/build/BUILD/opendmarc-1.3.2/libopendmarc' Making all in reports make[2]: Entering directory '/builddir/build/BUILD/opendmarc-1.3.2/reports' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/builddir/build/BUILD/opendmarc-1.3.2/reports' Making all in opendmarc make[2]: Entering directory '/builddir/build/BUILD/opendmarc-1.3.2/opendmarc' make[3]: Entering directory '/builddir/build/BUILD/opendmarc-1.3.2/opendmarc' gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include -I./../libopendmarc -DCONFIG_BASE=\"/etc\" -pthread -I /usr/include/spf2 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=zEC12 -mtune=z13 -fasynchronous-unwind-tables -fstack-clash-protection -c -o opendmarc-config.o `test -f 'config.c' || echo './'`config.c gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include -I./../libopendmarc -DCONFIG_BASE=\"/etc\" -pthread -I /usr/include/spf2 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=zEC12 -mtune=z13 -fasynchronous-unwind-tables -fstack-clash-protection -c -o opendmarc-opendmarc.o `test -f 'opendmarc.c' || echo './'`opendmarc.c opendmarc.c: In function 'dmarcf_checkip': opendmarc.c:1018:9: warning: variable 'exists' set but not used [-Wunused-but-set-variable] 1018 | _Bool exists; | ^~~~~~ opendmarc.c: In function 'mlfi_connect': opendmarc.c:1751:52: warning: pointer targets in passing argument 1 of 'opendmarc_policy_connect_init' differ in signedness [-Wpointer-sign] 1751 | cc->cctx_dmarc = opendmarc_policy_connect_init(cc->cctx_ipstr, | ~~^~~~~~~~~~~~ | | | char * In file included from opendmarc.c:66: ./../libopendmarc/dmarc.h:113:18: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' 113 | DMARC_POLICY_T * opendmarc_policy_connect_init(u_char *ip_addr, int ip_type); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ opendmarc.c:1761:52: warning: pointer targets in passing argument 1 of 'opendmarc_policy_connect_init' differ in signedness [-Wpointer-sign] 1761 | cc->cctx_dmarc = opendmarc_policy_connect_init(cc->cctx_ipstr, | ~~^~~~~~~~~~~~ | | | char * In file included from opendmarc.c:66: ./../libopendmarc/dmarc.h:113:18: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' 113 | DMARC_POLICY_T * opendmarc_policy_connect_init(u_char *ip_addr, int ip_type); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ opendmarc.c:1774:52: warning: pointer targets in passing argument 1 of 'opendmarc_policy_connect_init' differ in signedness [-Wpointer-sign] 1774 | cc->cctx_dmarc = opendmarc_policy_connect_init(cc->cctx_ipstr, | ~~^~~~~~~~~~~~ | | | char * In file included from opendmarc.c:66: ./../libopendmarc/dmarc.h:113:18: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' 113 | DMARC_POLICY_T * opendmarc_policy_connect_init(u_char *ip_addr, int ip_type); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ opendmarc.c:1687:24: warning: variable 'conf' set but not used [-Wunused-but-set-variable] 1687 | struct dmarcf_config *conf; | ^~~~ opendmarc.c: In function 'mlfi_envfrom': opendmarc.c:1902:14: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] 1902 | strncpy(dfc->mctx_envfrom, envfrom[0], | ~~~^~~~~~~~~~~~~~ | | | unsigned char * In file included from /usr/include/features.h:450, from /usr/include/sys/types.h:25, from /usr/include/sys/param.h:25, from opendmarc.c:12: /usr/include/bits/string_fortified.h:103:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 103 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ opendmarc.c:1905:19: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 1905 | len = strlen(dfc->mctx_envfrom); | ~~~^~~~~~~~~~~~~~ | | | unsigned char * In file included from opendmarc.c:33: /usr/include/string.h:384:35: note: expected 'const char *' but argument is of type 'unsigned char *' 384 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ opendmarc.c:1922:17: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] 1922 | p = strchr(dfc->mctx_envfrom, '@'); | ~~~^~~~~~~~~~~~~~ | | | unsigned char * In file included from opendmarc.c:33: /usr/include/string.h:225:14: note: expected 'const char *' but argument is of type 'unsigned char *' 225 | extern char *strchr (const char *__s, int __c) | ^~~~~~ opendmarc.c:1922:5: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 1922 | p = strchr(dfc->mctx_envfrom, '@'); | ^ opendmarc.c:1924:49: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 1924 | strncpy(dfc->mctx_envdomain, p + 1, strlen(p + 1)); | ~~^~~ | | | unsigned char * In file included from opendmarc.c:33: /usr/include/string.h:384:35: note: expected 'const char *' but argument is of type 'unsigned char *' 384 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ opendmarc.c:1924:15: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] 1924 | strncpy(dfc->mctx_envdomain, p + 1, strlen(p + 1)); | ~~~^~~~~~~~~~~~~~~~ | | | unsigned char * In file included from /usr/include/features.h:450, from /usr/include/sys/types.h:25, from /usr/include/sys/param.h:25, from opendmarc.c:12: /usr/include/bits/string_fortified.h:103:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 103 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ opendmarc.c:1924:35: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] 1924 | strncpy(dfc->mctx_envdomain, p + 1, strlen(p + 1)); | ~~^~~ | | | unsigned char * In file included from /usr/include/features.h:450, from /usr/include/sys/types.h:25, from /usr/include/sys/param.h:25, from opendmarc.c:12: /usr/include/bits/string_fortified.h:103:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 103 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ opendmarc.c: In function 'mlfi_eom': opendmarc.c:2070:19: warning: pointer targets in assignment from 'u_char *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] 2070 | dfc->mctx_jobid = (u_char *) dmarcf_getsymval(ctx, "i"); | ^ opendmarc.c:2079:20: warning: pointer targets in assignment from 'u_char *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] 2079 | dfc->mctx_jobid = (u_char *) JOBIDUNKNOWN; | ^ opendmarc.c:2107:17: warning: pointer targets in assignment from 'char *' to 'u_char *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 2107 | reqhdrs_error = "not exactly one From field"; | ^ opendmarc.c:2111:17: warning: pointer targets in assignment from 'char *' to 'u_char *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 2111 | reqhdrs_error = "not exactly one Date field"; | ^ opendmarc.c:2114:17: warning: pointer targets in assignment from 'char *' to 'u_char *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 2114 | reqhdrs_error = "multiple Reply-To fields"; | ^ opendmarc.c:2117:17: warning: pointer targets in assignment from 'char *' to 'u_char *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 2117 | reqhdrs_error = "multiple To fields"; | ^ opendmarc.c:2120:17: warning: pointer targets in assignment from 'char *' to 'u_char *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 2120 | reqhdrs_error = "multiple Cc fields"; | ^ opendmarc.c:2123:17: warning: pointer targets in assignment from 'char *' to 'u_char *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 2123 | reqhdrs_error = "multiple Bcc fields"; | ^ opendmarc.c:2126:17: warning: pointer targets in assignment from 'char *' to 'u_char *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 2126 | reqhdrs_error = "multiple Message-Id fields"; | ^ opendmarc.c:2129:17: warning: pointer targets in assignment from 'char *' to 'u_char *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 2129 | reqhdrs_error = "multiple In-Reply-To fields"; | ^ opendmarc.c:2132:17: warning: pointer targets in assignment from 'char *' to 'u_char *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 2132 | reqhdrs_error = "multiple References fields"; | ^ opendmarc.c:2135:17: warning: pointer targets in assignment from 'char *' to 'u_char *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 2135 | reqhdrs_error = "multiple Subject fields"; | ^ opendmarc.c:2164:10: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] 2164 | strncpy(addrbuf, from->hdr_value, sizeof addrbuf - 1); | ^~~~~~~ | | | unsigned char * In file included from /usr/include/features.h:450, from /usr/include/sys/types.h:25, from /usr/include/sys/param.h:25, from opendmarc.c:12: /usr/include/bits/string_fortified.h:103:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 103 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ opendmarc.c:2182:19: warning: pointer targets in passing argument 1 of 'dmarcf_match' differ in signedness [-Wpointer-sign] 2182 | dmarcf_match(domain, conf->conf_ignoredomains, TRUE)) | ^~~~~~ | | | u_char * {aka unsigned char *} opendmarc.c:836:26: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 836 | dmarcf_match(const char *str, char **array, _Bool icase) | ~~~~~~~~~~~~^~~ opendmarc.c:2193:13: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] 2193 | strncpy(dfc->mctx_fromdomain, domain, sizeof dfc->mctx_fromdomain - 1); | ~~~^~~~~~~~~~~~~~~~~ | | | unsigned char * In file included from /usr/include/features.h:450, from /usr/include/sys/types.h:25, from /usr/include/sys/param.h:25, from opendmarc.c:12: /usr/include/bits/string_fortified.h:103:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 103 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ opendmarc.c:2193:32: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] 2193 | strncpy(dfc->mctx_fromdomain, domain, sizeof dfc->mctx_fromdomain - 1); | ^~~~~~ | | | u_char * {aka unsigned char *} In file included from /usr/include/features.h:450, from /usr/include/sys/types.h:25, from /usr/include/sys/param.h:25, from opendmarc.c:12: /usr/include/bits/string_fortified.h:103:1: note: expected 'const char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} 103 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ opendmarc.c:2233:21: warning: pointer targets in passing argument 1 of 'ares_parse' differ in signedness [-Wpointer-sign] 2233 | if (ares_parse(hdr->hdr_value, &ar) != 0) | ~~~^~~~~~~~~~~ | | | char * In file included from /usr/include/features.h:450, from /usr/include/sys/types.h:25, from /usr/include/sys/param.h:25, from opendmarc.c:12: opendmarc-ar.h:101:36: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' 101 | extern int ares_parse __P((u_char *hdr, struct authres *ar)); | ~~~~~~~~^~~ opendmarc.c:2237:20: warning: pointer targets in passing argument 1 of 'strcasecmp' differ in signedness [-Wpointer-sign] 2237 | if (strcasecmp(ar.ares_host, authservid) != 0 && | ~~^~~~~~~~~~ | | | unsigned char * In file included from /usr/include/string.h:431, from opendmarc.c:33: /usr/include/strings.h:116:36: note: expected 'const char *' but argument is of type 'unsigned char *' 116 | extern int strcasecmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ opendmarc.c:2239:24: warning: pointer targets in passing argument 1 of 'dmarcf_match' differ in signedness [-Wpointer-sign] 2239 | !dmarcf_match(ar.ares_host, conf->conf_trustedauthservids, | ~~^~~~~~~~~~ | | | unsigned char * opendmarc.c:836:26: note: expected 'const char *' but argument is of type 'unsigned char *' 836 | dmarcf_match(const char *str, char **array, _Bool icase) | ~~~~~~~~~~~~^~~ opendmarc.c:2257:39: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] 2257 | slash = (unsigned char *) strchr(ar.ares_host, '/'); | ~~^~~~~~~~~~ | | | unsigned char * In file included from opendmarc.c:33: /usr/include/string.h:225:14: note: expected 'const char *' but argument is of type 'unsigned char *' 225 | extern char *strchr (const char *__s, int __c) | ^~~~~~ opendmarc.c:2272:22: warning: pointer targets in passing argument 1 of 'strcasecmp' differ in signedness [-Wpointer-sign] 2272 | if ((strcasecmp(ar.ares_host, authservid) != 0 && | ~~^~~~~~~~~~ | | | unsigned char * In file included from /usr/include/string.h:431, from opendmarc.c:33: /usr/include/strings.h:116:36: note: expected 'const char *' but argument is of type 'unsigned char *' 116 | extern int strcasecmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ opendmarc.c:2274:26: warning: pointer targets in passing argument 1 of 'dmarcf_match' differ in signedness [-Wpointer-sign] 2274 | !dmarcf_match(ar.ares_host, | ~~^~~~~~~~~~ | | | unsigned char * opendmarc.c:836:26: note: expected 'const char *' but argument is of type 'unsigned char *' 836 | dmarcf_match(const char *str, char **array, _Bool icase) | ~~~~~~~~~~~~^~~ opendmarc.c:2277:21: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 2277 | strcmp(slash + 1, dfc->mctx_jobid) != 0) | ~~~~~~^~~ | | | unsigned char * In file included from opendmarc.c:33: /usr/include/string.h:136:32: note: expected 'const char *' but argument is of type 'unsigned char *' 136 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ opendmarc.c:2322:55: warning: pointer targets in passing argument 1 of 'strcasecmp' differ in signedness [-Wpointer-sign] 2322 | if (strcasecmp(ar.ares_result[c].result_property[pc], | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ | | | unsigned char * In file included from /usr/include/string.h:431, from opendmarc.c:33: /usr/include/strings.h:116:36: note: expected 'const char *' but argument is of type 'unsigned char *' 116 | extern int strcasecmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ opendmarc.c:2325:16: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 2325 | spfaddr = ar.ares_result[c].result_value[pc]; | ^ opendmarc.c:2328:17: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] 2328 | strncpy(addrbuf, | ^~~~~~~ | | | unsigned char * In file included from /usr/include/features.h:450, from /usr/include/sys/types.h:25, from /usr/include/sys/param.h:25, from opendmarc.c:12: /usr/include/bits/string_fortified.h:103:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 103 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ opendmarc.c:2334:18: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign] 2334 | snprintf(addrbuf, | ^~~~~~~ | | | unsigned char * In file included from /usr/include/features.h:450, from /usr/include/sys/types.h:25, from /usr/include/sys/param.h:25, from opendmarc.c:12: /usr/include/bits/stdio2.h:64:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 64 | __NTH (snprintf (char *__restrict __s, size_t __n, | ^~~~~ opendmarc.c:2342:60: warning: pointer targets in passing argument 1 of 'strcasecmp' differ in signedness [-Wpointer-sign] 2342 | else if (strcasecmp(ar.ares_result[c].result_property[pc], | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ | | | unsigned char * In file included from /usr/include/string.h:431, from opendmarc.c:33: /usr/include/strings.h:116:36: note: expected 'const char *' but argument is of type 'unsigned char *' 116 | extern int strcasecmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ opendmarc.c:2346:16: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 2346 | spfaddr = ar.ares_result[c].result_value[pc]; | ^ opendmarc.c:2347:17: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign] 2347 | snprintf(addrbuf, | ^~~~~~~ | | | unsigned char * In file included from /usr/include/features.h:450, from /usr/include/sys/types.h:25, from /usr/include/sys/param.h:25, from opendmarc.c:12: /usr/include/bits/stdio2.h:64:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 64 | __NTH (snprintf (char *__restrict __s, size_t __n, | ^~~~~ opendmarc.c:2554:16: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 2554 | use_domain = dfc->mctx_envfrom; | ^ opendmarc.c:2563:42: warning: pointer targets in passing argument 2 of 'opendmarc_policy_store_spf' differ in signedness [-Wpointer-sign] 2563 | use_domain, | ^~~~~~~~~~ | | | char * In file included from opendmarc.c:66: ./../libopendmarc/dmarc.h:123:77: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' 123 | OPENDMARC_STATUS_T opendmarc_policy_store_spf(DMARC_POLICY_T *pctx, u_char *domain, int result, int origin, u_char *human_result); | ~~~~~~~~^~~~~~ opendmarc.c:2566:42: warning: pointer targets in passing argument 5 of 'opendmarc_policy_store_spf' differ in signedness [-Wpointer-sign] 2566 | human); | ^~~~~ | | | char * In file included from opendmarc.c:66: ./../libopendmarc/dmarc.h:123:117: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' 123 | OPENDMARC_STATUS_T opendmarc_policy_store_spf(DMARC_POLICY_T *pctx, u_char *domain, int result, int origin, u_char *human_result); | ~~~~~~~~^~~~~~~~~~~~ opendmarc.c:2597:14: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign] 2597 | snprintf(header, sizeof header, | ^~~~~~ | | | unsigned char * In file included from /usr/include/features.h:450, from /usr/include/sys/types.h:25, from /usr/include/sys/param.h:25, from opendmarc.c:12: /usr/include/bits/stdio2.h:64:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 64 | __NTH (snprintf (char *__restrict __s, size_t __n, | ^~~~~ opendmarc.c:2603:14: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign] 2603 | snprintf(header, sizeof header, | ^~~~~~ | | | unsigned char * In file included from /usr/include/features.h:450, from /usr/include/sys/types.h:25, from /usr/include/sys/param.h:25, from opendmarc.c:12: /usr/include/bits/stdio2.h:64:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 64 | __NTH (snprintf (char *__restrict __s, size_t __n, | ^~~~~ opendmarc.c:2609:11: warning: pointer targets in passing argument 4 of 'dmarcf_insheader' differ in signedness [-Wpointer-sign] 2609 | header) == MI_FAILURE) | ^~~~~~ | | | unsigned char * opendmarc.c:308:60: note: expected 'char *' but argument is of type 'unsigned char *' 308 | dmarcf_insheader(SMFICTX *ctx, int idx, char *hname, char *hvalue) | ~~~~~~^~~~~~ opendmarc.c:2669:12: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign] 2669 | snprintf(header, sizeof header, | ^~~~~~ | | | unsigned char * In file included from /usr/include/features.h:450, from /usr/include/sys/types.h:25, from /usr/include/sys/param.h:25, from opendmarc.c:12: /usr/include/bits/stdio2.h:64:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 64 | __NTH (snprintf (char *__restrict __s, size_t __n, | ^~~~~ opendmarc.c:2674:24: warning: pointer targets in passing argument 4 of 'dmarcf_insheader' differ in signedness [-Wpointer-sign] 2674 | header) == MI_FAILURE) | ^~~~~~ | | | unsigned char * opendmarc.c:308:60: note: expected 'char *' but argument is of type 'unsigned char *' 308 | dmarcf_insheader(SMFICTX *ctx, int idx, char *hname, char *hvalue) | ~~~~~~^~~~~~ opendmarc.c:2802:23: warning: pointer targets in passing argument 1 of 'strncasecmp' differ in signedness [-Wpointer-sign] 2802 | if (strncasecmp(ruv[c], "mailto:", 7) != 0) | ~~~^~~ | | | u_char * {aka unsigned char *} In file included from /usr/include/string.h:431, from opendmarc.c:33: /usr/include/strings.h:120:37: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 120 | extern int strncasecmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ opendmarc.c:2805:21: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] 2805 | bang = strchr(ruv[c], '!'); | ~~~^~~ | | | u_char * {aka unsigned char *} In file included from opendmarc.c:33: /usr/include/string.h:225:14: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 225 | extern char *strchr (const char *__s, int __c) | ^~~~~~ opendmarc.c:2805:9: warning: pointer targets in assignment from 'char *' to 'u_char *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 2805 | bang = strchr(ruv[c], '!'); | ^ opendmarc.c:2814:40: warning: pointer targets in passing argument 2 of 'dmarcf_dstring_cat' differ in signedness [-Wpointer-sign] 2814 | dmarcf_dstring_cat(dfc->mctx_afrf, "To: "); | ^~~~~~ | | | char * In file included from /usr/include/features.h:450, from /usr/include/sys/types.h:25, from /usr/include/sys/param.h:25, from opendmarc.c:12: opendmarc-dstring.h:22:63: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' 22 | extern _Bool dmarcf_dstring_cat __P((struct dmarcf_dstring *, u_char *)); | ^~~~~~~~ opendmarc.c:2819:40: warning: pointer targets in passing argument 2 of 'dmarcf_dstring_cat' differ in signedness [-Wpointer-sign] 2819 | dmarcf_dstring_cat(dfc->mctx_afrf, ", "); | ^~~~ | | | char * In file included from /usr/include/features.h:450, from /usr/include/sys/types.h:25, from /usr/include/sys/param.h:25, from opendmarc.c:12: opendmarc-dstring.h:22:63: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' 22 | extern _Bool dmarcf_dstring_cat __P((struct dmarcf_dstring *, u_char *)); | ^~~~~~~~ opendmarc.c:2829:40: warning: pointer targets in passing argument 2 of 'dmarcf_dstring_cat' differ in signedness [-Wpointer-sign] 2829 | dmarcf_dstring_cat(dfc->mctx_afrf, "To: "); | ^~~~~~ | | | char * In file included from /usr/include/features.h:450, from /usr/include/sys/types.h:25, from /usr/include/sys/param.h:25, from opendmarc.c:12: opendmarc-dstring.h:22:63: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' 22 | extern _Bool dmarcf_dstring_cat __P((struct dmarcf_dstring *, u_char *)); | ^~~~~~~~ opendmarc.c:2831:28: warning: pointer targets in passing argument 2 of 'dmarcf_dstring_cat' differ in signedness [-Wpointer-sign] 2831 | conf->conf_afrfbcc); | ~~~~^~~~~~~~~~~~~~ | | | char * In file included from /usr/include/features.h:450, from /usr/include/sys/types.h:25, from /usr/include/sys/param.h:25, from opendmarc.c:12: opendmarc-dstring.h:22:63: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' 22 | extern _Bool dmarcf_dstring_cat __P((struct dmarcf_dstring *, u_char *)); | ^~~~~~~~ opendmarc.c:2845:39: warning: pointer targets in passing argument 2 of 'dmarcf_dstring_cat' differ in signedness [-Wpointer-sign] 2845 | dmarcf_dstring_cat(dfc->mctx_afrf, "\n"); | ^~~~ | | | char * In file included from /usr/include/features.h:450, from /usr/include/sys/types.h:25, from /usr/include/sys/param.h:25, from opendmarc.c:12: opendmarc-dstring.h:22:63: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' 22 | extern _Bool dmarcf_dstring_cat __P((struct dmarcf_dstring *, u_char *)); | ^~~~~~~~ opendmarc.c:2850:40: warning: pointer targets in passing argument 2 of 'dmarcf_dstring_cat' differ in signedness [-Wpointer-sign] 2850 | dmarcf_dstring_cat(dfc->mctx_afrf, "Bcc: "); | ^~~~~~~ | | | char * In file included from /usr/include/features.h:450, from /usr/include/sys/types.h:25, from /usr/include/sys/param.h:25, from opendmarc.c:12: opendmarc-dstring.h:22:63: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' 22 | extern _Bool dmarcf_dstring_cat __P((struct dmarcf_dstring *, u_char *)); | ^~~~~~~~ opendmarc.c:2852:28: warning: pointer targets in passing argument 2 of 'dmarcf_dstring_cat' differ in signedness [-Wpointer-sign] 2852 | conf->conf_afrfbcc); | ~~~~^~~~~~~~~~~~~~ | | | char * In file included from /usr/include/features.h:450, from /usr/include/sys/types.h:25, from /usr/include/sys/param.h:25, from opendmarc.c:12: opendmarc-dstring.h:22:63: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' 22 | extern _Bool dmarcf_dstring_cat __P((struct dmarcf_dstring *, u_char *)); | ^~~~~~~~ opendmarc.c:2853:40: warning: pointer targets in passing argument 2 of 'dmarcf_dstring_cat' differ in signedness [-Wpointer-sign] 2853 | dmarcf_dstring_cat(dfc->mctx_afrf, "\n"); | ^~~~ | | | char * In file included from /usr/include/features.h:450, from /usr/include/sys/types.h:25, from /usr/include/sys/param.h:25, from opendmarc.c:12: opendmarc-dstring.h:22:63: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' 22 | extern _Bool dmarcf_dstring_cat __P((struct dmarcf_dstring *, u_char *)); | ^~~~~~~~ opendmarc.c:2879:23: warning: pointer targets in passing argument 2 of 'dmarcf_dstring_cat' differ in signedness [-Wpointer-sign] 2879 | "MIME-Version: 1.0\n"); | ^~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from /usr/include/features.h:450, from /usr/include/sys/types.h:25, from /usr/include/sys/param.h:25, from opendmarc.c:12: opendmarc-dstring.h:22:63: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' 22 | extern _Bool dmarcf_dstring_cat __P((struct dmarcf_dstring *, u_char *)); | ^~~~~~~~ opendmarc.c:2887:39: warning: pointer targets in passing argument 2 of 'dmarcf_dstring_cat' differ in signedness [-Wpointer-sign] 2887 | dmarcf_dstring_cat(dfc->mctx_afrf, "\n"); | ^~~~ | | | char * In file included from /usr/include/features.h:450, from /usr/include/sys/types.h:25, from /usr/include/sys/param.h:25, from opendmarc.c:12: opendmarc-dstring.h:22:63: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' 22 | extern _Bool dmarcf_dstring_cat __P((struct dmarcf_dstring *, u_char *)); | ^~~~~~~~ opendmarc.c:2907:23: warning: pointer targets in passing argument 2 of 'dmarcf_dstring_cat' differ in signedness [-Wpointer-sign] 2907 | "Feedback-Type: auth-failure\n" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from /usr/include/features.h:450, from /usr/include/sys/types.h:25, from /usr/include/sys/param.h:25, from opendmarc.c:12: opendmarc-dstring.h:22:63: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' 22 | extern _Bool dmarcf_dstring_cat __P((struct dmarcf_dstring *, u_char *)); | ^~~~~~~~ opendmarc.c:2915:23: warning: pointer targets in passing argument 2 of 'dmarcf_dstring_cat' differ in signedness [-Wpointer-sign] 2915 | "Auth-Failure: dmarc\n"); | ^~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from /usr/include/features.h:450, from /usr/include/sys/types.h:25, from /usr/include/sys/param.h:25, from opendmarc.c:12: opendmarc-dstring.h:22:63: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' 22 | extern _Bool dmarcf_dstring_cat __P((struct dmarcf_dstring *, u_char *)); | ^~~~~~~~ opendmarc.c:3033:13: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign] 3033 | snprintf(replybuf, sizeof replybuf, | ^~~~~~~~ | | | unsigned char * In file included from /usr/include/features.h:450, from /usr/include/sys/types.h:25, from /usr/include/sys/param.h:25, from opendmarc.c:12: /usr/include/bits/stdio2.h:64:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 64 | __NTH (snprintf (char *__restrict __s, size_t __n, | ^~~~~ opendmarc.c:3037:47: warning: pointer targets in passing argument 4 of 'dmarcf_setreply' differ in signedness [-Wpointer-sign] 3037 | DMARC_REJECT_ESC, replybuf); | ^~~~~~~~ | | | unsigned char * opendmarc.c:284:63: note: expected 'char *' but argument is of type 'unsigned char *' 284 | dmarcf_setreply(SMFICTX *ctx, char *rcode, char *xcode, char *replytxt) | ~~~~~~^~~~~~~~ opendmarc.c:3065:13: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign] 3065 | snprintf(replybuf, sizeof replybuf, | ^~~~~~~~ | | | unsigned char * In file included from /usr/include/features.h:450, from /usr/include/sys/types.h:25, from /usr/include/sys/param.h:25, from opendmarc.c:12: /usr/include/bits/stdio2.h:64:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 64 | __NTH (snprintf (char *__restrict __s, size_t __n, | ^~~~~ opendmarc.c:3069:34: warning: pointer targets in passing argument 2 of 'smfi_quarantine' differ in signedness [-Wpointer-sign] 3069 | status = smfi_quarantine(ctx, replybuf); | ^~~~~~~~ | | | unsigned char * In file included from /usr/include/features.h:450, from /usr/include/sys/types.h:25, from /usr/include/sys/param.h:25, from opendmarc.c:12: /usr/include/libmilter/mfapi.h:559:35: note: expected 'char *' but argument is of type 'unsigned char *' 559 | LIBMILTER_API int smfi_quarantine __P((SMFICTX *ctx, char *reason)); | ^~~ opendmarc.c:3124:12: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign] 3124 | snprintf(header, sizeof header, | ^~~~~~ | | | unsigned char * In file included from /usr/include/features.h:450, from /usr/include/sys/types.h:25, from /usr/include/sys/param.h:25, from opendmarc.c:12: /usr/include/bits/stdio2.h:64:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 64 | __NTH (snprintf (char *__restrict __s, size_t __n, | ^~~~~ opendmarc.c:3132:24: warning: pointer targets in passing argument 4 of 'dmarcf_insheader' differ in signedness [-Wpointer-sign] 3132 | header) == MI_FAILURE) | ^~~~~~ | | | unsigned char * opendmarc.c:308:60: note: expected 'char *' but argument is of type 'unsigned char *' 308 | dmarcf_insheader(SMFICTX *ctx, int idx, char *hname, char *hvalue) | ~~~~~~^~~~~~ opendmarc.c:3218:12: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign] 3218 | snprintf(header, sizeof header, "%s v%s %s %s", | ^~~~~~ | | | unsigned char * In file included from /usr/include/features.h:450, from /usr/include/sys/types.h:25, from /usr/include/sys/param.h:25, from opendmarc.c:12: /usr/include/bits/stdio2.h:64:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 64 | __NTH (snprintf (char *__restrict __s, size_t __n, | ^~~~~ opendmarc.c:3224:24: warning: pointer targets in passing argument 4 of 'dmarcf_insheader' differ in signedness [-Wpointer-sign] 3224 | header) == MI_FAILURE) | ^~~~~~ | | | unsigned char * opendmarc.c:308:60: note: expected 'char *' but argument is of type 'unsigned char *' 308 | dmarcf_insheader(SMFICTX *ctx, int idx, char *hname, char *hvalue) | ~~~~~~^~~~~~ opendmarc.c: In function 'main': opendmarc.c:4568:23: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] 4568 | strncpy(libopendmarc.tld_source_file, curconf->conf_pslist, | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~ | | | u_char * {aka unsigned char *} In file included from /usr/include/features.h:450, from /usr/include/sys/types.h:25, from /usr/include/sys/param.h:25, from opendmarc.c:12: /usr/include/bits/string_fortified.h:103:1: note: expected 'char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} 103 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include -I./../libopendmarc -DCONFIG_BASE=\"/etc\" -pthread -I /usr/include/spf2 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=zEC12 -mtune=z13 -fasynchronous-unwind-tables -fstack-clash-protection -c -o opendmarc-opendmarc-ar.o `test -f 'opendmarc-ar.c' || echo './'`opendmarc-ar.c opendmarc-ar.c: In function 'ares_parse': opendmarc-ar.c:360:8: warning: variable 'quoted' set but not used [-Wunused-but-set-variable] 360 | _Bool quoted; | ^~~~~~ In file included from /usr/include/string.h:494, from opendmarc.c:33: In function 'strncpy', inlined from 'mlfi_envfrom' at opendmarc.c:1924:4: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin___strncpy_chk' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ opendmarc.c: In function 'mlfi_envfrom': opendmarc.c:1924:4: note: length computed here 1924 | strncpy(dfc->mctx_envdomain, p + 1, strlen(p + 1)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ opendmarc.c: In function 'dmarcf_config_load.constprop': opendmarc.c:1346:27: warning: '%s' directive output may be truncated writing up to 4096 bytes into a region of size 2049 [-Wformat-truncation=] 1346 | snprintf(err, errlen, "%s: chdir(): %s", | ^~ 1347 | basedir, strerror(errno)); | ~~~~~~~ In file included from /usr/include/stdio.h:867, from opendmarc.c:36: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 12 or more bytes (assuming 4108) into a destination of size 2049 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include -I./../libopendmarc -DCONFIG_BASE=\"/etc\" -pthread -I /usr/include/spf2 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=zEC12 -mtune=z13 -fasynchronous-unwind-tables -fstack-clash-protection -c -o opendmarc-opendmarc-dstring.o `test -f 'opendmarc-dstring.c' || echo './'`opendmarc-dstring.c opendmarc.c: In function 'mlfi_eom': opendmarc.c:2604:33: warning: '%s' directive output may be truncated writing up to 2048 bytes into a region of size between 931 and 1000 [-Wformat-truncation=] 2604 | "%s; spf=%s smtp.mailfrom=%s", | ^~ In file included from /usr/include/stdio.h:867, from opendmarc.c:36: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 26 and 2143 bytes into a destination of size 1025 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ opendmarc.c:2598:29: warning: '%s' directive output may be truncated writing up to 2048 bytes into a region of size between 935 and 1004 [-Wformat-truncation=] 2598 | "%s; spf=%s smtp.helo=%s", | ^~ In file included from /usr/include/stdio.h:867, from opendmarc.c:36: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 22 and 2139 bytes into a destination of size 1025 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ opendmarc.c:3125:56: warning: '%s' directive output may be truncated writing up to 2048 bytes into a region of size between 900 and 982 [-Wformat-truncation=] 3125 | "%s%s%s; dmarc=%s (p=%s dis=%s) header.from=%s", | ^~ In file included from /usr/include/stdio.h:867, from opendmarc.c:36: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 44 and 2174 bytes into a destination of size 1025 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ opendmarc.c:2670:45: warning: '%s' directive output may be truncated writing up to 2048 bytes into a region of size between 931 and 995 [-Wformat-truncation=] 2670 | "%s; dmarc=permerror header.from=%s", | ^~ In file included from /usr/include/stdio.h:867, from opendmarc.c:36: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 31 and 2143 bytes into a destination of size 1025 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include -I./../libopendmarc -DCONFIG_BASE=\"/etc\" -pthread -I /usr/include/spf2 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=zEC12 -mtune=z13 -fasynchronous-unwind-tables -fstack-clash-protection -c -o opendmarc-parse.o `test -f 'parse.c' || echo './'`parse.c gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include -I./../libopendmarc -DCONFIG_BASE=\"/etc\" -pthread -I /usr/include/spf2 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=zEC12 -mtune=z13 -fasynchronous-unwind-tables -fstack-clash-protection -c -o opendmarc-test.o `test -f 'test.c' || echo './'`test.c gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include -I./../libopendmarc -DCONFIG_BASE=\"/etc\" -pthread -I /usr/include/spf2 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=zEC12 -mtune=z13 -fasynchronous-unwind-tables -fstack-clash-protection -c -o opendmarc-util.o `test -f 'util.c' || echo './'`util.c gcc -DHAVE_CONFIG_H -I. -I.. -I./../libopendmarc -DCONFIG_BASE=\"/etc\" -I /usr/include/spf2 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=zEC12 -mtune=z13 -fasynchronous-unwind-tables -fstack-clash-protection -c -o opendmarc_check-opendmarc-check.o `test -f 'opendmarc-check.c' || echo './'`opendmarc-check.c /usr/bin/libtool --tag=CC --mode=link gcc -pthread -I /usr/include/spf2 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=zEC12 -mtune=z13 -fasynchronous-unwind-tables -fstack-clash-protection -L/usr/lib -pthread -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -L/usr/lib64/libspf2.so -o opendmarc opendmarc-config.o opendmarc-opendmarc.o opendmarc-opendmarc-ar.o opendmarc-opendmarc-dstring.o opendmarc-parse.o opendmarc-test.o opendmarc-util.o ../libopendmarc/libopendmarc.la -lmilter -lresolv -lspf2 -lbsd -lrt opendmarc-check.c: In function 'main': opendmarc-check.c:33:19: warning: pointer targets in passing argument 1 of 'opendmarc_policy_connect_init' differ in signedness [-Wpointer-sign] 33 | #define LOCALHOST "127.0.0.1" | ^~~~~~~~~~~ | | | char * opendmarc-check.c:95:40: note: in expansion of macro 'LOCALHOST' 95 | dmarc = opendmarc_policy_connect_init(LOCALHOST, FALSE); | ^~~~~~~~~ In file included from opendmarc-check.c:31: ./../libopendmarc/dmarc.h:113:18: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' 113 | DMARC_POLICY_T * opendmarc_policy_connect_init(u_char *ip_addr, int ip_type); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ opendmarc-check.c:108:58: warning: pointer targets in passing argument 2 of 'opendmarc_policy_store_from_domain' differ in signedness [-Wpointer-sign] 108 | status = opendmarc_policy_store_from_domain(dmarc, argv[c]); | ~~~~^~~ | | | char * In file included from opendmarc-check.c:31: ./../libopendmarc/dmarc.h:121:85: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' 121 | OPENDMARC_STATUS_T opendmarc_policy_store_from_domain(DMARC_POLICY_T *pctx, u_char *domain); | ~~~~~~~~^~~~~~ /usr/bin/libtool --tag=CC --mode=link gcc -I /usr/include/spf2 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=zEC12 -mtune=z13 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -L/usr/lib64/libspf2.so -o opendmarc-check opendmarc_check-opendmarc-check.o ../libopendmarc/libopendmarc.la -lresolv -lspf2 -lbsd -lrt libtool: link: gcc -pthread -I /usr/include/spf2 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=zEC12 -mtune=z13 -fasynchronous-unwind-tables -fstack-clash-protection -pthread -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o .libs/opendmarc opendmarc-config.o opendmarc-opendmarc.o opendmarc-opendmarc-ar.o opendmarc-opendmarc-dstring.o opendmarc-parse.o opendmarc-test.o opendmarc-util.o -L/usr/lib -L/usr/lib64/libspf2.so ../libopendmarc/.libs/libopendmarc.so -lmilter -lresolv -lspf2 -lbsd -lrt -pthread libtool: link: gcc -I /usr/include/spf2 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=zEC12 -mtune=z13 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o .libs/opendmarc-check opendmarc_check-opendmarc-check.o -L/usr/lib64/libspf2.so ../libopendmarc/.libs/libopendmarc.so -lresolv -lspf2 -lbsd -lrt make[3]: Leaving directory '/builddir/build/BUILD/opendmarc-1.3.2/opendmarc' make[2]: Leaving directory '/builddir/build/BUILD/opendmarc-1.3.2/opendmarc' make[2]: Entering directory '/builddir/build/BUILD/opendmarc-1.3.2' make[2]: Nothing to be done for 'all-am'. make[2]: Leaving directory '/builddir/build/BUILD/opendmarc-1.3.2' make[1]: Leaving directory '/builddir/build/BUILD/opendmarc-1.3.2' + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.VVtBC2 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/opendmarc-1.3.2-1.fc30.s390x '!=' / ']' + rm -rf /builddir/build/BUILDROOT/opendmarc-1.3.2-1.fc30.s390x ++ dirname /builddir/build/BUILDROOT/opendmarc-1.3.2-1.fc30.s390x + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/opendmarc-1.3.2-1.fc30.s390x + cd opendmarc-1.3.2 ++ which libtool + make DESTDIR=/builddir/build/BUILDROOT/opendmarc-1.3.2-1.fc30.s390x install -j2 LIBTOOL=/usr/bin/libtool Making install in contrib make[1]: Entering directory '/builddir/build/BUILD/opendmarc-1.3.2/contrib' Making install in init make[2]: Entering directory '/builddir/build/BUILD/opendmarc-1.3.2/contrib/init' Making install in generic make[3]: Entering directory '/builddir/build/BUILD/opendmarc-1.3.2/contrib/init/generic' make[4]: Entering directory '/builddir/build/BUILD/opendmarc-1.3.2/contrib/init/generic' make[4]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/opendmarc-1.3.2-1.fc30.s390x/usr/share/doc/opendmarc' /usr/bin/install -c -m 644 opendmarc '/builddir/build/BUILDROOT/opendmarc-1.3.2-1.fc30.s390x/usr/share/doc/opendmarc' make[4]: Leaving directory '/builddir/build/BUILD/opendmarc-1.3.2/contrib/init/generic' make[3]: Leaving directory '/builddir/build/BUILD/opendmarc-1.3.2/contrib/init/generic' Making install in redhat make[3]: Entering directory '/builddir/build/BUILD/opendmarc-1.3.2/contrib/init/redhat' make[4]: Entering directory '/builddir/build/BUILD/opendmarc-1.3.2/contrib/init/redhat' make[4]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/opendmarc-1.3.2-1.fc30.s390x/usr/share/doc/opendmarc' /usr/bin/install -c -m 644 opendmarc '/builddir/build/BUILDROOT/opendmarc-1.3.2-1.fc30.s390x/usr/share/doc/opendmarc' make[4]: Leaving directory '/builddir/build/BUILD/opendmarc-1.3.2/contrib/init/redhat' make[3]: Leaving directory '/builddir/build/BUILD/opendmarc-1.3.2/contrib/init/redhat' make[3]: Entering directory '/builddir/build/BUILD/opendmarc-1.3.2/contrib/init' make[4]: Entering directory '/builddir/build/BUILD/opendmarc-1.3.2/contrib/init' make[4]: Nothing to be done for 'install-exec-am'. make[4]: Nothing to be done for 'install-data-am'. make[4]: Leaving directory '/builddir/build/BUILD/opendmarc-1.3.2/contrib/init' make[3]: Leaving directory '/builddir/build/BUILD/opendmarc-1.3.2/contrib/init' make[2]: Leaving directory '/builddir/build/BUILD/opendmarc-1.3.2/contrib/init' Making install in rddmarc make[2]: Entering directory '/builddir/build/BUILD/opendmarc-1.3.2/contrib/rddmarc' make[3]: Entering directory '/builddir/build/BUILD/opendmarc-1.3.2/contrib/rddmarc' make[3]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/opendmarc-1.3.2-1.fc30.s390x/usr/share/doc/opendmarc' /usr/bin/install -c -m 644 README.rddmarc dmarcfail.py mkdmarc mysql_ip6.c rddmarc '/builddir/build/BUILDROOT/opendmarc-1.3.2-1.fc30.s390x/usr/share/doc/opendmarc' make[3]: Leaving directory '/builddir/build/BUILD/opendmarc-1.3.2/contrib/rddmarc' make[2]: Leaving directory '/builddir/build/BUILD/opendmarc-1.3.2/contrib/rddmarc' Making install in service make[2]: Entering directory '/builddir/build/BUILD/opendmarc-1.3.2/contrib/service' make[3]: Entering directory '/builddir/build/BUILD/opendmarc-1.3.2/contrib/service' make[3]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/opendmarc-1.3.2-1.fc30.s390x/usr/share/doc/opendmarc' /usr/bin/install -c -m 644 opendmarc.service.in '/builddir/build/BUILDROOT/opendmarc-1.3.2-1.fc30.s390x/usr/share/doc/opendmarc' make[3]: Leaving directory '/builddir/build/BUILD/opendmarc-1.3.2/contrib/service' make[2]: Leaving directory '/builddir/build/BUILD/opendmarc-1.3.2/contrib/service' Making install in spec make[2]: Entering directory '/builddir/build/BUILD/opendmarc-1.3.2/contrib/spec' make[3]: Entering directory '/builddir/build/BUILD/opendmarc-1.3.2/contrib/spec' make[3]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/opendmarc-1.3.2-1.fc30.s390x/usr/share/doc/opendmarc' /usr/bin/install -c -m 644 opendmarc.spec.in '/builddir/build/BUILDROOT/opendmarc-1.3.2-1.fc30.s390x/usr/share/doc/opendmarc' make[3]: Leaving directory '/builddir/build/BUILD/opendmarc-1.3.2/contrib/spec' make[2]: Leaving directory '/builddir/build/BUILD/opendmarc-1.3.2/contrib/spec' make[2]: Entering directory '/builddir/build/BUILD/opendmarc-1.3.2/contrib' make[3]: Entering directory '/builddir/build/BUILD/opendmarc-1.3.2/contrib' make[3]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/opendmarc-1.3.2-1.fc30.s390x/usr/share/doc/opendmarc' /usr/bin/install -c -m 644 README '/builddir/build/BUILDROOT/opendmarc-1.3.2-1.fc30.s390x/usr/share/doc/opendmarc' make[3]: Leaving directory '/builddir/build/BUILD/opendmarc-1.3.2/contrib' make[2]: Leaving directory '/builddir/build/BUILD/opendmarc-1.3.2/contrib' make[1]: Leaving directory '/builddir/build/BUILD/opendmarc-1.3.2/contrib' Making install in db make[1]: Entering directory '/builddir/build/BUILD/opendmarc-1.3.2/db' make[2]: Entering directory '/builddir/build/BUILD/opendmarc-1.3.2/db' make[2]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/opendmarc-1.3.2-1.fc30.s390x/usr/share/doc/opendmarc' /usr/bin/install -c -m 644 README.schema schema.mysql README.update-db-schema.mysql update-db-schema.mysql '/builddir/build/BUILDROOT/opendmarc-1.3.2-1.fc30.s390x/usr/share/doc/opendmarc' make[2]: Leaving directory '/builddir/build/BUILD/opendmarc-1.3.2/db' make[1]: Leaving directory '/builddir/build/BUILD/opendmarc-1.3.2/db' Making install in docs make[1]: Entering directory '/builddir/build/BUILD/opendmarc-1.3.2/docs' make[2]: Entering directory '/builddir/build/BUILD/opendmarc-1.3.2/docs' make[2]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/opendmarc-1.3.2-1.fc30.s390x/usr/share/doc/opendmarc' /usr/bin/install -c -m 644 README.specs.html '/builddir/build/BUILDROOT/opendmarc-1.3.2-1.fc30.s390x/usr/share/doc/opendmarc' make[2]: Leaving directory '/builddir/build/BUILD/opendmarc-1.3.2/docs' make[1]: Leaving directory '/builddir/build/BUILD/opendmarc-1.3.2/docs' Making install in libopendmarc make[1]: Entering directory '/builddir/build/BUILD/opendmarc-1.3.2/libopendmarc' Making install in tests make[2]: Entering directory '/builddir/build/BUILD/opendmarc-1.3.2/libopendmarc/tests' Making install in testfiles make[3]: Entering directory '/builddir/build/BUILD/opendmarc-1.3.2/libopendmarc/tests/testfiles' make[4]: Entering directory '/builddir/build/BUILD/opendmarc-1.3.2/libopendmarc/tests/testfiles' make[4]: Nothing to be done for 'install-exec-am'. make[4]: Nothing to be done for 'install-data-am'. make[4]: Leaving directory '/builddir/build/BUILD/opendmarc-1.3.2/libopendmarc/tests/testfiles' make[3]: Leaving directory '/builddir/build/BUILD/opendmarc-1.3.2/libopendmarc/tests/testfiles' make[3]: Entering directory '/builddir/build/BUILD/opendmarc-1.3.2/libopendmarc/tests' make[4]: Entering directory '/builddir/build/BUILD/opendmarc-1.3.2/libopendmarc/tests' make[4]: Nothing to be done for 'install-exec-am'. make[4]: Nothing to be done for 'install-data-am'. make[4]: Leaving directory '/builddir/build/BUILD/opendmarc-1.3.2/libopendmarc/tests' make[3]: Leaving directory '/builddir/build/BUILD/opendmarc-1.3.2/libopendmarc/tests' make[2]: Leaving directory '/builddir/build/BUILD/opendmarc-1.3.2/libopendmarc/tests' Making install in docs make[2]: Entering directory '/builddir/build/BUILD/opendmarc-1.3.2/libopendmarc/docs' make[3]: Entering directory '/builddir/build/BUILD/opendmarc-1.3.2/libopendmarc/docs' make[3]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/opendmarc-1.3.2-1.fc30.s390x/usr/share/doc/opendmarc' /usr/bin/install -c -m 644 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 '/builddir/build/BUILDROOT/opendmarc-1.3.2-1.fc30.s390x/usr/share/doc/opendmarc' make[3]: Leaving directory '/builddir/build/BUILD/opendmarc-1.3.2/libopendmarc/docs' make[2]: Leaving directory '/builddir/build/BUILD/opendmarc-1.3.2/libopendmarc/docs' make[2]: Entering directory '/builddir/build/BUILD/opendmarc-1.3.2/libopendmarc' make[3]: Entering directory '/builddir/build/BUILD/opendmarc-1.3.2/libopendmarc' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/opendmarc-1.3.2-1.fc30.s390x/usr/lib64' /usr/bin/libtool --mode=install /usr/bin/install -c libopendmarc.la '/builddir/build/BUILDROOT/opendmarc-1.3.2-1.fc30.s390x/usr/lib64' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/opendmarc-1.3.2-1.fc30.s390x/usr/include/opendmarc' /usr/bin/install -c -m 644 dmarc.h '/builddir/build/BUILDROOT/opendmarc-1.3.2-1.fc30.s390x/usr/include/opendmarc' libtool: install: /usr/bin/install -c .libs/libopendmarc.so.2.0.2 /builddir/build/BUILDROOT/opendmarc-1.3.2-1.fc30.s390x/usr/lib64/libopendmarc.so.2.0.2 libtool: install: (cd /builddir/build/BUILDROOT/opendmarc-1.3.2-1.fc30.s390x/usr/lib64 && { ln -s -f libopendmarc.so.2.0.2 libopendmarc.so.2 || { rm -f libopendmarc.so.2 && ln -s libopendmarc.so.2.0.2 libopendmarc.so.2; }; }) libtool: install: (cd /builddir/build/BUILDROOT/opendmarc-1.3.2-1.fc30.s390x/usr/lib64 && { ln -s -f libopendmarc.so.2.0.2 libopendmarc.so || { rm -f libopendmarc.so && ln -s libopendmarc.so.2.0.2 libopendmarc.so; }; }) libtool: install: /usr/bin/install -c .libs/libopendmarc.lai /builddir/build/BUILDROOT/opendmarc-1.3.2-1.fc30.s390x/usr/lib64/libopendmarc.la libtool: install: /usr/bin/install -c .libs/libopendmarc.a /builddir/build/BUILDROOT/opendmarc-1.3.2-1.fc30.s390x/usr/lib64/libopendmarc.a libtool: install: chmod 644 /builddir/build/BUILDROOT/opendmarc-1.3.2-1.fc30.s390x/usr/lib64/libopendmarc.a libtool: install: ranlib /builddir/build/BUILDROOT/opendmarc-1.3.2-1.fc30.s390x/usr/lib64/libopendmarc.a libtool: warning: remember to run 'libtool --finish /usr/lib64' make[3]: Leaving directory '/builddir/build/BUILD/opendmarc-1.3.2/libopendmarc' make[2]: Leaving directory '/builddir/build/BUILD/opendmarc-1.3.2/libopendmarc' make[1]: Leaving directory '/builddir/build/BUILD/opendmarc-1.3.2/libopendmarc' Making install in reports make[1]: Entering directory '/builddir/build/BUILD/opendmarc-1.3.2/reports' make[2]: Entering directory '/builddir/build/BUILD/opendmarc-1.3.2/reports' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/opendmarc-1.3.2-1.fc30.s390x/usr/sbin' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/opendmarc-1.3.2-1.fc30.s390x/usr/share/doc/opendmarc' /usr/bin/install -c opendmarc-expire opendmarc-import opendmarc-importstats opendmarc-params opendmarc-reports '/builddir/build/BUILDROOT/opendmarc-1.3.2-1.fc30.s390x/usr/sbin' /usr/bin/install -c -m 644 README '/builddir/build/BUILDROOT/opendmarc-1.3.2-1.fc30.s390x/usr/share/doc/opendmarc' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/opendmarc-1.3.2-1.fc30.s390x/usr/share/man/man8' /usr/bin/install -c -m 644 opendmarc-expire.8 opendmarc-import.8 opendmarc-params.8 opendmarc-reports.8 opendmarc-importstats.8 '/builddir/build/BUILDROOT/opendmarc-1.3.2-1.fc30.s390x/usr/share/man/man8' make[2]: Leaving directory '/builddir/build/BUILD/opendmarc-1.3.2/reports' make[1]: Leaving directory '/builddir/build/BUILD/opendmarc-1.3.2/reports' Making install in opendmarc make[1]: Entering directory '/builddir/build/BUILD/opendmarc-1.3.2/opendmarc' make[2]: Entering directory '/builddir/build/BUILD/opendmarc-1.3.2/opendmarc' make[3]: Entering directory '/builddir/build/BUILD/opendmarc-1.3.2/opendmarc' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/opendmarc-1.3.2-1.fc30.s390x/usr/sbin' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/opendmarc-1.3.2-1.fc30.s390x/usr/share/doc/opendmarc' /usr/bin/install -c -m 644 opendmarc.conf.sample '/builddir/build/BUILDROOT/opendmarc-1.3.2-1.fc30.s390x/usr/share/doc/opendmarc' /usr/bin/libtool --mode=install /usr/bin/install -c opendmarc opendmarc-check '/builddir/build/BUILDROOT/opendmarc-1.3.2-1.fc30.s390x/usr/sbin' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/opendmarc-1.3.2-1.fc30.s390x/usr/share/man/man5' /usr/bin/install -c -m 644 opendmarc.conf.5 '/builddir/build/BUILDROOT/opendmarc-1.3.2-1.fc30.s390x/usr/share/man/man5' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/opendmarc-1.3.2-1.fc30.s390x/usr/share/man/man8' /usr/bin/install -c -m 644 opendmarc.8 opendmarc-check.8 '/builddir/build/BUILDROOT/opendmarc-1.3.2-1.fc30.s390x/usr/share/man/man8' libtool: warning: '../libopendmarc/libopendmarc.la' has not been installed in '/usr/lib64' libtool: install: /usr/bin/install -c .libs/opendmarc /builddir/build/BUILDROOT/opendmarc-1.3.2-1.fc30.s390x/usr/sbin/opendmarc libtool: warning: '../libopendmarc/libopendmarc.la' has not been installed in '/usr/lib64' libtool: install: /usr/bin/install -c .libs/opendmarc-check /builddir/build/BUILDROOT/opendmarc-1.3.2-1.fc30.s390x/usr/sbin/opendmarc-check make[3]: Leaving directory '/builddir/build/BUILD/opendmarc-1.3.2/opendmarc' make[2]: Leaving directory '/builddir/build/BUILD/opendmarc-1.3.2/opendmarc' make[1]: Leaving directory '/builddir/build/BUILD/opendmarc-1.3.2/opendmarc' make[1]: Entering directory '/builddir/build/BUILD/opendmarc-1.3.2' make[2]: Entering directory '/builddir/build/BUILD/opendmarc-1.3.2' make[2]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/opendmarc-1.3.2-1.fc30.s390x/usr/share/doc/opendmarc' /usr/bin/install -c -m 644 LICENSE LICENSE.Sendmail '/builddir/build/BUILDROOT/opendmarc-1.3.2-1.fc30.s390x/usr/share/doc/opendmarc' make[2]: Leaving directory '/builddir/build/BUILD/opendmarc-1.3.2' make[1]: Leaving directory '/builddir/build/BUILD/opendmarc-1.3.2' + mkdir -p /builddir/build/BUILDROOT/opendmarc-1.3.2-1.fc30.s390x/etc + install -d /builddir/build/BUILDROOT/opendmarc-1.3.2-1.fc30.s390x/etc/sysconfig + mkdir -p -m 0755 /builddir/build/BUILDROOT/opendmarc-1.3.2-1.fc30.s390x/etc/opendmarc + cat + install -d -m 0755 /builddir/build/BUILDROOT/opendmarc-1.3.2-1.fc30.s390x/usr/lib/systemd/system + cat + install -m 0644 opendmarc/opendmarc.conf.sample /builddir/build/BUILDROOT/opendmarc-1.3.2-1.fc30.s390x/etc/opendmarc.conf + sed -i 's|^# AuthservID name |AuthservID HOSTNAME |' /builddir/build/BUILDROOT/opendmarc-1.3.2-1.fc30.s390x/etc/opendmarc.conf + sed -i 's|^# HistoryFile /var/run/opendmarc.dat|# HistoryFile /var/spool/opendmarc/opendmarc.dat|' /builddir/build/BUILDROOT/opendmarc-1.3.2-1.fc30.s390x/etc/opendmarc.conf + sed -i 's|^# Socket |Socket |' /builddir/build/BUILDROOT/opendmarc-1.3.2-1.fc30.s390x/etc/opendmarc.conf + sed -i 's|^# SoftwareHeader false|SoftwareHeader true|' /builddir/build/BUILDROOT/opendmarc-1.3.2-1.fc30.s390x/etc/opendmarc.conf + sed -i 's|^# SPFIgnoreResults false|SPFIgnoreResults true|' /builddir/build/BUILDROOT/opendmarc-1.3.2-1.fc30.s390x/etc/opendmarc.conf + sed -i 's|^# SPFSelfValidate false|SPFSelfValidate true|' /builddir/build/BUILDROOT/opendmarc-1.3.2-1.fc30.s390x/etc/opendmarc.conf + sed -i 's|^# Syslog false|Syslog true|' /builddir/build/BUILDROOT/opendmarc-1.3.2-1.fc30.s390x/etc/opendmarc.conf + sed -i 's|^# UMask 077|UMask 007|' /builddir/build/BUILDROOT/opendmarc-1.3.2-1.fc30.s390x/etc/opendmarc.conf + sed -i 's|^# UserID opendmarc|UserID opendmarc:mail|' /builddir/build/BUILDROOT/opendmarc-1.3.2-1.fc30.s390x/etc/opendmarc.conf + sed -i 's|/usr/local||' /builddir/build/BUILDROOT/opendmarc-1.3.2-1.fc30.s390x/etc/opendmarc.conf + install -p -d /builddir/build/BUILDROOT/opendmarc-1.3.2-1.fc30.s390x/etc/tmpfiles.d + cat + rm -rf /builddir/build/BUILDROOT/opendmarc-1.3.2-1.fc30.s390x/usr/share/doc/opendmarc + rm /builddir/build/BUILDROOT/opendmarc-1.3.2-1.fc30.s390x/usr/lib64/libopendmarc.la /builddir/build/BUILDROOT/opendmarc-1.3.2-1.fc30.s390x/usr/lib64/libopendmarc.a + mkdir -p /builddir/build/BUILDROOT/opendmarc-1.3.2-1.fc30.s390x/usr/include/opendmarc + install -m 0644 libopendmarc/dmarc.h /builddir/build/BUILDROOT/opendmarc-1.3.2-1.fc30.s390x/usr/include/opendmarc/ + mkdir -p /builddir/build/BUILDROOT/opendmarc-1.3.2-1.fc30.s390x/var/spool/opendmarc + mkdir -p /builddir/build/BUILDROOT/opendmarc-1.3.2-1.fc30.s390x/var/run/opendmarc + mkdir -p /builddir/build/BUILDROOT/opendmarc-1.3.2-1.fc30.s390x/usr/share/opendmarc/contrib + cp -R db/ /builddir/build/BUILDROOT/opendmarc-1.3.2-1.fc30.s390x/usr/share/opendmarc + sed -i -e s:/usr/local/bin/python:/usr/bin/python: contrib/rddmarc/dmarcfail.py + cp -R contrib/rddmarc/ /builddir/build/BUILDROOT/opendmarc-1.3.2-1.fc30.s390x/usr/share/opendmarc/contrib + rm -f /builddir/build/BUILDROOT/opendmarc-1.3.2-1.fc30.s390x/usr/share/opendmarc/contrib/rddmarc/Makefile /builddir/build/BUILDROOT/opendmarc-1.3.2-1.fc30.s390x/usr/share/opendmarc/contrib/rddmarc/Makefile.am /builddir/build/BUILDROOT/opendmarc-1.3.2-1.fc30.s390x/usr/share/opendmarc/contrib/rddmarc/Makefile.in + rm -f /builddir/build/BUILDROOT/opendmarc-1.3.2-1.fc30.s390x/usr/share/opendmarc/db/Makefile /builddir/build/BUILDROOT/opendmarc-1.3.2-1.fc30.s390x/usr/share/opendmarc/db/Makefile.am /builddir/build/BUILDROOT/opendmarc-1.3.2-1.fc30.s390x/usr/share/opendmarc/db/Makefile.in + /usr/lib/rpm/find-debuginfo.sh -j2 --strict-build-id -m -i --build-id-seed 1.3.2-1.fc30 --unique-debug-suffix -1.3.2-1.fc30.s390x --unique-debug-src-base opendmarc-1.3.2-1.fc30.s390x --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/opendmarc-1.3.2 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/opendmarc-1.3.2-1.fc30.s390x/usr/sbin/opendmarc explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/opendmarc-1.3.2-1.fc30.s390x/usr/lib64/libopendmarc.so.2.0.2 extracting debug info from /builddir/build/BUILDROOT/opendmarc-1.3.2-1.fc30.s390x/usr/lib64/libopendmarc.so.2.0.2 extracting debug info from /builddir/build/BUILDROOT/opendmarc-1.3.2-1.fc30.s390x/usr/sbin/opendmarc explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/opendmarc-1.3.2-1.fc30.s390x/usr/sbin/opendmarc-check extracting debug info from /builddir/build/BUILDROOT/opendmarc-1.3.2-1.fc30.s390x/usr/sbin/opendmarc-check /usr/lib/rpm/sepdebugcrcfix: Updated 3 CRC32s, 0 CRC32s did match. 698 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs mangling shebang in /usr/sbin/opendmarc-importstats from /bin/sh to #!/usr/bin/sh Processing files: opendmarc-1.3.2-1.fc30.s390x Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.GdChAx + umask 022 + cd /builddir/build/BUILD + cd opendmarc-1.3.2 + DOCDIR=/builddir/build/BUILDROOT/opendmarc-1.3.2-1.fc30.s390x/usr/share/doc/opendmarc + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/opendmarc-1.3.2-1.fc30.s390x/usr/share/doc/opendmarc + cp -pr README /builddir/build/BUILDROOT/opendmarc-1.3.2-1.fc30.s390x/usr/share/doc/opendmarc + cp -pr RELEASE_NOTES /builddir/build/BUILDROOT/opendmarc-1.3.2-1.fc30.s390x/usr/share/doc/opendmarc + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.xGWBa3 + umask 022 + cd /builddir/build/BUILD + cd opendmarc-1.3.2 + LICENSEDIR=/builddir/build/BUILDROOT/opendmarc-1.3.2-1.fc30.s390x/usr/share/licenses/opendmarc + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/opendmarc-1.3.2-1.fc30.s390x/usr/share/licenses/opendmarc + cp -pr LICENSE /builddir/build/BUILDROOT/opendmarc-1.3.2-1.fc30.s390x/usr/share/licenses/opendmarc + cp -pr LICENSE.Sendmail /builddir/build/BUILDROOT/opendmarc-1.3.2-1.fc30.s390x/usr/share/licenses/opendmarc + exit 0 Provides: config(opendmarc) = 1.3.2-1.fc30 opendmarc = 1.3.2-1.fc30 opendmarc(s390-64) = 1.3.2-1.fc30 Requires(interp): /bin/sh /bin/sh /bin/sh /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(pre): /bin/sh shadow-utils Requires(post): /bin/sh systemd Requires(preun): /bin/sh systemd Requires(postun): /bin/sh systemd Requires: /usr/bin/perl /usr/bin/sh libbsd.so.0()(64bit) libbsd.so.0(LIBBSD_0.0)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.2)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.4)(64bit) libmilter.so.1.0()(64bit) libopendmarc.so.2()(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.2)(64bit) libresolv.so.2()(64bit) rtld(GNU_HASH) Processing files: libopendmarc-1.3.2-1.fc30.s390x Provides: libopendmarc = 1.3.2-1.fc30 libopendmarc(s390-64) = 1.3.2-1.fc30 libopendmarc.so.2()(64bit) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libbsd.so.0()(64bit) libbsd.so.0(LIBBSD_0.0)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.2)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.4)(64bit) librt.so.1()(64bit) libspf2.so.2()(64bit) rtld(GNU_HASH) Processing files: libopendmarc-devel-1.3.2-1.fc30.s390x Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.oPqWZQ + umask 022 + cd /builddir/build/BUILD + cd opendmarc-1.3.2 + DOCDIR=/builddir/build/BUILDROOT/opendmarc-1.3.2-1.fc30.s390x/usr/share/doc/libopendmarc-devel + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/opendmarc-1.3.2-1.fc30.s390x/usr/share/doc/libopendmarc-devel + cp -pr libopendmarc/docs/dmarc_policy_t.html libopendmarc/docs/index.html libopendmarc/docs/opendmarc_dns_fake_record.html libopendmarc/docs/opendmarc_get_policy_to_enforce.html libopendmarc/docs/opendmarc_lib_t.html libopendmarc/docs/opendmarc_policy_connect_clear.html libopendmarc/docs/opendmarc_policy_connect_init.html libopendmarc/docs/opendmarc_policy_connect_rset.html libopendmarc/docs/opendmarc_policy_connect_shutdown.html libopendmarc/docs/opendmarc_policy_fetch_adkim.html libopendmarc/docs/opendmarc_policy_fetch_alignment.html libopendmarc/docs/opendmarc_policy_fetch_aspf.html libopendmarc/docs/opendmarc_policy_fetch_fo.html libopendmarc/docs/opendmarc_policy_fetch_p.html libopendmarc/docs/opendmarc_policy_fetch_pct.html libopendmarc/docs/opendmarc_policy_fetch_rf.html libopendmarc/docs/opendmarc_policy_fetch_rua.html libopendmarc/docs/opendmarc_policy_fetch_ruf.html libopendmarc/docs/opendmarc_policy_fetch_sp.html libopendmarc/docs/opendmarc_policy_fetch_utilized_domain.html libopendmarc/docs/opendmarc_policy_library_init.html libopendmarc/docs/opendmarc_policy_library_shutdown.html libopendmarc/docs/opendmarc_policy_parse_dmarc.html libopendmarc/docs/opendmarc_policy_query_dmarc.html libopendmarc/docs/opendmarc_policy_status_to_str.html libopendmarc/docs/opendmarc_policy_store_dkim.html libopendmarc/docs/opendmarc_policy_store_dmarc.html libopendmarc/docs/opendmarc_policy_store_from_domain.html libopendmarc/docs/opendmarc_policy_store_spf.html libopendmarc/docs/opendmarc_policy_to_buf.html libopendmarc/docs/opendmarc_spf_test.html libopendmarc/docs/opendmarc_status_t.html libopendmarc/docs/opendmarc_tld_read_file.html libopendmarc/docs/opendmarc_tld_shutdown.html libopendmarc/docs/opendmarc_util_clearargv.html libopendmarc/docs/opendmarc_xml.html libopendmarc/docs/opendmarc_xml_parse.html libopendmarc/docs/overview.html /builddir/build/BUILDROOT/opendmarc-1.3.2-1.fc30.s390x/usr/share/doc/libopendmarc-devel + exit 0 Provides: libopendmarc-devel = 1.3.2-1.fc30 libopendmarc-devel(s390-64) = 1.3.2-1.fc30 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libopendmarc.so.2()(64bit) Processing files: opendmarc-debugsource-1.3.2-1.fc30.s390x Provides: opendmarc-debugsource = 1.3.2-1.fc30 opendmarc-debugsource(s390-64) = 1.3.2-1.fc30 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: opendmarc-debuginfo-1.3.2-1.fc30.s390x Provides: debuginfo(build-id) = 41df5351b02005d35e7bcd102e6a69457b5dd9f7 debuginfo(build-id) = 785ddc9921dbfd097549d603b384c3c0e38c7e66 opendmarc-debuginfo = 1.3.2-1.fc30 opendmarc-debuginfo(s390-64) = 1.3.2-1.fc30 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: opendmarc-debugsource(s390-64) = 1.3.2-1.fc30 Processing files: libopendmarc-debuginfo-1.3.2-1.fc30.s390x Provides: debuginfo(build-id) = 83ebd73923c73b3ddefc4ad7af66a73921ebb30d libopendmarc-debuginfo = 1.3.2-1.fc30 libopendmarc-debuginfo(s390-64) = 1.3.2-1.fc30 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: opendmarc-debugsource(s390-64) = 1.3.2-1.fc30 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/opendmarc-1.3.2-1.fc30.s390x Wrote: /builddir/build/RPMS/opendmarc-1.3.2-1.fc30.s390x.rpm Wrote: /builddir/build/RPMS/libopendmarc-1.3.2-1.fc30.s390x.rpm Wrote: /builddir/build/RPMS/libopendmarc-devel-1.3.2-1.fc30.s390x.rpm Wrote: /builddir/build/RPMS/opendmarc-debugsource-1.3.2-1.fc30.s390x.rpm Wrote: /builddir/build/RPMS/opendmarc-debuginfo-1.3.2-1.fc30.s390x.rpm Wrote: /builddir/build/RPMS/libopendmarc-debuginfo-1.3.2-1.fc30.s390x.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.wUi4q3 + umask 022 + cd /builddir/build/BUILD + cd opendmarc-1.3.2 + /usr/bin/rm -rf /builddir/build/BUILDROOT/opendmarc-1.3.2-1.fc30.s390x + exit 0 Child return code was: 0