Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
4.1.2, 4.1.3
-
None
-
Patch Available
-
Runtime Error
Description
At this time, the run_locale_utils.sh script invoks the locale and localedef utilities using the PATH environment variable to determine the location of the utilities. This creates a problem if the bin subdirectory of the buildspace isn't in the PATH variable (likely), or if a system copy of locale or localedef is present in the PATH variable prior to the buildspace bin subdirectory.
One possible solution is to alter the PATH variable when calling the run_locale_utils.sh script, either manually or in the stub locale and sanity_check scripts. The trade off of this method is that other programs may be invoked incorrectly, if the altered PATH masks another utility used in the script.
A second possibility is to alter the run_locale_utils.sh script to use relative or absolute paths to the locale and localedef utilities.