* Package: mail-filter/mimedefang-2.74 * Repository: gentoo * Maintainer: net-mail@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux poll userland_GNU * FEATURES: preserve-libs sandbox userpriv usersandbox * Adding group 'defang' to your system ... * - Groupid: next available * Adding user 'defang' to your system ... * - Userid: 169 * - Shell: /sbin/nologin * - Home: /dev/null * - Groups: defang * - GECOS: added by portage for mimedefang * Applying mimedefang-2.72-ldflags.patch ... [ ok ] checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-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 x86_64-pc-linux-gnu-gcc accepts -g... yes checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... none needed checking for ar... ar checking for a BSD-compatible install... /usr/bin/install -c 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/5.18.2/x86_64-linux checking for Perl installation variable installprivlib... /usr/lib64/perl5/5.18.2 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.18.2/x86_64-linux checking for Perl installation variable installsitelib... /usr/local/lib64/perl5/5.18.2 checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /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 checking for Perl module IO::Socket... ok checking for Perl module MIME::Tools 5.410 ()... ok checking for Perl module MIME::WordDecoder... ok checking for Perl module Digest::SHA1... ok checking for Perl module Mail::SpamAssassin 3.0 or better... no checking for Perl module HTML::Parser... yes checking for Perl module Archive::Zip... yes checking MIME-Tools version... 5.504 checking for Perl module Sys::Syslog... ok checking for Perl module Unix::Syslog... ok 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 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 x86_64-pc-linux-gnu-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... yes 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 libmilter/mfapi.h... /usr/include/libmilter/mfapi.h checking for antivir... /bin/false checking for vascan... /bin/false checking for uvscan... /bin/false checking for bdc... /bin/false checking for sweep... /bin/false checking for savscan... /bin/false checking for vscan... /bin/false checking for kavscanner... /bin/false checking for AvpLinux... /bin/false checking for kavdaemon... /bin/false checking for aveclient... /bin/false checking for csav... /bin/false checking for fsav... /bin/false checking for f-prot... /bin/false checking for fpscan... /bin/false checking for sophie... /bin/false checking for nvcc... /bin/false checking for trophie... /bin/false checking for nod32cli... /bin/false checking for libmilter.a... /usr/lib/libmilter.a checking for libsm.a... no checking for libmilter.so... /usr/lib/libmilter.so checking for sendmail... /usr/sbin/sendmail checking for rm... /bin/rm 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 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 *** Virus scanner detection results: H+BEDV 'antivir' NO (not found) Vexira 'vascan' NO (not found) NAI 'uvscan' NO (not found) BDC 'bdc' NO (not found) Sophos 'sweep' NO (not found) Sophos 'savscan' NO (not found) TREND 'vscan' NO (not found) CLAMSCAN 'clamav' NO (Disabled by configure command) AVP 'AvpLinux' NO (not found) AVP5 'aveclient' NO (not found) KAVSCANNER 'kavscanner' NO (not found) CSAV 'csav' NO (not found) FSAV 'fsav' NO (not found) FPROT 'f-prot' NO (not found) FPSCAN 'fpscan' NO (not found) SOPHIE 'sophie' NO (not found) NVCC 'nvcc' NO (not found) CLAMD 'clamd' NO (Disabled by configure command) TROPHIE 'trophie' NO (not found) NOD32 'nod32cli' NO (not found) Could not find any recognized virus scanner... do not use any of the contains_virus functions in your filter. Did not find Mail::SpamAssassin. Do not use spam_assassin_* functions Found HTML::Parser. You may use append_html_boilerplate() 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. x86_64-pc-linux-gnu-gcc -march=native -Wformat -Werror=format-security -g0 -O2 -Wall -Wstrict-prototypes -pthread -D_POSIX_PTHREAD_SEMANTICS -DEMBED_PERL -DSAFE_EMBED_PERL -DEVENT_USE_POLL=1 -DPERL_PATH=\"/usr/bin/perl\" -DMIMEDEFANG_PL=\"/usr/bin/mimedefang.pl\" -DRM=\"/bin/rm\" -DVERSION=\"2.74\" -DSPOOLDIR=\"/var/spool/MIMEDefang\" -DQDIR=\"/var/spool/MD-Quarantine\" -DCONFDIR=\"/etc/mail\" -c -o mimedefang.o ./mimedefang.c x86_64-pc-linux-gnu-gcc -march=native -Wformat -Werror=format-security -g0 -O2 -Wall -Wstrict-prototypes -pthread -D_POSIX_PTHREAD_SEMANTICS -DEMBED_PERL -DSAFE_EMBED_PERL -DEVENT_USE_POLL=1 -DPERL_PATH=\"/usr/bin/perl\" -DMIMEDEFANG_PL=\"/usr/bin/mimedefang.pl\" -DRM=\"/bin/rm\" -DVERSION=\"2.74\" -DSPOOLDIR=\"/var/spool/MIMEDefang\" -DQDIR=\"/var/spool/MD-Quarantine\" -DCONFDIR=\"/etc/mail\" -c -o drop_privs_threaded.o ./drop_privs.c x86_64-pc-linux-gnu-gcc -march=native -Wformat -Werror=format-security -g0 -O2 -Wall -Wstrict-prototypes -pthread -D_POSIX_PTHREAD_SEMANTICS -DEMBED_PERL -DSAFE_EMBED_PERL -DEVENT_USE_POLL=1 -DPERL_PATH=\"/usr/bin/perl\" -DMIMEDEFANG_PL=\"/usr/bin/mimedefang.pl\" -DRM=\"/bin/rm\" -DVERSION=\"2.74\" -DSPOOLDIR=\"/var/spool/MIMEDefang\" -DQDIR=\"/var/spool/MD-Quarantine\" -DCONFDIR=\"/etc/mail\" -c -o utils.o ./utils.c x86_64-pc-linux-gnu-gcc -march=native -Wformat -Werror=format-security -g0 -O2 -Wall -Wstrict-prototypes -pthread -D_POSIX_PTHREAD_SEMANTICS -DEMBED_PERL -DSAFE_EMBED_PERL -DEVENT_USE_POLL=1 -DPERL_PATH=\"/usr/bin/perl\" -DMIMEDEFANG_PL=\"/usr/bin/mimedefang.pl\" -DRM=\"/bin/rm\" -DVERSION=\"2.74\" -DSPOOLDIR=\"/var/spool/MIMEDefang\" -DQDIR=\"/var/spool/MD-Quarantine\" -DCONFDIR=\"/etc/mail\" -c -o rm_r.o ./rm_r.c x86_64-pc-linux-gnu-gcc -march=native -Wformat -Werror=format-security -g0 -O2 -Wall -Wstrict-prototypes -pthread -D_POSIX_PTHREAD_SEMANTICS -DEMBED_PERL -DSAFE_EMBED_PERL -DEVENT_USE_POLL=1 -DPERL_PATH=\"/usr/bin/perl\" -DMIMEDEFANG_PL=\"/usr/bin/mimedefang.pl\" -DRM=\"/bin/rm\" -DVERSION=\"2.74\" -DSPOOLDIR=\"/var/spool/MIMEDefang\" -DQDIR=\"/var/spool/MD-Quarantine\" -DCONFDIR=\"/etc/mail\" -c -o syslog-fac.o ./syslog-fac.c x86_64-pc-linux-gnu-gcc -march=native -Wformat -Werror=format-security -g0 -O2 -Wall -Wstrict-prototypes -pthread -D_POSIX_PTHREAD_SEMANTICS -DEMBED_PERL -DSAFE_EMBED_PERL -DEVENT_USE_POLL=1 -DPERL_PATH=\"/usr/bin/perl\" -DMIMEDEFANG_PL=\"/usr/bin/mimedefang.pl\" -DRM=\"/bin/rm\" -DVERSION=\"2.74\" -DSPOOLDIR=\"/var/spool/MIMEDefang\" -DQDIR=\"/var/spool/MD-Quarantine\" -DCONFDIR=\"/etc/mail\" -c -o dynbuf.o ./dynbuf.c x86_64-pc-linux-gnu-gcc -march=native -Wformat -Werror=format-security -g0 -O2 -Wall -Wstrict-prototypes -pthread -D_POSIX_PTHREAD_SEMANTICS -DEMBED_PERL -DSAFE_EMBED_PERL -DEVENT_USE_POLL=1 -DPERL_PATH=\"/usr/bin/perl\" -DMIMEDEFANG_PL=\"/usr/bin/mimedefang.pl\" -DRM=\"/bin/rm\" -DVERSION=\"2.74\" -DSPOOLDIR=\"/var/spool/MIMEDefang\" -DQDIR=\"/var/spool/MD-Quarantine\" -DCONFDIR=\"/etc/mail\" -c -o milter_cap.o ./milter_cap.c x86_64-pc-linux-gnu-gcc -march=native -Wformat -Werror=format-security -g0 -O2 -Wall -Wstrict-prototypes -pthread -D_POSIX_PTHREAD_SEMANTICS -DEMBED_PERL -DSAFE_EMBED_PERL -DEVENT_USE_POLL=1 -DPERL_PATH=\"/usr/bin/perl\" -DMIMEDEFANG_PL=\"/usr/bin/mimedefang.pl\" -DRM=\"/bin/rm\" -DVERSION=\"2.74\" -DSPOOLDIR=\"/var/spool/MIMEDefang\" -DQDIR=\"/var/spool/MD-Quarantine\" -DCONFDIR=\"/etc/mail\" -c -o gen_id.o ./gen_id.c x86_64-pc-linux-gnu-gcc -march=native -Wformat -Werror=format-security -g0 -O2 -Wall -Wstrict-prototypes -D_POSIX_PTHREAD_SEMANTICS -DEMBED_PERL -DSAFE_EMBED_PERL -DEVENT_USE_POLL=1 -DPERL_PATH=\"/usr/bin/perl\" -DMIMEDEFANG_PL=\"/usr/bin/mimedefang.pl\" -DRM=\"/bin/rm\" -DVERSION=\"2.74\" -DSPOOLDIR=\"/var/spool/MIMEDefang\" -DQDIR=\"/var/spool/MD-Quarantine\" -DCONFDIR=\"/etc/mail\" -c -o mimedefang-multiplexor.o ./mimedefang-multiplexor.c x86_64-pc-linux-gnu-gcc -march=native -Wformat -Werror=format-security -g0 -O2 -Wall -Wstrict-prototypes -D_POSIX_PTHREAD_SEMANTICS -DEMBED_PERL -DSAFE_EMBED_PERL -DEVENT_USE_POLL=1 -DPERL_PATH=\"/usr/bin/perl\" -DMIMEDEFANG_PL=\"/usr/bin/mimedefang.pl\" -DRM=\"/bin/rm\" -DVERSION=\"2.74\" -DSPOOLDIR=\"/var/spool/MIMEDefang\" -DQDIR=\"/var/spool/MD-Quarantine\" -DCONFDIR=\"/etc/mail\" -c -o event.o ./event.c x86_64-pc-linux-gnu-gcc -march=native -Wformat -Werror=format-security -g0 -O2 -Wall -Wstrict-prototypes -D_POSIX_PTHREAD_SEMANTICS -DEMBED_PERL -DSAFE_EMBED_PERL -DEVENT_USE_POLL=1 -DPERL_PATH=\"/usr/bin/perl\" -DMIMEDEFANG_PL=\"/usr/bin/mimedefang.pl\" -DRM=\"/bin/rm\" -DVERSION=\"2.74\" -DSPOOLDIR=\"/var/spool/MIMEDefang\" -DQDIR=\"/var/spool/MD-Quarantine\" -DCONFDIR=\"/etc/mail\" -c -o event_tcp.o ./event_tcp.c x86_64-pc-linux-gnu-gcc -march=native -Wformat -Werror=format-security -g0 -O2 -Wall -Wstrict-prototypes -D_POSIX_PTHREAD_SEMANTICS -DEMBED_PERL -DSAFE_EMBED_PERL -DEVENT_USE_POLL=1 -DPERL_PATH=\"/usr/bin/perl\" -DMIMEDEFANG_PL=\"/usr/bin/mimedefang.pl\" -DRM=\"/bin/rm\" -DVERSION=\"2.74\" -DSPOOLDIR=\"/var/spool/MIMEDefang\" -DQDIR=\"/var/spool/MD-Quarantine\" -DCONFDIR=\"/etc/mail\" -c -o drop_privs_nothread.o ./drop_privs.c x86_64-pc-linux-gnu-gcc -march=native -Wformat -Werror=format-security -g0 -O2 -Wall -Wstrict-prototypes -D_POSIX_PTHREAD_SEMANTICS -DEMBED_PERL -DSAFE_EMBED_PERL -DEVENT_USE_POLL=1 -DPERL_PATH=\"/usr/bin/perl\" -DMIMEDEFANG_PL=\"/usr/bin/mimedefang.pl\" -DRM=\"/bin/rm\" -DVERSION=\"2.74\" -DSPOOLDIR=\"/var/spool/MIMEDefang\" -DQDIR=\"/var/spool/MD-Quarantine\" -DCONFDIR=\"/etc/mail\" -c -o notifier.o ./notifier.c ./utils.c: In function ‘write_and_lock_pidfile’: ./utils.c:1323:14: warning: ignoring return value of ‘ftruncate’, declared with attribute warn_unused_result [-Wunused-result] ./utils.c:1325:10: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] ./mimedefang.c: In function ‘main’: ./mimedefang.c:2612:7: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result] ./mimedefang.c:2670:11: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] ./mimedefang.c:2685:6: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] ./mimedefang.c:2738:2: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] ./mimedefang.c:2744:7: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] x86_64-pc-linux-gnu-gcc -march=native -Wformat -Werror=format-security -g0 -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib64/perl5/5.18.2/x86_64-linux/CORE -pthread -D_POSIX_PTHREAD_SEMANTICS -DEMBED_PERL -DSAFE_EMBED_PERL -DEVENT_USE_POLL=1 -DPERL_PATH=\"/usr/bin/perl\" -DMIMEDEFANG_PL=\"/usr/bin/mimedefang.pl\" -DRM=\"/bin/rm\" -DVERSION=\"2.74\" -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 ./mimedefang-multiplexor.c: In function ‘doStatusLog’: ./mimedefang-multiplexor.c:3090:5: error: format not a string literal and no format arguments [-Werror=format-security] x86_64-pc-linux-gnu-gcc -march=native -Wformat -Werror=format-security -g0 -O2 -Wall -Wstrict-prototypes -D_POSIX_PTHREAD_SEMANTICS -DEMBED_PERL -DSAFE_EMBED_PERL -DEVENT_USE_POLL=1 -DPERL_PATH=\"/usr/bin/perl\" -DMIMEDEFANG_PL=\"/usr/bin/mimedefang.pl\" -DRM=\"/bin/rm\" -DVERSION=\"2.74\" -DSPOOLDIR=\"/var/spool/MIMEDefang\" -DQDIR=\"/var/spool/MD-Quarantine\" -DCONFDIR=\"/etc/mail\" -c -o md-mx-ctrl.o ./md-mx-ctrl.c ./mimedefang-multiplexor.c: In function ‘childHandler’: ./mimedefang-multiplexor.c:2778:11: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] ./mimedefang-multiplexor.c: In function ‘intHandler’: ./mimedefang-multiplexor.c:2828:11: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] ./mimedefang-multiplexor.c: In function ‘hupHandler’: ./mimedefang-multiplexor.c:2803:11: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] ./mimedefang-multiplexor.c: In function ‘handlePipe’: ./mimedefang-multiplexor.c:2872:9: warning: ignoring return value of ‘read’, declared with attribute warn_unused_result [-Wunused-result] cc1: some warnings being treated as errors make: *** [mimedefang-multiplexor.o] Error 1 make: *** Waiting for unfinished jobs.... ./embperl.c:26:1: warning: function declaration isn’t a prototype [-Wstrict-prototypes] * ERROR: mail-filter/mimedefang-2.74::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=mail-filter/mimedefang-2.74::gentoo'`, * the complete build log and the output of `emerge -pqv '=mail-filter/mimedefang-2.74::gentoo'`. * The complete build log is located at '/var/log/log/build/mail-filter/mimedefang-2.74:20140822-124347.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/mail-filter/mimedefang-2.74/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/mail-filter/mimedefang-2.74/temp/environment'. * Working directory: '/var/tmp/portage/mail-filter/mimedefang-2.74/work/mimedefang-2.74' * S: '/var/tmp/portage/mail-filter/mimedefang-2.74/work/mimedefang-2.74'