Mock Version: 2.15 Mock Version: 2.15 Mock Version: 2.15 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/opendmarc.spec'], chrootPath='/var/lib/mock/f38-build-714831-95015/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=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --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: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1674950400 Wrote: /builddir/build/SRPMS/opendmarc-1.4.2-10.fc38.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/opendmarc.spec'], chrootPath='/var/lib/mock/f38-build-714831-95015/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=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --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: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1674950400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.vShCUq + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf OpenDMARC-rel-opendmarc-1-4-2 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/rel-opendmarc-1-4-2.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd OpenDMARC-rel-opendmarc-1-4-2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/opendmarc-1.4.0-ticket159-179.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.2jrsXK + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd OpenDMARC-rel-opendmarc-1-4-2 + autoreconf -v -i autoreconf: export WARNINGS= autoreconf: Entering directory '.' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal -I m4 autoreconf: configure.ac: tracing autoreconf: running: libtoolize --copy libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'build-aux'. libtoolize: copying file 'build-aux/ltmain.sh' libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'. libtoolize: copying file 'm4/libtool.m4' libtoolize: copying file 'm4/ltoptions.m4' libtoolize: copying file 'm4/ltsugar.m4' libtoolize: copying file 'm4/ltversion.m4' libtoolize: copying file 'm4/lt~obsolete.m4' autoreconf: configure.ac: not using Intltool autoreconf: configure.ac: not using Gtkdoc autoreconf: running: aclocal -I m4 autoreconf: running: /usr/bin/autoconf autoreconf: running: /usr/bin/autoheader autoreconf: running: automake --add-missing --copy --no-force configure.ac:52: installing 'build-aux/compile' configure.ac:45: installing 'build-aux/config.guess' configure.ac:45: installing 'build-aux/config.sub' configure.ac:46: installing 'build-aux/install-sh' configure.ac:46: installing 'build-aux/missing' libopendmarc/Makefile.am: installing 'build-aux/depcomp' parallel-tests: installing 'build-aux/test-driver' autoreconf: Leaving directory '.' + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + '[' '-flto=auto -ffat-lto-objectsx' '!=' x ']' ++ find . -type f -name configure -print + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./configure + diff -u ./configure.backup ./configure --- ./configure.backup 2023-05-20 09:11:28.460598348 -0400 +++ ./configure 2023-05-20 09:11:39.380627759 -0400 @@ -1814,7 +1814,7 @@ #ifdef __cplusplus extern "C" #endif -char $2 (); +__attribute__ ((used)) char $2 (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ + /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./configure + diff -u ./configure.backup ./configure --- ./configure.backup 2023-05-20 09:11:39.380627759 -0400 +++ ./configure 2023-05-20 09:11:39.530628163 -0400 @@ -8189,7 +8189,7 @@ # Transform an extracted symbol line into a proper C declaration. # Some systems (esp. on ia64) link data and code symbols differently, # so use this general approach. -lt_cv_sys_global_symbol_to_cdecl="$SED -n"\ +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" $lt_cdecl_hook\ " -e 's/^T .* \(.*\)$/extern int \1();/p'"\ " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'" @@ -18532,7 +18532,7 @@ compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' -lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`' + '[' 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.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' + 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' + '[' 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 ++ grep -q runstatedir=DIR ./configure ++ echo --runstatedir=/run + ./configure --build=riscv64-redhat-linux-gnu --host=riscv64-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 --runstatedir=/run --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 build system type... riscv64-redhat-linux-gnu checking host system type... riscv64-redhat-linux-gnu checking target system type... riscv64-redhat-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a race-free mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether make supports the include directive... yes (GNU style) checking for riscv64-redhat-linux-gnu-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 the compiler supports GNU C... yes checking whether gcc accepts -g... yes checking for gcc option to enable C11 features... none needed checking whether gcc understands -c and -o together... yes checking dependency style of gcc... none checking for sys/types.h... yes checking for netinet/in.h... yes checking for arpa/nameser.h... yes checking for netdb.h... yes checking for resolv.h... yes checking for ns_type... yes checking for riscv64-redhat-linux-gnu-gcc... (cached) gcc checking whether the compiler supports GNU C... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to enable C11 features... (cached) none needed checking whether gcc understands -c and -o together... (cached) yes checking dependency style of gcc... (cached) none 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 how to convert riscv64-redhat-linux-gnu file names to riscv64-redhat-linux-gnu format... func_convert_file_noop checking how to convert riscv64-redhat-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for riscv64-redhat-linux-gnu-file... no checking for file... file checking for riscv64-redhat-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for riscv64-redhat-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for riscv64-redhat-linux-gnu-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for riscv64-redhat-linux-gnu-strip... no checking for strip... strip checking for riscv64-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ./configure: line 8195: -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(.*\)$/extern char \1;/p': No such file or directory ok checking for sysroot... no checking for a working dd... /usr/bin/dd checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 checking for riscv64-redhat-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... (cached) 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) 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 riscv64-redhat-linux-gnu-pkg-config... /usr/bin/riscv64-redhat-linux-gnu-pkg-config checking pkg-config is at least version 0.9.0... yes checking how to run the C preprocessor... gcc -E checking whether gcc is Clang... no checking whether pthreads work with "-pthread" and "-lpthread"... yes checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE checking whether more special flags are required for pthreads... no checking for PTHREAD_PRIO_INHERIT... yes checking for stdio.h... (cached) yes checking for syslog.h... yes checking for sysexits.h... yes checking for poll.h... yes checking for time.h... yes checking for netdb.h... (cached) yes checking for errno.h... yes checking for ctype.h... yes checking for fcntl.h... yes checking for string.h... (cached) yes checking for sys/param.h... yes checking for sys/socket.h... yes checking for sys/types.h... (cached) yes checking for sys/types.h... (cached) yes checking for arpa/inet.h... yes checking for sys/socket.h... (cached) yes checking for netdb.h... (cached) yes checking for sys/ioctl.h... yes checking for iso/limits_iso.h... no checking for netinet/in.h... (cached) yes checking for arpa/nameser.h... (cached) yes checking for resolv.h... (cached) yes checking for connect in -lsocket... no checking for hstrerror in -lresolv... no checking for inet_aton in -lresolv... no checking for library containing res_ninit... none required checking for library containing res_ndestroy... no checking for idn_free in -lidn... no checking for nanosleep in -lrt... yes checking for library containing inet_addr... none required checking for library containing freehostent... 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... no checking whether struct tm is in sys/time.h or time.h... time.h checking for an ANSI C-conforming const... yes checking for size_t... yes checking size of long... 8 checking size of int... 4 checking size of short... 2 checking size of char... 1 checking size of size_t... 8 checking size of long long... 8 checking size of unsigned long long... 8 checking size of void *... 8 checking for GNU libc compatible malloc... 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 for signal.h... yes checking for regex.h... yes checking for bsd/string.h... yes checking for strl.h... no checking whether ln -s works... yes checking for miltertest... no checking whether the resolver works without -lresolv... yes checking for library containing SPF_record_new... -lspf2 checking for library containing SPF_server_new... none required checking for math.h... yes checking for library containing floor... -lm checking for floor... yes checking for milter library and includes... /usr checking for library containing smfi_register... -lmilter checking for smfi_insheader... yes checking for smfi_opensocket... yes checking for smfi_progress... yes checking for smfi_setsymlist... yes checking for smfi_version... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating contrib/Makefile config.status: creating contrib/init/Makefile config.status: creating contrib/init/generic/Makefile config.status: creating contrib/init/redhat/Makefile config.status: creating contrib/init/redhat/opendmarc config.status: creating contrib/rddmarc/Makefile config.status: creating contrib/service/Makefile config.status: creating contrib/service/opendmarc.service config.status: creating contrib/spec/Makefile config.status: creating contrib/spec/opendmarc.spec config.status: creating db/Makefile config.status: creating libopendmarc/Makefile config.status: creating libopendmarc/tests/Makefile config.status: creating libopendmarc/tests/testfiles/Makefile config.status: creating libopendmarc/docs/Makefile config.status: creating opendmarc/Makefile config.status: creating opendmarc/opendmarc.conf.5 config.status: creating opendmarc/opendmarc.8 config.status: creating opendmarc/opendmarc-check.8 config.status: creating opendmarc/tests/Makefile config.status: creating reports/Makefile config.status: creating reports/opendmarc-expire config.status: creating reports/opendmarc-expire.8 config.status: creating reports/opendmarc-import config.status: creating reports/opendmarc-import.8 config.status: creating reports/opendmarc-importstats 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 + make DESTDIR=/builddir/build/BUILDROOT/opendmarc-1.4.2-10.fc38.riscv64 -j4 make all-recursive make[1]: Entering directory '/builddir/build/BUILD/OpenDMARC-rel-opendmarc-1-4-2' Making all in contrib make[2]: Entering directory '/builddir/build/BUILD/OpenDMARC-rel-opendmarc-1-4-2/contrib' Making all in init make[3]: Entering directory '/builddir/build/BUILD/OpenDMARC-rel-opendmarc-1-4-2/contrib/init' Making all in generic make[4]: Entering directory '/builddir/build/BUILD/OpenDMARC-rel-opendmarc-1-4-2/contrib/init/generic' make[4]: Nothing to be done for 'all'. make[4]: Leaving directory '/builddir/build/BUILD/OpenDMARC-rel-opendmarc-1-4-2/contrib/init/generic' Making all in redhat make[4]: Entering directory '/builddir/build/BUILD/OpenDMARC-rel-opendmarc-1-4-2/contrib/init/redhat' make[4]: Nothing to be done for 'all'. make[4]: Leaving directory '/builddir/build/BUILD/OpenDMARC-rel-opendmarc-1-4-2/contrib/init/redhat' make[4]: Entering directory '/builddir/build/BUILD/OpenDMARC-rel-opendmarc-1-4-2/contrib/init' make[4]: Nothing to be done for 'all-am'. make[4]: Leaving directory '/builddir/build/BUILD/OpenDMARC-rel-opendmarc-1-4-2/contrib/init' make[3]: Leaving directory '/builddir/build/BUILD/OpenDMARC-rel-opendmarc-1-4-2/contrib/init' Making all in rddmarc make[3]: Entering directory '/builddir/build/BUILD/OpenDMARC-rel-opendmarc-1-4-2/contrib/rddmarc' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/builddir/build/BUILD/OpenDMARC-rel-opendmarc-1-4-2/contrib/rddmarc' Making all in service make[3]: Entering directory '/builddir/build/BUILD/OpenDMARC-rel-opendmarc-1-4-2/contrib/service' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/builddir/build/BUILD/OpenDMARC-rel-opendmarc-1-4-2/contrib/service' Making all in spec make[3]: Entering directory '/builddir/build/BUILD/OpenDMARC-rel-opendmarc-1-4-2/contrib/spec' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/builddir/build/BUILD/OpenDMARC-rel-opendmarc-1-4-2/contrib/spec' make[3]: Entering directory '/builddir/build/BUILD/OpenDMARC-rel-opendmarc-1-4-2/contrib' make[3]: Nothing to be done for 'all-am'. make[3]: Leaving directory '/builddir/build/BUILD/OpenDMARC-rel-opendmarc-1-4-2/contrib' make[2]: Leaving directory '/builddir/build/BUILD/OpenDMARC-rel-opendmarc-1-4-2/contrib' Making all in db make[2]: Entering directory '/builddir/build/BUILD/OpenDMARC-rel-opendmarc-1-4-2/db' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/builddir/build/BUILD/OpenDMARC-rel-opendmarc-1-4-2/db' Making all in libopendmarc make[2]: Entering directory '/builddir/build/BUILD/OpenDMARC-rel-opendmarc-1-4-2/libopendmarc' Making all in tests make[3]: Entering directory '/builddir/build/BUILD/OpenDMARC-rel-opendmarc-1-4-2/libopendmarc/tests' Making all in testfiles make[4]: Entering directory '/builddir/build/BUILD/OpenDMARC-rel-opendmarc-1-4-2/libopendmarc/tests/testfiles' make[4]: Nothing to be done for 'all'. make[4]: Leaving directory '/builddir/build/BUILD/OpenDMARC-rel-opendmarc-1-4-2/libopendmarc/tests/testfiles' make[4]: Entering directory '/builddir/build/BUILD/OpenDMARC-rel-opendmarc-1-4-2/libopendmarc/tests' make[4]: Nothing to be done for 'all-am'. make[4]: Leaving directory '/builddir/build/BUILD/OpenDMARC-rel-opendmarc-1-4-2/libopendmarc/tests' make[3]: Leaving directory '/builddir/build/BUILD/OpenDMARC-rel-opendmarc-1-4-2/libopendmarc/tests' Making all in docs make[3]: Entering directory '/builddir/build/BUILD/OpenDMARC-rel-opendmarc-1-4-2/libopendmarc/docs' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/builddir/build/BUILD/OpenDMARC-rel-opendmarc-1-4-2/libopendmarc/docs' make[3]: Entering directory '/builddir/build/BUILD/OpenDMARC-rel-opendmarc-1-4-2/libopendmarc' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I. -I.. -DCONFIG_BASE=\"/etc\" -I /usr/include/spf2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c -o opendmarc_dns.lo opendmarc_dns.c /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I. -I.. -DCONFIG_BASE=\"/etc\" -I /usr/include/spf2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c -o opendmarc_xml.lo opendmarc_xml.c /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I. -I.. -DCONFIG_BASE=\"/etc\" -I /usr/include/spf2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c -o opendmarc_tld.lo opendmarc_tld.c /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I. -I.. -DCONFIG_BASE=\"/etc\" -I /usr/include/spf2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c opendmarc_tld.c -fPIC -DPIC -o .libs/opendmarc_tld.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I. -I.. -DCONFIG_BASE=\"/etc\" -I /usr/include/spf2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c opendmarc_dns.c -fPIC -DPIC -o .libs/opendmarc_dns.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I. -I.. -DCONFIG_BASE=\"/etc\" -I /usr/include/spf2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c opendmarc_policy.c -fPIC -DPIC -o .libs/opendmarc_policy.o opendmarc_dns.c: In function 'dmarc_dns_get_record': opendmarc_dns.c:120:25: warning: variable 'ttl' set but not used [-Wunused-but-set-variable] 120 | uint32_t ttl = 0; | ^~~ opendmarc_dns.c:118:25: warning: variable 'class' set but not used [-Wunused-but-set-variable] 118 | uint16_t class = 0; | ^~~~~ opendmarc_tld.c: In function 'opendmarc_reverse_domain': opendmarc_tld.c:50:20: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 50 | if (strlen(cp) == 0) | ^~ | | | u_char * {aka unsigned char *} In file included from opendmarc_internal.h:38, from opendmarc_tld.c:5: /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ opendmarc_tld.c:57:38: warning: pointer targets in passing argument 2 of 'strlcpy' differ in signedness [-Wpointer-sign] 57 | (void) strlcpy((char *)copy, cp, sizeof copy); | ^~ | | | u_char * {aka unsigned char *} opendmarc_policy.c: In function 'opendmarc_policy_library_init': opendmarc_policy.c:87:77: warning: pointer targets in passing argument 1 of 'opendmarc_tld_read_file' differ in signedness [-Wpointer-sign] 87 | ret = opendmarc_tld_read_file(Opendmarc_Libp->tld_source_file, | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ | | | u_char * {aka unsigned char *} In file included from opendmarc_tld.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); | ~~~~~~~~~~~~^~~ In file included from opendmarc_policy.c:10: opendmarc_internal.h:230:55: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 230 | int opendmarc_tld_read_file(char *path_fname, char *commentstring, char *drop, char *except); | ~~~~~~^~~~~~~~~~ opendmarc_tld.c: In function 'opendmarc_tld_read_file': opendmarc_tld.c:188:81: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 188 | if (opendmarc_hash_lookup(hashp, revbuf, (void *)revbuf, strlen(revbuf)) == NULL) | ^~~~~~ | | | u_char * {aka unsigned char *} opendmarc_policy.c: In function 'opendmarc_policy_check_alignment': /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ opendmarc_policy.c:290:24: warning: pointer targets in passing argument 1 of 'strlcpy' differ in signedness [-Wpointer-sign] 290 | (void) strlcpy(tld_buf, tld, sizeof tld_buf); | ^~~~~~~ | | | u_char * {aka unsigned char *} opendmarc_tld.c:188:50: warning: pointer targets in passing argument 2 of 'opendmarc_hash_lookup' differ in signedness [-Wpointer-sign] 188 | if (opendmarc_hash_lookup(hashp, revbuf, (void *)revbuf, strlen(revbuf)) == NULL) | ^~~~~~ | | | u_char * {aka unsigned char *} In file included from opendmarc_policy.c:15: /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_internal.h:225:79: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 225 | void * opendmarc_hash_lookup(OPENDMARC_HASH_CTX *hctx, char *string, void *data, size_t datalen); | ~~~~~~^~~~~~ opendmarc_policy.c:290:33: warning: pointer targets in passing argument 2 of 'strlcpy' differ in signedness [-Wpointer-sign] 290 | (void) strlcpy(tld_buf, tld, sizeof tld_buf); | ^~~ | | | u_char * {aka unsigned char *} /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:294:31: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 294 | ep = rev_sub + strlen(rev_sub) -1; | ^~~~~~~ | | | u_char * {aka unsigned char *} In file included from opendmarc_internal.h:38: /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ opendmarc_policy.c:300:31: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 300 | ep = rev_tld + strlen(rev_tld) -1; | ^~~~~~~ | | | u_char * {aka unsigned char *} /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ opendmarc_policy.c:307:24: warning: pointer targets in passing argument 1 of 'strcasecmp' differ in signedness [-Wpointer-sign] 307 | if (strcasecmp(rev_tld, rev_sub) == 0) | ^~~~~~~ | | | u_char * {aka unsigned char *} In file included from /usr/include/string.h:462: /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:307:33: warning: pointer targets in passing argument 2 of 'strcasecmp' differ in signedness [-Wpointer-sign] 307 | if (strcasecmp(rev_tld, rev_sub) == 0) | ^~~~~~~ | | | u_char * {aka unsigned char *} /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:310:52: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 310 | ret = strncasecmp(rev_tld, rev_sub, strlen(rev_tld)); | ^~~~~~~ | | | u_char * {aka unsigned char *} /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ opendmarc_policy.c:310:27: warning: pointer targets in passing argument 1 of 'strncasecmp' differ in signedness [-Wpointer-sign] 310 | ret = strncasecmp(rev_tld, rev_sub, strlen(rev_tld)); | ^~~~~~~ | | | u_char * {aka unsigned char *} /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:310:36: warning: pointer targets in passing argument 2 of 'strncasecmp' differ in signedness [-Wpointer-sign] 310 | ret = strncasecmp(rev_tld, rev_sub, strlen(rev_tld)); | ^~~~~~~ | | | u_char * {aka unsigned char *} /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:314:52: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 314 | ret = strncasecmp(rev_sub, rev_tld, strlen(rev_sub)); | ^~~~~~~ | | | u_char * {aka unsigned char *} /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ opendmarc_policy.c:314:27: warning: pointer targets in passing argument 1 of 'strncasecmp' differ in signedness [-Wpointer-sign] 314 | ret = strncasecmp(rev_sub, rev_tld, strlen(rev_sub)); | ^~~~~~~ | | | u_char * {aka unsigned char *} /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:314:36: warning: pointer targets in passing argument 2 of 'strncasecmp' differ in signedness [-Wpointer-sign] 314 | ret = strncasecmp(rev_sub, rev_tld, strlen(rev_sub)); | ^~~~~~~ | | | u_char * {aka unsigned char *} /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:323:31: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 323 | ep = rev_tld + strlen(rev_tld) -1; | ^~~~~~~ | | | u_char * {aka unsigned char *} /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ opendmarc_policy.c:330:24: warning: pointer targets in passing argument 1 of 'strcasecmp' differ in signedness [-Wpointer-sign] 330 | if (strcasecmp(rev_tld, rev_sub) == 0) | ^~~~~~~ | | | u_char * {aka unsigned char *} /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:330:33: warning: pointer targets in passing argument 2 of 'strcasecmp' differ in signedness [-Wpointer-sign] 330 | if (strcasecmp(rev_tld, rev_sub) == 0) | ^~~~~~~ | | | u_char * {aka unsigned char *} /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:333:52: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 333 | ret = strncasecmp(rev_tld, rev_sub, strlen(rev_tld)); | ^~~~~~~ | | | u_char * {aka unsigned char *} /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ opendmarc_policy.c:333:27: warning: pointer targets in passing argument 1 of 'strncasecmp' differ in signedness [-Wpointer-sign] 333 | ret = strncasecmp(rev_tld, rev_sub, strlen(rev_tld)); | ^~~~~~~ | | | u_char * {aka unsigned char *} /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:333:36: warning: pointer targets in passing argument 2 of 'strncasecmp' differ in signedness [-Wpointer-sign] 333 | ret = strncasecmp(rev_tld, rev_sub, strlen(rev_tld)); | ^~~~~~~ | | | u_char * {aka unsigned char *} /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:337:52: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 337 | ret = strncasecmp(rev_sub, rev_tld, strlen(rev_sub)); | ^~~~~~~ | | | u_char * {aka unsigned char *} /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ opendmarc_policy.c:337:27: warning: pointer targets in passing argument 1 of 'strncasecmp' differ in signedness [-Wpointer-sign] 337 | ret = strncasecmp(rev_sub, rev_tld, strlen(rev_sub)); | ^~~~~~~ | | | u_char * {aka unsigned char *} /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:337:36: warning: pointer targets in passing argument 2 of 'strncasecmp' differ in signedness [-Wpointer-sign] 337 | ret = strncasecmp(rev_sub, rev_tld, strlen(rev_sub)); | ^~~~~~~ | | | u_char * {aka unsigned char *} /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:373:53: warning: pointer targets in passing argument 2 of 'opendmarc_util_finddomain' differ in signedness [-Wpointer-sign] 373 | dp = opendmarc_util_finddomain(from_domain, domain_buf, sizeof domain_buf); | ^~~~~~~~~~ | | | char * opendmarc_internal.h:240:58: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' 240 | u_char * opendmarc_util_finddomain(u_char *raw, u_char *buf, size_t buflen); | ~~~~~~~~^~~ opendmarc_policy.c:373:12: warning: pointer targets in assignment from 'u_char *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] 373 | dp = opendmarc_util_finddomain(from_domain, domain_buf, sizeof domain_buf); | ^ opendmarc_policy.c:376:27: warning: pointer targets in assignment from 'char *' to 'u_char *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 376 | pctx->from_domain = strdup((char *)dp); | ^ opendmarc_policy.c: In function 'opendmarc_policy_store_spf': opendmarc_policy.c:418:48: warning: pointer targets in passing argument 2 of 'opendmarc_util_finddomain' differ in signedness [-Wpointer-sign] 418 | dp = opendmarc_util_finddomain(domain, domain_buf, sizeof domain_buf); | ^~~~~~~~~~ | | | char * opendmarc_internal.h:240:58: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' 240 | u_char * opendmarc_util_finddomain(u_char *raw, u_char *buf, size_t buflen); | ~~~~~~~~^~~ opendmarc_policy.c:418:12: warning: pointer targets in assignment from 'u_char *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] 418 | dp = opendmarc_util_finddomain(domain, domain_buf, sizeof domain_buf); | ^ opendmarc_policy.c:421:27: warning: pointer targets in passing argument 1 of 'check_domain' differ in signedness [-Wpointer-sign] 421 | if (!check_domain(dp)) | ^~ | | | char * opendmarc_policy.c:38:27: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' 38 | bool check_domain(u_char *domain) | ~~~~~~~~^~~~~~ opendmarc_policy.c:424:41: warning: pointer targets in assignment from 'char *' to 'u_char *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 424 | pctx->spf_human_outcome = strdup((char *)human_readable); | ^ opendmarc_policy.c:425:26: warning: pointer targets in assignment from 'char *' to 'u_char *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 425 | pctx->spf_domain = strdup((char *)dp); | ^ opendmarc_policy.c: In function 'opendmarc_policy_store_dkim': opendmarc_policy.c:509:56: warning: pointer targets in passing argument 2 of 'opendmarc_util_finddomain' differ in signedness [-Wpointer-sign] 509 | dp = opendmarc_util_finddomain(d_equal_domain, domain_buf, sizeof domain_buf); | ^~~~~~~~~~ | | | char * opendmarc_internal.h:240:58: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' 240 | u_char * opendmarc_util_finddomain(u_char *raw, u_char *buf, size_t buflen); | ~~~~~~~~^~~ opendmarc_policy.c:510:34: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 510 | if (dp == NULL || strlen(dp) == 0) | ^~ | | | u_char * {aka unsigned char *} /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ opendmarc_policy.c:518:40: warning: pointer targets in passing argument 2 of 'strcasecmp' differ in signedness [-Wpointer-sign] 518 | if (strcasecmp((char *)dp, pctx->from_domain) == 0) | ~~~~^~~~~~~~~~~~~ | | | u_char * {aka unsigned char *} /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:575:35: warning: pointer targets in assignment from 'char *' to 'u_char *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 575 | pctx->dkim_domain = strdup((char *)dp); | ^ opendmarc_policy.c:579:37: warning: pointer targets in assignment from 'char *' to 'u_char *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 579 | pctx->dkim_selector = strdup((char *)s_equal_selector); | ^ opendmarc_policy.c:584:42: warning: pointer targets in assignment from 'char *' to 'u_char *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 584 | pctx->dkim_human_outcome = strdup((char *)human_result); | ^ opendmarc_policy.c: In function 'opendmarc_policy_query_dmarc_xdomain': opendmarc_policy.c:633:25: warning: pointer targets in passing argument 1 of 'strncasecmp' differ in signedness [-Wpointer-sign] 633 | if (strncasecmp(uri, "mailto:", 7) == 0) | ^~~ | | | u_char * {aka unsigned char *} /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:669:51: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 669 | if (dns_reply == NETDB_SUCCESS && strcmp( buf, "&" ) != 0) | ^~~ | | | u_char * {aka unsigned char *} /usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ opendmarc_policy.c:698:51: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 698 | if (dns_reply == NETDB_SUCCESS && strcmp( buf, "&" ) != 0) | ^~~ | | | u_char * {aka unsigned char *} /usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ opendmarc_policy.c: In function 'opendmarc_policy_query_dmarc': opendmarc_policy.c:767:38: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 767 | if (domain == NULL || strlen(domain) == 0) | ^~~~~~ | | | u_char * {aka unsigned char *} /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ opendmarc_policy.c:775:24: warning: pointer targets in passing argument 1 of 'strlcpy' differ in signedness [-Wpointer-sign] 775 | (void) strlcpy(copy, "_dmarc.", sizeof copy); | ^~~~ | | | u_char * {aka unsigned char *} /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:776:24: warning: pointer targets in passing argument 1 of 'strlcat' differ in signedness [-Wpointer-sign] 776 | (void) strlcat(copy, domain, sizeof copy); | ^~~~ | | | u_char * {aka unsigned char *} /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:776:30: warning: pointer targets in passing argument 2 of 'strlcat' differ in signedness [-Wpointer-sign] 776 | (void) strlcat(copy, domain, sizeof copy); | ^~~~~~ | | | u_char * {aka unsigned char *} /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:780:35: warning: pointer targets in passing argument 1 of 'dmarc_dns_get_record' differ in signedness [-Wpointer-sign] 780 | bp = dmarc_dns_get_record(copy, &dns_reply, buf, sizeof buf); | ^~~~ | | | u_char * {aka unsigned char *} opendmarc_internal.h:186:35: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 186 | char * dmarc_dns_get_record(char *domain, int *reply, char *got_txtbuf, size_t got_txtlen); | ~~~~~~^~~~~~ opendmarc_tld.c: In function 'opendmarc_get_tld': opendmarc_tld.c:261:32: warning: pointer targets in passing argument 1 of 'strlcpy' differ in signedness [-Wpointer-sign] 261 | (void) strlcpy(tld, domain, tld_len); | ^~~ | | | u_char * {aka unsigned char *} /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:780:53: warning: pointer targets in passing argument 3 of 'dmarc_dns_get_record' differ in signedness [-Wpointer-sign] 780 | bp = dmarc_dns_get_record(copy, &dns_reply, buf, sizeof buf); | ^~~ | | | u_char * {aka unsigned char *} opendmarc_internal.h:186:61: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 186 | char * dmarc_dns_get_record(char *domain, int *reply, char *got_txtbuf, size_t got_txtlen); | ~~~~~~^~~~~~~~~~ opendmarc_tld.c:261:37: warning: pointer targets in passing argument 2 of 'strlcpy' differ in signedness [-Wpointer-sign] 261 | (void) strlcpy(tld, domain, tld_len); | ^~~~~~ | | | u_char * {aka unsigned char *} /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:265:35: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 265 | for (rp = revbuf + strlen(revbuf) -1; rp > revbuf; --rp) | ^~~~~~ | | | u_char * {aka unsigned char *} /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ opendmarc_policy.c:780:12: warning: pointer targets in assignment from 'char *' to 'u_char *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 780 | bp = dmarc_dns_get_record(copy, &dns_reply, buf, sizeof buf); | ^ opendmarc_tld.c:270:40: warning: pointer targets in passing argument 1 of 'strlcpy' differ in signedness [-Wpointer-sign] 270 | (void) strlcpy(tld, domain, tld_len); | ^~~ | | | u_char * {aka unsigned char *} /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:270:45: warning: pointer targets in passing argument 2 of 'strlcpy' differ in signedness [-Wpointer-sign] 270 | (void) strlcpy(tld, domain, tld_len); | ^~~~~~ | | | u_char * {aka unsigned char *} /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:792:32: warning: pointer targets in passing argument 1 of 'strlcpy' differ in signedness [-Wpointer-sign] 792 | (void) strlcpy(copy, buf, sizeof copy); | ^~~~ | | | u_char * {aka unsigned char *} /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:280:62: warning: pointer targets in passing argument 2 of 'opendmarc_hash_lookup' differ in signedness [-Wpointer-sign] 280 | vp = opendmarc_hash_lookup(TLD_hctx, revbuf, NULL, 0); | ^~~~~~ | | | u_char * {aka unsigned char *} opendmarc_internal.h:225:79: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 225 | void * opendmarc_hash_lookup(OPENDMARC_HASH_CTX *hctx, char *string, void *data, size_t datalen); | ~~~~~~^~~~~~ opendmarc_tld.c:295:62: warning: pointer targets in passing argument 2 of 'opendmarc_hash_lookup' differ in signedness [-Wpointer-sign] 295 | vp = opendmarc_hash_lookup(TLD_hctx, revbuf, NULL, 0); | ^~~~~~ | | | u_char * {aka unsigned char *} opendmarc_internal.h:225:79: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 225 | void * opendmarc_hash_lookup(OPENDMARC_HASH_CTX *hctx, char *string, void *data, size_t datalen); | ~~~~~~^~~~~~ opendmarc_policy.c:792:38: warning: pointer targets in passing argument 2 of 'strlcpy' differ in signedness [-Wpointer-sign] 792 | (void) strlcpy(copy, buf, sizeof copy); | ^~~ | | | u_char * {aka unsigned char *} /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:301:52: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] 301 | char * cp = strchr(revbuf, '.'); | ^~~~~~ | | | u_char * {aka unsigned char *} /usr/include/string.h:246:34: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 246 | extern char *strchr (const char *__s, int __c) | ~~~~~~~~~~~~^~~ opendmarc_policy.c:801:20: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 801 | if (strlen(tld) > 0) | ^~~ | | | u_char * {aka unsigned char *} /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ opendmarc_policy.c:803:54: warning: pointer targets in passing argument 1 of 'strdup' differ in signedness [-Wpointer-sign] 803 | pctx->organizational_domain = strdup(tld); | ^~~ | | | u_char * {aka unsigned char *} /usr/include/string.h:187:34: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 187 | extern char *strdup (const char *__s) | ~~~~~~~~~~~~^~~ opendmarc_policy.c:803:45: warning: pointer targets in assignment from 'char *' to 'u_char *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 803 | pctx->organizational_domain = strdup(tld); | ^ opendmarc_policy.c:806:32: warning: pointer targets in passing argument 1 of 'strlcpy' differ in signedness [-Wpointer-sign] 806 | (void) strlcpy(copy, "_dmarc.", sizeof copy); | ^~~~ | | | u_char * {aka unsigned char *} /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:807:32: warning: pointer targets in passing argument 1 of 'strlcat' differ in signedness [-Wpointer-sign] 807 | (void) strlcat(copy, tld, sizeof copy); | ^~~~ | | | u_char * {aka unsigned char *} /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:807:38: warning: pointer targets in passing argument 2 of 'strlcat' differ in signedness [-Wpointer-sign] 807 | (void) strlcat(copy, tld, sizeof copy); | ^~~ | | | u_char * {aka unsigned char *} /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:810:43: warning: pointer targets in passing argument 1 of 'dmarc_dns_get_record' differ in signedness [-Wpointer-sign] 810 | bp = dmarc_dns_get_record(copy, &dns_reply, buf, sizeof buf); | ^~~~ | | | u_char * {aka unsigned char *} opendmarc_internal.h:186:35: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 186 | char * dmarc_dns_get_record(char *domain, int *reply, char *got_txtbuf, size_t got_txtlen); | ~~~~~~^~~~~~ opendmarc_policy.c:810:61: warning: pointer targets in passing argument 3 of 'dmarc_dns_get_record' differ in signedness [-Wpointer-sign] 810 | bp = dmarc_dns_get_record(copy, &dns_reply, buf, sizeof buf); | ^~~ | | | u_char * {aka unsigned char *} opendmarc_internal.h:186:61: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 186 | char * dmarc_dns_get_record(char *domain, int *reply, char *got_txtbuf, size_t got_txtlen); | ~~~~~~^~~~~~~~~~ opendmarc_policy.c:810:20: warning: pointer targets in assignment from 'char *' to 'u_char *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 810 | bp = dmarc_dns_get_record(copy, &dns_reply, buf, sizeof buf); | ^ opendmarc_policy.c:819:40: warning: pointer targets in passing argument 1 of 'strlcpy' differ in signedness [-Wpointer-sign] 819 | (void) strlcpy(copy, buf, sizeof copy); | ^~~~ | | | u_char * {aka unsigned char *} /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:819:46: warning: pointer targets in passing argument 2 of 'strlcpy' differ in signedness [-Wpointer-sign] 819 | (void) strlcpy(copy, buf, sizeof copy); | ^~~ | | | u_char * {aka unsigned char *} /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:966:39: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] 966 | sp = (u_char *)strchr(cp, ';'); | ^~ | | | u_char * {aka unsigned char *} /usr/include/string.h:246:34: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 246 | extern char *strchr (const char *__s, int __c) | ~~~~~~~~~~~~^~~ opendmarc_policy.c:1077:45: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] 1077 | pctx->pct = strtoul(vp, NULL, 10); | ^~ | | | u_char * {aka unsigned char *} In file included from opendmarc_internal.h:35: /usr/include/stdlib.h:181:58: note: expected 'const char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} 181 | extern unsigned long int strtoul (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ opendmarc_policy.c:1091:33: warning: pointer targets in assignment from 'u_char *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] 1091 | for (xp = vp; *xp != '\0'; ++xp) | ^ opendmarc_policy.c:1097:44: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] 1097 | pctx->ri = strtoul(vp, NULL, 10); | ^~ | | | u_char * {aka unsigned char *} /usr/include/stdlib.h:181:58: note: expected 'const char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} 181 | extern unsigned long int strtoul (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ opendmarc_policy.c:1110:33: warning: pointer targets in assignment from 'u_char *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] 1110 | for (xp = vp; *xp != '\0'; ) | ^ opendmarc_policy.c:1118:61: warning: pointer targets in passing argument 1 of 'opendmarc_util_cleanup' differ in signedness [-Wpointer-sign] 1118 | xp = opendmarc_util_cleanup(xp, xbuf, sizeof xbuf); | ^~ | | | char * opendmarc_internal.h:239:42: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' 239 | u_char * opendmarc_util_cleanup(u_char *str, u_char *buf, size_t buflen); | ~~~~~~~~^~~ opendmarc_policy.c:1118:36: warning: pointer targets in assignment from 'u_char *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] 1118 | xp = opendmarc_util_cleanup(xp, xbuf, sizeof xbuf); | ^ opendmarc_policy.c:1157:33: warning: pointer targets in assignment from 'u_char *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] 1157 | for (xp = vp; *xp != '\0'; ) | ^ opendmarc_policy.c:1165:61: warning: pointer targets in passing argument 1 of 'opendmarc_util_cleanup' differ in signedness [-Wpointer-sign] 1165 | xp = opendmarc_util_cleanup(xp, xbuf, sizeof xbuf); | ^~ | | | char * opendmarc_internal.h:239:42: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' 239 | u_char * opendmarc_util_cleanup(u_char *str, u_char *buf, size_t buflen); | ~~~~~~~~^~~ opendmarc_policy.c:1165:36: warning: pointer targets in assignment from 'u_char *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] 1165 | xp = opendmarc_util_cleanup(xp, xbuf, sizeof xbuf); | ^ opendmarc_policy.c:1168:82: warning: pointer targets in passing argument 1 of 'opendmarc_util_pushargv' differ in signedness [-Wpointer-sign] 1168 | pctx->rua_list = opendmarc_util_pushargv(xp, pctx->rua_list, | ^~ | | | char * opendmarc_internal.h:236:43: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' 236 | u_char ** opendmarc_util_pushargv(u_char *str, u_char **ary, int *cnt); | ~~~~~~~~^~~ opendmarc_policy.c:1194:33: warning: pointer targets in assignment from 'u_char *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] 1194 | for (xp = vp; *xp != '\0'; ) | ^ opendmarc_policy.c:1202:61: warning: pointer targets in passing argument 1 of 'opendmarc_util_cleanup' differ in signedness [-Wpointer-sign] 1202 | xp = opendmarc_util_cleanup(xp, xbuf, sizeof xbuf); | ^~ | | | char * opendmarc_internal.h:239:42: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' 239 | u_char * opendmarc_util_cleanup(u_char *str, u_char *buf, size_t buflen); | ~~~~~~~~^~~ opendmarc_policy.c:1202:36: warning: pointer targets in assignment from 'u_char *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] 1202 | xp = opendmarc_util_cleanup(xp, xbuf, sizeof xbuf); | ^ opendmarc_policy.c:1205:82: warning: pointer targets in passing argument 1 of 'opendmarc_util_pushargv' differ in signedness [-Wpointer-sign] 1205 | pctx->ruf_list = opendmarc_util_pushargv(xp, pctx->ruf_list, | ^~ | | | char * opendmarc_internal.h:236:43: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' 236 | u_char ** opendmarc_util_pushargv(u_char *str, u_char **ary, int *cnt); | ~~~~~~~~^~~ opendmarc_policy.c:1226:33: warning: pointer targets in assignment from 'u_char *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] 1226 | for (xp = vp; *xp != '\0'; ) | ^ opendmarc_policy.c:1234:61: warning: pointer targets in passing argument 1 of 'opendmarc_util_cleanup' differ in signedness [-Wpointer-sign] 1234 | xp = opendmarc_util_cleanup(xp, xbuf, sizeof xbuf); | ^~ | | | char * opendmarc_internal.h:239:42: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' 239 | u_char * opendmarc_util_cleanup(u_char *str, u_char *buf, size_t buflen); | ~~~~~~~~^~~ opendmarc_policy.c:1234:36: warning: pointer targets in assignment from 'u_char *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] 1234 | xp = opendmarc_util_cleanup(xp, xbuf, sizeof xbuf); | ^ opendmarc_policy.c:1293:44: warning: pointer targets in passing argument 1 of 'strdup' differ in signedness [-Wpointer-sign] 1293 | pctx->from_domain = strdup(domain); | ^~~~~~ | | | u_char * {aka unsigned char *} /usr/include/string.h:187:34: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 187 | extern char *strdup (const char *__s) | ~~~~~~~~~~~~^~~ opendmarc_policy.c:1293:35: warning: pointer targets in assignment from 'char *' to 'u_char *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 1293 | pctx->from_domain = strdup(domain); | ^ opendmarc_policy.c: In function 'opendmarc_policy_store_dmarc': opendmarc_policy.c:1319:36: warning: pointer targets in passing argument 1 of 'strdup' differ in signedness [-Wpointer-sign] 1319 | pctx->from_domain = strdup(domain); | ^~~~~~ | | | u_char * {aka unsigned char *} /usr/include/string.h:187:34: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 187 | extern char *strdup (const char *__s) | ~~~~~~~~~~~~^~~ opendmarc_policy.c:1319:27: warning: pointer targets in assignment from 'char *' to 'u_char *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 1319 | pctx->from_domain = strdup(domain); | ^ opendmarc_policy.c:1324:64: warning: pointer targets in passing argument 1 of 'strdup' differ in signedness [-Wpointer-sign] 1324 | pctx->organizational_domain = (u_char *)strdup(organizationaldomain); | ^~~~~~~~~~~~~~~~~~~~ | | | u_char * {aka unsigned char *} /usr/include/string.h:187:34: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 187 | extern char *strdup (const char *__s) | ~~~~~~~~~~~~^~~ opendmarc_policy.c: In function 'opendmarc_policy_to_buf': opendmarc_policy.c:1754:38: warning: pointer targets in passing argument 2 of 'strlcat' differ in signedness [-Wpointer-sign] 1754 | if (strlcat(buf, pctx->ip_addr, buflen) >= buflen) return E2BIG; | ~~~~^~~~~~~~~ | | | u_char * {aka unsigned char *} /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:1773:38: warning: pointer targets in passing argument 2 of 'strlcat' differ in signedness [-Wpointer-sign] 1773 | if (strlcat(buf, pctx->spf_domain, buflen) >= buflen) return E2BIG; | ~~~~^~~~~~~~~~~~ | | | u_char * {aka unsigned char *} /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:1811:38: warning: pointer targets in passing argument 2 of 'strlcat' differ in signedness [-Wpointer-sign] 1811 | if (strlcat(buf, pctx->spf_human_outcome, buflen) >= buflen) return E2BIG; | ~~~~^~~~~~~~~~~~~~~~~~~ | | | u_char * {aka unsigned char *} /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:1829:38: warning: pointer targets in passing argument 2 of 'strlcat' differ in signedness [-Wpointer-sign] 1829 | if (strlcat(buf, pctx->dkim_domain, buflen) >= buflen) return E2BIG; | ~~~~^~~~~~~~~~~~~ | | | u_char * {aka unsigned char *} /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:1834:38: warning: pointer targets in passing argument 2 of 'strlcat' differ in signedness [-Wpointer-sign] 1834 | if (strlcat(buf, pctx->dkim_selector, buflen) >= buflen) return E2BIG; | ~~~~^~~~~~~~~~~~~~~ | | | u_char * {aka unsigned char *} /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:1858:38: warning: pointer targets in passing argument 2 of 'strlcat' differ in signedness [-Wpointer-sign] 1858 | if (strlcat(buf, pctx->dkim_human_outcome, buflen) >= buflen) return E2BIG; | ~~~~^~~~~~~~~~~~~~~~~~~~ | | | u_char * {aka unsigned char *} /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:2011:50: warning: pointer targets in passing argument 2 of 'strlcat' differ in signedness [-Wpointer-sign] 2011 | if (strlcat(buf, (pctx->rua_list)[i], buflen) >= buflen) return E2BIG; | ~~~~~~~~~~~~~~~~^~~ | | | u_char * {aka unsigned char *} /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:2022:50: warning: pointer targets in passing argument 2 of 'strlcat' differ in signedness [-Wpointer-sign] 2022 | if (strlcat(buf, (pctx->ruf_list)[i], buflen) >= buflen) return E2BIG; | ~~~~~~~~~~~~~~~~^~~ | | | u_char * {aka unsigned char *} /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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c opendmarc_dns.c -o opendmarc_dns.o >/dev/null 2>&1 libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I. -I.. -DCONFIG_BASE=\"/etc\" -I /usr/include/spf2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c opendmarc_tld.c -o opendmarc_tld.o >/dev/null 2>&1 /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I. -I.. -DCONFIG_BASE=\"/etc\" -I /usr/include/spf2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c -o opendmarc_util.lo opendmarc_util.c /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I. -I.. -DCONFIG_BASE=\"/etc\" -I /usr/include/spf2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c -o opendmarc_hash.lo opendmarc_hash.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I. -I.. -DCONFIG_BASE=\"/etc\" -I /usr/include/spf2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c opendmarc_util.c -fPIC -DPIC -o .libs/opendmarc_util.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I. -I.. -DCONFIG_BASE=\"/etc\" -I /usr/include/spf2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c opendmarc_hash.c -fPIC -DPIC -o .libs/opendmarc_hash.o opendmarc_util.c: In function 'opendmarc_util_pushargv': opendmarc_util.c:79:33: 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 opendmarc_internal.h:38, from opendmarc_util.c:5: /usr/include/string.h:187:34: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 187 | extern char *strdup (const char *__s) | ~~~~~~~~~~~~^~~ opendmarc_util.c:79:24: 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:25: warning: pointer targets in passing argument 1 of 'strdup' differ in signedness [-Wpointer-sign] 107 | ary[i] = strdup(str); | ^~~ | | | u_char * {aka unsigned char *} /usr/include/string.h:187:34: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 187 | extern char *strdup (const char *__s) | ~~~~~~~~~~~~^~~ opendmarc_util.c:107:16: 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:17: 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:27: 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:24: 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:491, from /usr/include/ctype.h:25, from opendmarc_internal.h:14: /usr/include/bits/string_fortified.h:92:1: note: expected 'char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} 92 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ opendmarc_util.c:216:30: 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 *} /usr/include/bits/string_fortified.h:92:1: note: expected 'const char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} 92 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ opendmarc_util.c:333:21: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] 333 | ep = strchr(cp, '@'); | ^~ | | | u_char * {aka unsigned char *} /usr/include/string.h:246:34: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 246 | extern char *strchr (const char *__s, int __c) | ~~~~~~~~~~~~^~~ opendmarc_util.c:333:12: 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:24: 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:29: 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 *} /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_hash.c: In function 'opendmarc_hash_init': opendmarc_hash.c:143:23: 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:35, from opendmarc_hash.c:6: /usr/include/stdlib.h:556:14: note: in a call to allocation function 'calloc' declared here 556 | 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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c opendmarc_util.c -o opendmarc_util.o >/dev/null 2>&1 libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I. -I.. -DCONFIG_BASE=\"/etc\" -I /usr/include/spf2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c opendmarc_policy.c -o opendmarc_policy.o >/dev/null 2>&1 /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I. -I.. -DCONFIG_BASE=\"/etc\" -I /usr/include/spf2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c -o opendmarc_strl.lo opendmarc_strl.c /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I. -I.. -DCONFIG_BASE=\"/etc\" -I /usr/include/spf2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c opendmarc_strl.c -fPIC -DPIC -o .libs/opendmarc_strl.o /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I. -I.. -DCONFIG_BASE=\"/etc\" -I /usr/include/spf2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c opendmarc_strl.c -o opendmarc_strl.o >/dev/null 2>&1 libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I. -I.. -DCONFIG_BASE=\"/etc\" -I /usr/include/spf2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c opendmarc_spf_dns.c -o opendmarc_spf_dns.o >/dev/null 2>&1 libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I. -I.. -DCONFIG_BASE=\"/etc\" -I /usr/include/spf2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c opendmarc_spf.c -o opendmarc_spf.o >/dev/null 2>&1 /bin/sh ../libtool --tag=CC --mode=link gcc -I /usr/include/spf2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -version-info 2:3:0 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -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 -lm -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 -lm -lspf2 -lbsd -lrt -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -O2 -flto=auto -g -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -Wl,-soname -Wl,libopendmarc.so.2 -o .libs/libopendmarc.so.2.0.3 opendmarc_hash.c: In function 'opendmarc_hash_init': opendmarc_hash.c:143:23: 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)); | ^ /usr/include/stdlib.h:556:14: note: in a call to allocation function 'calloc' declared here 556 | extern void *calloc (size_t __nmemb, size_t __size) | ^ libtool: link: (cd ".libs" && rm -f "libopendmarc.so.2" && ln -s "libopendmarc.so.2.0.3" "libopendmarc.so.2") libtool: link: (cd ".libs" && rm -f "libopendmarc.so" && ln -s "libopendmarc.so.2.0.3" "libopendmarc.so") libtool: link: ar cr .libs/libopendmarc.a opendmarc_dns.o opendmarc_xml.o opendmarc_tld.o opendmarc_policy.o opendmarc_util.o opendmarc_hash.o opendmarc_strl.o opendmarc_spf.o opendmarc_spf_dns.o libtool: link: ranlib .libs/libopendmarc.a libtool: link: ( cd ".libs" && rm -f "libopendmarc.la" && ln -s "../libopendmarc.la" "libopendmarc.la" ) make[3]: Leaving directory '/builddir/build/BUILD/OpenDMARC-rel-opendmarc-1-4-2/libopendmarc' make[2]: Leaving directory '/builddir/build/BUILD/OpenDMARC-rel-opendmarc-1-4-2/libopendmarc' Making all in reports make[2]: Entering directory '/builddir/build/BUILD/OpenDMARC-rel-opendmarc-1-4-2/reports' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/builddir/build/BUILD/OpenDMARC-rel-opendmarc-1-4-2/reports' Making all in opendmarc make[2]: Entering directory '/builddir/build/BUILD/OpenDMARC-rel-opendmarc-1-4-2/opendmarc' make[3]: Entering directory '/builddir/build/BUILD/OpenDMARC-rel-opendmarc-1-4-2/opendmarc' gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include -I./../libopendmarc -DCONFIG_BASE=\"/etc\" -pthread -I /usr/include/spf2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c -o opendmarc-opendmarc.o `test -f 'opendmarc.c' || echo './'`opendmarc.c gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include -I./../libopendmarc -DCONFIG_BASE=\"/etc\" -pthread -I /usr/include/spf2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c -o opendmarc-opendmarc-ar.o `test -f 'opendmarc-ar.c' || echo './'`opendmarc-ar.c gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include -I./../libopendmarc -DCONFIG_BASE=\"/etc\" -pthread -I /usr/include/spf2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c -o opendmarc-opendmarc-arcares.o `test -f 'opendmarc-arcares.c' || echo './'`opendmarc-arcares.c opendmarc-arcares.c: In function 'opendmarc_arcares_strip_whitespace': opendmarc-arcares.c:115:20: warning: pointer targets in assignment from 'u_char *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] 115 | string_ptr = string; | ^ opendmarc-arcares.c:134:16: warning: pointer targets in returning 'u_char *' {aka 'unsigned char *'} from a function with return type 'char *' differ in signedness [-Wpointer-sign] 134 | return string; | ^~~~~~ opendmarc-arcares.c:113:15: warning: variable 'string_ptr' set but not used [-Wunused-but-set-variable] 113 | char *string_ptr; | ^~~~~~~~~~ In file included from ./../libopendmarc/dmarc.h:13, from opendmarc.h:23, from opendmarc-arcares.c:30: opendmarc-arcares.c: In function 'opendmarc_arcares_parse': opendmarc-arcares.c:167:37: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 167 | memcpy(tmp, hdr, MIN(strlen(hdr), sizeof tmp - 1)); | ^~~ | | | u_char * {aka unsigned char *} In file included from opendmarc-arcares.c:12: /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ opendmarc-arcares.c:167:37: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 167 | memcpy(tmp, hdr, MIN(strlen(hdr), sizeof tmp - 1)); | ^~~ | | | u_char * {aka unsigned char *} /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ opendmarc-arcares.c:169:23: warning: pointer targets in assignment from 'char *' to 'u_char *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 169 | while ((token = strsep((char **)&tmp_ptr, ";")) != NULL) | ^ opendmarc-arcares.c:177:44: warning: pointer targets in passing argument 1 of 'strspn' differ in signedness [-Wpointer-sign] 177 | leading_space_len = strspn(token, " \n\t"); | ^~~~~ | | | u_char * {aka unsigned char *} /usr/include/string.h:297:35: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 297 | extern size_t strspn (const char *__s, const char *__accept) | ~~~~~~~~~~~~^~~ opendmarc-arcares.c:178:27: warning: pointer targets in assignment from 'u_char *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] 178 | token_ptr = token + leading_space_len; | ^ opendmarc-arcares.c:188:37: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign] 188 | snprintf(aar->arc, sizeof aar->arc, "%s=%s", tag_label, tag_value); | ~~~^~~~~ | | | u_char * {aka unsigned char *} In file included from /usr/include/features.h:491, from /usr/include/assert.h:35, from opendmarc-arcares.c:9: /usr/include/bits/stdio2.h:51:1: note: expected 'char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} 51 | __NTH (snprintf (char *__restrict __s, size_t __n, | ^~~~~ opendmarc-arcares.c:192:37: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign] 192 | snprintf(aar->dkim, sizeof aar->dkim, "%s=%s", tag_label, tag_value); | ~~~^~~~~~ | | | u_char * {aka unsigned char *} /usr/include/bits/stdio2.h:51:1: note: expected 'char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} 51 | __NTH (snprintf (char *__restrict __s, size_t __n, | ^~~~~ opendmarc-arcares.c:196:37: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign] 196 | snprintf(aar->dmarc, sizeof aar->dmarc, "%s=%s", tag_label, tag_value); | ~~~^~~~~~~ | | | u_char * {aka unsigned char *} /usr/include/bits/stdio2.h:51:1: note: expected 'char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} 51 | __NTH (snprintf (char *__restrict __s, size_t __n, | ^~~~~ opendmarc-arcares.c:202:36: warning: pointer targets in assignment from 'char *' to 'u_char *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 202 | if ((token = strsep((char **) &tmp_ptr, ";")) != NULL) | ^ opendmarc-arcares.c:204:60: warning: pointer targets in passing argument 1 of 'strspn' differ in signedness [-Wpointer-sign] 204 | leading_space_len = strspn(token, " \n\t"); | ^~~~~ | | | u_char * {aka unsigned char *} /usr/include/string.h:297:35: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 297 | extern size_t strspn (const char *__s, const char *__accept) | ~~~~~~~~~~~~^~~ opendmarc-arcares.c:206:44: warning: pointer targets in passing argument 1 of 'strlcpy' differ in signedness [-Wpointer-sign] 206 | strlcpy(aar->authserv_id, tag_value, sizeof aar->authserv_id); | ~~~^~~~~~~~~~~~~ | | | u_char * {aka unsigned char *} In file included from opendmarc-arcares.c:21: /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-arcares.c:211:37: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign] 211 | snprintf(aar->spf, sizeof aar->spf, "%s=%s", tag_label, tag_value); | ~~~^~~~~ | | | u_char * {aka unsigned char *} /usr/include/bits/stdio2.h:51:1: note: expected 'char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} 51 | __NTH (snprintf (char *__restrict __s, size_t __n, | ^~~~~ opendmarc-arcares.c: In function 'opendmarc_arcares_arc_parse': opendmarc-arcares.c:254:44: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 254 | memcpy(tmp, hdr_arc, MIN_OF(strlen(hdr_arc), sizeof tmp - 1)); | ^~~~~~~ | | | u_char * {aka unsigned char *} opendmarc.h:75:24: note: in definition of macro 'MIN_OF' 75 | #define MIN_OF(x, y) ((x) <= (y)) ? (x) : (y) | ^ /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ opendmarc-arcares.c:254:44: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 254 | memcpy(tmp, hdr_arc, MIN_OF(strlen(hdr_arc), sizeof tmp - 1)); | ^~~~~~~ | | | u_char * {aka unsigned char *} opendmarc.h:75:38: note: in definition of macro 'MIN_OF' 75 | #define MIN_OF(x, y) ((x) <= (y)) ? (x) : (y) | ^ /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ opendmarc-arcares.c:256:23: warning: pointer targets in assignment from 'char *' to 'u_char *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 256 | while ((token = strsep((char **)&tmp_ptr, ";")) != NULL) | ^ opendmarc-arcares.c:264:44: warning: pointer targets in passing argument 1 of 'strspn' differ in signedness [-Wpointer-sign] 264 | leading_space_len = strspn(token, " \n\t"); | ^~~~~ | | | u_char * {aka unsigned char *} /usr/include/string.h:297:35: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 297 | extern size_t strspn (const char *__s, const char *__accept) | ~~~~~~~~~~~~^~~ opendmarc-arcares.c:265:27: warning: pointer targets in assignment from 'u_char *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] 265 | token_ptr = token + leading_space_len; | ^ opendmarc-arcares.c:269:64: warning: pointer targets in passing argument 1 of 'opendmarc_arcares_strip_whitespace' differ in signedness [-Wpointer-sign] 269 | tag_value = opendmarc_arcares_strip_whitespace(token_ptr); | ^~~~~~~~~ | | | char * opendmarc-arcares.c:107:44: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' 107 | opendmarc_arcares_strip_whitespace(u_char *string) | ~~~~~~~~^~~~~~ opendmarc-arcares.c:275:36: warning: pointer targets in passing argument 1 of 'strlcpy' differ in signedness [-Wpointer-sign] 275 | strlcpy(arc->arcresult, tag_value, sizeof arc->arcresult); | ~~~^~~~~~~~~~~ | | | u_char * {aka unsigned char *} /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-arcares.c:279:36: warning: pointer targets in passing argument 1 of 'strlcpy' differ in signedness [-Wpointer-sign] 279 | strlcpy(arc->arcchain, tag_value, sizeof arc->arcchain); | ~~~^~~~~~~~~~ | | | u_char * {aka unsigned char *} /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-arcares.c:283:36: warning: pointer targets in passing argument 1 of 'strlcpy' differ in signedness [-Wpointer-sign] 283 | strlcpy(arc->smtpclientip, tag_value, sizeof arc->smtpclientip); | ~~~^~~~~~~~~~~~~~ | | | u_char * {aka unsigned char *} /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-arcares.c: In function 'opendmarc_arcares_list_pluck': opendmarc-arcares.c:323:36: warning: pointer targets in passing argument 1 of 'strlcpy' differ in signedness [-Wpointer-sign] 323 | strlcpy(aar->authserv_id, aar_hdr->arcares.authserv_id, sizeof aar->authserv_id); | ~~~^~~~~~~~~~~~~ | | | u_char * {aka unsigned char *} /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-arcares.c:323:67: warning: pointer targets in passing argument 2 of 'strlcpy' differ in signedness [-Wpointer-sign] 323 | strlcpy(aar->authserv_id, aar_hdr->arcares.authserv_id, sizeof aar->authserv_id); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~ | | | u_char * {aka unsigned char *} /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-arcares.c:324:36: warning: pointer targets in passing argument 1 of 'strlcpy' differ in signedness [-Wpointer-sign] 324 | strlcpy(aar->arc, aar_hdr->arcares.arc, sizeof aar->arc); | ~~~^~~~~ | | | u_char * {aka unsigned char *} /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-arcares.c:324:59: warning: pointer targets in passing argument 2 of 'strlcpy' differ in signedness [-Wpointer-sign] 324 | strlcpy(aar->arc, aar_hdr->arcares.arc, sizeof aar->arc); | ~~~~~~~~~~~~~~~~^~~~ | | | u_char * {aka unsigned char *} /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-arcares.c:325:36: warning: pointer targets in passing argument 1 of 'strlcpy' differ in signedness [-Wpointer-sign] 325 | strlcpy(aar->dkim, aar_hdr->arcares.dkim, sizeof aar->dkim); | ~~~^~~~~~ | | | u_char * {aka unsigned char *} /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-arcares.c:325:60: warning: pointer targets in passing argument 2 of 'strlcpy' differ in signedness [-Wpointer-sign] 325 | strlcpy(aar->dkim, aar_hdr->arcares.dkim, sizeof aar->dkim); | ~~~~~~~~~~~~~~~~^~~~~ | | | u_char * {aka unsigned char *} /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-arcares.c:326:36: warning: pointer targets in passing argument 1 of 'strlcpy' differ in signedness [-Wpointer-sign] 326 | strlcpy(aar->dmarc, aar_hdr->arcares.dmarc, sizeof aar->dmarc); | ~~~^~~~~~~ | | | u_char * {aka unsigned char *} /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-arcares.c:326:61: warning: pointer targets in passing argument 2 of 'strlcpy' differ in signedness [-Wpointer-sign] 326 | strlcpy(aar->dmarc, aar_hdr->arcares.dmarc, sizeof aar->dmarc); | ~~~~~~~~~~~~~~~~^~~~~~ | | | u_char * {aka unsigned char *} /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-arcares.c:327:36: warning: pointer targets in passing argument 1 of 'strlcpy' differ in signedness [-Wpointer-sign] 327 | strlcpy(aar->spf, aar_hdr->arcares.spf, sizeof aar->spf); | ~~~^~~~~ | | | u_char * {aka unsigned char *} /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-arcares.c:327:59: warning: pointer targets in passing argument 2 of 'strlcpy' differ in signedness [-Wpointer-sign] 327 | strlcpy(aar->spf, aar_hdr->arcares.spf, sizeof aar->spf); | ~~~~~~~~~~~~~~~~^~~~ | | | u_char * {aka unsigned char *} /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-ar.c: In function 'ares_parse': opendmarc-ar.c:362:15: warning: variable 'quoted' set but not used [-Wunused-but-set-variable] 362 | _Bool quoted; | ^~~~~~ opendmarc.c: In function 'dmarcf_checkip': opendmarc.c:1168:23: warning: variable 'exists' set but not used [-Wunused-but-set-variable] 1168 | _Bool exists; | ^~~~~~ opendmarc.c: In function 'dmarcf_config_load': opendmarc.c:1604:24: warning: pointer targets in assignment from 'char *' to 'u_char *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 1604 | domain = cur->list_str; | ^ opendmarc.c:1607:27: warning: pointer targets in assignment from 'u_char *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] 1607 | entry.key = domain; | ^ opendmarc.c: In function 'mlfi_connect': opendmarc.c:2043:66: warning: pointer targets in passing argument 1 of 'opendmarc_policy_connect_init' differ in signedness [-Wpointer-sign] 2043 | cc->cctx_dmarc = opendmarc_policy_connect_init(cc->cctx_ipstr, | ~~^~~~~~~~~~~~ | | | char * In file included from opendmarc.c:76: ./../libopendmarc/dmarc.h:116:56: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' 116 | DMARC_POLICY_T * opendmarc_policy_connect_init(u_char *ip_addr, int ip_type); | ~~~~~~~~^~~~~~~ opendmarc.c:2053:66: warning: pointer targets in passing argument 1 of 'opendmarc_policy_connect_init' differ in signedness [-Wpointer-sign] 2053 | cc->cctx_dmarc = opendmarc_policy_connect_init(cc->cctx_ipstr, | ~~^~~~~~~~~~~~ | | | char * ./../libopendmarc/dmarc.h:116:56: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' 116 | DMARC_POLICY_T * opendmarc_policy_connect_init(u_char *ip_addr, int ip_type); | ~~~~~~~~^~~~~~~ opendmarc.c:2066:66: warning: pointer targets in passing argument 1 of 'opendmarc_policy_connect_init' differ in signedness [-Wpointer-sign] 2066 | cc->cctx_dmarc = opendmarc_policy_connect_init(cc->cctx_ipstr, | ~~^~~~~~~~~~~~ | | | char * ./../libopendmarc/dmarc.h:116:56: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' 116 | DMARC_POLICY_T * opendmarc_policy_connect_init(u_char *ip_addr, int ip_type); | ~~~~~~~~^~~~~~~ opendmarc.c:1979:31: warning: variable 'conf' set but not used [-Wunused-but-set-variable] 1979 | struct dmarcf_config *conf; | ^~~~ opendmarc.c: In function 'mlfi_envfrom': opendmarc.c:2194:28: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] 2194 | strncpy(dfc->mctx_envfrom, envfrom[0], | ~~~^~~~~~~~~~~~~~ | | | unsigned char * In file included from /usr/include/features.h:491, from /usr/include/sys/types.h:25, from /usr/include/sys/param.h:25, from opendmarc.c:17: /usr/include/bits/string_fortified.h:92:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 92 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ opendmarc.c:2197:33: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 2197 | len = strlen(dfc->mctx_envfrom); | ~~~^~~~~~~~~~~~~~ | | | unsigned char * In file included from opendmarc.c:38: /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'unsigned char *' 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ opendmarc.c:2214:31: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] 2214 | p = strchr(dfc->mctx_envfrom, '@'); | ~~~^~~~~~~~~~~~~~ | | | unsigned char * /usr/include/string.h:246:34: note: expected 'const char *' but argument is of type 'unsigned char *' 246 | extern char *strchr (const char *__s, int __c) | ~~~~~~~~~~~~^~~ opendmarc.c:2214:19: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 2214 | p = strchr(dfc->mctx_envfrom, '@'); | ^ opendmarc.c:2216:36: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] 2216 | strncpy(dfc->mctx_envdomain, p + 1, BUFRSZ); | ~~~^~~~~~~~~~~~~~~~ | | | unsigned char * /usr/include/bits/string_fortified.h:92:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 92 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ opendmarc.c:2216:56: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] 2216 | strncpy(dfc->mctx_envdomain, p + 1, BUFRSZ); | ~~^~~ | | | unsigned char * /usr/include/bits/string_fortified.h:92:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 92 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ opendmarc.c: In function 'mlfi_eom': opendmarc.c:2373:33: warning: pointer targets in assignment from 'u_char *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] 2373 | dfc->mctx_jobid = (u_char *) dmarcf_getsymval(ctx, "i"); | ^ opendmarc.c:2382:41: warning: pointer targets in assignment from 'u_char *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] 2382 | dfc->mctx_jobid = (u_char *) JOBIDUNKNOWN; | ^ opendmarc.c:2410:31: warning: pointer targets in assignment from 'char *' to 'u_char *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 2410 | reqhdrs_error = "not exactly one From field"; | ^ opendmarc.c:2414:31: warning: pointer targets in assignment from 'char *' to 'u_char *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 2414 | reqhdrs_error = "not exactly one Date field"; | ^ opendmarc.c:2417:31: warning: pointer targets in assignment from 'char *' to 'u_char *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 2417 | reqhdrs_error = "multiple Reply-To fields"; | ^ opendmarc.c:2420:31: warning: pointer targets in assignment from 'char *' to 'u_char *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 2420 | reqhdrs_error = "multiple To fields"; | ^ opendmarc.c:2423:31: warning: pointer targets in assignment from 'char *' to 'u_char *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 2423 | reqhdrs_error = "multiple Cc fields"; | ^ opendmarc.c:2426:31: warning: pointer targets in assignment from 'char *' to 'u_char *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 2426 | reqhdrs_error = "multiple Bcc fields"; | ^ opendmarc.c:2429:31: warning: pointer targets in assignment from 'char *' to 'u_char *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 2429 | reqhdrs_error = "multiple Message-Id fields"; | ^ opendmarc.c:2432:31: warning: pointer targets in assignment from 'char *' to 'u_char *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 2432 | reqhdrs_error = "multiple In-Reply-To fields"; | ^ opendmarc.c:2435:31: warning: pointer targets in assignment from 'char *' to 'u_char *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 2435 | reqhdrs_error = "multiple References fields"; | ^ opendmarc.c:2438:31: warning: pointer targets in assignment from 'char *' to 'u_char *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 2438 | reqhdrs_error = "multiple Subject fields"; | ^ opendmarc.c:2467:17: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] 2467 | strncpy(addrbuf, from->hdr_value, sizeof addrbuf - 1); | ^~~~~~~ | | | unsigned char * /usr/include/bits/string_fortified.h:92:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 92 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ opendmarc.c:2468:42: warning: pointer targets in passing argument 1 of 'dmarcf_mail_parse_multi' differ in signedness [-Wpointer-sign] 2468 | status = dmarcf_mail_parse_multi(addrbuf, &users, &domains, &froms); | ^~~~~~~ | | | unsigned char * parse.h:25:41: note: expected 'char *' but argument is of type 'unsigned char *' 25 | extern int dmarcf_mail_parse_multi __P((char *, unsigned char ***, | ^~~~~~ opendmarc.c:2480:47: warning: pointer targets in passing argument 1 of 'strcasecmp' differ in signedness [-Wpointer-sign] 2480 | strcasecmp(domains[0], domains[c]) != 0) | ~~~~~~~^~~ | | | u_char * {aka unsigned char *} In file included from /usr/include/string.h:462: /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.c:2480:59: warning: pointer targets in passing argument 2 of 'strcasecmp' differ in signedness [-Wpointer-sign] 2480 | strcasecmp(domains[0], domains[c]) != 0) | ~~~~~~~^~~ | | | u_char * {aka unsigned char *} /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.c:2513:26: warning: pointer targets in passing argument 1 of 'dmarcf_match' differ in signedness [-Wpointer-sign] 2513 | dmarcf_match(domain, conf->conf_ignoredomains, TRUE)) | ^~~~~~ | | | u_char * {aka unsigned char *} opendmarc.c:986:26: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 986 | dmarcf_match(const char *str, char **array, _Bool icase) | ~~~~~~~~~~~~^~~ opendmarc.c:2524:20: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] 2524 | strncpy(dfc->mctx_fromdomain, domain, sizeof dfc->mctx_fromdomain - 1); | ~~~^~~~~~~~~~~~~~~~~ | | | unsigned char * /usr/include/bits/string_fortified.h:92:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 92 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ opendmarc.c:2524:39: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] 2524 | strncpy(dfc->mctx_fromdomain, domain, sizeof dfc->mctx_fromdomain - 1); | ^~~~~~ | | | u_char * {aka unsigned char *} /usr/include/bits/string_fortified.h:92:1: note: expected 'const char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} 92 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ opendmarc.c:2576:48: warning: pointer targets in passing argument 1 of 'opendmarc_arcares_parse' differ in signedness [-Wpointer-sign] 2576 | if (opendmarc_arcares_parse(hdr->hdr_value, &aar_hdr_new->arcares) != 0) | ~~~^~~~~~~~~~~ | | | char * opendmarc-arcares.h:105:49: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' 105 | extern int opendmarc_arcares_parse __P((u_char *hdr, struct arcares *aar)); | ~~~~~~~~^~~ opendmarc.c:2623:48: warning: pointer targets in passing argument 1 of 'opendmarc_arcseal_parse' differ in signedness [-Wpointer-sign] 2623 | if (opendmarc_arcseal_parse(hdr->hdr_value, &as_hdr_new->arcseal) != 0) | ~~~^~~~~~~~~~~ | | | char * opendmarc-arcseal.h:85:49: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' 85 | extern int opendmarc_arcseal_parse __P((u_char *hdr, struct arcseal *as)); | ~~~~~~~~^~~ opendmarc.c:2653:35: warning: pointer targets in passing argument 1 of 'ares_parse' differ in signedness [-Wpointer-sign] 2653 | if (ares_parse(hdr->hdr_value, &ar) != 0) | ~~~^~~~~~~~~~~ | | | char * opendmarc-ar.h:103:36: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' 103 | extern int ares_parse __P((u_char *hdr, struct authres *ar)); | ~~~~~~~~^~~ opendmarc.c:2657:34: warning: pointer targets in passing argument 1 of 'strcasecmp' differ in signedness [-Wpointer-sign] 2657 | if (strcasecmp(ar.ares_host, authservid) != 0 && | ~~^~~~~~~~~~ | | | unsigned char * /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:2659:38: warning: pointer targets in passing argument 1 of 'dmarcf_match' differ in signedness [-Wpointer-sign] 2659 | !dmarcf_match(ar.ares_host, conf->conf_trustedauthservids, | ~~^~~~~~~~~~ | | | unsigned char * opendmarc.c:986:26: note: expected 'const char *' but argument is of type 'unsigned char *' 986 | dmarcf_match(const char *str, char **array, _Bool icase) | ~~~~~~~~~~~~^~~ opendmarc.c:2677:60: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] 2677 | slash = (unsigned char *) strchr(ar.ares_host, '/'); | ~~^~~~~~~~~~ | | | unsigned char * /usr/include/string.h:246:34: note: expected 'const char *' but argument is of type 'unsigned char *' 246 | extern char *strchr (const char *__s, int __c) | ~~~~~~~~~~~~^~~ opendmarc.c:2692:43: warning: pointer targets in passing argument 1 of 'strcasecmp' differ in signedness [-Wpointer-sign] 2692 | if ((strcasecmp(ar.ares_host, authservid) != 0 && | ~~^~~~~~~~~~ | | | unsigned char * /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:2694:47: warning: pointer targets in passing argument 1 of 'dmarcf_match' differ in signedness [-Wpointer-sign] 2694 | !dmarcf_match(ar.ares_host, | ~~^~~~~~~~~~ | | | unsigned char * opendmarc.c:986:26: note: expected 'const char *' but argument is of type 'unsigned char *' 986 | dmarcf_match(const char *str, char **array, _Bool icase) | ~~~~~~~~~~~~^~~ opendmarc.c:2697:42: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 2697 | strcmp(slash + 1, dfc->mctx_jobid) != 0) | ~~~~~~^~~ | | | unsigned char * /usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include -I./../libopendmarc -DCONFIG_BASE=\"/etc\" -pthread -I /usr/include/spf2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c -o opendmarc-opendmarc-arcseal.o `test -f 'opendmarc-arcseal.c' || echo './'`opendmarc-arcseal.c opendmarc.c:2743:89: warning: pointer targets in passing argument 1 of 'strcasecmp' differ in signedness [-Wpointer-sign] 2743 | strcasecmp(ar.ares_result[c].result_property[i], | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ | | | unsigned char * /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:2748:90: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] 2748 | d = strchr(ar.ares_result[c].result_value[i], | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ | | | unsigned char * /usr/include/string.h:246:34: note: expected 'const char *' but argument is of type 'unsigned char *' 246 | extern char *strchr (const char *__s, int __c) | ~~~~~~~~~~~~^~~ opendmarc.c:2751:59: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 2751 | d = ar.ares_result[c].result_value[i]; | ^ opendmarc.c:2754:67: warning: pointer targets in passing argument 2 of 'strcasecmp' differ in signedness [-Wpointer-sign] 2754 | dfc->mctx_envdomain) == 0) | ~~~^~~~~~~~~~~~~~~~ | | | unsigned char * /usr/include/strings.h:116:54: note: expected 'const char *' but argument is of type 'unsigned char *' 116 | extern int strcasecmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ opendmarc.c:2776:97: warning: pointer targets in passing argument 1 of 'strcasecmp' differ in signedness [-Wpointer-sign] 2776 | if (strcasecmp(ar.ares_result[c].result_property[pc], | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ | | | unsigned char * /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:2779:65: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 2779 | spfaddr = ar.ares_result[c].result_value[pc]; | ^ opendmarc.c:2782:73: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] 2782 | strncpy(addrbuf, | ^~~~~~~ | | | unsigned char * /usr/include/bits/string_fortified.h:92:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 92 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ opendmarc.c:2788:74: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign] 2788 | snprintf(addrbuf, | ^~~~~~~ | | | unsigned char * /usr/include/bits/stdio2.h:51:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 51 | __NTH (snprintf (char *__restrict __s, size_t __n, | ^~~~~ opendmarc.c:2796:102: warning: pointer targets in passing argument 1 of 'strcasecmp' differ in signedness [-Wpointer-sign] 2796 | else if (strcasecmp(ar.ares_result[c].result_property[pc], | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ | | | unsigned char * /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:2800:65: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 2800 | spfaddr = ar.ares_result[c].result_value[pc]; | ^ opendmarc.c:2801:66: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign] 2801 | snprintf(addrbuf, | ^~~~~~~ | | | unsigned char * /usr/include/bits/stdio2.h:51:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 51 | __NTH (snprintf (char *__restrict __s, size_t __n, | ^~~~~ opendmarc.c:2959:78: warning: pointer targets in passing argument 1 of 'dmarcf_mkarray' differ in signedness [-Wpointer-sign] 2959 | arcchainlen = dmarcf_mkarray(arcchain, ":", | ^~~~~~~~ | | | u_char * {aka unsigned char *} opendmarc.c:914:22: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 914 | dmarcf_mkarray(char *str, char *delim, char ***array) | ~~~~~~^~~ opendmarc.c:2968:67: warning: pointer targets in assignment from 'u_char *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] 2968 | entry.key = arcdomain; | ^ opendmarc.c:3013:71: warning: pointer targets in passing argument 2 of 'dmarcf_parse_received_spf' differ in signedness [-Wpointer-sign] 3013 | dfc->mctx_envdomain); | ~~~^~~~~~~~~~~~~~~~ | | | unsigned char * opendmarc.c:441:44: note: expected 'char *' but argument is of type 'unsigned char *' 441 | dmarcf_parse_received_spf(char *str, char *envdomain) | ~~~~~~^~~~~~~~~ opendmarc.c:3087:44: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 3087 | use_domain = dfc->mctx_envdomain; | ^ opendmarc.c:3096:62: warning: pointer targets in passing argument 2 of 'opendmarc_policy_store_spf' differ in signedness [-Wpointer-sign] 3096 | use_domain, | ^~~~~~~~~~ | | | char * ./../libopendmarc/dmarc.h:126:77: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' 126 | OPENDMARC_STATUS_T opendmarc_policy_store_spf(DMARC_POLICY_T *pctx, u_char *domain, int result, int origin, u_char *human_result); | ~~~~~~~~^~~~~~ opendmarc.c:3099:62: warning: pointer targets in passing argument 5 of 'opendmarc_policy_store_spf' differ in signedness [-Wpointer-sign] 3099 | human); | ^~~~~ | | | char * ./../libopendmarc/dmarc.h:126:117: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' 126 | OPENDMARC_STATUS_T opendmarc_policy_store_spf(DMARC_POLICY_T *pctx, u_char *domain, int result, int origin, u_char *human_result); | ~~~~~~~~^~~~~~~~~~~~ opendmarc.c:3130:42: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign] 3130 | snprintf(header, sizeof header, | ^~~~~~ | | | unsigned char * /usr/include/bits/stdio2.h:51:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 51 | __NTH (snprintf (char *__restrict __s, size_t __n, | ^~~~~ opendmarc.c:3136:42: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign] 3136 | snprintf(header, sizeof header, | ^~~~~~ | | | unsigned char * /usr/include/bits/stdio2.h:51:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 51 | __NTH (snprintf (char *__restrict __s, size_t __n, | ^~~~~ opendmarc.c:3142:46: warning: pointer targets in passing argument 4 of 'dmarcf_insheader' differ in signedness [-Wpointer-sign] 3142 | header) == MI_FAILURE) | ^~~~~~ | | | unsigned char * opendmarc.c:338:60: note: expected 'char *' but argument is of type 'unsigned char *' 338 | dmarcf_insheader(SMFICTX *ctx, int idx, char *hname, char *hvalue) | ~~~~~~^~~~~~ opendmarc.c:3202:26: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign] 3202 | snprintf(header, sizeof header, | ^~~~~~ | | | unsigned char * /usr/include/bits/stdio2.h:51:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 51 | __NTH (snprintf (char *__restrict __s, size_t __n, | ^~~~~ opendmarc.c:3207:38: warning: pointer targets in passing argument 4 of 'dmarcf_insheader' differ in signedness [-Wpointer-sign] 3207 | header) == MI_FAILURE) | ^~~~~~ | | | unsigned char * opendmarc.c:338:60: note: expected 'char *' but argument is of type 'unsigned char *' 338 | dmarcf_insheader(SMFICTX *ctx, int idx, char *hname, char *hvalue) | ~~~~~~^~~~~~ opendmarc.c:3335:44: warning: pointer targets in passing argument 1 of 'strncasecmp' differ in signedness [-Wpointer-sign] 3335 | if (strncasecmp(ruv[c], "mailto:", 7) != 0) | ~~~^~~ | | | u_char * {aka unsigned char *} /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:3338:42: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] 3338 | bang = strchr(ruv[c], '!'); | ~~~^~~ | | | u_char * {aka unsigned char *} /usr/include/string.h:246:34: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 246 | extern char *strchr (const char *__s, int __c) | ~~~~~~~~~~~~^~~ opendmarc.c:3338:30: warning: pointer targets in assignment from 'char *' to 'u_char *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 3338 | bang = strchr(ruv[c], '!'); | ^ opendmarc.c:3347:68: warning: pointer targets in passing argument 2 of 'dmarcf_dstring_cat' differ in signedness [-Wpointer-sign] 3347 | dmarcf_dstring_cat(dfc->mctx_afrf, "To: "); | ^~~~~~ | | | char * 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:3352:68: warning: pointer targets in passing argument 2 of 'dmarcf_dstring_cat' differ in signedness [-Wpointer-sign] 3352 | dmarcf_dstring_cat(dfc->mctx_afrf, ", "); | ^~~~ | | | char * 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:3362:68: warning: pointer targets in passing argument 2 of 'dmarcf_dstring_cat' differ in signedness [-Wpointer-sign] 3362 | dmarcf_dstring_cat(dfc->mctx_afrf, "To: "); | ^~~~~~ | | | char * 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:3364:56: warning: pointer targets in passing argument 2 of 'dmarcf_dstring_cat' differ in signedness [-Wpointer-sign] 3364 | conf->conf_afrfbcc); | ~~~~^~~~~~~~~~~~~~ | | | char * 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:3378:60: warning: pointer targets in passing argument 2 of 'dmarcf_dstring_cat' differ in signedness [-Wpointer-sign] 3378 | dmarcf_dstring_cat(dfc->mctx_afrf, "\n"); | ^~~~ | | | char * 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:3383:68: warning: pointer targets in passing argument 2 of 'dmarcf_dstring_cat' differ in signedness [-Wpointer-sign] 3383 | dmarcf_dstring_cat(dfc->mctx_afrf, "Bcc: "); | ^~~~~~~ | | | char * 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:3385:56: warning: pointer targets in passing argument 2 of 'dmarcf_dstring_cat' differ in signedness [-Wpointer-sign] 3385 | conf->conf_afrfbcc); | ~~~~^~~~~~~~~~~~~~ | | | char * 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:3386:68: warning: pointer targets in passing argument 2 of 'dmarcf_dstring_cat' differ in signedness [-Wpointer-sign] 3386 | dmarcf_dstring_cat(dfc->mctx_afrf, "\n"); | ^~~~ | | | char * 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:3412:44: warning: pointer targets in passing argument 2 of 'dmarcf_dstring_cat' differ in signedness [-Wpointer-sign] 3412 | "MIME-Version: 1.0\n"); | ^~~~~~~~~~~~~~~~~~~~~ | | | char * 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:3420:60: warning: pointer targets in passing argument 2 of 'dmarcf_dstring_cat' differ in signedness [-Wpointer-sign] 3420 | dmarcf_dstring_cat(dfc->mctx_afrf, "\n"); | ^~~~ | | | char * 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:3440:44: warning: pointer targets in passing argument 2 of 'dmarcf_dstring_cat' differ in signedness [-Wpointer-sign] 3440 | "Feedback-Type: auth-failure\n" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * 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:3448:44: warning: pointer targets in passing argument 2 of 'dmarcf_dstring_cat' differ in signedness [-Wpointer-sign] 3448 | "Auth-Failure: dmarc\n"); | ^~~~~~~~~~~~~~~~~~~~~~~ | | | char * 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:3563:34: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign] 3563 | snprintf(replybuf, sizeof replybuf, | ^~~~~~~~ | | | unsigned char * /usr/include/bits/stdio2.h:51:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 51 | __NTH (snprintf (char *__restrict __s, size_t __n, | ^~~~~ opendmarc.c:3567:68: warning: pointer targets in passing argument 4 of 'dmarcf_setreply' differ in signedness [-Wpointer-sign] 3567 | DMARC_REJECT_ESC, replybuf); | ^~~~~~~~ | | | unsigned char * opendmarc.c:314:63: note: expected 'char *' but argument is of type 'unsigned char *' 314 | dmarcf_setreply(SMFICTX *ctx, char *rcode, char *xcode, char *replytxt) | ~~~~~~^~~~~~~~ opendmarc.c:3598:34: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign] 3598 | snprintf(replybuf, sizeof replybuf, | ^~~~~~~~ | | | unsigned char * /usr/include/bits/stdio2.h:51:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 51 | __NTH (snprintf (char *__restrict __s, size_t __n, | ^~~~~ opendmarc.c:3602:55: warning: pointer targets in passing argument 2 of 'smfi_quarantine' differ in signedness [-Wpointer-sign] 3602 | status = smfi_quarantine(ctx, replybuf); | ^~~~~~~~ | | | unsigned char * /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:3748:26: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign] 3748 | snprintf(header, sizeof header, | ^~~~~~ | | | unsigned char * /usr/include/bits/stdio2.h:51:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 51 | __NTH (snprintf (char *__restrict __s, size_t __n, | ^~~~~ opendmarc.c:3756:38: warning: pointer targets in passing argument 4 of 'dmarcf_insheader' differ in signedness [-Wpointer-sign] 3756 | header) == MI_FAILURE) | ^~~~~~ | | | unsigned char * opendmarc.c:338:60: note: expected 'char *' but argument is of type 'unsigned char *' 338 | dmarcf_insheader(SMFICTX *ctx, int idx, char *hname, char *hvalue) | ~~~~~~^~~~~~ opendmarc.c:3842:26: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign] 3842 | snprintf(header, sizeof header, "%s v%s %s %s", | ^~~~~~ | | | unsigned char * /usr/include/bits/stdio2.h:51:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 51 | __NTH (snprintf (char *__restrict __s, size_t __n, | ^~~~~ opendmarc.c:3848:38: warning: pointer targets in passing argument 4 of 'dmarcf_insheader' differ in signedness [-Wpointer-sign] 3848 | header) == MI_FAILURE) | ^~~~~~ | | | unsigned char * opendmarc.c:338:60: note: expected 'char *' but argument is of type 'unsigned char *' 338 | dmarcf_insheader(SMFICTX *ctx, int idx, char *hname, char *hvalue) | ~~~~~~^~~~~~ opendmarc.c: In function 'main': opendmarc.c:5204:37: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] 5204 | strncpy(libopendmarc.tld_source_file, curconf->conf_pslist, | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~ | | | u_char * {aka unsigned char *} /usr/include/bits/string_fortified.h:92:1: note: expected 'char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} 92 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ opendmarc-arcseal.c: In function 'opendmarc_arcseal_strip_whitespace': opendmarc-arcseal.c:104:20: warning: pointer targets in assignment from 'u_char *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] 104 | string_ptr = string; | ^ opendmarc-arcseal.c:123:16: warning: pointer targets in returning 'u_char *' {aka 'unsigned char *'} from a function with return type 'char *' differ in signedness [-Wpointer-sign] 123 | return string; | ^~~~~~ opendmarc-arcseal.c:102:15: warning: variable 'string_ptr' set but not used [-Wunused-but-set-variable] 102 | char *string_ptr; | ^~~~~~~~~~ In file included from opendmarc-arcseal.c:29: opendmarc-arcseal.c: In function 'opendmarc_arcseal_parse': opendmarc-arcseal.c:155:40: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 155 | memcpy(tmp, hdr, MIN_OF(strlen(hdr), sizeof tmp - 1)); | ^~~ | | | u_char * {aka unsigned char *} opendmarc.h:75:24: note: in definition of macro 'MIN_OF' 75 | #define MIN_OF(x, y) ((x) <= (y)) ? (x) : (y) | ^ In file included from opendmarc-arcseal.c:11: /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ opendmarc-arcseal.c:155:40: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 155 | memcpy(tmp, hdr, MIN_OF(strlen(hdr), sizeof tmp - 1)); | ^~~ | | | u_char * {aka unsigned char *} opendmarc.h:75:38: note: in definition of macro 'MIN_OF' 75 | #define MIN_OF(x, y) ((x) <= (y)) ? (x) : (y) | ^ /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ opendmarc-arcseal.c:157:23: warning: pointer targets in assignment from 'char *' to 'u_char *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 157 | while ((token = strsep((char **)&tmp_ptr, ";")) != NULL) | ^ opendmarc-arcseal.c:165:44: warning: pointer targets in passing argument 1 of 'strspn' differ in signedness [-Wpointer-sign] 165 | leading_space_len = strspn(token, " \n\t"); | ^~~~~ | | | u_char * {aka unsigned char *} /usr/include/string.h:297:35: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 297 | extern size_t strspn (const char *__s, const char *__accept) | ~~~~~~~~~~~~^~~ opendmarc-arcseal.c:166:27: warning: pointer targets in assignment from 'u_char *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] 166 | token_ptr = token + leading_space_len; | ^ opendmarc-arcseal.c:170:64: warning: pointer targets in passing argument 1 of 'opendmarc_arcseal_strip_whitespace' differ in signedness [-Wpointer-sign] 170 | tag_value = opendmarc_arcseal_strip_whitespace(token_ptr); | ^~~~~~~~~ | | | char * opendmarc-arcseal.c:96:44: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' 96 | opendmarc_arcseal_strip_whitespace(u_char *string) | ~~~~~~~~^~~~~~ opendmarc-arcseal.c:177:35: warning: pointer targets in passing argument 1 of 'strlcpy' differ in signedness [-Wpointer-sign] 177 | strlcpy(as->algorithm, tag_value, sizeof as->algorithm); | ~~^~~~~~~~~~~ | | | u_char * {aka unsigned char *} In file included from opendmarc-arcseal.c:20: /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-arcseal.c:181:35: warning: pointer targets in passing argument 1 of 'strlcpy' differ in signedness [-Wpointer-sign] 181 | strlcpy(as->chain_validation, tag_value, sizeof as->chain_validation); | ~~^~~~~~~~~~~~~~~~~~ | | | u_char * {aka unsigned char *} /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-arcseal.c:189:35: warning: pointer targets in passing argument 1 of 'strlcpy' differ in signedness [-Wpointer-sign] 189 | strlcpy(as->signature_domain, tag_value, sizeof as->signature_domain); | ~~^~~~~~~~~~~~~~~~~~ | | | u_char * {aka unsigned char *} /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-arcseal.c:193:35: warning: pointer targets in passing argument 1 of 'strlcpy' differ in signedness [-Wpointer-sign] 193 | strlcpy(as->signature_selector, tag_value, sizeof as->signature_selector); | ~~^~~~~~~~~~~~~~~~~~~~ | | | u_char * {aka unsigned char *} /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-arcseal.c:197:35: warning: pointer targets in passing argument 1 of 'strlcpy' differ in signedness [-Wpointer-sign] 197 | strlcpy(as->signature_time, tag_value, sizeof as->signature_time); | ~~^~~~~~~~~~~~~~~~ | | | u_char * {aka unsigned char *} /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-arcseal.c:201:35: warning: pointer targets in passing argument 1 of 'strlcpy' differ in signedness [-Wpointer-sign] 201 | strlcpy(as->signature_value, tag_value, sizeof as->signature_value); | ~~^~~~~~~~~~~~~~~~~ | | | u_char * {aka unsigned char *} /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); | ~~~~~~^~~ gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include -I./../libopendmarc -DCONFIG_BASE=\"/etc\" -pthread -I /usr/include/spf2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c -o opendmarc-opendmarc-dstring.o `test -f 'opendmarc-dstring.c' || echo './'`opendmarc-dstring.c gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include -I./../libopendmarc -DCONFIG_BASE=\"/etc\" -pthread -I /usr/include/spf2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c -o opendmarc-parse.o `test -f 'parse.c' || echo './'`parse.c parse.c: In function 'dmarcf_mail_parse_multi': parse.c:515:14: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 515 | addr = line; | ^ parse.c:516:16: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 516 | for (p = line; !done; p++) | ^ parse.c:554:52: warning: pointer targets in passing argument 1 of 'dmarcf_mail_parse' differ in signedness [-Wpointer-sign] 554 | status = dmarcf_mail_parse(addr, &u, &d); | ^~~~ | | | char * parse.c:366:34: note: expected 'unsigned char *' but argument is of type 'char *' 366 | dmarcf_mail_parse(unsigned char *line, unsigned char **user_out, | ~~~~~~~~~~~~~~~^~~~ parse.c:615:33: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 615 | uout[n] = (char *) NULL; | ^ parse.c:616:33: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 616 | dout[n] = (char *) NULL; | ^ gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include -I./../libopendmarc -DCONFIG_BASE=\"/etc\" -pthread -I /usr/include/spf2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c -o opendmarc_check-opendmarc-check.o `test -f 'opendmarc-check.c' || echo './'`opendmarc-check.c opendmarc-check.c: In function 'main': opendmarc-check.c:33:25: 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:47: 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:116:56: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' 116 | DMARC_POLICY_T * opendmarc_policy_connect_init(u_char *ip_addr, int ip_type); | ~~~~~~~~^~~~~~~ opendmarc-check.c:108:72: 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 * ./../libopendmarc/dmarc.h:124:85: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' 124 | OPENDMARC_STATUS_T opendmarc_policy_store_from_domain(DMARC_POLICY_T *pctx, u_char *domain); | ~~~~~~~~^~~~~~ /bin/sh ../libtool --tag=CC --mode=link gcc -I /usr/include/spf2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -L/usr/lib64/libspf2.so -o opendmarc-check opendmarc_check-opendmarc-check.o ../libopendmarc/libopendmarc.la -lm -lspf2 -lbsd -lrt libtool: link: gcc -I /usr/include/spf2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o .libs/opendmarc-check opendmarc_check-opendmarc-check.o -L/usr/lib64/libspf2.so ../libopendmarc/.libs/libopendmarc.so -lm -lspf2 -lbsd -lrt opendmarc.c: In function 'mlfi_eom': opendmarc.c:3137:68: warning: '%s' directive output may be truncated writing up to 2048 bytes into a region of size between 931 and 1000 [-Wformat-truncation=] 3137 | "%s; spf=%s smtp.mailfrom=%s", | ^~ In file included from /usr/include/stdio.h:906, from opendmarc.c:41: In function 'snprintf', inlined from 'mlfi_eom' at opendmarc.c:3136:5: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output between 26 and 2143 bytes into a destination of size 1025 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ opendmarc.c: In function 'mlfi_eom': opendmarc.c:3131:64: warning: '%s' directive output may be truncated writing up to 2048 bytes into a region of size between 935 and 1004 [-Wformat-truncation=] 3131 | "%s; spf=%s smtp.helo=%s", | ^~ In function 'snprintf', inlined from 'mlfi_eom' at opendmarc.c:3130:5: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output between 22 and 2139 bytes into a destination of size 1025 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ opendmarc.c: In function 'mlfi_eom': opendmarc.c:3749:70: warning: '%s' directive output may be truncated writing up to 2048 bytes into a region of size between 905 and 986 [-Wformat-truncation=] 3749 | "%s%s%s; dmarc=%s (p=%s dis=%s) header.from=%s", | ^~ In function 'snprintf', inlined from 'mlfi_eom' at opendmarc.c:3748:3: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output 40 or more bytes (assuming 2169) into a destination of size 1025 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ opendmarc.c: In function 'mlfi_eom': opendmarc.c:3203:59: warning: '%s' directive output may be truncated writing up to 2048 bytes into a region of size between 931 and 995 [-Wformat-truncation=] 3203 | "%s; dmarc=permerror header.from=%s", | ^~ In function 'snprintf', inlined from 'mlfi_eom' at opendmarc.c:3202:3: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output between 31 and 2143 bytes into a destination of size 1025 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ /bin/sh ../libtool --tag=CC --mode=link gcc -pthread -I /usr/include/spf2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -L/usr/lib -pthread -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -L/usr/lib64/libspf2.so -o opendmarc opendmarc-config.o opendmarc-opendmarc.o opendmarc-opendmarc-ar.o opendmarc-opendmarc-arcares.o opendmarc-opendmarc-arcseal.o opendmarc-opendmarc-dstring.o opendmarc-parse.o opendmarc-test.o opendmarc-util.o ../libopendmarc/libopendmarc.la -lmilter -lpthread -lm -lspf2 -lbsd -lrt libtool: link: gcc -I /usr/include/spf2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o .libs/opendmarc opendmarc-config.o opendmarc-opendmarc.o opendmarc-opendmarc-ar.o opendmarc-opendmarc-arcares.o opendmarc-opendmarc-arcseal.o opendmarc-opendmarc-dstring.o opendmarc-parse.o opendmarc-test.o opendmarc-util.o -L/usr/lib -L/usr/lib64/libspf2.so ../libopendmarc/.libs/libopendmarc.so -lmilter -lpthread -lm -lspf2 -lbsd -lrt -pthread make[3]: Leaving directory '/builddir/build/BUILD/OpenDMARC-rel-opendmarc-1-4-2/opendmarc' make[2]: Leaving directory '/builddir/build/BUILD/OpenDMARC-rel-opendmarc-1-4-2/opendmarc' make[2]: Entering directory '/builddir/build/BUILD/OpenDMARC-rel-opendmarc-1-4-2' make[2]: Leaving directory '/builddir/build/BUILD/OpenDMARC-rel-opendmarc-1-4-2' make[1]: Leaving directory '/builddir/build/BUILD/OpenDMARC-rel-opendmarc-1-4-2' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.EeqsmW + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/opendmarc-1.4.2-10.fc38.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/opendmarc-1.4.2-10.fc38.riscv64 ++ dirname /builddir/build/BUILDROOT/opendmarc-1.4.2-10.fc38.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/opendmarc-1.4.2-10.fc38.riscv64 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd OpenDMARC-rel-opendmarc-1-4-2 + make DESTDIR=/builddir/build/BUILDROOT/opendmarc-1.4.2-10.fc38.riscv64 install -j4 Making install in contrib make[1]: Entering directory '/builddir/build/BUILD/OpenDMARC-rel-opendmarc-1-4-2/contrib' Making install in init make[2]: Entering directory '/builddir/build/BUILD/OpenDMARC-rel-opendmarc-1-4-2/contrib/init' Making install in generic make[3]: Entering directory '/builddir/build/BUILD/OpenDMARC-rel-opendmarc-1-4-2/contrib/init/generic' make[4]: Entering directory '/builddir/build/BUILD/OpenDMARC-rel-opendmarc-1-4-2/contrib/init/generic' make[4]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/opendmarc-1.4.2-10.fc38.riscv64/usr/share/doc/opendmarc' /usr/bin/install -c -m 644 opendmarc '/builddir/build/BUILDROOT/opendmarc-1.4.2-10.fc38.riscv64/usr/share/doc/opendmarc' make[4]: Leaving directory '/builddir/build/BUILD/OpenDMARC-rel-opendmarc-1-4-2/contrib/init/generic' make[3]: Leaving directory '/builddir/build/BUILD/OpenDMARC-rel-opendmarc-1-4-2/contrib/init/generic' Making install in redhat make[3]: Entering directory '/builddir/build/BUILD/OpenDMARC-rel-opendmarc-1-4-2/contrib/init/redhat' make[4]: Entering directory '/builddir/build/BUILD/OpenDMARC-rel-opendmarc-1-4-2/contrib/init/redhat' make[4]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/opendmarc-1.4.2-10.fc38.riscv64/usr/share/doc/opendmarc' /usr/bin/install -c -m 644 opendmarc '/builddir/build/BUILDROOT/opendmarc-1.4.2-10.fc38.riscv64/usr/share/doc/opendmarc' make[4]: Leaving directory '/builddir/build/BUILD/OpenDMARC-rel-opendmarc-1-4-2/contrib/init/redhat' make[3]: Leaving directory '/builddir/build/BUILD/OpenDMARC-rel-opendmarc-1-4-2/contrib/init/redhat' make[3]: Entering directory '/builddir/build/BUILD/OpenDMARC-rel-opendmarc-1-4-2/contrib/init' make[4]: Entering directory '/builddir/build/BUILD/OpenDMARC-rel-opendmarc-1-4-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-rel-opendmarc-1-4-2/contrib/init' make[3]: Leaving directory '/builddir/build/BUILD/OpenDMARC-rel-opendmarc-1-4-2/contrib/init' make[2]: Leaving directory '/builddir/build/BUILD/OpenDMARC-rel-opendmarc-1-4-2/contrib/init' Making install in rddmarc make[2]: Entering directory '/builddir/build/BUILD/OpenDMARC-rel-opendmarc-1-4-2/contrib/rddmarc' make[3]: Entering directory '/builddir/build/BUILD/OpenDMARC-rel-opendmarc-1-4-2/contrib/rddmarc' make[3]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/opendmarc-1.4.2-10.fc38.riscv64/usr/share/doc/opendmarc' /usr/bin/install -c -m 644 README.rddmarc dmarcfail.py mkdmarc mysql_ip6.c rddmarc '/builddir/build/BUILDROOT/opendmarc-1.4.2-10.fc38.riscv64/usr/share/doc/opendmarc' make[3]: Leaving directory '/builddir/build/BUILD/OpenDMARC-rel-opendmarc-1-4-2/contrib/rddmarc' make[2]: Leaving directory '/builddir/build/BUILD/OpenDMARC-rel-opendmarc-1-4-2/contrib/rddmarc' Making install in service make[2]: Entering directory '/builddir/build/BUILD/OpenDMARC-rel-opendmarc-1-4-2/contrib/service' make[3]: Entering directory '/builddir/build/BUILD/OpenDMARC-rel-opendmarc-1-4-2/contrib/service' make[3]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/opendmarc-1.4.2-10.fc38.riscv64/usr/share/doc/opendmarc' /usr/bin/install -c -m 644 opendmarc.service.in '/builddir/build/BUILDROOT/opendmarc-1.4.2-10.fc38.riscv64/usr/share/doc/opendmarc' make[3]: Leaving directory '/builddir/build/BUILD/OpenDMARC-rel-opendmarc-1-4-2/contrib/service' make[2]: Leaving directory '/builddir/build/BUILD/OpenDMARC-rel-opendmarc-1-4-2/contrib/service' Making install in spec make[2]: Entering directory '/builddir/build/BUILD/OpenDMARC-rel-opendmarc-1-4-2/contrib/spec' make[3]: Entering directory '/builddir/build/BUILD/OpenDMARC-rel-opendmarc-1-4-2/contrib/spec' make[3]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/opendmarc-1.4.2-10.fc38.riscv64/usr/share/doc/opendmarc' /usr/bin/install -c -m 644 opendmarc.spec.in '/builddir/build/BUILDROOT/opendmarc-1.4.2-10.fc38.riscv64/usr/share/doc/opendmarc' make[3]: Leaving directory '/builddir/build/BUILD/OpenDMARC-rel-opendmarc-1-4-2/contrib/spec' make[2]: Leaving directory '/builddir/build/BUILD/OpenDMARC-rel-opendmarc-1-4-2/contrib/spec' make[2]: Entering directory '/builddir/build/BUILD/OpenDMARC-rel-opendmarc-1-4-2/contrib' make[3]: Entering directory '/builddir/build/BUILD/OpenDMARC-rel-opendmarc-1-4-2/contrib' make[3]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/opendmarc-1.4.2-10.fc38.riscv64/usr/share/doc/opendmarc' /usr/bin/install -c -m 644 README '/builddir/build/BUILDROOT/opendmarc-1.4.2-10.fc38.riscv64/usr/share/doc/opendmarc' make[3]: Leaving directory '/builddir/build/BUILD/OpenDMARC-rel-opendmarc-1-4-2/contrib' make[2]: Leaving directory '/builddir/build/BUILD/OpenDMARC-rel-opendmarc-1-4-2/contrib' make[1]: Leaving directory '/builddir/build/BUILD/OpenDMARC-rel-opendmarc-1-4-2/contrib' Making install in db make[1]: Entering directory '/builddir/build/BUILD/OpenDMARC-rel-opendmarc-1-4-2/db' make[2]: Entering directory '/builddir/build/BUILD/OpenDMARC-rel-opendmarc-1-4-2/db' make[2]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/opendmarc-1.4.2-10.fc38.riscv64/usr/share/doc/opendmarc' /usr/bin/install -c -m 644 README.schema schema.mysql '/builddir/build/BUILDROOT/opendmarc-1.4.2-10.fc38.riscv64/usr/share/doc/opendmarc' make[2]: Leaving directory '/builddir/build/BUILD/OpenDMARC-rel-opendmarc-1-4-2/db' make[1]: Leaving directory '/builddir/build/BUILD/OpenDMARC-rel-opendmarc-1-4-2/db' Making install in libopendmarc make[1]: Entering directory '/builddir/build/BUILD/OpenDMARC-rel-opendmarc-1-4-2/libopendmarc' Making install in tests make[2]: Entering directory '/builddir/build/BUILD/OpenDMARC-rel-opendmarc-1-4-2/libopendmarc/tests' Making install in testfiles make[3]: Entering directory '/builddir/build/BUILD/OpenDMARC-rel-opendmarc-1-4-2/libopendmarc/tests/testfiles' make[4]: Entering directory '/builddir/build/BUILD/OpenDMARC-rel-opendmarc-1-4-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-rel-opendmarc-1-4-2/libopendmarc/tests/testfiles' make[3]: Leaving directory '/builddir/build/BUILD/OpenDMARC-rel-opendmarc-1-4-2/libopendmarc/tests/testfiles' make[3]: Entering directory '/builddir/build/BUILD/OpenDMARC-rel-opendmarc-1-4-2/libopendmarc/tests' make[4]: Entering directory '/builddir/build/BUILD/OpenDMARC-rel-opendmarc-1-4-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-rel-opendmarc-1-4-2/libopendmarc/tests' make[3]: Leaving directory '/builddir/build/BUILD/OpenDMARC-rel-opendmarc-1-4-2/libopendmarc/tests' make[2]: Leaving directory '/builddir/build/BUILD/OpenDMARC-rel-opendmarc-1-4-2/libopendmarc/tests' Making install in docs make[2]: Entering directory '/builddir/build/BUILD/OpenDMARC-rel-opendmarc-1-4-2/libopendmarc/docs' make[3]: Entering directory '/builddir/build/BUILD/OpenDMARC-rel-opendmarc-1-4-2/libopendmarc/docs' make[3]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/opendmarc-1.4.2-10.fc38.riscv64/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.4.2-10.fc38.riscv64/usr/share/doc/opendmarc' make[3]: Leaving directory '/builddir/build/BUILD/OpenDMARC-rel-opendmarc-1-4-2/libopendmarc/docs' make[2]: Leaving directory '/builddir/build/BUILD/OpenDMARC-rel-opendmarc-1-4-2/libopendmarc/docs' make[2]: Entering directory '/builddir/build/BUILD/OpenDMARC-rel-opendmarc-1-4-2/libopendmarc' make[3]: Entering directory '/builddir/build/BUILD/OpenDMARC-rel-opendmarc-1-4-2/libopendmarc' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/opendmarc-1.4.2-10.fc38.riscv64/usr/lib64' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/opendmarc-1.4.2-10.fc38.riscv64/usr/include/opendmarc' /bin/sh ../libtool --mode=install /usr/bin/install -c libopendmarc.la '/builddir/build/BUILDROOT/opendmarc-1.4.2-10.fc38.riscv64/usr/lib64' /usr/bin/install -c -m 644 dmarc.h '/builddir/build/BUILDROOT/opendmarc-1.4.2-10.fc38.riscv64/usr/include/opendmarc' libtool: install: /usr/bin/install -c .libs/libopendmarc.so.2.0.3 /builddir/build/BUILDROOT/opendmarc-1.4.2-10.fc38.riscv64/usr/lib64/libopendmarc.so.2.0.3 libtool: install: (cd /builddir/build/BUILDROOT/opendmarc-1.4.2-10.fc38.riscv64/usr/lib64 && { ln -s -f libopendmarc.so.2.0.3 libopendmarc.so.2 || { rm -f libopendmarc.so.2 && ln -s libopendmarc.so.2.0.3 libopendmarc.so.2; }; }) libtool: install: (cd /builddir/build/BUILDROOT/opendmarc-1.4.2-10.fc38.riscv64/usr/lib64 && { ln -s -f libopendmarc.so.2.0.3 libopendmarc.so || { rm -f libopendmarc.so && ln -s libopendmarc.so.2.0.3 libopendmarc.so; }; }) libtool: install: /usr/bin/install -c .libs/libopendmarc.lai /builddir/build/BUILDROOT/opendmarc-1.4.2-10.fc38.riscv64/usr/lib64/libopendmarc.la libtool: install: /usr/bin/install -c .libs/libopendmarc.a /builddir/build/BUILDROOT/opendmarc-1.4.2-10.fc38.riscv64/usr/lib64/libopendmarc.a libtool: install: chmod 644 /builddir/build/BUILDROOT/opendmarc-1.4.2-10.fc38.riscv64/usr/lib64/libopendmarc.a libtool: install: ranlib /builddir/build/BUILDROOT/opendmarc-1.4.2-10.fc38.riscv64/usr/lib64/libopendmarc.a libtool: warning: remember to run 'libtool --finish /usr/lib64' make[3]: Leaving directory '/builddir/build/BUILD/OpenDMARC-rel-opendmarc-1-4-2/libopendmarc' make[2]: Leaving directory '/builddir/build/BUILD/OpenDMARC-rel-opendmarc-1-4-2/libopendmarc' make[1]: Leaving directory '/builddir/build/BUILD/OpenDMARC-rel-opendmarc-1-4-2/libopendmarc' Making install in reports make[1]: Entering directory '/builddir/build/BUILD/OpenDMARC-rel-opendmarc-1-4-2/reports' make[2]: Entering directory '/builddir/build/BUILD/OpenDMARC-rel-opendmarc-1-4-2/reports' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/opendmarc-1.4.2-10.fc38.riscv64/usr/sbin' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/opendmarc-1.4.2-10.fc38.riscv64/usr/share/doc/opendmarc' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/opendmarc-1.4.2-10.fc38.riscv64/usr/share/man/man8' /usr/bin/install -c -m 644 README '/builddir/build/BUILDROOT/opendmarc-1.4.2-10.fc38.riscv64/usr/share/doc/opendmarc' /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.4.2-10.fc38.riscv64/usr/share/man/man8' /usr/bin/install -c opendmarc-expire opendmarc-import opendmarc-importstats opendmarc-params opendmarc-reports '/builddir/build/BUILDROOT/opendmarc-1.4.2-10.fc38.riscv64/usr/sbin' make[2]: Leaving directory '/builddir/build/BUILD/OpenDMARC-rel-opendmarc-1-4-2/reports' make[1]: Leaving directory '/builddir/build/BUILD/OpenDMARC-rel-opendmarc-1-4-2/reports' Making install in opendmarc make[1]: Entering directory '/builddir/build/BUILD/OpenDMARC-rel-opendmarc-1-4-2/opendmarc' make[2]: Entering directory '/builddir/build/BUILD/OpenDMARC-rel-opendmarc-1-4-2/opendmarc' make[3]: Entering directory '/builddir/build/BUILD/OpenDMARC-rel-opendmarc-1-4-2/opendmarc' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/opendmarc-1.4.2-10.fc38.riscv64/usr/sbin' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/opendmarc-1.4.2-10.fc38.riscv64/usr/share/doc/opendmarc' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/opendmarc-1.4.2-10.fc38.riscv64/usr/share/man/man8' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/opendmarc-1.4.2-10.fc38.riscv64/usr/share/man/man5' /usr/bin/install -c -m 644 opendmarc.conf.sample '/builddir/build/BUILDROOT/opendmarc-1.4.2-10.fc38.riscv64/usr/share/doc/opendmarc' /bin/sh ../libtool --mode=install /usr/bin/install -c opendmarc opendmarc-check '/builddir/build/BUILDROOT/opendmarc-1.4.2-10.fc38.riscv64/usr/sbin' /usr/bin/install -c -m 644 opendmarc.8 opendmarc-check.8 '/builddir/build/BUILDROOT/opendmarc-1.4.2-10.fc38.riscv64/usr/share/man/man8' /usr/bin/install -c -m 644 opendmarc.conf.5 '/builddir/build/BUILDROOT/opendmarc-1.4.2-10.fc38.riscv64/usr/share/man/man5' 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.4.2-10.fc38.riscv64/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.4.2-10.fc38.riscv64/usr/sbin/opendmarc-check make[3]: Leaving directory '/builddir/build/BUILD/OpenDMARC-rel-opendmarc-1-4-2/opendmarc' make[2]: Leaving directory '/builddir/build/BUILD/OpenDMARC-rel-opendmarc-1-4-2/opendmarc' make[1]: Leaving directory '/builddir/build/BUILD/OpenDMARC-rel-opendmarc-1-4-2/opendmarc' make[1]: Entering directory '/builddir/build/BUILD/OpenDMARC-rel-opendmarc-1-4-2' make[2]: Entering directory '/builddir/build/BUILD/OpenDMARC-rel-opendmarc-1-4-2' make[2]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/opendmarc-1.4.2-10.fc38.riscv64/usr/share/doc/opendmarc' /usr/bin/install -c -m 644 LICENSE LICENSE.Sendmail '/builddir/build/BUILDROOT/opendmarc-1.4.2-10.fc38.riscv64/usr/share/doc/opendmarc' make[2]: Leaving directory '/builddir/build/BUILD/OpenDMARC-rel-opendmarc-1-4-2' make[1]: Leaving directory '/builddir/build/BUILD/OpenDMARC-rel-opendmarc-1-4-2' + mkdir -p /builddir/build/BUILDROOT/opendmarc-1.4.2-10.fc38.riscv64/etc + install -d /builddir/build/BUILDROOT/opendmarc-1.4.2-10.fc38.riscv64/etc/sysconfig + mkdir -p -m 0755 /builddir/build/BUILDROOT/opendmarc-1.4.2-10.fc38.riscv64/etc/opendmarc + cat + install -d -m 0755 /builddir/build/BUILDROOT/opendmarc-1.4.2-10.fc38.riscv64/usr/lib/systemd/system + cat + install -m 0644 opendmarc/opendmarc.conf.sample /builddir/build/BUILDROOT/opendmarc-1.4.2-10.fc38.riscv64/etc/opendmarc.conf + sed -i 's|^# AuthservID name |AuthservID HOSTNAME |' /builddir/build/BUILDROOT/opendmarc-1.4.2-10.fc38.riscv64/etc/opendmarc.conf + sed -i 's|^# HistoryFile /var/run/opendmarc.dat|# HistoryFile /var/spool/opendmarc/opendmarc.dat|' /builddir/build/BUILDROOT/opendmarc-1.4.2-10.fc38.riscv64/etc/opendmarc.conf + sed -i 's|^# Socket inet:8893@localhost|Socket local:/run/opendmarc/opendmarc.sock|' /builddir/build/BUILDROOT/opendmarc-1.4.2-10.fc38.riscv64/etc/opendmarc.conf + sed -i 's|^# SoftwareHeader false|SoftwareHeader true|' /builddir/build/BUILDROOT/opendmarc-1.4.2-10.fc38.riscv64/etc/opendmarc.conf + sed -i 's|^# SPFIgnoreResults false|SPFIgnoreResults true|' /builddir/build/BUILDROOT/opendmarc-1.4.2-10.fc38.riscv64/etc/opendmarc.conf + sed -i 's|^# SPFSelfValidate false|SPFSelfValidate true|' /builddir/build/BUILDROOT/opendmarc-1.4.2-10.fc38.riscv64/etc/opendmarc.conf + sed -i 's|^# Syslog false|Syslog true|' /builddir/build/BUILDROOT/opendmarc-1.4.2-10.fc38.riscv64/etc/opendmarc.conf + sed -i 's|^# UMask 077|UMask 007|' /builddir/build/BUILDROOT/opendmarc-1.4.2-10.fc38.riscv64/etc/opendmarc.conf + sed -i 's|^# UserID opendmarc|UserID opendmarc:mail|' /builddir/build/BUILDROOT/opendmarc-1.4.2-10.fc38.riscv64/etc/opendmarc.conf + sed -i 's|/usr/local||' /builddir/build/BUILDROOT/opendmarc-1.4.2-10.fc38.riscv64/etc/opendmarc.conf + rm -rf /builddir/build/BUILDROOT/opendmarc-1.4.2-10.fc38.riscv64/usr/share/doc/opendmarc + rm /builddir/build/BUILDROOT/opendmarc-1.4.2-10.fc38.riscv64/usr/lib64/libopendmarc.la /builddir/build/BUILDROOT/opendmarc-1.4.2-10.fc38.riscv64/usr/lib64/libopendmarc.a + mkdir -p /builddir/build/BUILDROOT/opendmarc-1.4.2-10.fc38.riscv64/usr/include/opendmarc + install -m 0644 libopendmarc/dmarc.h /builddir/build/BUILDROOT/opendmarc-1.4.2-10.fc38.riscv64/usr/include/opendmarc/ + mkdir -p /builddir/build/BUILDROOT/opendmarc-1.4.2-10.fc38.riscv64/var/spool/opendmarc + mkdir -p /builddir/build/BUILDROOT/opendmarc-1.4.2-10.fc38.riscv64/run/opendmarc + mkdir -p /builddir/build/BUILDROOT/opendmarc-1.4.2-10.fc38.riscv64/usr/share/opendmarc/contrib + cp -R db/ /builddir/build/BUILDROOT/opendmarc-1.4.2-10.fc38.riscv64/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.4.2-10.fc38.riscv64/usr/share/opendmarc/contrib + rm -f /builddir/build/BUILDROOT/opendmarc-1.4.2-10.fc38.riscv64/usr/share/opendmarc/contrib/rddmarc/Makefile /builddir/build/BUILDROOT/opendmarc-1.4.2-10.fc38.riscv64/usr/share/opendmarc/contrib/rddmarc/Makefile.am /builddir/build/BUILDROOT/opendmarc-1.4.2-10.fc38.riscv64/usr/share/opendmarc/contrib/rddmarc/Makefile.in + rm -f /builddir/build/BUILDROOT/opendmarc-1.4.2-10.fc38.riscv64/usr/share/opendmarc/db/Makefile /builddir/build/BUILDROOT/opendmarc-1.4.2-10.fc38.riscv64/usr/share/opendmarc/db/Makefile.am /builddir/build/BUILDROOT/opendmarc-1.4.2-10.fc38.riscv64/usr/share/opendmarc/db/Makefile.in + /usr/bin/find-debuginfo -j4 --strict-build-id -m -i --build-id-seed 1.4.2-10.fc38 --unique-debug-suffix -1.4.2-10.fc38.riscv64 --unique-debug-src-base opendmarc-1.4.2-10.fc38.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/OpenDMARC-rel-opendmarc-1-4-2 extracting debug info from /builddir/build/BUILDROOT/opendmarc-1.4.2-10.fc38.riscv64/usr/sbin/opendmarc extracting debug info from /builddir/build/BUILDROOT/opendmarc-1.4.2-10.fc38.riscv64/usr/lib64/libopendmarc.so.2.0.3 extracting debug info from /builddir/build/BUILDROOT/opendmarc-1.4.2-10.fc38.riscv64/usr/sbin/opendmarc-check original debug info size: 1448kB, size after compression: 1428kB /usr/bin/sepdebugcrcfix: Updated 3 CRC32s, 0 CRC32s did match. 818 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs mangling shebang in /usr/sbin/opendmarc-importstats from /bin/sh to #!/usr/bin/sh + /usr/lib/rpm/brp-remove-la-files + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j4 + /usr/lib/rpm/redhat/brp-python-hardlink Processing files: opendmarc-1.4.2-10.fc38.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.4cb53M + umask 022 + cd /builddir/build/BUILD + cd OpenDMARC-rel-opendmarc-1-4-2 + DOCDIR=/builddir/build/BUILDROOT/opendmarc-1.4.2-10.fc38.riscv64/usr/share/doc/opendmarc + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/opendmarc-1.4.2-10.fc38.riscv64/usr/share/doc/opendmarc + cp -pr README /builddir/build/BUILDROOT/opendmarc-1.4.2-10.fc38.riscv64/usr/share/doc/opendmarc + cp -pr RELEASE_NOTES /builddir/build/BUILDROOT/opendmarc-1.4.2-10.fc38.riscv64/usr/share/doc/opendmarc + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.rirY9H + umask 022 + cd /builddir/build/BUILD + cd OpenDMARC-rel-opendmarc-1-4-2 + LICENSEDIR=/builddir/build/BUILDROOT/opendmarc-1.4.2-10.fc38.riscv64/usr/share/licenses/opendmarc + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/opendmarc-1.4.2-10.fc38.riscv64/usr/share/licenses/opendmarc + cp -pr LICENSE /builddir/build/BUILDROOT/opendmarc-1.4.2-10.fc38.riscv64/usr/share/licenses/opendmarc + cp -pr LICENSE.Sendmail /builddir/build/BUILDROOT/opendmarc-1.4.2-10.fc38.riscv64/usr/share/licenses/opendmarc + RPM_EC=0 ++ jobs -p + exit 0 Provides: config(opendmarc) = 1.4.2-10.fc38 opendmarc = 1.4.2-10.fc38 opendmarc(riscv-64) = 1.4.2-10.fc38 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 Requires(preun): /bin/sh Requires(postun): /bin/sh Requires: /usr/bin/perl /usr/bin/sh ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libbsd.so.0()(64bit) libbsd.so.0(LIBBSD_0.0)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libc.so.6(GLIBC_2.32)(64bit) libc.so.6(GLIBC_2.34)(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.27)(64bit) libmilter.so.1.0()(64bit) libopendmarc.so.2()(64bit) rtld(GNU_HASH) Processing files: libopendmarc-1.4.2-10.fc38.riscv64 Provides: libopendmarc = 1.4.2-10.fc38 libopendmarc(riscv-64) = 1.4.2-10.fc38 libopendmarc.so.2()(64bit) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libbsd.so.0()(64bit) libbsd.so.0(LIBBSD_0.0)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libm.so.6()(64bit) libspf2.so.2()(64bit) rtld(GNU_HASH) Processing files: libopendmarc-devel-1.4.2-10.fc38.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.nIl87T + umask 022 + cd /builddir/build/BUILD + cd OpenDMARC-rel-opendmarc-1-4-2 + DOCDIR=/builddir/build/BUILDROOT/opendmarc-1.4.2-10.fc38.riscv64/usr/share/doc/libopendmarc-devel + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/opendmarc-1.4.2-10.fc38.riscv64/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.4.2-10.fc38.riscv64/usr/share/doc/libopendmarc-devel + RPM_EC=0 ++ jobs -p + exit 0 Provides: libopendmarc-devel = 1.4.2-10.fc38 libopendmarc-devel(riscv-64) = 1.4.2-10.fc38 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.4.2-10.fc38.riscv64 Provides: opendmarc-debugsource = 1.4.2-10.fc38 opendmarc-debugsource(riscv-64) = 1.4.2-10.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: opendmarc-debuginfo-1.4.2-10.fc38.riscv64 Provides: debuginfo(build-id) = 1229f876dcc18c737bed32277a5572f7dd630f70 debuginfo(build-id) = bf1b41b3fba7cfae3fee7fe81b2225bed6357763 opendmarc-debuginfo = 1.4.2-10.fc38 opendmarc-debuginfo(riscv-64) = 1.4.2-10.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: opendmarc-debugsource(riscv-64) = 1.4.2-10.fc38 Processing files: libopendmarc-debuginfo-1.4.2-10.fc38.riscv64 Provides: debuginfo(build-id) = 1f76033b9ff779d1206b80c00b838533b1f91ccb libopendmarc-debuginfo = 1.4.2-10.fc38 libopendmarc-debuginfo(riscv-64) = 1.4.2-10.fc38 libopendmarc.so.2.0.3-1.4.2-10.fc38.riscv64.debug()(64bit) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: opendmarc-debugsource(riscv-64) = 1.4.2-10.fc38 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/opendmarc-1.4.2-10.fc38.riscv64 Wrote: /builddir/build/RPMS/opendmarc-1.4.2-10.fc38.riscv64.rpm Wrote: /builddir/build/RPMS/libopendmarc-debuginfo-1.4.2-10.fc38.riscv64.rpm Wrote: /builddir/build/RPMS/opendmarc-debuginfo-1.4.2-10.fc38.riscv64.rpm Wrote: /builddir/build/RPMS/libopendmarc-1.4.2-10.fc38.riscv64.rpm Wrote: /builddir/build/RPMS/opendmarc-debugsource-1.4.2-10.fc38.riscv64.rpm Wrote: /builddir/build/RPMS/libopendmarc-devel-1.4.2-10.fc38.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.bdljqp + umask 022 + cd /builddir/build/BUILD + cd OpenDMARC-rel-opendmarc-1-4-2 + /usr/bin/rm -rf /builddir/build/BUILDROOT/opendmarc-1.4.2-10.fc38.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.c8NrIO + umask 022 + cd /builddir/build/BUILD + rm -rf OpenDMARC-rel-opendmarc-1-4-2 OpenDMARC-rel-opendmarc-1-4-2.gemspec + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0