Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Jan 2014 11:39:58 GMT
From:      pkg-fallout@FreeBSD.org
To:        lippe@FreeBSD.org
Cc:        pkg-fallout@FreeBSD.org
Subject:   [LEGACY - 91amd64-default][mail/qmail-scanner] Build failed for qmail-scanner-2.10_1 during package
Message-ID:  <201401241139.s0OBdwpD096639@beefy3.isc.freebsd.org>

next in thread | raw e-mail | index | archive | help
You are receiving this mail as a port that you maintain
is failing to build on the FreeBSD package build server.
Please investigate the failure and submit a PR to fix
build.

Maintainer:     lippe@FreeBSD.org
Last committer: bapt@FreeBSD.org
Ident:          $FreeBSD: head/mail/qmail-scanner/Makefile 338615 2014-01-04 00:57:53Z bapt $
Log URL:        http://beefy3.isc.freebsd.org/bulk/91amd64-default/2014-01-23_15h56m33s/logs/qmail-scanner-2.10_1.log
Build URL:      http://beefy3.isc.freebsd.org/bulk/91amd64-default/2014-01-23_15h56m33s
Log:

====>> Building mail/qmail-scanner
build started at Fri Jan 24 11:38:09 UTC 2014
port directory: /usr/ports/mail/qmail-scanner
building for: FreeBSD pkg.FreeBSD.org 9.1-RELEASE-p10 FreeBSD 9.1-RELEASE-p10 amd64
maintained by: lippe@FreeBSD.org
Makefile ident:      $FreeBSD: head/mail/qmail-scanner/Makefile 338615 2014-01-04 00:57:53Z bapt $
Poudriere version: 3.1-pre

---Begin Environment---
OSVERSION=901000
UNAME_v=FreeBSD 9.1-RELEASE-p10
UNAME_r=9.1-RELEASE-p10
BLOCKSIZE=K
MAIL=/var/mail/root
STATUS=1
MASTERMNT=/usr/local/poudriere/data/build/91amd64-default/ref
PKG_EXT=tbz
FORCE_PACKAGE=yes
tpid=73380
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/root/bin
POUDRIERE_BUILD_TYPE=bulk
PKGNG=0
PKGNAME=qmail-scanner-2.10_1
PKG_DELETE=pkg_delete
PKG_ADD=pkg_add
PWD=/root
MASTERNAME=91amd64-default
USER=root
HOME=/root
POUDRIERE_VERSION=3.1-pre
LOCALBASE=/usr/local
PACKAGE_BUILDING=yes
PKG_VERSION=pkg_version
---End Environment---

---Begin OPTIONS List---
===> The following configuration options are available for qmail-scanner-2.10_1:
     CWRAPPER=on: C wrapper (no suid perl script needed)
     FIX_MIME=off: Fix broken MIME messages
     NORMALIZE=off: Decode encoded headers per MIME Base64
     REDUNDANT=on: Scan attachments and body mails
     STPATCH=on: st patch from toribio.apollinare.org
     TNEF=on: Mark Simpson\'s Patch (Recommended)
===> Use 'make config' to modify these settings
---End OPTIONS List---

--CONFIGURE_ARGS--
--qmaildir "/var/qmail"  --spooldir "/var/spool/qscand"  --etcdir "/var/spool/qscand"  --logdir "/var/spool/qscand"  --bindir "/usr/local/bin"  --qmail-queue-binary "/var/qmail/bin/qmail-queue"  --mime-unpacker "reformime"  --no-QQ-check  --batch --fix-mime no --normalize no --skip-setuid-test --qs-user "qscand" --admin "postmaster" --notify psender,precips
--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
TMPDIR="/tmp" TMPDIR="/tmp" SHELL=/bin/sh CONFIG_SHELL=/bin/sh
--End CONFIGURE_ENV--

--MAKE_ENV--
TMPDIR="/tmp" TMPDIR="/tmp" SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local  LOCALBASE=/usr/local  LIBDIR="/usr/lib"  CC="cc" CFLAGS="-O2 -pipe -fno-strict-aliasing"  CPP="cpp" CPPFLAGS=""  LDFLAGS=""  CXX="c++" CXXFLAGS="-O2 -pipe -fno-strict-aliasing"  MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install  -s -o root -g wheel -m 555"  BSD_INSTALL_LIB="install  -s -o root -g wheel -m 444"  BSD_INSTALL_SCRIPT="install  -o root -g wheel -m 555"  BSD_INSTALL_DATA="install  -o root -g wheel -m 444"  BSD_INSTALL_MAN="install  -o root -g wheel -m 444"
--End MAKE_ENV--

