NetBSD Problem Report #34449

From heas@shrubbery.net  Sat Sep  2 02:37:37 2006
Return-Path: <heas@shrubbery.net>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by narn.NetBSD.org (Postfix) with ESMTP id 28E0963BA0A
	for <gnats-bugs@gnats.NetBSD.org>; Sat,  2 Sep 2006 02:37:37 +0000 (UTC)
Message-Id: <20060902023732.C125186552@guelah.shrubbery.net>
Date: Sat,  2 Sep 2006 02:37:32 +0000 (UTC)
From: heas@shrubbery.net
Reply-To: heas@shrubbery.net
To: gnats-bugs@NetBSD.org
Subject: gawk ignores GNU_PROGRAM_PREFIX, but toolchain linking does not
X-Send-Pr-Version: 3.95

>Number:         34449
>Category:       pkg
>Synopsis:       gawk ignores GNU_PROGRAM_PREFIX, but toolchain linking does not
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Sep 02 02:40:00 +0000 2006
>Last-Modified:  Sun Mar 21 16:21:07 +0000 2010
>Originator:     john heasley
>Release:        NetBSD 3.99.17
>Organization:

>Environment:


System: NetBSD guelah 3.99.17 NetBSD 3.99.17 (guelah) #1: Tue Apr 18 01:51:21 UTC 2006 root@oak:/sys/arch/sparc64/compile/guelah sparc64
Architecture: sparc64
Machine: sparc64
>Description:
lang/gawk does not handle pkgsrc variable GNU_PROGRAM_PREFIX.  But, when a
package requiring awk, such as security/libgpg-error on solaris 2.9, gets
its tools linked, GNU_PROGRAM_PREFIX is obeyed.  Like so:

	work/.tools/bin/awk -> gawk
	work/.tools/bin/gawk -> /usr/pklg/bin/awk

The build then fails, unless TOOLS_PLATFORM.gawk is defined.

>How-To-Repeat:
Set GNU_PROGRAM_PREFIX= in mk.conf.
Build security/libgpg-error on a platform that require gawk.
>Fix:


>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: pkg-manager->bouyer
Responsible-Changed-By: snj@netbsd.org
Responsible-Changed-When: Mon, 04 Sep 2006 03:42:32 +0000
Responsible-Changed-Why:
Over to maintainer.


Responsible-Changed-From-To: bouyer->jlam
Responsible-Changed-By: reed@netbsd.org
Responsible-Changed-When: Sat, 07 Oct 2006 19:34:51 +0000
Responsible-Changed-Why:
Changed from maintainer to jlam who works on mk/tools/replace.mk.
It looks like this is supported since 2005, but didn't check myself.


Responsible-Changed-From-To: jlam->pkg-manager
Responsible-Changed-By: wiz@NetBSD.org
Responsible-Changed-When: Sun, 21 Mar 2010 16:21:07 +0000
Responsible-Changed-Why:
Back to role account, jlam lost his commit bit.


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(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.