Subject: pkg/30892: "openldap" package cannot be built with SASL support any more
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: Matthias Scheler <tron@zhadum.de>
List: pkgsrc-bugs
Date: 08/02/2005 11:32:00
>Number:         30892
>Category:       pkg
>Synopsis:       "openldap" package cannot be built with SASL support any more
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Aug 02 11:32:00 +0000 2005
>Originator:     tron@zhadum.de
>Release:        NetBSD 3.0_BETA 2005-08-02 package sources
>Organization:
Matthias Scheler                                  http://scheler.de/~matthias/
>Environment:
System: NetBSD colwyn.zhadum.de 3.0_BETA NetBSD 3.0_BETA (COLWYN) #0: Sat Jun 18 20:48:09 BST 2005 tron@colwyn.zhadum.de:/export/scratch/tron/build.21314a/sys/compile/COLWYN i386
Architecture: i386
Machine: i386
>Description:
The latest version of the "openldap" package can no longer be built with
SASL support disabled:

===> Building for openldap-2.2.27
Making all in /src/NetBSD-current/pkgsrc/databases/openldap/work/openldap-2.2.27
  Entering subdirectory include

  Entering subdirectory libraries
Making all in /src/NetBSD-current/pkgsrc/databases/openldap/work/openldap-2.2.27/libraries
  Entering subdirectory liblutil

  Entering subdirectory liblber

  Entering subdirectory liblunicode

  Entering subdirectory libldap
/bin/sh /src/NetBSD-current/pkgsrc/databases/openldap/work/openldap-2.2.27/libtool  --mode=compile  cc -O2 -I/usr/pkg/include/db4 -I/usr/include -I../../include -I../../include   -I/usr/pkg/include/db4 -I/usr/include  -DLDAP_LIBRARY -c bind.c
 cc -O2 -I/src/NetBSD-current/pkgsrc/databases/openldap/work/.buildlink/include/db4 -I../../include -DLDAP_LIBRARY -c bind.c  -fPIC -DPIC -o .libs/bind.o
In file included from bind.c:54:
ldap-int.h:584: error: parse error before "sasl_ssf_t"
*** Error code 1

Stop.
make: stopped in /src/NetBSD-current/pkgsrc/databases/openldap/work/openldap-2.2.27/libraries/libldap
*** Error code 1

Stop.

>How-To-Repeat:
cd pkgsrc/databases/openldap
env "PKG_OPTIONS.openldap?= -sasl" make

>Fix:
None provided.