pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/39575: ALL_ENV is used by before being defined

>Number:         39575
>Category:       pkg
>Synopsis:       ALL_ENV is used by before being defined
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Sep 17 23:20:01 +0000 2008
>Originator:     Roland Illig
>Release:        pkgsrc-current
Linux bacc 2.6.24-19-generic #1 SMP Wed Aug 20 17:53:40 UTC 2008 x86_64 

When determining the compiler version, the user's locale is used instead of the 
C locale. This is because when loading, 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.
$ ssh linux-x86_64
$ cd /usr/pkgsrc/devel/bison
$ bmake show-all-gcc | grep _GCC_VERSION
  def   _GCC_VERSION = 0
Define COMMON_ENV in and use that instead of ALL_ENV.

Home | Main Index | Thread Index | Old Index