Subject: Re: misc/30024: INFOPATH not correctly used in cross build environment.
To: None <misc-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: Luke Mewburn <lukem@NetBSD.org>
List: netbsd-bugs
Date: 04/21/2005 23:39:01
The following reply was made to PR misc/30024; it has been noted by GNATS.

From: Luke Mewburn <lukem@NetBSD.org>
To: gnats-bugs@netbsd.org
Cc: misc-bug-people@netbsd.org, gnats-admin@netbsd.org,
	netbsd-bugs@netbsd.org
Subject: Re: misc/30024: INFOPATH not correctly used in cross build environment.
Date: Fri, 22 Apr 2005 09:38:03 +1000

 --psiQidSaV97t/NN8
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: inline
 Content-Transfer-Encoding: quoted-printable
 
 On Thu, Apr 21, 2005 at 05:49:00PM +0000, j1clark@ucsd.edu wrote:
   | >Number:         30024
   | >Category:       misc
   | >Synopsis:       INFOPATH not correctly used in cross build environment.
   | >Release:        netbsd 2.0
   | Linux
   | >Description:
   | During the install phase of building the 'world' on a linux host, the s=
 hell variable INFOPATH is not correctly used, and causes a macro expansion =
 which results in the generation of an erroneous target specification. Ex:
   |=20
   | shell variable: INFOPATH=3D/usr/share/info:/usr/X11R6/info
   |=20
   | Resulted in the expansion for 'nbmake-i386 install' in the
   | lib/libbz2 directory of:
   |=20
   | /home/NetBSD/src/obj/destdir.i386/usr/share/info:/usr/X11R6/info/bzip2.=
 info
   |=20
   | This is an incorrect use of the local machine's INFOPATH in a cross com=
 pilation 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.
 
 
 I tried to reproduce this just in lib/libbz2 by setting INFOPATH
 in my environment, but -current built & installed it fine.
 Do you know if it's because makeinfo(1) is built with that infopath?
 
 (Or, it could be a bug in netbsd-2 that's since been fixed)
 
 Could you try this on the NetBSD-3 branch or against NetBSD-current
 (CVS HEAD) ?
 
 --psiQidSaV97t/NN8
 Content-Type: application/pgp-signature
 Content-Disposition: inline
 
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.4.1 (NetBSD)
 
 iD8DBQFCaDlbpBhtmn8zJHIRApgNAKC0xjEGPuCLmrnRfKttB33EoH5lcgCgh77J
 glU5KgdevZyvLs3bNM60mt8=
 =ETeq
 -----END PGP SIGNATURE-----
 
 --psiQidSaV97t/NN8--