--SUB_LIST--
QS_USER=qscand
QS_ID=98
SPOOLDIR=/var/spool/qscand
CWRAPPER=yes
QSQ_TARGET=qmail-scanner-queue
PREFIX=/usr/local
LOCALBASE=/usr/local
DATADIR=/usr/local/share/qmail-scanner
DOCSDIR=/usr/local/share/doc/qmail-scanner
EXAMPLESDIR=/usr/local/share/examples/qmail-scanner
WWWDIR=/usr/local/www/qmail-scanner
ETCDIR=/usr/local/etc/qmail-scanner
--End SUB_LIST--

---Begin make.conf---
USE_PACKAGE_DEPENDS=yes
BATCH=yes
WRKDIRPREFIX=/wrkdirs
PORTSDIR=/usr/ports
PACKAGES=/packages
DISTDIR=/distfiles
DISABLE_MAKE_JOBS=poudriere
---End make.conf---
===>  Cleaning for qmail-scanner-2.10_1
=======================<phase: check-config   >============================
===========================================================================
=======================<phase: pkg-depends    >============================
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===> Fetching all distfiles required by qmail-scanner-2.10_1 for building
===========================================================================
=======================<phase: checksum       >============================
===> Fetching all distfiles required by qmail-scanner-2.10_1 for building
=> SHA256 Checksum OK for qmail-scanner-2.10.tgz.
=> SHA256 Checksum OK for patch-configure-qms.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===> Fetching all distfiles required by qmail-scanner-2.10_1 for building
===>  Extracting for qmail-scanner-2.10_1
=> SHA256 Checksum OK for qmail-scanner-2.10.tgz.
=> SHA256 Checksum OK for patch-configure-qms.
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
===>  Patching for qmail-scanner-2.10_1
===>  Applying distribution patches for qmail-scanner-2.10_1
===========================================================================
=======================<phase: build-depends  >============================
===>   qmail-scanner-2.10_1 depends on executable: reformime - not found
===>    Verifying install for reformime in /usr/ports/mail/maildrop
===>   Installing existing package /packages/All/maildrop-2.7.1.tbz
makewhatis: /usr/local/lib/perl5/5.16/man: No such file or directory
pkg_add: command '/usr/bin/makewhatis /usr/local/lib/perl5/5.16/man' failed
Removing /usr/local/etc/perl5_version... Done.
Creating /usr/local/etc/perl5_version... Done.
Removing stale symlinks from /usr/bin...
    Skipping /usr/bin/perl
    Skipping /usr/bin/perl5
Done.
Creating various symlinks in /usr/bin...
    Symlinking /usr/local/bin/perl5.16.3 to /usr/bin/perl
    Symlinking /usr/local/bin/perl5.16.3 to /usr/bin/perl5
Done.
===>   Returning to build of qmail-scanner-2.10_1
===>   qmail-scanner-2.10_1 depends on executable: unzip - found
===>   qmail-scanner-2.10_1 depends on executable: setuidgid - not found
===>    Verifying install for setuidgid in /usr/ports/sysutils/daemontools
===>   Installing existing package /packages/All/daemontools-0.76_16.tbz
===>   Returning to build of qmail-scanner-2.10_1
===>   qmail-scanner-2.10_1 depends on executable: bash - not found
===>    Verifying install for bash in /usr/ports/shells/bash
===>   Installing existing package /packages/All/bash-4.2.45_1.tbz
===>   Returning to build of qmail-scanner-2.10_1
===>   qmail-scanner-2.10_1 depends on file: /var/qmail/bin/qmail-send - not found
===>    Verifying install for /var/qmail/bin/qmail-send in /usr/ports/mail/qmail
===>   Installing existing package /packages/All/qmail-1.03_8.tbz
===> Creating users and/or groups.
Creating group 'qmail' with gid '82'.
Creating group 'qnofiles' with gid '81'.
Creating user 'alias' with uid '81'.
Creating user 'qmaild' with uid '82'.
Creating user 'qmaill' with uid '83'.
Creating user 'qmailp' with uid '84'.
Creating user 'qmailq' with uid '85'.
Creating user 'qmailr' with uid '86'.
Creating user 'qmails' with uid '87'.
Your hostname is pkg.freebsd.org.
soft error
Sorry, I couldn't find your host's canonical name in DNS.
You will have to set up control/me yourself.

A /usr/local/etc/rc.d/qmailsmtpd symlink was created.  To enable qmail at boot
time you need to copy a script to /var/qmail/rc.  There are some examples at
/var/qmail/boot


	ATTENTION:

