NetBSD Problem Report #30024
From www@netbsd.org Thu Apr 21 17:48:57 2005
Return-Path: <www@netbsd.org>
Received: by narn.netbsd.org (Postfix, from userid 31301)
id BF1AC63B11A; Thu, 21 Apr 2005 17:48:57 +0000 (UTC)
Message-Id: <20050421174857.BF1AC63B11A@narn.netbsd.org>
Date: Thu, 21 Apr 2005 17:48:57 +0000 (UTC)
From: j1clark@ucsd.edu
Reply-To: j1clark@ucsd.edu
To: gnats-bugs@netbsd.org
Subject: INFOPATH not correctly used in cross build environment.
X-Send-Pr-Version: www-1.0
>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
>Last-Modified: Thu Apr 21 23:39: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.
>Audit-Trail:
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--
(Contact us)
$NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.