[New-bugs-announce] [issue23767] Library and include paths not added when cross compiling on localized sytem

Samuel Cabrero report at bugs.python.org
Tue Mar 24 21:04:00 CET 2015


New submission from Samuel Cabrero:

When cross compiling on a localized system (eg. LANG=es_ES.utf8) the add_gcc_paths is called. This function parses the output of "gcc -v -E" and fails because the output is localized which
results in no paths added and detect_modules not able to find
any system library (eg. libz, libssl, etc.)

The attached patch forces the use of the default locale in the function
add_gcc_paths.

----------
components: Cross-Build
files: 0001-Override-system-locale-and-set-to-default-when-addin.patch
keywords: patch
messages: 239173
nosy: kernevil
priority: normal
severity: normal
status: open
title: Library and include paths not added when cross compiling on localized sytem
versions: Python 3.4
Added file: http://bugs.python.org/file38671/0001-Override-system-locale-and-set-to-default-when-addin.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue23767>
_______________________________________


More information about the New-bugs-announce mailing list