Subject: pkg/29375: security/cy2-login is breaking on build (pkgsrc-current )
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <adrianp@stindustries.net>
List: pkgsrc-bugs
Date: 02/14/2005 18:56:00
>Number:         29375
>Category:       pkg
>Synopsis:       security/cy2-login is breaking on build (pkgsrc-current )
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Feb 14 18:56:00 +0000 2005
>Originator:     Adrian Portelli
>Release:        2.0 (x86)
>Organization:
STIndustries
>Environment:
NetBSD jimbo.stindustries.org.uk 2.0 NetBSD 2.0 (JIMBO-MP) #0: Mon Jan 31 17:01:32 GMT 2005  root@jimbo.stindustries.org.uk:/usr/src-2-0-RELEASE/sys/arch/i386/compile/JIMBO-MP i386
>Description:
A make on security/cy2-login is currently failing with:

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
>How-To-Repeat:
make cy2-login
>Fix:
Don't know, but as far as I can tell the problem was introduced between 1.1583 and 1.1584 of mk/bsd.pkg.mk. 

Module Name:	pkgsrc
Committed By:	tv
Date:		Fri Feb 11 16:36:49 UTC 2005

Modified Files:
	pkgsrc/mk: bsd.pkg.mk java-vm.mk

Log Message:
Visual cleanup from tv-derecurse:

Consolidate many MAKE_ENVs and SCRIPTS_ENVs into a common block.
(CONFIGURE_ENVs to be done later.)

Introduce new variable ALL_ENV which is automatically included into all
of MAKE_ENV, SCRIPTS_ENV, and CONFIGURE_ENV; this allows much cleaner
addition of the common CC/CXX/CFLAGS/etc. variables needed by all of these.


To generate a diff of this commit:
cvs rdiff -r1.1583 -r1.1584 pkgsrc/mk/bsd.pkg.mk
cvs rdiff -r1.37 -r1.38 pkgsrc/mk/java-vm.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.