Mock Version: 1.4.14 Mock Version: 1.4.14 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/mimedefang.spec'], chrootPath='/var/lib/mock/f31-build-87100-31718/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=345600uid=986gid=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=1564012800 Wrote: /builddir/build/SRPMS/mimedefang-2.84-6.fc31.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/mimedefang.spec'], chrootPath='/var/lib/mock/f31-build-87100-31718/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=345600uid=986gid=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=1564012800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.TAsx9M + 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 BUILDSTDERR: gpgv: Signature made Wed Mar 21 10:42:21 2018 EDT BUILDSTDERR: gpgv: using DSA key C1842E2A126F42E0 BUILDSTDERR: gpgv: Good signature from "Dianne Skoll " BUILDSTDERR: 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 BUILDSTDERR: ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.YsYnvQ + umask 022 + cd /builddir/build/BUILD + cd mimedefang-2.84 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + '[' 1 = 1 ']' BUILDSTDERR: +++ dirname ./configure BUILDSTDERR: ++ find . -name config.guess -o -name config.sub + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' BUILDSTDERR: ++ find . -name ltmain.sh + ./configure --build=riscv64-koji-linux-gnu --host=riscv64-koji-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 BUILDSTDERR: configure: WARNING: unrecognized options: --disable-dependency-tracking checking for riscv64-koji-linux-gnu-gcc... no checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for 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.30 checking for Perl installation variable installsitelib... /usr/local/share/perl5/5.30 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... yes 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 BUILDSTDERR: config.status: crconfigure: WARNING: unrecognized options: --disable-dependency-tracking + make -j4 BUILDSTDERR: In file included from /usr/include/sys/types.h:25, BUILDSTDERR: from ./mimedefang.h:21, BUILDSTDERR: from ./mimedefang.c:35: BUILDSTDERR: /usr/include/features.h:185:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] BUILDSTDERR: 185 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: In file included from /usr/include/sys/types.h:25, BUILDSTDERR: from ./mimedefang.h:21, BUILDSTDERR: from ./utils.c:24: BUILDSTDERR: /usr/include/features.h:185:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] BUILDSTDERR: 185 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./rm_r.c: In function 'rm_r': BUILDSTDERR: ./rm_r.c:108:2: warning: 'readdir_r' is deprecated [-Wdeprecated-declarations] BUILDSTDERR: 108 | n = readdir_r(d, entry, &result); BUILDSTDERR: | ^ BUILDSTDERR: In file included from ./rm_r.c:20: BUILDSTDERR: /usr/include/dirent.h:183:12: note: declared here BUILDSTDERR: 183 | extern int readdir_r (DIR *__restrict __dirp, BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./utils.c: In function 'write_and_lock_pidfile': BUILDSTDERR: ./utils.c:1339:2: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 1339 | ftruncate(pidfile_fd, 0); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./utils.c:1341:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 1341 | write(pidfile_fd, buf, strlen(buf)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ eating watch-mimedefang config.status: creating redhat/mimedefang-init config.status: creating redhat/mimedefang-sysconfig config.status: creating config.h *** 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. gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wstrict-prototypes -pthread -D_POSIX_PTHREAD_SEMANTICS -DEMBED_PERL -DSAFE_EMBED_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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wstrict-prototypes -pthread -D_POSIX_PTHREAD_SEMANTICS -DEMBED_PERL -DSAFE_EMBED_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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wstrict-prototypes -pthread -D_POSIX_PTHREAD_SEMANTICS -DEMBED_PERL -DSAFE_EMBED_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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wstrict-prototypes -pthread -D_POSIX_PTHREAD_SEMANTICS -DEMBED_PERL -DSAFE_EMBED_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 gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wstrict-prototypes -pthread -D_POSIX_PTHREAD_SEMANTICS -DEMBED_PERL -DSAFE_EMBED_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 BUILDSTDERR: gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc./mimedefang.c: In function 'main': BUILDSTDERR: ./mimedefang.c:2655:2: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 2655 | fgets(ValidateHeader, sizeof(ValidateHeader), fp); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./mimedefang.c:2293:57: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 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) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./mimedefang.c:2713:6: note: in expansion of macro 'REPORT_FAILURE' BUILDSTDERR: 2713 | REPORT_FAILURE("fork() failed"); BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: ./mimedefang.c:2293:57: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 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) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./mimedefang.c:2739:6: note: in expansion of macro 'REPORT_FAILURE' BUILDSTDERR: 2739 | REPORT_FAILURE("Cannot lock lockfile: Is another copy running?"); BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: ./mimedefang.c:2293:57: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 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) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./mimedefang.c:2790:2: note: in expansion of macro 'REPORT_FAILURE' BUILDSTDERR: 2790 | REPORT_FAILURE("Multiplexor socket did not appear. Exiting."); BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: ./mimedefang.c:2798:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 2798 | write(kidpipe[1], "X", 1); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./mimedefang-multiplexor.c: In function 'main': BUILDSTDERR: ./mimedefang-multiplexor.c:357:57: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 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) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./mimedefang-multiplexor.c:1060:6: note: in expansion of macro 'REPORT_FAILURE' BUILDSTDERR: 1060 | REPORT_FAILURE("Cannot lock lockfile: Is another copy running?"); BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: ./mimedefang-multiplexor.c:357:57: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 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) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./mimedefang-multiplexor.c:1085:2: note: in expansion of macro 'REPORT_FAILURE' BUILDSTDERR: 1085 | REPORT_FAILURE("Unable to allocate memory for workers"); BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: ./mimedefang-multiplexor.c:357:57: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 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) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./mimedefang-multiplexor.c:1094:2: note: in expansion of macro 'REPORT_FAILURE' BUILDSTDERR: 1094 | REPORT_FAILURE("Could not create event selector"); BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: ./mimedefang-multiplexor.c:357:57: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 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) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./mimedefang-multiplexor.c:1156:6: note: in expansion of macro 'REPORT_FAILURE' BUILDSTDERR: 1156 | REPORT_FAILURE("Argument to -s option must be a UNIX-domain socket, not a TCP socket."); BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: ./mimedefang-multiplexor.c:357:57: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 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) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./mimedefang-multiplexor.c:1158:6: note: in expansion of macro 'REPORT_FAILURE' BUILDSTDERR: 1158 | REPORT_FAILURE("Unable to create listening socket."); BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: ./mimedefang-multiplexor.c:357:57: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 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) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./mimedefang-multiplexor.c:1168:2: note: in expansion of macro 'REPORT_FAILURE' BUILDSTDERR: 1168 | REPORT_FAILURE("Could not make accept() handler"); BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: ./mimedefang-multiplexor.c:357:57: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 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) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./mimedefang-multiplexor.c:1182:6: note: in expansion of macro 'REPORT_FAILURE' BUILDSTDERR: 1182 | REPORT_FAILURE("Unable to create unprivileged listening socket"); BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: ./mimedefang-multiplexor.c:357:57: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 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) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./mimedefang-multiplexor.c:1189:6: note: in expansion of macro 'REPORT_FAILURE' BUILDSTDERR: 1189 | REPORT_FAILURE("Could not make accept() handler"); BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: ./mimedefang-multiplexor.c:357:57: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 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) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./mimedefang-multiplexor.c:1201:2: note: in expansion of macro 'REPORT_FAILURE' BUILDSTDERR: 1201 | REPORT_FAILURE("pipe() call failed"); BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: ./mimedefang-multiplexor.c:357:57: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 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) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./mimedefang-multiplexor.c:1213:2: note: in expansion of macro 'REPORT_FAILURE' BUILDSTDERR: 1213 | REPORT_FAILURE("Could not make pipe handler"); BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: ./mimedefang-multiplexor.c:357:57: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 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) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./mimedefang-multiplexor.c:1251:2: note: in expansion of macro 'REPORT_FAILURE' BUILDSTDERR: 1251 | REPORT_FAILURE("sigaction failed - exiting."); BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: ./mimedefang-multiplexor.c:357:57: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 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) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./mimedefang-multiplexor.c:1262:2: note: in expansion of macro 'REPORT_FAILURE' BUILDSTDERR: 1262 | REPORT_FAILURE("sigaction failed - exiting."); BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: ./mimedefang-multiplexor.c:357:57: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 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) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./mimedefang-multiplexor.c:1297:2: note: in expansion of macro 'REPORT_FAILURE' BUILDSTDERR: 1297 | REPORT_FAILURE("sigaction failed - exiting."); BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: ./mimedefang-multiplexor.c:1360:5: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 1360 | write(kidpipe[1], "X", 1); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./mimedefang-multiplexor.c: In function 'intHandler': BUILDSTDERR: ./mimedefang-multiplexor.c:2975:6: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 2975 | write(Pipe[1], &byte, 1); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./mimedefang-multiplexor.c: In function 'hupHandler': BUILDSTDERR: ./mimedefang-multiplexor.c:2950:6: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 2950 | write(Pipe[1], &byte, 1); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./mimedefang-multiplexor.c: In function 'handlePipe': BUILDSTDERR: ./mimedefang-multiplexor.c:3019:5: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 3019 | read(fd, buf, 64); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~ BUILDSTDERR: ./mimedefang-multiplexor.c: In function 'childHandler': BUILDSTDERR: ./mimedefang-multiplexor.c:2925:6: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 2925 | write(Pipe[1], &byte, 1); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~ 1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wstrict-prototypes -pthread -D_POSIX_PTHREAD_SEMANTICS -DEMBED_PERL -DSAFE_EMBED_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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wstrict-prototypes -pthread -D_POSIX_PTHREAD_SEMANTICS -DEMBED_PERL -DSAFE_EMBED_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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wstrict-prototypes -pthread -D_POSIX_PTHREAD_SEMANTICS -DEMBED_PERL -DSAFE_EMBED_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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wstrict-prototypes -D_POSIX_PTHREAD_SEMANTICS -DEMBED_PERL -DSAFE_EMBED_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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wstrict-prototypes -D_POSIX_PTHREAD_SEMANTICS -DEMBED_PERL -DSAFE_EMBED_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 gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wstrict-prototypes -D_POSIX_PTHREAD_SEMANTICS -DEMBED_PERL -DSAFE_EMBED_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 BUILDSTDERR: gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wstrict-prototypes -D_POSIX_PTHREAD_SEMANTICS -DEMBED_PERL -DSAFE_EMBED_PERL -DPERL_PATH=\"/usr/bin/perl\" -DMIMEDEFANG_PL=\"/usr/bin/mimedefang.pl\" -DRM=\"/usr/bin/rm\" -DVERSION=\"2.84\" -DSPOOLDIR=\"/var/spoo./mimedefang-multiplexor.c: In function 'handleWorkerStatusFD': BUILDSTDERR: ./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=] BUILDSTDERR: 1529 | snprintf(s->status_tag, sizeof(s->status_tag), "%s", ptr); BUILDSTDERR: | ^~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from ./mimedefang-multiplexor.c:44: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin_snprintf' output between 1 and 512 bytes into a destination of size 64 BUILDSTDERR: 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 68 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ l/MIMEDefang\" -DQDIR=\"/var/spool/MD-Quarantine\" -DCONFDIR=\"/etc/mail\" -c -o drop_privs_nothread.o ./drop_privs.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wstrict-prototypes -D_POSIX_PTHREAD_SEMANTICS -DEMBED_PERL -DSAFE_EMBED_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 gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wstrict-prototypes -D_REENTRANT -D_GNU_SOURCE -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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 -DSAFE_EMBED_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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wstrict-prototypes -D_POSIX_PTHREAD_SEMANTICS -DEMBED_PERL -DSAFE_EMBED_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 gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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 Manifying 1 pod document BUILDSTDERR: gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wstrict-prototypes -D_REENTRANT -D_GNU_SOURCE -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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_SE./embperl.c:26:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] BUILDSTDERR: 26 | extern void xs_init (); BUILDSTDERR: | ^~~~~~ + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 MANTICS -DEMBED_PERL -DSAFE_EMBED_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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wstrict-prototypes -o md-mx-ctrl md-mx-ctrl.o gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.6GAqCP + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/mimedefang-2.84-6.fc31.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/mimedefang-2.84-6.fc31.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/mimedefang-2.84-6.fc31.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/mimedefang-2.84-6.fc31.riscv64 + cd mimedefang-2.84 + rm -rf /builddir/build/BUILDROOT/mimedefang-2.84-6.fc31.riscv64 + make DESTDIR=/builddir/build/BUILDROOT/mimedefang-2.84-6.fc31.riscv64 'INSTALL=install -p' INSTALL_STRIP_FLAG= install-redhat install -p -m 755 -d /builddir/build/BUILDROOT/mimedefang-2.84-6.fc31.riscv64/etc/mail if test "no" = "yes" -a ! -f "/builddir/build/BUILDROOT/mimedefang-2.84-6.fc31.riscv64/etc/mail/mimedefang-ip-key" ; then \ /usr/bin/perl ./gen-ip-validator.pl > /builddir/build/BUILDROOT/mimedefang-2.84-6.fc31.riscv64/etc/mail/mimedefang-ip-key ;\ -chmod 600 /builddir/build/BUILDROOT/mimedefang-2.84-6.fc31.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-6.fc31.riscv64/etc/mail/mimedefang-ip-key > /dev/null 2>&1 || true; \ test ! -d /builddir/build/BUILDROOT/mimedefang-2.84-6.fc31.riscv64/var/spool/MIMEDefang && install -p -m 750 -o defang -d /builddir/build/BUILDROOT/mimedefang-2.84-6.fc31.riscv64/var/spool/MIMEDefang > /dev/null 2>&1 || true; \ test ! -d /builddir/build/BUILDROOT/mimedefang-2.84-6.fc31.riscv64/var/spool/MD-Quarantine && install -p -m 750 -o defang -d /builddir/build/BUILDROOT/mimedefang-2.84-6.fc31.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-6.fc31.riscv64/usr/bin install -p -m 755 -d /builddir/build/BUILDROOT/mimedefang-2.84-6.fc31.riscv64/usr/share/man/man1 install -p -m 755 -d /builddir/build/BUILDROOT/mimedefang-2.84-6.fc31.riscv64/usr/share/man/man5 install -p -m 755 -d /builddir/build/BUILDROOT/mimedefang-2.84-6.fc31.riscv64/usr/share/man/man7 install -p -m 755 -d /builddir/build/BUILDROOT/mimedefang-2.84-6.fc31.riscv64/usr/share/man/man8 test ! -d /builddir/build/BUILDROOT/mimedefang-2.84-6.fc31.riscv64/var/spool/MIMEDefang && mkdir -p /builddir/build/BUILDROOT/mimedefang-2.84-6.fc31.riscv64/var/spool/MIMEDefang && chmod 750 /builddir/build/BUILDROOT/mimedefang-2.84-6.fc31.riscv64/var/spool/MIMEDefang || true test ! -d /builddir/build/BUILDROOT/mimedefang-2.84-6.fc31.riscv64/var/spool/MD-Quarantine && mkdir -p /builddir/build/BUILDROOT/mimedefang-2.84-6.fc31.riscv64/var/spool/MD-Quarantine && chmod 750 /builddir/build/BUILDROOT/mimedefang-2.84-6.fc31.riscv64/var/spool/MD-Quarantine || true if test -f /builddir/build/BUILDROOT/mimedefang-2.84-6.fc31.riscv64/etc/mail/mimedefang-filter ; then \ install -p -m 644 examples/suggested-minimum-filter-for-windows-clients /builddir/build/BUILDROOT/mimedefang-2.84-6.fc31.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-6.fc31.riscv64/etc/mail/mimedefang-filter || exit 1; \ fi install -p -m 755 mimedefang-multiplexor /builddir/build/BUILDROOT/mimedefang-2.84-6.fc31.riscv64/usr/bin/mimedefang-multiplexor install -p -m 755 md-mx-ctrl /builddir/build/BUILDROOT/mimedefang-2.84-6.fc31.riscv64/usr/bin/md-mx-ctrl install -p -m 755 mimedefang /builddir/build/BUILDROOT/mimedefang-2.84-6.fc31.riscv64/usr/bin/mimedefang install -p -m 755 watch-mimedefang /builddir/build/BUILDROOT/mimedefang-2.84-6.fc31.riscv64/usr/bin/watch-mimedefang install -p -m 755 watch-multiple-mimedefangs.tcl /builddir/build/BUILDROOT/mimedefang-2.84-6.fc31.riscv64/usr/bin/watch-multiple-mimedefangs.tcl install -p -m 755 mimedefang.pl /builddir/build/BUILDROOT/mimedefang-2.84-6.fc31.riscv64/usr/bin/mimedefang.pl install -p -m 755 script/mimedefang-util /builddir/build/BUILDROOT/mimedefang-2.84-6.fc31.riscv64/usr/bin/mimedefang-util install -p -m 644 script/mimedefang-util.1 /builddir/build/BUILDROOT/mimedefang-2.84-6.fc31.riscv64/usr/share/man/man1/mimedefang-util.1 BUILDSTDERR: install -p -m 644 mi+ sed -e 1d -i /builddir/build/BUILDROOT/mimedefang-2.84-6.fc31.riscv64/etc/sysconfig/mimedefang + mkdir -p /builddir/build/BUILDROOT/mimedefang-2.84-6.fc31.riscv64/var/log/mimedefang + rm -f /builddir/build/BUILDROOT/mimedefang-2.84-6.fc31.riscv64/etc/mail/sa-mimedefang.cf.example + install -D -p -m 644 /builddir/build/SOURCES/mimedefang.service /builddir/build/BUILDROOT/mimedefang-2.84-6.fc31.riscv64/usr/lib/systemd/system/mimedefang.service + install -D -p -m 644 /builddir/build/SOURCES/mimedefang-multiplexor.service /builddir/build/BUILDROOT/mimedefang-2.84-6.fc31.riscv64/usr/lib/systemd/system/mimedefang-multiplexor.service + install -D -p -m 755 /builddir/build/SOURCES/mimedefang-wrapper /builddir/build/BUILDROOT/mimedefang-2.84-6.fc31.riscv64/usr/libexec/mimedefang-wrapper + install -D -p -m 644 /builddir/build/SOURCES/mimedefang.tmpfilesd /builddir/build/BUILDROOT/mimedefang-2.84-6.fc31.riscv64/usr/lib/tmpfiles.d/mimedefang.conf + rm -f /builddir/build/BUILDROOT/mimedefang-2.84-6.fc31.riscv64/etc/rc.d/init.d/mimedefang + touch /builddir/build/BUILDROOT/mimedefang-2.84-6.fc31.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-6.fc31.riscv64/usr/bin/gen-ip-validator.pl + touch -c -r gen-ip-validator.pl /builddir/build/BUILDROOT/mimedefang-2.84-6.fc31.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-6.fc31 --unique-debug-suffix -2.84-6.fc31.riscv64 --unique-debug-src-base mimedefang-2.84-6.fc31.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/mimedefang-2.84 BUILDSTDERR: 711 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-python-bytecompile /usr/bin/python 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs medefang.8 /builddir/build/BUILDROOT/mimedefang-2.84-6.fc31.riscv64/usr/share/man/man8/mimedefang.8 install -p -m 644 watch-mimedefang.8 /builddir/build/BUILDROOT/mimedefang-2.84-6.fc31.riscv64/usr/share/man/man8/watch-mimedefang.8 install -p -m 644 watch-multiple-mimedefangs.8 /builddir/build/BUILDROOT/mimedefang-2.84-6.fc31.riscv64/usr/share/man/man8/watch-multiple-mimedefangs.8 install -p -m 644 mimedefang.pl.8 /builddir/build/BUILDROOT/mimedefang-2.84-6.fc31.riscv64/usr/share/man/man8/mimedefang.pl.8 install -p -m 644 mimedefang-multiplexor.8 /builddir/build/BUILDROOT/mimedefang-2.84-6.fc31.riscv64/usr/share/man/man8/mimedefang-multiplexor.8 install -p -m 644 md-mx-ctrl.8 /builddir/build/BUILDROOT/mimedefang-2.84-6.fc31.riscv64/usr/share/man/man8/md-mx-ctrl.8 install -p -m 644 mimedefang-filter.5 /builddir/build/BUILDROOT/mimedefang-2.84-6.fc31.riscv64/usr/share/man/man5/mimedefang-filter.5 install -p -m 644 mimedefang-protocol.7 /builddir/build/BUILDROOT/mimedefang-2.84-6.fc31.riscv64/usr/share/man/man7/mimedefang-protocol.7 install -p -m 644 mimedefang-notify.7 /builddir/build/BUILDROOT/mimedefang-2.84-6.fc31.riscv64/usr/share/man/man7/mimedefang-notify.7 if test "yes" = "yes" ; then \ if test -f /builddir/build/BUILDROOT/mimedefang-2.84-6.fc31.riscv64/etc/mail/sa-mimedefang.cf ; then \ install -p -m 644 SpamAssassin/spamassassin.cf /builddir/build/BUILDROOT/mimedefang-2.84-6.fc31.riscv64/etc/mail/sa-mimedefang.cf.example || exit 1; \ else \ install -p -m 644 SpamAssassin/spamassassin.cf /builddir/build/BUILDROOT/mimedefang-2.84-6.fc31.riscv64/etc/mail/sa-mimedefang.cf || exit 1; \ fi \ fi install -p -m 755 -d /builddir/build/BUILDROOT/mimedefang-2.84-6.fc31.riscv64/etc/rc.d/init.d install -p -m 755 -d /builddir/build/BUILDROOT/mimedefang-2.84-6.fc31.riscv64/etc/sysconfig install -p -m 755 -d /builddir/build/BUILDROOT/mimedefang-2.84-6.fc31.riscv64/etc/logrotate.d install -p -m 0644 examples/redhat-logrotate-file /builddir/build/BUILDROOT/mimedefang-2.84-6.fc31.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-6.fc31.riscv64/etc/mail if test -f /builddir/build/BUILDROOT/mimedefang-2.84-6.fc31.riscv64/etc/mail/sa-mimedefang.cf ; then \ install -p -m 644 SpamAssassin/spamassassin.cf /builddir/build/BUILDROOT/mimedefang-2.84-6.fc31.riscv64/etc/mail/sa-mimedefang.cf.example || exit 1; \ else \ install -p -m 644 SpamAssassin/spamassassin.cf /builddir/build/BUILDROOT/mimedefang-2.84-6.fc31.riscv64/etc/mail/sa-mimedefang.cf || exit 1; \ fi install -p -m 755 redhat/mimedefang-init /builddir/build/BUILDROOT/mimedefang-2.84-6.fc31.riscv64/etc/rc.d/init.d/mimedefang install -p -m 644 redhat/mimedefang-sysconfig /builddir/build/BUILDROOT/mimedefang-2.84-6.fc31.riscv64/etc/sysconfig/mimedefang install -p -m 644 examples/suggested-minimum-filter-for-windows-clients /builddir/build/BUILDROOT/mimedefang-2.84-6.fc31.riscv64/etc/mail/mimedefang-filter explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/mimedefang-2.84-6.fc31.riscv64/usr/bin/md-mx-ctrl explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/mimedefang-2.84-6.fc31.riscv64/usr/bin/mimedefang explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/mimedefang-2.84-6.fc31.riscv64/usr/bin/mimedefang-multiplexor extracting debug info from /builddir/build/BUILDROOT/mimedefang-2.84-6.fc31.riscv64/usr/bin/md-mx-ctrl extracting debug info from /builddir/build/BUILDROOT/mimedefang-2.84-6.fc31.riscv64/usr/bin/mimedefang extracting debug info from /builddir/build/BUILDROOT/mimedefang-2.84-6.fc31.riscv64/usr/bin/mimedefang-multiplexor original debug info size: 704kB, size after compression: 648kB /usr/lib/rpm/sepdebugcrcfix: Updated 3 CRC32s, 0 CRC32s did match. 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 mangling shebang in /usr/libexec/mimedefang-wrapper from /bin/sh to #!/usr/bin/sh Processing files: mimedefang-2.84-6.fc31.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.uynUqP + umask 022 + cd /builddir/build/BUILD + cd mimedefang-2.84 + DOCDIR=/builddir/build/BUILDROOT/mimedefang-2.84-6.fc31.riscv64/usr/share/doc/mimedefang + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/mimedefang-2.84-6.fc31.riscv64/usr/share/doc/mimedefang + cp -pr README /builddir/build/BUILDROOT/mimedefang-2.84-6.fc31.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-6.fc31.riscv64/usr/share/doc/mimedefang + cp -pr Changelog /builddir/build/BUILDROOT/mimedefang-2.84-6.fc31.riscv64/usr/share/doc/mimedefang + cp -pr contrib/word-to-html contrib/linuxorg contrib/fang.pl /builddir/build/BUILDROOT/mimedefang-2.84-6.fc31.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-6.fc31.riscv64/usr/share/doc/mimedefang + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.k8tqcQ + umask 022 + cd /builddir/build/BUILD + cd mimedefang-2.84 + LICENSEDIR=/builddir/build/BUILDROOT/mimedefang-2.84-6.fc31.riscv64/usr/share/licenses/mimedefang + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/mimedefang-2.84-6.fc31.riscv64/usr/share/licenses/mimedefang + cp -pr COPYING /builddir/build/BUILDROOT/mimedefang-2.84-6.fc31.riscv64/usr/share/licenses/mimedefang + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Provides: config(mimedefang) = 2.84-6.fc31 mimedefang = 2.84-6.fc31 mimedefang(riscv-64) = 2.84-6.fc31 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.30()(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-6.fc31.riscv64 Provides: mimedefang-debugsource = 2.84-6.fc31 mimedefang-debugsource(riscv-64) = 2.84-6.fc31 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-6.fc31.riscv64 Provides: debuginfo(build-id) = 1360c12ecc1aa5e21e754b0c03742b2a77f538a3 debuginfo(build-id) = bb063990b8707f51080b8a0f59ce7baf9d338119 debuginfo(build-id) = cc28d5798c9ba8709c398d960bee2392e117a1c2 mimedefang-debuginfo = 2.84-6.fc31 mimedefang-debuginfo(riscv-64) = 2.84-6.fc31 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-6.fc31 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/mimedefang-2.84-6.fc31.riscv64 Wrote: /builddir/build/RPMS/mimedefang-debugsource-2.84-6.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/mimedefang-debuginfo-2.84-6.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/mimedefang-2.84-6.fc31.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.1trh8N + umask 022 + cd /builddir/build/BUILD + cd mimedefang-2.84 + /usr/bin/rm -rf /builddir/build/BUILDROOT/mimedefang-2.84-6.fc31.riscv64 + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Child return code was: 0