Mock Version: 1.4.21 Mock Version: 1.4.21 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/mimedefang.spec'], chrootPath='/var/lib/mock/f33-build-299367-56330/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': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/mimedefang.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': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1595894400 Wrote: /builddir/build/SRPMS/mimedefang-2.84-9.fc33.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/mimedefang.spec'], chrootPath='/var/lib/mock/f33-build-299367-56330/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': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/mimedefang.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': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1595894400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.ffcGZZ + umask 022 + cd /builddir/build/BUILD + gpgv2 --keyring /builddir/build/SOURCES/gpgkey-FC2E9B645468698FD7B21655C1842E2A126F42E0.gpg /builddir/build/SOURCES/mimedefang-2.84.tar.gz.sig /builddir/build/SOURCES/mimedefang-2.84.tar.gz gpgv: Signature made Wed Mar 21 10:42:21 2018 EDT gpgv: using DSA key C1842E2A126F42E0 gpgv: Good signature from "Dianne Skoll " gpgv: aka "David F. Skoll (Key for 2005) " + cd /builddir/build/BUILD + rm -rf mimedefang-2.84 + /usr/bin/gzip -dc /builddir/build/SOURCES/mimedefang-2.84.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd mimedefang-2.84 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + cp -pf /builddir/build/SOURCES/README.FEDORA . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.Wo9E1Z + umask 022 + cd /builddir/build/BUILD + cd mimedefang-2.84 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -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,-D_FORTIFY_SOURCE=2 -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 -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + 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 2018-03-21 10:40:57.000000000 -0400 +++ ./configure 2020-08-14 21:37:03.167128245 -0400 @@ -1858,7 +1858,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 + mv ./configure.backup ./configure + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ find . -name ltmain.sh + ./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 --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-milterlib=/usr/lib64 --with-user=defang --disable-check-perl-modules --disable-anti-virus configure: WARNING: unrecognized options: --disable-dependency-tracking 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 we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for ar... ar checking for a BSD-compatible install... /usr/bin/install -c checking for unsigned long long int... yes checking for long long int... yes checking for perl... /usr/bin/perl checking whether socklen_t is defined... yes checking for Perl installation variable prefix... /usr checking for Perl installation variable siteprefix... /usr/local checking for Perl installation variable vendorprefix... /usr checking for Perl installation variable installarchlib... /usr/lib64/perl5 checking for Perl installation variable installprivlib... /usr/share/perl5 checking for Perl installation variable installbin... /usr/bin checking for Perl installation variable installman1dir... /usr/share/man/man1 checking for Perl installation variable installman3dir... /usr/share/man/man3 checking for Perl installation variable installscript... /usr/bin checking for Perl installation variable installsitearch... /usr/local/lib64/perl5/5.32 checking for Perl installation variable installsitelib... /usr/local/share/perl5/5.32 checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for wait3 that fills in rusage... yes checking for nm... /usr/bin/nm Compile-time checking for Perl modules disabled checking for Perl module Sys::Syslog... no checking for Perl module Unix::Syslog... no checking for Perl module ExtUtils::Embed... ok checking getopt.h usability... yes checking getopt.h presence... yes checking for getopt.h... yes checking for unistd.h... (cached) yes checking for stdint.h... (cached) yes checking poll.h usability... yes checking poll.h presence... yes checking for poll.h... yes checking for stdint.h... (cached) yes checking whether stdint.h defines uint32_t... yes checking whether sys/types.h defines uint32_t... no checking whether sig_atomic_t is defined... yes checking whether gcc accepts -pthread... yes checking if we can embed a Perl interpreter in C... yes checking if it is safe to destroy and recreate a Perl interpreter... no checking for res_init in -lresolv... no checking for htons in -lsocket... no checking for gethostbyname in -lnsl... no checking for pthread_once in -lpthread... yes checking for initgroups... yes checking for getpwnam_r... yes checking for setrlimit... yes checking for snprintf... yes checking for vsnprintf... yes checking for readdir_r... yes checking for pathconf... yes checking for inet_ntop... yes checking for sendmail... /usr/sbin/sendmail checking for rm... /usr/bin/rm checking for libmilter/mfapi.h... /usr/include/libmilter/mfapi.h checking for libmilter.a... no checking for libsm.a... no checking for libmilter.so... /usr/lib64/libmilter.so checking whether libmilter requires -lsm... no checking whether libmilter requires -lldap... no configure: creating ./config.status config.status: creating Makefile config.status: creating mimedefang.pl config.status: creating script/mimedefang-util config.status: creating examples/init-script config.status: creating mimedefang-filter.5 config.status: creating mimedefang-multiplexor.8 config.status: creating mimedefang-protocol.7 config.status: creating mimedefang-notify.7 config.status: creating mimedefang.8 config.status: creating mimedefang.pl.8 config.status: creating md-mx-ctrl.8 config.status: creating watch-mimedefang config.status: creating redhat/mimedefang-init config.status: creating redhat/mimedefang-sysconfig config.status: creating config.h configure: WARNING: unrecognized options: --disable-dependency-tracking *** Virus scanner detection results: All virus-scanner detection disabled by --disable-anti-virus Could not find any recognized virus scanner... do not use any of the contains_virus functions in your filter. Note: SpamAssassin and HTML::Parser are detected at run-time, so if you install or remove any of those modules, you do not need to re-run ./configure and make a new mimedefang.pl. Note: The MIMEDefang user 'defang' does not seem to exist. Please create this user before continuing. + make -j4 gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -Wall -Wstrict-prototypes -pthread -D_POSIX_PTHREAD_SEMANTICS -DEMBED_PERL -DPERL_PATH=\"/usr/bin/perl\" -DMIMEDEFANG_PL=\"/usr/bin/mimedefang.pl\" -DRM=\"/usr/bin/rm\" -DVERSION=\"2.84\" -DSPOOLDIR=\"/var/spool/MIMEDefang\" -DQDIR=\"/var/spool/MD-Quarantine\" -DCONFDIR=\"/etc/mail\" -c -o mimedefang.o ./mimedefang.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -Wall -Wstrict-prototypes -pthread -D_POSIX_PTHREAD_SEMANTICS -DEMBED_PERL -DPERL_PATH=\"/usr/bin/perl\" -DMIMEDEFANG_PL=\"/usr/bin/mimedefang.pl\" -DRM=\"/usr/bin/rm\" -DVERSION=\"2.84\" -DSPOOLDIR=\"/var/spool/MIMEDefang\" -DQDIR=\"/var/spool/MD-Quarantine\" -DCONFDIR=\"/etc/mail\" -c -o drop_privs_threaded.o ./drop_privs.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -Wall -Wstrict-prototypes -pthread -D_POSIX_PTHREAD_SEMANTICS -DEMBED_PERL -DPERL_PATH=\"/usr/bin/perl\" -DMIMEDEFANG_PL=\"/usr/bin/mimedefang.pl\" -DRM=\"/usr/bin/rm\" -DVERSION=\"2.84\" -DSPOOLDIR=\"/var/spool/MIMEDefang\" -DQDIR=\"/var/spool/MD-Quarantine\" -DCONFDIR=\"/etc/mail\" -c -o utils.o ./utils.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -Wall -Wstrict-prototypes -pthread -D_POSIX_PTHREAD_SEMANTICS -DEMBED_PERL -DPERL_PATH=\"/usr/bin/perl\" -DMIMEDEFANG_PL=\"/usr/bin/mimedefang.pl\" -DRM=\"/usr/bin/rm\" -DVERSION=\"2.84\" -DSPOOLDIR=\"/var/spool/MIMEDefang\" -DQDIR=\"/var/spool/MD-Quarantine\" -DCONFDIR=\"/etc/mail\" -c -o rm_r.o ./rm_r.c In file included from /usr/include/sys/types.h:25, from ./mimedefang.h:21, from ./mimedefang.c:35: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from /usr/include/sys/types.h:25, from ./mimedefang.h:21, from ./utils.c:24: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ ./rm_r.c: In function 'rm_r': ./rm_r.c:108:2: warning: 'readdir_r' is deprecated [-Wdeprecated-declarations] 108 | n = readdir_r(d, entry, &result); | ^ In file included from ./rm_r.c:20: /usr/include/dirent.h:183:12: note: declared here 183 | extern int readdir_r (DIR *__restrict __dirp, | ^~~~~~~~~ ./utils.c: In function 'write_and_lock_pidfile': ./utils.c:1339:2: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] 1339 | ftruncate(pidfile_fd, 0); | ^~~~~~~~~~~~~~~~~~~~~~~~ ./utils.c:1341:2: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1341 | write(pidfile_fd, buf, strlen(buf)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -Wall -Wstrict-prototypes -pthread -D_POSIX_PTHREAD_SEMANTICS -DEMBED_PERL -DPERL_PATH=\"/usr/bin/perl\" -DMIMEDEFANG_PL=\"/usr/bin/mimedefang.pl\" -DRM=\"/usr/bin/rm\" -DVERSION=\"2.84\" -DSPOOLDIR=\"/var/spool/MIMEDefang\" -DQDIR=\"/var/spool/MD-Quarantine\" -DCONFDIR=\"/etc/mail\" -c -o syslog-fac.o ./syslog-fac.c ./mimedefang.c: In function 'main': ./mimedefang.c:2655:2: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 2655 | fgets(ValidateHeader, sizeof(ValidateHeader), fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mimedefang.c:2293:57: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 2293 | #define REPORT_FAILURE(msg) do { if (kidpipe[1] >= 0) { write(kidpipe[1], "E" msg, strlen(msg)+1); } else { fprintf(stderr, "%s\n", msg); } } while(0) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mimedefang.c:2713:6: note: in expansion of macro 'REPORT_FAILURE' 2713 | REPORT_FAILURE("fork() failed"); | ^~~~~~~~~~~~~~ ./mimedefang.c:2293:57: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 2293 | #define REPORT_FAILURE(msg) do { if (kidpipe[1] >= 0) { write(kidpipe[1], "E" msg, strlen(msg)+1); } else { fprintf(stderr, "%s\n", msg); } } while(0) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mimedefang.c:2739:6: note: in expansion of macro 'REPORT_FAILURE' 2739 | REPORT_FAILURE("Cannot lock lockfile: Is another copy running?"); | ^~~~~~~~~~~~~~ ./mimedefang.c:2293:57: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 2293 | #define REPORT_FAILURE(msg) do { if (kidpipe[1] >= 0) { write(kidpipe[1], "E" msg, strlen(msg)+1); } else { fprintf(stderr, "%s\n", msg); } } while(0) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mimedefang.c:2790:2: note: in expansion of macro 'REPORT_FAILURE' 2790 | REPORT_FAILURE("Multiplexor socket did not appear. Exiting."); | ^~~~~~~~~~~~~~ ./mimedefang.c:2798:2: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 2798 | write(kidpipe[1], "X", 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -Wall -Wstrict-prototypes -pthread -D_POSIX_PTHREAD_SEMANTICS -DEMBED_PERL -DPERL_PATH=\"/usr/bin/perl\" -DMIMEDEFANG_PL=\"/usr/bin/mimedefang.pl\" -DRM=\"/usr/bin/rm\" -DVERSION=\"2.84\" -DSPOOLDIR=\"/var/spool/MIMEDefang\" -DQDIR=\"/var/spool/MD-Quarantine\" -DCONFDIR=\"/etc/mail\" -c -o dynbuf.o ./dynbuf.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -Wall -Wstrict-prototypes -pthread -D_POSIX_PTHREAD_SEMANTICS -DEMBED_PERL -DPERL_PATH=\"/usr/bin/perl\" -DMIMEDEFANG_PL=\"/usr/bin/mimedefang.pl\" -DRM=\"/usr/bin/rm\" -DVERSION=\"2.84\" -DSPOOLDIR=\"/var/spool/MIMEDefang\" -DQDIR=\"/var/spool/MD-Quarantine\" -DCONFDIR=\"/etc/mail\" -c -o milter_cap.o ./milter_cap.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -Wall -Wstrict-prototypes -pthread -D_POSIX_PTHREAD_SEMANTICS -DEMBED_PERL -DPERL_PATH=\"/usr/bin/perl\" -DMIMEDEFANG_PL=\"/usr/bin/mimedefang.pl\" -DRM=\"/usr/bin/rm\" -DVERSION=\"2.84\" -DSPOOLDIR=\"/var/spool/MIMEDefang\" -DQDIR=\"/var/spool/MD-Quarantine\" -DCONFDIR=\"/etc/mail\" -c -o gen_id.o ./gen_id.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -Wall -Wstrict-prototypes -D_POSIX_PTHREAD_SEMANTICS -DEMBED_PERL -DPERL_PATH=\"/usr/bin/perl\" -DMIMEDEFANG_PL=\"/usr/bin/mimedefang.pl\" -DRM=\"/usr/bin/rm\" -DVERSION=\"2.84\" -DSPOOLDIR=\"/var/spool/MIMEDefang\" -DQDIR=\"/var/spool/MD-Quarantine\" -DCONFDIR=\"/etc/mail\" -c -o mimedefang-multiplexor.o ./mimedefang-multiplexor.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -Wall -Wstrict-prototypes -D_POSIX_PTHREAD_SEMANTICS -DEMBED_PERL -DPERL_PATH=\"/usr/bin/perl\" -DMIMEDEFANG_PL=\"/usr/bin/mimedefang.pl\" -DRM=\"/usr/bin/rm\" -DVERSION=\"2.84\" -DSPOOLDIR=\"/var/spool/MIMEDefang\" -DQDIR=\"/var/spool/MD-Quarantine\" -DCONFDIR=\"/etc/mail\" -c -o event.o ./event.c ./mimedefang-multiplexor.c: In function 'main': ./mimedefang-multiplexor.c:357:57: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 357 | #define REPORT_FAILURE(msg) do { if (kidpipe[1] >= 0) { write(kidpipe[1], "E" msg, strlen(msg)+1); } else { fprintf(stderr, "%s\n", msg); } } while(0) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mimedefang-multiplexor.c:1060:6: note: in expansion of macro 'REPORT_FAILURE' 1060 | REPORT_FAILURE("Cannot lock lockfile: Is another copy running?"); | ^~~~~~~~~~~~~~ ./mimedefang-multiplexor.c:357:57: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 357 | #define REPORT_FAILURE(msg) do { if (kidpipe[1] >= 0) { write(kidpipe[1], "E" msg, strlen(msg)+1); } else { fprintf(stderr, "%s\n", msg); } } while(0) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mimedefang-multiplexor.c:1085:2: note: in expansion of macro 'REPORT_FAILURE' 1085 | REPORT_FAILURE("Unable to allocate memory for workers"); | ^~~~~~~~~~~~~~ ./mimedefang-multiplexor.c:357:57: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 357 | #define REPORT_FAILURE(msg) do { if (kidpipe[1] >= 0) { write(kidpipe[1], "E" msg, strlen(msg)+1); } else { fprintf(stderr, "%s\n", msg); } } while(0) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mimedefang-multiplexor.c:1094:2: note: in expansion of macro 'REPORT_FAILURE' 1094 | REPORT_FAILURE("Could not create event selector"); | ^~~~~~~~~~~~~~ ./mimedefang-multiplexor.c:357:57: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 357 | #define REPORT_FAILURE(msg) do { if (kidpipe[1] >= 0) { write(kidpipe[1], "E" msg, strlen(msg)+1); } else { fprintf(stderr, "%s\n", msg); } } while(0) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mimedefang-multiplexor.c:1156:6: note: in expansion of macro 'REPORT_FAILURE' 1156 | REPORT_FAILURE("Argument to -s option must be a UNIX-domain socket, not a TCP socket."); | ^~~~~~~~~~~~~~ ./mimedefang-multiplexor.c:357:57: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 357 | #define REPORT_FAILURE(msg) do { if (kidpipe[1] >= 0) { write(kidpipe[1], "E" msg, strlen(msg)+1); } else { fprintf(stderr, "%s\n", msg); } } while(0) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mimedefang-multiplexor.c:1158:6: note: in expansion of macro 'REPORT_FAILURE' 1158 | REPORT_FAILURE("Unable to create listening socket."); | ^~~~~~~~~~~~~~ ./mimedefang-multiplexor.c:357:57: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 357 | #define REPORT_FAILURE(msg) do { if (kidpipe[1] >= 0) { write(kidpipe[1], "E" msg, strlen(msg)+1); } else { fprintf(stderr, "%s\n", msg); } } while(0) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mimedefang-multiplexor.c:1168:2: note: in expansion of macro 'REPORT_FAILURE' 1168 | REPORT_FAILURE("Could not make accept() handler"); | ^~~~~~~~~~~~~~ ./mimedefang-multiplexor.c:357:57: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 357 | #define REPORT_FAILURE(msg) do { if (kidpipe[1] >= 0) { write(kidpipe[1], "E" msg, strlen(msg)+1); } else { fprintf(stderr, "%s\n", msg); } } while(0) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mimedefang-multiplexor.c:1182:6: note: in expansion of macro 'REPORT_FAILURE' 1182 | REPORT_FAILURE("Unable to create unprivileged listening socket"); | ^~~~~~~~~~~~~~ ./mimedefang-multiplexor.c:357:57: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 357 | #define REPORT_FAILURE(msg) do { if (kidpipe[1] >= 0) { write(kidpipe[1], "E" msg, strlen(msg)+1); } else { fprintf(stderr, "%s\n", msg); } } while(0) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mimedefang-multiplexor.c:1189:6: note: in expansion of macro 'REPORT_FAILURE' 1189 | REPORT_FAILURE("Could not make accept() handler"); | ^~~~~~~~~~~~~~ ./mimedefang-multiplexor.c:357:57: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 357 | #define REPORT_FAILURE(msg) do { if (kidpipe[1] >= 0) { write(kidpipe[1], "E" msg, strlen(msg)+1); } else { fprintf(stderr, "%s\n", msg); } } while(0) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mimedefang-multiplexor.c:1201:2: note: in expansion of macro 'REPORT_FAILURE' 1201 | REPORT_FAILURE("pipe() call failed"); | ^~~~~~~~~~~~~~ ./mimedefang-multiplexor.c:357:57: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 357 | #define REPORT_FAILURE(msg) do { if (kidpipe[1] >= 0) { write(kidpipe[1], "E" msg, strlen(msg)+1); } else { fprintf(stderr, "%s\n", msg); } } while(0) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mimedefang-multiplexor.c:1213:2: note: in expansion of macro 'REPORT_FAILURE' 1213 | REPORT_FAILURE("Could not make pipe handler"); | ^~~~~~~~~~~~~~ ./mimedefang-multiplexor.c:357:57: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 357 | #define REPORT_FAILURE(msg) do { if (kidpipe[1] >= 0) { write(kidpipe[1], "E" msg, strlen(msg)+1); } else { fprintf(stderr, "%s\n", msg); } } while(0) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mimedefang-multiplexor.c:1251:2: note: in expansion of macro 'REPORT_FAILURE' 1251 | REPORT_FAILURE("sigaction failed - exiting."); | ^~~~~~~~~~~~~~ ./mimedefang-multiplexor.c:357:57: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 357 | #define REPORT_FAILURE(msg) do { if (kidpipe[1] >= 0) { write(kidpipe[1], "E" msg, strlen(msg)+1); } else { fprintf(stderr, "%s\n", msg); } } while(0) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mimedefang-multiplexor.c:1262:2: note: in expansion of macro 'REPORT_FAILURE' 1262 | REPORT_FAILURE("sigaction failed - exiting."); | ^~~~~~~~~~~~~~ ./mimedefang-multiplexor.c:357:57: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 357 | #define REPORT_FAILURE(msg) do { if (kidpipe[1] >= 0) { write(kidpipe[1], "E" msg, strlen(msg)+1); } else { fprintf(stderr, "%s\n", msg); } } while(0) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mimedefang-multiplexor.c:1297:2: note: in expansion of macro 'REPORT_FAILURE' 1297 | REPORT_FAILURE("sigaction failed - exiting."); | ^~~~~~~~~~~~~~ ./mimedefang-multiplexor.c:1360:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1360 | write(kidpipe[1], "X", 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./mimedefang-multiplexor.c: In function 'intHandler': ./mimedefang-multiplexor.c:2975:6: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 2975 | write(Pipe[1], &byte, 1); | ^~~~~~~~~~~~~~~~~~~~~~~~ ./mimedefang-multiplexor.c: In function 'hupHandler': ./mimedefang-multiplexor.c:2950:6: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 2950 | write(Pipe[1], &byte, 1); | ^~~~~~~~~~~~~~~~~~~~~~~~ ./mimedefang-multiplexor.c: In function 'handlePipe': ./mimedefang-multiplexor.c:3019:5: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 3019 | read(fd, buf, 64); | ^~~~~~~~~~~~~~~~~ ./mimedefang-multiplexor.c: In function 'childHandler': ./mimedefang-multiplexor.c:2925:6: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 2925 | write(Pipe[1], &byte, 1); | ^~~~~~~~~~~~~~~~~~~~~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -Wall -Wstrict-prototypes -D_POSIX_PTHREAD_SEMANTICS -DEMBED_PERL -DPERL_PATH=\"/usr/bin/perl\" -DMIMEDEFANG_PL=\"/usr/bin/mimedefang.pl\" -DRM=\"/usr/bin/rm\" -DVERSION=\"2.84\" -DSPOOLDIR=\"/var/spool/MIMEDefang\" -DQDIR=\"/var/spool/MD-Quarantine\" -DCONFDIR=\"/etc/mail\" -c -o event_tcp.o ./event_tcp.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -Wall -Wstrict-prototypes -D_POSIX_PTHREAD_SEMANTICS -DEMBED_PERL -DPERL_PATH=\"/usr/bin/perl\" -DMIMEDEFANG_PL=\"/usr/bin/mimedefang.pl\" -DRM=\"/usr/bin/rm\" -DVERSION=\"2.84\" -DSPOOLDIR=\"/var/spool/MIMEDefang\" -DQDIR=\"/var/spool/MD-Quarantine\" -DCONFDIR=\"/etc/mail\" -c -o drop_privs_nothread.o ./drop_privs.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -Wall -Wstrict-prototypes -D_POSIX_PTHREAD_SEMANTICS -DEMBED_PERL -DPERL_PATH=\"/usr/bin/perl\" -DMIMEDEFANG_PL=\"/usr/bin/mimedefang.pl\" -DRM=\"/usr/bin/rm\" -DVERSION=\"2.84\" -DSPOOLDIR=\"/var/spool/MIMEDefang\" -DQDIR=\"/var/spool/MD-Quarantine\" -DCONFDIR=\"/etc/mail\" -c -o notifier.o ./notifier.c ./mimedefang-multiplexor.c: In function 'handleWorkerStatusFD': ./mimedefang-multiplexor.c:1529:54: warning: '%s' directive output may be truncated writing up to 511 bytes into a region of size 64 [-Wformat-truncation=] 1529 | snprintf(s->status_tag, sizeof(s->status_tag), "%s", ptr); | ^~ In file included from /usr/include/stdio.h:866, from ./mimedefang-multiplexor.c:44: /usr/include/bits/stdio2.h:70:10: note: 'snprintf' output between 1 and 512 bytes into a destination of size 64 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -Wall -Wstrict-prototypes -D_REENTRANT -D_GNU_SOURCE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -fwrapv -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib64/perl5/CORE -pthread -D_POSIX_PTHREAD_SEMANTICS -DEMBED_PERL -DPERL_PATH=\"/usr/bin/perl\" -DMIMEDEFANG_PL=\"/usr/bin/mimedefang.pl\" -DRM=\"/usr/bin/rm\" -DVERSION=\"2.84\" -DSPOOLDIR=\"/var/spool/MIMEDefang\" -DQDIR=\"/var/spool/MD-Quarantine\" -DCONFDIR=\"/etc/mail\" -c -o embperl.o ./embperl.c /usr/bin/perl -MExtUtils::Embed -e xsinit -- -o ./xs_init.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -Wall -Wstrict-prototypes -D_POSIX_PTHREAD_SEMANTICS -DEMBED_PERL -DPERL_PATH=\"/usr/bin/perl\" -DMIMEDEFANG_PL=\"/usr/bin/mimedefang.pl\" -DRM=\"/usr/bin/rm\" -DVERSION=\"2.84\" -DSPOOLDIR=\"/var/spool/MIMEDefang\" -DQDIR=\"/var/spool/MD-Quarantine\" -DCONFDIR=\"/etc/mail\" -c -o md-mx-ctrl.o ./md-mx-ctrl.c /usr/bin/perl "-MExtUtils::Command::MM" -e pod2man "--" --section=1 --perm_rw=644 \ --center="MIMEDefang Documentation" \ --release=2.84 \ script/mimedefang-util script/mimedefang-util.1 Manifying 1 pod document gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -Wall -Wstrict-prototypes -pthread -o mimedefang mimedefang.o drop_privs_threaded.o utils.o rm_r.o syslog-fac.o dynbuf.o milter_cap.o gen_id.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -lmilter -lpthread ./embperl.c:26:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 26 | extern void xs_init (); | ^~~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -Wall -Wstrict-prototypes -D_REENTRANT -D_GNU_SOURCE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -fwrapv -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib64/perl5/CORE -pthread -D_POSIX_PTHREAD_SEMANTICS -DEMBED_PERL -DPERL_PATH=\"/usr/bin/perl\" -DMIMEDEFANG_PL=\"/usr/bin/mimedefang.pl\" -DRM=\"/usr/bin/rm\" -DVERSION=\"2.84\" -DSPOOLDIR=\"/var/spool/MIMEDefang\" -DQDIR=\"/var/spool/MD-Quarantine\" -DCONFDIR=\"/etc/mail\" -c -o xs_init.o ./xs_init.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -Wall -Wstrict-prototypes -o md-mx-ctrl md-mx-ctrl.o gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -Wall -Wstrict-prototypes -o mimedefang-multiplexor mimedefang-multiplexor.o event.o event_tcp.o drop_privs_nothread.o syslog-fac.o notifier.o utils.o embperl.o xs_init.o -Wl,--enable-new-dtags -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -fstack-protector-strong -L/usr/local/lib -L/usr/lib64/perl5/CORE -lperl -lpthread -lresolv -ldl -lm -lcrypt -lutil -lc -lperl + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.dcJfq1 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/mimedefang-2.84-9.fc33.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/mimedefang-2.84-9.fc33.riscv64 ++ dirname /builddir/build/BUILDROOT/mimedefang-2.84-9.fc33.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/mimedefang-2.84-9.fc33.riscv64 + cd mimedefang-2.84 + rm -rf /builddir/build/BUILDROOT/mimedefang-2.84-9.fc33.riscv64 + make DESTDIR=/builddir/build/BUILDROOT/mimedefang-2.84-9.fc33.riscv64 'INSTALL=install -p' INSTALL_STRIP_FLAG= install-redhat install -p -m 755 -d /builddir/build/BUILDROOT/mimedefang-2.84-9.fc33.riscv64/etc/mail if test "no" = "yes" -a ! -f "/builddir/build/BUILDROOT/mimedefang-2.84-9.fc33.riscv64/etc/mail/mimedefang-ip-key" ; then \ /usr/bin/perl ./gen-ip-validator.pl > /builddir/build/BUILDROOT/mimedefang-2.84-9.fc33.riscv64/etc/mail/mimedefang-ip-key ;\ -chmod 600 /builddir/build/BUILDROOT/mimedefang-2.84-9.fc33.riscv64/etc/mail/mimedefang-ip-key > /dev/null 2>&1 ; \ fi if test "defang" != "" ; then \ if id "defang" > /dev/null 2>&1 ; then \ chown "defang" /builddir/build/BUILDROOT/mimedefang-2.84-9.fc33.riscv64/etc/mail/mimedefang-ip-key > /dev/null 2>&1 || true; \ test ! -d /builddir/build/BUILDROOT/mimedefang-2.84-9.fc33.riscv64/var/spool/MIMEDefang && install -p -m 750 -o defang -d /builddir/build/BUILDROOT/mimedefang-2.84-9.fc33.riscv64/var/spool/MIMEDefang > /dev/null 2>&1 || true; \ test ! -d /builddir/build/BUILDROOT/mimedefang-2.84-9.fc33.riscv64/var/spool/MD-Quarantine && install -p -m 750 -o defang -d /builddir/build/BUILDROOT/mimedefang-2.84-9.fc33.riscv64/var/spool/MD-Quarantine > /dev/null 2>&1 || true; \ fi \ else \ echo ""; \ echo "Please create the spool directory, '/var/spool/MIMEDefang',"; \ echo "if it does not exist. Give it mode 700 or 750, and make"; \ echo "it owned by the user and group you intend to run MIMEDefang as."; \ if test "/var/spool/MD-Quarantine" != "/var/spool/MIMEDefang" ; then \ echo "Please do the same with the quarantine directory, '/var/spool/MD-Quarantine'."; \ fi; \ fi install -p -m 755 -d /builddir/build/BUILDROOT/mimedefang-2.84-9.fc33.riscv64/usr/bin install -p -m 755 -d /builddir/build/BUILDROOT/mimedefang-2.84-9.fc33.riscv64/usr/share/man/man1 install -p -m 755 -d /builddir/build/BUILDROOT/mimedefang-2.84-9.fc33.riscv64/usr/share/man/man5 install -p -m 755 -d /builddir/build/BUILDROOT/mimedefang-2.84-9.fc33.riscv64/usr/share/man/man7 install -p -m 755 -d /builddir/build/BUILDROOT/mimedefang-2.84-9.fc33.riscv64/usr/share/man/man8 test ! -d /builddir/build/BUILDROOT/mimedefang-2.84-9.fc33.riscv64/var/spool/MIMEDefang && mkdir -p /builddir/build/BUILDROOT/mimedefang-2.84-9.fc33.riscv64/var/spool/MIMEDefang && chmod 750 /builddir/build/BUILDROOT/mimedefang-2.84-9.fc33.riscv64/var/spool/MIMEDefang || true test ! -d /builddir/build/BUILDROOT/mimedefang-2.84-9.fc33.riscv64/var/spool/MD-Quarantine && mkdir -p /builddir/build/BUILDROOT/mimedefang-2.84-9.fc33.riscv64/var/spool/MD-Quarantine && chmod 750 /builddir/build/BUILDROOT/mimedefang-2.84-9.fc33.riscv64/var/spool/MD-Quarantine || true if test -f /builddir/build/BUILDROOT/mimedefang-2.84-9.fc33.riscv64/etc/mail/mimedefang-filter ; then \ install -p -m 644 examples/suggested-minimum-filter-for-windows-clients /builddir/build/BUILDROOT/mimedefang-2.84-9.fc33.riscv64/etc/mail/mimedefang-filter.example || exit 1; \ else \ install -p -m 644 examples/suggested-minimum-filter-for-windows-clients /builddir/build/BUILDROOT/mimedefang-2.84-9.fc33.riscv64/etc/mail/mimedefang-filter || exit 1; \ fi install -p -m 755 mimedefang-multiplexor /builddir/build/BUILDROOT/mimedefang-2.84-9.fc33.riscv64/usr/bin/mimedefang-multiplexor install -p -m 755 md-mx-ctrl /builddir/build/BUILDROOT/mimedefang-2.84-9.fc33.riscv64/usr/bin/md-mx-ctrl install -p -m 755 mimedefang /builddir/build/BUILDROOT/mimedefang-2.84-9.fc33.riscv64/usr/bin/mimedefang install -p -m 755 watch-mimedefang /builddir/build/BUILDROOT/mimedefang-2.84-9.fc33.riscv64/usr/bin/watch-mimedefang install -p -m 755 watch-multiple-mimedefangs.tcl /builddir/build/BUILDROOT/mimedefang-2.84-9.fc33.riscv64/usr/bin/watch-multiple-mimedefangs.tcl install -p -m 755 mimedefang.pl /builddir/build/BUILDROOT/mimedefang-2.84-9.fc33.riscv64/usr/bin/mimedefang.pl install -p -m 755 script/mimedefang-util /builddir/build/BUILDROOT/mimedefang-2.84-9.fc33.riscv64/usr/bin/mimedefang-util install -p -m 644 script/mimedefang-util.1 /builddir/build/BUILDROOT/mimedefang-2.84-9.fc33.riscv64/usr/share/man/man1/mimedefang-util.1 install -p -m 644 mimedefang.8 /builddir/build/BUILDROOT/mimedefang-2.84-9.fc33.riscv64/usr/share/man/man8/mimedefang.8 install -p -m 644 watch-mimedefang.8 /builddir/build/BUILDROOT/mimedefang-2.84-9.fc33.riscv64/usr/share/man/man8/watch-mimedefang.8 install -p -m 644 watch-multiple-mimedefangs.8 /builddir/build/BUILDROOT/mimedefang-2.84-9.fc33.riscv64/usr/share/man/man8/watch-multiple-mimedefangs.8 install -p -m 644 mimedefang.pl.8 /builddir/build/BUILDROOT/mimedefang-2.84-9.fc33.riscv64/usr/share/man/man8/mimedefang.pl.8 install -p -m 644 mimedefang-multiplexor.8 /builddir/build/BUILDROOT/mimedefang-2.84-9.fc33.riscv64/usr/share/man/man8/mimedefang-multiplexor.8 install -p -m 644 md-mx-ctrl.8 /builddir/build/BUILDROOT/mimedefang-2.84-9.fc33.riscv64/usr/share/man/man8/md-mx-ctrl.8 install -p -m 644 mimedefang-filter.5 /builddir/build/BUILDROOT/mimedefang-2.84-9.fc33.riscv64/usr/share/man/man5/mimedefang-filter.5 install -p -m 644 mimedefang-protocol.7 /builddir/build/BUILDROOT/mimedefang-2.84-9.fc33.riscv64/usr/share/man/man7/mimedefang-protocol.7 install -p -m 644 mimedefang-notify.7 /builddir/build/BUILDROOT/mimedefang-2.84-9.fc33.riscv64/usr/share/man/man7/mimedefang-notify.7 if test "yes" = "yes" ; then \ if test -f /builddir/build/BUILDROOT/mimedefang-2.84-9.fc33.riscv64/etc/mail/sa-mimedefang.cf ; then \ install -p -m 644 SpamAssassin/spamassassin.cf /builddir/build/BUILDROOT/mimedefang-2.84-9.fc33.riscv64/etc/mail/sa-mimedefang.cf.example || exit 1; \ else \ install -p -m 644 SpamAssassin/spamassassin.cf /builddir/build/BUILDROOT/mimedefang-2.84-9.fc33.riscv64/etc/mail/sa-mimedefang.cf || exit 1; \ fi \ fi install -p -m 755 -d /builddir/build/BUILDROOT/mimedefang-2.84-9.fc33.riscv64/etc/rc.d/init.d install -p -m 755 -d /builddir/build/BUILDROOT/mimedefang-2.84-9.fc33.riscv64/etc/sysconfig install -p -m 755 -d /builddir/build/BUILDROOT/mimedefang-2.84-9.fc33.riscv64/etc/logrotate.d install -p -m 0644 examples/redhat-logrotate-file /builddir/build/BUILDROOT/mimedefang-2.84-9.fc33.riscv64/etc/logrotate.d/mimedefang # We install SpamAssassin config file unconditionally for Red Hat... install -p -m 755 -d /builddir/build/BUILDROOT/mimedefang-2.84-9.fc33.riscv64/etc/mail if test -f /builddir/build/BUILDROOT/mimedefang-2.84-9.fc33.riscv64/etc/mail/sa-mimedefang.cf ; then \ install -p -m 644 SpamAssassin/spamassassin.cf /builddir/build/BUILDROOT/mimedefang-2.84-9.fc33.riscv64/etc/mail/sa-mimedefang.cf.example || exit 1; \ else \ install -p -m 644 SpamAssassin/spamassassin.cf /builddir/build/BUILDROOT/mimedefang-2.84-9.fc33.riscv64/etc/mail/sa-mimedefang.cf || exit 1; \ fi install -p -m 755 redhat/mimedefang-init /builddir/build/BUILDROOT/mimedefang-2.84-9.fc33.riscv64/etc/rc.d/init.d/mimedefang install -p -m 644 redhat/mimedefang-sysconfig /builddir/build/BUILDROOT/mimedefang-2.84-9.fc33.riscv64/etc/sysconfig/mimedefang install -p -m 644 examples/suggested-minimum-filter-for-windows-clients /builddir/build/BUILDROOT/mimedefang-2.84-9.fc33.riscv64/etc/mail/mimedefang-filter + sed -e 1d -i /builddir/build/BUILDROOT/mimedefang-2.84-9.fc33.riscv64/etc/sysconfig/mimedefang + mkdir -p /builddir/build/BUILDROOT/mimedefang-2.84-9.fc33.riscv64/var/log/mimedefang + rm -f /builddir/build/BUILDROOT/mimedefang-2.84-9.fc33.riscv64/etc/mail/sa-mimedefang.cf.example + install -D -p -m 644 /builddir/build/SOURCES/mimedefang.service /builddir/build/BUILDROOT/mimedefang-2.84-9.fc33.riscv64/usr/lib/systemd/system/mimedefang.service + install -D -p -m 644 /builddir/build/SOURCES/mimedefang-multiplexor.service /builddir/build/BUILDROOT/mimedefang-2.84-9.fc33.riscv64/usr/lib/systemd/system/mimedefang-multiplexor.service + install -D -p -m 755 /builddir/build/SOURCES/mimedefang-wrapper /builddir/build/BUILDROOT/mimedefang-2.84-9.fc33.riscv64/usr/libexec/mimedefang-wrapper + install -D -p -m 644 /builddir/build/SOURCES/mimedefang.tmpfilesd /builddir/build/BUILDROOT/mimedefang-2.84-9.fc33.riscv64/usr/lib/tmpfiles.d/mimedefang.conf + rm -f /builddir/build/BUILDROOT/mimedefang-2.84-9.fc33.riscv64/etc/rc.d/init.d/mimedefang + touch /builddir/build/BUILDROOT/mimedefang-2.84-9.fc33.riscv64/etc/mail/mimedefang-ip-key + sed -e '1s@^@#!/usr/bin/perl\n@' gen-ip-validator.pl + install -m 755 gen-ip-validator.pl.new /builddir/build/BUILDROOT/mimedefang-2.84-9.fc33.riscv64/usr/bin/gen-ip-validator.pl + touch -c -r gen-ip-validator.pl /builddir/build/BUILDROOT/mimedefang-2.84-9.fc33.riscv64/usr/bin/gen-ip-validator.pl + iconv -f iso-8859-1 -t utf-8 -o Changelog.utf8 Changelog + touch -c -r Changelog Changelog.utf8 + mv -f Changelog.utf8 Changelog + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 2.84-9.fc33 --unique-debug-suffix -2.84-9.fc33.riscv64 --unique-debug-src-base mimedefang-2.84-9.fc33.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/mimedefang-2.84 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/mimedefang-2.84-9.fc33.riscv64/usr/bin/md-mx-ctrl explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/mimedefang-2.84-9.fc33.riscv64/usr/bin/mimedefang-multiplexor explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/mimedefang-2.84-9.fc33.riscv64/usr/bin/mimedefang extracting debug info from /builddir/build/BUILDROOT/mimedefang-2.84-9.fc33.riscv64/usr/bin/md-mx-ctrl extracting debug info from /builddir/build/BUILDROOT/mimedefang-2.84-9.fc33.riscv64/usr/bin/mimedefang-multiplexor extracting debug info from /builddir/build/BUILDROOT/mimedefang-2.84-9.fc33.riscv64/usr/bin/mimedefang original debug info size: 1612kB, size after compression: 1560kB /usr/lib/rpm/sepdebugcrcfix: Updated 3 CRC32s, 0 CRC32s did match. 711 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/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs mangling shebang in /usr/libexec/mimedefang-wrapper from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/bin/watch-mimedefang from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/bin/watch-multiple-mimedefangs.tcl from /bin/sh to #!/usr/bin/sh Processing files: mimedefang-2.84-9.fc33.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.VvcJ3X + umask 022 + cd /builddir/build/BUILD + cd mimedefang-2.84 + DOCDIR=/builddir/build/BUILDROOT/mimedefang-2.84-9.fc33.riscv64/usr/share/doc/mimedefang + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/mimedefang-2.84-9.fc33.riscv64/usr/share/doc/mimedefang + cp -pr README /builddir/build/BUILDROOT/mimedefang-2.84-9.fc33.riscv64/usr/share/doc/mimedefang + cp -pr README.NONROOT README.SECURITY README.SOPHIE README.SPAMASSASSIN README.VEXIRA README.FEDORA /builddir/build/BUILDROOT/mimedefang-2.84-9.fc33.riscv64/usr/share/doc/mimedefang + cp -pr Changelog /builddir/build/BUILDROOT/mimedefang-2.84-9.fc33.riscv64/usr/share/doc/mimedefang + cp -pr contrib/word-to-html contrib/linuxorg contrib/fang.pl /builddir/build/BUILDROOT/mimedefang-2.84-9.fc33.riscv64/usr/share/doc/mimedefang + cp -pr examples/stream-by-domain-filter examples/suggested-minimum-filter-for-windows-clients /builddir/build/BUILDROOT/mimedefang-2.84-9.fc33.riscv64/usr/share/doc/mimedefang + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.r7NKMY + umask 022 + cd /builddir/build/BUILD + cd mimedefang-2.84 + LICENSEDIR=/builddir/build/BUILDROOT/mimedefang-2.84-9.fc33.riscv64/usr/share/licenses/mimedefang + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/mimedefang-2.84-9.fc33.riscv64/usr/share/licenses/mimedefang + cp -pr COPYING /builddir/build/BUILDROOT/mimedefang-2.84-9.fc33.riscv64/usr/share/licenses/mimedefang + RPM_EC=0 ++ jobs -p + exit 0 Provides: config(mimedefang) = 2.84-9.fc33 mimedefang = 2.84-9.fc33 mimedefang(riscv-64) = 2.84-9.fc33 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 perl(Digest::SHA1) systemd Requires(preun): /bin/sh systemd Requires(postun): /bin/sh systemd Requires: /usr/bin/perl /usr/bin/sh ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libmilter.so.1.0()(64bit) libperl.so.5.32()(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.27)(64bit) perl(:VERSION) >= 5.8.0 perl(Data::Dumper) perl(Digest::SHA1) perl(File::Spec) perl(File::Temp) perl(Getopt::Long) perl(IO::File) perl(IO::Handle) perl(IO::Select) perl(IO::Socket) perl(MIME::Parser) perl(MIME::Tools) >= 5.410 perl(MIME::Words) perl(Pod::Usage) perl(Socket) perl(Sys::Hostname) perl(Time::Local) perl(lib) perl(strict) perl(vars) perl(warnings) rtld(GNU_HASH) Processing files: mimedefang-debugsource-2.84-9.fc33.riscv64 Provides: mimedefang-debugsource = 2.84-9.fc33 mimedefang-debugsource(riscv-64) = 2.84-9.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: mimedefang-debuginfo-2.84-9.fc33.riscv64 Provides: debuginfo(build-id) = 47d866346a3faf9eb8619b3af983119871918c7f debuginfo(build-id) = 4d1f3f00d12dacf9c4a66afa3b1b4f0d01004720 debuginfo(build-id) = 4e4a266439e27cbe53dca11041c1c56c1e8a3b69 mimedefang-debuginfo = 2.84-9.fc33 mimedefang-debuginfo(riscv-64) = 2.84-9.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: mimedefang-debugsource(riscv-64) = 2.84-9.fc33 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/mimedefang-2.84-9.fc33.riscv64 Wrote: /builddir/build/RPMS/mimedefang-debugsource-2.84-9.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/mimedefang-debuginfo-2.84-9.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/mimedefang-2.84-9.fc33.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.SZlS8Y + umask 022 + cd /builddir/build/BUILD + cd mimedefang-2.84 + /usr/bin/rm -rf /builddir/build/BUILDROOT/mimedefang-2.84-9.fc33.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0