You should also add /var/qmail/man to your MANPATH (see manpath(1)
or login.conf(5)).

You can enable qmail as your default mailer executing:
> /var/qmail/scripts/enable-qmail

===>   Returning to build of qmail-scanner-2.10_1
===>   qmail-scanner-2.10_1 depends on file: /usr/local/bin/tnef - not found
===>    Verifying install for /usr/local/bin/tnef in /usr/ports/converters/tnef
===>   Installing existing package /packages/All/tnef-1.4.9.tbz
===>   Returning to build of qmail-scanner-2.10_1
===>   qmail-scanner-2.10_1 depends on file: /usr/local/bin/perl5.16.3 - found
===========================================================================
=======================<phase: lib-depends    >============================
===========================================================================
=======================<phase: configure      >============================
===>  Configuring for qmail-scanner-2.10_1

----------------------------------------
You may use the following build options:

QS_USER			User to run Q-S
			(Default: qscand)
QS_ADMIN		Administrator Q-S Address (just username)
			(Default: postmaster)
QS_DOMAIN		Administrator Domain (QS_ADMIN@QS_DOMAIN)
			(Default: hostname)
QS_ADMIN_DESC		Real Name of Administrator Q-S
			(Default: System Anti-Virus Administrator)
QS_SCANNERS		List of scanners installed, e.g. bitdefender,nod32
			(Default: auto)
QS_SKIP_MSGS		Q-S will skip running any anti-virus scanners on
			any messages it works out are text-only.
			(Default: yes|no)
QS_NOTIFY		Who has to be notify of viruses/spams
			(Default: 'psender|precips')
QS_LOCALDOMAINS		Domains classified as local domains preventing alerts
<snip>
			Default depends on your LANG variable
			(Default: en_GB if LANG is not set)
QS_ARCHIVE		If yes, all copies of processed mail will be moved into the
			maildir 'POOLDIR/RCHIVEDIR/'. Any other string besides 'yes'
			and 'no' will be treated as a REGEX. Only mail from or to an
			address that contains that regex will be archived.
			e.g. 'jhaar|harry'
			(Default: no, Options: yes|no|regex)
QS_LOGDETAILS		Whether or not to log to mailstats.csv/via syslog the attachment
			structure of every Email message. Logs to syslog  by default.
			(Default: syslog, Options: yes|syslog|no)
QS_LOGCRYPTO		Simply notes in the log record if the message
			contained any form of digital signing or encryption
			(S/MIME, PGP and password protected files)
			(Default: no, Options: yes|no)
QS_MAXSCANSIZE		Email messages (raw size) larger than this number (in bytes)
			will skip all AV and Spam scanning checks. It's to stop Q-S
			scanning 300Mbyte TIFF file messages and the like.
			(Default: 100Mbytes)
QS_MAXZIPSIZE		Zip that would have unpacked into more diskspace
			than this value will be blocked (prevent DoS)
			(Default: 1Gbytes)
QS_EOLCHECK		Making this yes stops Qmail-Scanner from treating '\r' or '\0'
			chars in the headers of MIME mail messages as being suspicious
			enough to quarantine mail over.
			(Default: no, Options: yes|no)
QS_HEADERS		This adds the now old-fashion X-Qmail-Scanner headers to the message.
			all adds the rcpt to headers too - this is a privacy hole.
			(Default: no, Options: yes|no|all)
QS_DEBUG		Whether or not debugging is turned on. Can be also set to a number.
			NOTE: Numbers over 100 cause Q-S to not cleanup working files
			(Default: yes, Options: yes|no|number)


   Building Qmail-Scanner 2.10st-20111118...

This script will search your system for the virus scanners it knows
about, and will ensure that all external programs
qmail-scanner-queue.pl uses are explicitly pathed for performance
reasons.


It will then generate qmail-scanner-queue.pl - it is up to you to install it
correctly.

Searching .......Error: DNS lookup off malware.hash.cymru.com FAILED - cannot use Malware Hash Registry

.Error: DNS lookup off malware.hash.cymru.com FAILED - cannot use Malware Hash Registry

.Error: DNS lookup off malware.hash.cymru.com FAILED - cannot use Malware Hash Registry

.Error: DNS lookup off malware.hash.cymru.com FAILED - cannot use Malware Hash Registry

.Error: DNS lookup off malware.hash.cymru.com FAILED - cannot use Malware Hash Registry

.....................

/usr/bin/uudecode works as expected on system...


    
Found tnef on your system! That means we'll be able to decode stupid
M$ attachments :-)


==============================================================
The following binaries and scanners were found on your system:
==============================================================


