NetBSD Problem Report #39575
From www@NetBSD.org Wed Sep 17 23:15:26 2008
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
by narn.NetBSD.org (Postfix) with ESMTP id 4D8BD63B877
for <gnats-bugs@gnats.netbsd.org>; Wed, 17 Sep 2008 23:15:26 +0000 (UTC)
Message-Id: <20080917231526.1595F63B842@narn.NetBSD.org>
Date: Wed, 17 Sep 2008 23:15:26 +0000 (UTC)
From: roland.illig@gmx.de
Reply-To: roland.illig@gmx.de
To: gnats-bugs@NetBSD.org
Subject: ALL_ENV is used by gcc.mk before being defined
X-Send-Pr-Version: www-1.0
>Number: 39575
>Category: pkg
>Synopsis: ALL_ENV is used by gcc.mk before being defined
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Sep 17 23:20:01 +0000 2008
>Closed-Date: Thu Jun 18 04:45:33 +0000 2015
>Last-Modified: Thu Jun 18 04:45:33 +0000 2015
>Originator: Roland Illig
>Release: pkgsrc-current
>Organization:
>Environment:
Linux bacc 2.6.24-19-generic #1 SMP Wed Aug 20 17:53:40 UTC 2008 x86_64 GNU/Linux
LANG=de_DE.UTF-8
>Description:
When determining the compiler version, the user's locale is used instead of the C locale. This is because when loading gcc.mk, neither of the variables SETENV nor ALL_ENV are defined.
This only happens for the package where bmake is called directly. For dependencies, all goes well.
>How-To-Repeat:
$ ssh linux-x86_64
$ cd /usr/pkgsrc/devel/bison
$ bmake show-all-gcc | grep _GCC_VERSION
def _GCC_VERSION = 0
def _GCC_VERSION_STRING = 0
>Fix:
Define COMMON_ENV in bsd.prefs.mk and use that instead of ALL_ENV.
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Thu, 18 Jun 2015 04:45:33 +0000
State-Changed-Why:
This was fixed by jperkin in -r1.125 of gcc.mk, in July 2012.
>Unformatted:
(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.