Subject: misc/30024: INFOPATH not correctly used in cross build environment.
To: None <misc-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: None <j1clark@ucsd.edu>
List: netbsd-bugs
Date: 04/21/2005 17:49:00
>Number:         30024
>Category:       misc
>Synopsis:       INFOPATH not correctly used in cross build environment.
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    misc-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Apr 21 17:49:00 +0000 2005
>Originator:     John Clark
>Release:        netbsd 2.0
>Organization:
>Environment:
Linux
>Description:
During the install phase of building the 'world' on a linux host, the shell variable INFOPATH is not correctly used, and causes a macro expansion which results in the generation of an erroneous target specification. Ex:

shell variable: INFOPATH=/usr/share/info:/usr/X11R6/info

Resulted in the expansion for 'nbmake-i386 install' in the
lib/libbz2 directory of:

/home/NetBSD/src/obj/destdir.i386/usr/share/info:/usr/X11R6/info/bzip2.info

This is an incorrect use of the local machine's INFOPATH in a cross compilation environment.
>How-To-Repeat:
It is unknown if this also holds for NetBSD environments.
>Fix:
Set the shell environment variable INFOPATH to a null string.