Mock Version: 0.9.14 Mock Version: 0.9.14 ENTER do(['bash', '--login', '-c', 'rpmbuild -bs --target x86_64 --nodeps builddir/build/SPECS/spamassassin.spec'], False, '/var/lib/mock/centos5-rutgers-staging-build-4127-6263/root/', None, 86400, True, 0, 486, 495, None, logger=) Executing command: ['bash', '--login', '-c', 'rpmbuild -bs --target x86_64 --nodeps builddir/build/SPECS/spamassassin.spec'] warning: Could not canonicalize hostname: opus5.rutgers.edu Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/spamassassin-3.4.0-1.ru.src.rpm Child returncode was: 0 LEAVE do --> ENTER do(['bash', '--login', '-c', 'rpmbuild -bb --target x86_64 --nodeps builddir/build/SPECS/spamassassin.spec'], False, '/var/lib/mock/centos5-rutgers-staging-build-4127-6263/root/', None, 86400, True, 0, 486, 495, None, logger=) Executing command: ['bash', '--login', '-c', 'rpmbuild -bb --target x86_64 --nodeps builddir/build/SPECS/spamassassin.spec'] Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.6833 + umask 022 + cd /builddir/build/BUILD + LANG=C + export LANG + unset DISPLAY + cd /builddir/build/BUILD + rm -rf Mail-SpamAssassin-3.4.0 + /usr/bin/bzip2 -dc /builddir/build/SOURCES/Mail-SpamAssassin-3.4.0.tar.bz2 + tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd Mail-SpamAssassin-3.4.0 ++ /usr/bin/id -u + '[' 486 = 0 ']' ++ /usr/bin/id -u + '[' 486 = 0 ']' + /bin/chmod -Rf a+rX,u+w,g-w,o-w . RHEL=0 FEDORA=0 + echo 'RHEL=0 FEDORA=0' + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.6833 + umask 022 + cd /builddir/build/BUILD + cd Mail-SpamAssassin-3.4.0 + LANG=C + export LANG + unset DISPLAY + export 'CFLAGS=-O2 -gdwarf-2 -g3 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic' + CFLAGS='-O2 -gdwarf-2 -g3 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic' + /usr/bin/perl Makefile.PL DESTDIR=/var/tmp/spamassassin-root/ SYSCONFDIR=/etc INSTALLDIRS=vendor ENABLE_SSL=yes What email address or URL should be used in the suspected-spam report text for users who want more information on your filter installation? (In particular, ISPs should change this to a local Postmaster contact) default text: [the administrator of that system] the administrator of that system ERROR: the required NetAddr::IP module is installed ( 4.007), but is below the minimum required version 4.010, some functionality will not be available. NOTE: settings for "make test" are now controlled using "t/config.dist". See that file if you wish to customise what tests are run, and how. checking module dependencies and their versions... *************************************************************************** Used in determining which DNS tests are to be done for each of the header's received fields, used by AWL plugin for extracting network address from an IPv6 addresses (and from IPv4 address on nondefault mask), and used by DNSxL rules for assembling DNS queries out of IPv6 addresses. 4.010 fixes an issue where NetAddr::IP::full6() causes a full6.al include error. Avoid versions 4.034 to 4.035 and 4.045 to 4.054 *************************************************************************** NOTE: the optional Digest::SHA module is not installed. The Digest::SHA module is required by the DKIM plugin. *************************************************************************** NOTE: the optional Mail::SPF module is not installed. Used to check DNS Sender Policy Framework (SPF) records to fight email address forgery and make it easier to identify spams. *************************************************************************** NOTE: the optional Geo::IP module is not installed. Used by the RelayCountry plugin (not enabled by default) to determine the domain country codes of each relay in the path of an email. *************************************************************************** NOTE: the optional Razor2 module is not installed, minimum required version is 2.61. Used to check message signatures against Vipul's Razor collaborative filtering network. Razor has a large number of dependencies on CPAN modules. Feel free to skip installing it, if this makes you nervous; SpamAssassin will still work well without it. More info on installing and using Razor can be found at http://wiki.apache.org/spamassassin/InstallingRazor . *************************************************************************** NOTE: the optional IO::Socket::IP module is not installed, minimum required version is 0.09. Installing this module is recommended if spamd is to listen on IPv6 sockets or if DNS queries should go to an IPv6 name server. If IO::Socket::IP is not available, using an older module IO::Socket::INET6 will be attempted, and in its absence the support for IPv6 will not be available. Some plugins and underlying modules may also prefer IO::Socket::IP over IO::Socket::INET6. *************************************************************************** NOTE: the optional IO::Socket::INET6 module is not installed. This module is an older alternative to IO::Socket::IP. Spamd, as well some underlying modules, will fall back to using IO::Socket::INET6 if IO::Socket::IP is unavailable. One or the other module is required to support IPv6 (e.g. in spamd/spamc protocol, for DNS lookups or in plugins like DCC). Some plugins or underlying modules may still require IO::Socket::INET6 for IPv6 support even if IO::Socket::IP is available. *************************************************************************** NOTE: the optional IO::Socket::SSL module is not installed. If you wish to use SSL encryption to communicate between spamc and spamd (the --ssl option to spamd), you need to install this module. (You will need the OpenSSL libraries and use the ENABLE_SSL="yes" argument to Makefile.PL to build and run an SSL compatibile spamc.) *************************************************************************** NOTE: the optional Mail::DKIM module is not installed, minimum required version is 0.31, recommended version is 0.37 or higher. If this module is installed and the DKIM plugin is enabled, SpamAssassin will perform DKIM signature verification when DKIM-Signature header fields are present in the message headers, and check ADSP rules (e.g. anti-phishing) when a mail message does not contain a valid author domain signature. Version 0.37 or later is needed to fully support ADSP. *************************************************************************** NOTE: the optional DBI module is not installed. If you intend to use SpamAssassin with an SQL database backend for user configuration data, Bayes storage, or other storage, you will need to have these installed; both the basic DBI module and the DBD driver for your database. *************************************************************************** NOTE: the optional LWP::UserAgent module is not installed. The "sa-update" program requires this module to make HTTP requests. *************************************************************************** NOTE: the optional HTTP::Date module is not installed. The "sa-update" program requires this module to make HTTP If-Modified-Since GET requests. *************************************************************************** NOTE: the optional Encode::Detect module is not installed. If you plan to use the normalize_charset config setting to detect charsets and convert them into Unicode, you will need to install this module. *************************************************************************** NOTE: the optional Net::Patricia module is not installed, minimum required version is 1.16. If this module is available, it will be used for IP address lookups in tables internal_networks, trusted_networks, and msa_networks. Recommended when a number of entries in these tables is large, i.e. in hundreds or thousands. However, in case of overlapping (or conflicting) networks in these tables, lookup results may differ as Net::Patricia finds a tightest-matching entry, while a sequential NetAddr::IP search finds a first-matching entry. So when overlapping network ranges are given, specifying more specific subnets (longest netmask) first, followed by wider subnets ensures predictable results. checking binary dependencies and their versions... *************************************************************************** NOTE: the optional gpg binary is not installed, recommended version is 1.0.6 or higher. The "sa-update" program requires this executable to verify encryption signatures. It is not recommended, but you can use "sa-update" with the --no-gpg to skip the verification. *************************************************************************** NOTE: the optional wget binary is not installed, recommended version is 1.8.2 or higher. Sa-update will use curl, wget or fetch to download updates. Because perl module LWP does not support IPv6, sa-update as of 3.4.0 will use these standard programs to download rule updates leaving LWP as a fallback if none of the programs are found. *IMPORTANT NOTE*: You only need one of these programs. *************************************************************************** NOTE: the optional curl binary is not installed, recommended version is 7.2.14 or higher. Sa-update will use curl, wget or fetch to download updates. Because perl module LWP does not support IPv6, sa-update as of 3.4.0 will use these standard programs to download rule updates leaving LWP as a fallback if none of the programs are found. *IMPORTANT NOTE*: You only need one of these programs. *************************************************************************** NOTE: the optional fetch binary is not installed. Sa-update will use curl, wget or fetch to download updates. Because perl module LWP does not support IPv6, sa-update as of 3.4.0 will use these standard programs to download rule updates leaving LWP as a fallback if none of the programs are found. *IMPORTANT NOTE*: You only need one of these programs. dependency check complete... REQUIRED module out of date: NetAddr::IP optional module missing: Digest::SHA optional module missing: Mail::SPF optional module missing: Geo::IP optional module missing: Razor2 optional module missing: IO::Socket::IP optional module missing: IO::Socket::INET6 optional module missing: IO::Socket::SSL optional module missing: Mail::DKIM optional module missing: DBI optional module missing: LWP::UserAgent optional module missing: HTTP::Date optional module missing: Encode::Detect optional module missing: Net::Patricia optional binary missing or nonfunctional: gpg optional binary missing or nonfunctional: wget optional binary missing or nonfunctional: curl optional binary missing or nonfunctional: fetch warning: some functionality may not be available, please read the above report before continuing! + /usr/bin/make 'OPTIMIZE=-O2 -gdwarf-2 -g3 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic' -j2 make: *** No targets specified and no makefile found. Stop. RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.6833 (%build) Bad exit status from /var/tmp/rpm-tmp.6833 (%build) Child returncode was: 1 EXCEPTION: Command failed. See logs for output. # ['bash', '--login', '-c', 'rpmbuild -bb --target x86_64 --nodeps builddir/build/SPECS/spamassassin.spec'] Traceback (most recent call last): File "/usr/lib/python2.6/site-packages/mock/trace_decorator.py", line 70, in trace result = func(*args, **kw) File "/usr/lib/python2.6/site-packages/mock/util.py", line 324, in do raise mock.exception.Error, ("Command failed. See logs for output.\n # %s" % (command,), child.returncode) Error: Command failed. See logs for output. # ['bash', '--login', '-c', 'rpmbuild -bb --target x86_64 --nodeps builddir/build/SPECS/spamassassin.spec'] LEAVE do --> EXCEPTION RAISED