Subject: I can't build cyrus-imapd-2.2.13
To: None <pkgsrc-users@netbsd.org>
From: Martti Kuparinen <martti.kuparinen@iki.fi>
List: pkgsrc-users
Date: 10/09/2006 10:50:45
What am I doing wrong?

ROOT inside:/usr/pkgsrc> cvs -d anoncvs@anoncvs.netbsd.org:/cvsroot update -dPA
mail security mk
ROOT inside:/usr/pkgsrc>

CHROOT inside:/usr/pkgsrc/mail/cyrus-imapd> pkg_info | grep cyrus
CHROOT inside:/usr/pkgsrc/mail/cyrus-imapd>

CHROOT inside:/usr/pkgsrc/mail/cyrus-imapd> make clean clean-depends
===> Cleaning for cyrus-imapd-2.2.13
===> Cleaning for libtool-base-1.5.22nb3
===> Cleaning for db4-4.4.20
===> Cleaning for perl-5.8.8nb3
===> Cleaning for digest-20060826
===> Cleaning for gmake-3.81
===> Cleaning for cyrus-sasl-2.1.22

CHROOT inside:/usr/pkgsrc/mail/cyrus-imapd> make package clean clean-depends
=> Required installed package digest>=20010302: digest-20060826 found
===> Checking for vulnerabilities in cyrus-imapd-2.2.13
=> Checksum SHA1 OK for cyrus-imapd-2.2.13.tar.gz
=> Checksum RMD160 OK for cyrus-imapd-2.2.13.tar.gz
===> Installing dependencies for cyrus-imapd-2.2.13
==========================================================================
The supported build options for cyrus-imapd are:

        gssapi kerberos kerberos4

You can select which build options to use by setting PKG_DEFAULT_OPTIONS
or the following variable.  Its current value is shown:

        PKG_OPTIONS.cyrus-imapd (not defined)

==========================================================================
==========================================================================
The following variables will affect the build process of this package,
cyrus-imapd-2.2.13.  Their current value is shown below:

        * BDBBASE (defined)
        * BDB_TYPE = db4
        * CYRUS_GROUP = mail
        * CYRUS_IDLE = poll
        * CYRUS_USER = cyrus
        * SSLBASE = /usr
        * SSLCERTS = /etc/openssl/certs
        * SSLDIR = /etc/openssl
        * SSLKEYS = /etc/openssl/private

You may want to abort the process now with CTRL-C and change their value
before continuing.  Be sure to run `/usr/bin/make clean' after
the changes.
==========================================================================
===> Overriding tools for cyrus-imapd-2.2.13
===> Extracting for cyrus-imapd-2.2.13
===> Patching for cyrus-imapd-2.2.13
=> Applying pkgsrc patches for cyrus-imapd-2.2.13
cd /usr/pkgsrc/mail/cyrus-imapd/work/cyrus-imapd-2.2.13/man;
                         set -- deliver 8 fetchnews 8 idled 8 imapd 8 lmtpd 8
master 8   nntpd 8        notifyd 8 pop3d 8 quota 8;                       while
[ $# -gt 0 ]; do                                          man=$1.$2;
                                  for file in Makefile.in *.[0-9]; do
          /usr/bin/sed   -e "s|\(\$(srcdir)/\)\($man\)|\1cyrus-\2|g"  -e
"s|\(\\\fB\)\($1($2)\\\fR\)|\1cyrus-\2|g"  $file > $file.fixed;
 /bin/mv -f $file.fixed $file;                   done;
                         if [ -f $man ]; then
 /bin/mv $man cyrus-$man;                        fi;
                         shift 2;
 done
/usr/bin/find /usr/pkgsrc/mail/cyrus-imapd/work/cyrus-imapd-2.2.13 -type f
-print |                              /usr/bin/xargs -n 1 /usr/bin/grep -l -e
/etc/imapd\.conf -e /etc/cyrus\.conf |  while read file; do
                        /usr/bin/sed   -e
"s|/etc/\(cyrus\.conf\)|/usr/pkg/etc/\1|g"  -e
"s|/etc/\(imapd\.conf\)|/usr/pkg/etc/\1|g"  $file > $file.fixed;
               /bin/mv -f $file.fixed $file;                           done
===> Creating toolchain wrappers for cyrus-imapd-2.2.13
ERROR: cyrus-sasl is not installed; can't buildlink files.
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/mail/cyrus-imapd
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/mail/cyrus-imapd