Subject: pkg/29380: SASL plugins fail to build since tv-derecurse cleanup
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <j+nbsd@2005.salmi.ch>
List: pkgsrc-bugs
Date: 02/15/2005 11:20:01
>Number:         29380
>Category:       pkg
>Synopsis:       SASL plugins fail to build since tv-derecurse cleanup
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Feb 15 11:20:00 +0000 2005
>Originator:     j+nbsd@2005.salmi.ch
>Release:        NetBSD 2.0_STABLE
>Organization:
>Environment:
System: NetBSD bart.stasoft.ch 2.0_STABLE NetBSD 2.0_STABLE (GENERIC) #0: Wed Feb 9 13:13:43 CET 2005 build@bart.stasoft.ch:/build/nbsd/i386/sys/arch/i386/compile/GENERIC i386
Architecture: i386
Machine: i386
>Description:
Sine bsd.pkg.mk revision 1.1584 SASL plugins (pkgsrc/security/cy2-*) fail to
build.
>How-To-Repeat:

$ cd pkgsrc/security/cy2-plain && make package
[...]
config.status: creating config.h
config.status: executing depfiles commands
configure: configuring in saslauthd
configure: running /bin/sh './configure' --prefix=/usr/pkg  '--with-plugindir=/usr/pkg/lib/sasl2' '--disable-anon' '--disable-checkapop' '--disable-cram' '--disable-digest' '--disable-gssapi' '--disable-krb4' '--disable-login' '--disable-ntlm' '--disable-otp' '--disable-plain' '--disable-sql' '--disable-srp' '--disable-srp-setpass' '--with-dblib=none' '--without-openssl' '--without-pam' '--without-saslauthd' '--enable-plain' '--host=i386--netbsdelf' '--prefix=/usr/pkg' 'CC=cc' 'CFLAGS=-O2 -I/usr/pkg/include -I/usr/include' 'CPPFLAGS= -I/usr/pkg/include/sasl -I/usr/pkg/include -I/usr/include' 'LDFLAGS= -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib' 'host_alias=i386--netbsdelf' --cache-file=.././config.cache --srcdir=.
configure: WARNING: If you wanted to set the --build type, don't use --host.
    If a cross compiler is detected then cross compile mode will be used.
configure: loading cache .././config.cache
configure: error: `CPPFLAGS' has changed since the previous run:
configure:   former value:   -I/usr/pkg/include/sasl  -I/usr/pkg/include -I/usr/include
configure:   current value:  -I/usr/pkg/include/sasl -I/usr/pkg/include -I/usr/include
configure: error: changes in the environment can compromise the build
configure: error: run `make distclean' and/or `rm .././config.cache' and start over
configure: error: /bin/sh './configure' failed for saslauthd
*** Error code 1
[...]
Stop.
make: stopped in /usr/pkgsrc/security/cy2-plain

>Fix:
Unknown. As a workaround I reverted bsd.pkg.mk to revision 1.1583 which made
the plugins build successfully again.