mimeunpacker=/usr/local/bin/reformime
uudecode=/usr/bin/uudecode
tnef=/usr/local/bin/tnef

Content/Virus Scanners installed on your System

max-scan-size=100000000

Qmail-Scanner details.

debug=1
log-details=syslog
log-crypto=0
fix-mime=0
ignore-eol-check=0
notify=psender,precips
redundant-scanning=1
virus-admin=System Anti-Virus Administrator <postmaster@pkg.FreeBSD.org>
local-domains='pkg.FreeBSD.org'
silent-viruses='klez','bugbear','hybris','yaha','braid','nimda','tanatos','sobig','winevar','palyh','fizzer','gibe','cailont','lovelorn','swen','dumaru','sober','hawawi','hawaii','holar-i','mimail','poffer','bagle','worm.galil','mydoom','worm.sco','tanx','novarg','\@mm','cissy','cissi','qizy','bugler','dloade','netsky','spam'
dlp-monitor=
scanners=

----------------------------------------------
st: configuration options for  2.10st-20111118
----------------------------------------------
settings-per-domain=0
dscr-hdrs-text='X-Qmail-Scanner'

If that looks correct, I will now generate qmail-scanner-queue.pl
for your system...


Finished. Please read README(.html) and then go over the script to
check paths/etc, and then install as you see fit.

Remember to copy quarantine-events.txt to /var/spool/qscand and then
run "qmail-scanner-queue.pl -g" to generate DB version.


########################################################################
##
#

NOTE: No content/virus scanner was found on your system - so only the 
internal perlscaner will be available for you to use.

Hope that's what you expected :-)

#
##
########################################################################


###

qmail-scanner-queue.pl has been generated in this directory and looks OK.

It is up to you installing it by hand or re-run this script adding the
option  '--install 1'

###

===========================================================================
=======================<phase: build          >============================
===>  Building for qmail-scanner-2.10_1
===========================================================================
=======================<phase: run-depends    >============================
===>   qmail-scanner-2.10_1 depends on executable: reformime - found
===>   qmail-scanner-2.10_1 depends on executable: unzip - found
===>   qmail-scanner-2.10_1 depends on executable: setuidgid - found
===>   qmail-scanner-2.10_1 depends on file: /var/qmail/bin/qmail-send - found
===>   qmail-scanner-2.10_1 depends on file: /usr/local/bin/tnef - found
===>   qmail-scanner-2.10_1 depends on file: /usr/local/bin/perl5.16.3 - found
===========================================================================
=======================<phase: install-mtree  >============================
===========================================================================
=======================<phase: install        >============================
===>  Installing for qmail-scanner-2.10_1
===>   Generating temporary packing list
===>  Checking if mail/qmail-scanner already installed
chown: /usr/local/bin/qmail-scanner-queue: No such file or directory
chmod: /usr/local/bin/qmail-scanner-queue: No such file or directory
perlscanner: generate new DB file from /var/spool/qscand/quarantine-events.txt
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Congratulations! Qmail-Scanner is now installed!
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

ATTENTION!!!

For qmail-scanner work correctly, be sure to have QMAILQUEUE patch applied on
your qmail.

Please, configure correctly your anti-virus and anti-spam. You
HAVE to reinstall this port each time you add or remove an 
Anti-Virus or Anti-Spam;

Now configure the environment variable to use qmail-scanner:

You just need to add for your tcpserver file (generally called
as 'tcp.smtp'):

QMAILQUEUE="/usr/local/bin/qmail-scanner-queue"

Or create an new file in /service/smtpd/env:

# echo '/usr/local/bin/qmail-scanner-queue' > /service/smtpd/env/QMAILQUEUE

NOTE: always you change anything in your environment dir, you just
need to restart your smtpd, for it, use: "svc -k /service/smtpd".

You can test your installation by running 'make test' in port dir.

Remember to rename quarantine-events.txt.sample in /var/spool/qscand 
and then run "qmail-scanner-queue.pl -g" to generate DB version. 

Please log into an unpriviledged account and run 

/usr/local/bin/qmail-scanner-queue -g
===>   Registering installation for qmail-scanner-2.10_1
===========================================================================
=======================<phase: package        >============================
===>  Building package for qmail-scanner-2.10_1
tar: bin/qmail-scanner-queue: Cannot stat: No such file or directory
tar: Error exit delayed from previous errors.
pkg_create: make_dist: tar command failed with code 256
*** [do-package] Error code 1

Stop in /usr/ports/mail/qmail-scanner.
===>  Cleaning for qmail-scanner-2.10_1



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201401241139.s0OBdwpD096639>