Subject: pkg/22077: CONFIG_GUESS_OVERRIDE fails to work
To: None <gnats-bugs@gnats.netbsd.org>
From: None <chris@netbsd.org>
List: netbsd-bugs
Date: 07/06/2003 23:41:44
>Number:         22077
>Category:       pkg
>Synopsis:       when building packages using *_OVERRIDE they fail to get the files symlinked to the new versions
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Jul 06 22:43:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:     Chris Gilbert
>Release:        NetBSD 1.6Q
>Organization:
>Environment:
System: NetBSD whiskas 1.6Q NetBSD 1.6Q (WHISKAS) #8: Tue Apr 1 00:44:54 BST 2003 chris@pinky.buzzbee.plus.com:/usr/obj/kern/current/i386/WHISKAS i386
Architecture: i386
Machine: i386

Also happens on a -current cats box.

>Description:
While updating mk/gnu-config/config.guess I attempted to test the update, but found packages using CONFIG_GUESS_OVERRIDE failed to work.

It seems that although _CONFIGURE_PREREQ is set correctly in bsd.pkg.mk, it fails to be added as a dependency to the do-configure target.

>How-To-Repeat:
	Attempt to build benchmarks/benchfft on a cats box, it errors with:
checking host system type... Invalid configuration `cats-unknown-netbsd1.6V': machine `cats-unknown' not recognized

Using make -da configure shows that _CONFIGURE_PREREQ gets setup correctly, however do-configure doesn't pick it up for dependancies.

I've no idea why this doesn't work, I suspect it might actually be a bug with make though...
>Fix:
	No idea.
>Release-Note:
>Audit-Trail:
>Unformatted: