View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0011769 | CMake | CMake | public | 2011-01-27 07:34 | 2016-06-10 14:31 | ||||
Reporter | Tomáš Chvátal | ||||||||
Assigned To | Kitware Robot | ||||||||
Priority | normal | Severity | major | Reproducibility | always | ||||
Status | closed | Resolution | moved | ||||||
Platform | OS | OS Version | |||||||
Product Version | CMake 2.8.3 | ||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0011769: cmake run commands in Finders with user locale environment set | ||||||||
Description | Cmake executes all commands within the FindFoo.cmake with all evironment set up by the user thus translations are able to bork up stuff quite easily. Currently known version of this issue can be observed with bison and language set to ES. LC_ALL="C" and LC_ALL="sv_SE.UTF-8" you got "bison (GNU Bison) 2.4.3", while with spanish you got: "bison (GNU bison) 2.4.2" Thanks to the change in that Gnu *b*ison the regexp in finder no longer finds its stuff and explodes (this issue was found by running FindModulesExecuteAll test :P). Since this issue might not be only this case it might be safest to run all cmake commands with environment reseted to C with the LC_ALL variable instead of just setting the LOCALE=C. | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | |||||||||
Relationships | |
Relationships |
Notes | |
(0025111) Alex Neundorf (developer) 2011-01-27 15:14 |
At least for FindBISON.cmake this has been fixed in 2.8.4. This leaves the question whether Find-modules in general should reset this env.variables. Alex |
(0025112) Tomáš Chvátal (reporter) 2011-01-27 15:36 |
Well i would not trust any environment, cause translators can make typos. I would be all hands for reseting all env to C as i wrote above :) The bison issue is minor, but things like this can occur from time to time and we should rather take some steps to prevent it from happening :) |
(0030224) David Cole (manager) 2012-08-11 11:09 |
Sending old, never assigned issues to the backlog. (The age of the bug, plus the fact that it's never been assigned to anyone means that nobody is actively working on it...) If an issue you care about is sent to the backlog when you feel it should have been addressed in a different manner, please bring it up on the CMake mailing list for discussion. Sign up for the mailing list here, if you're not already on it: http://www.cmake.org/mailman/listinfo/cmake [^] It's easy to re-activate a bug here if you can find a CMake developer who has the bandwidth to take it on, and ferry a fix through to our 'next' branch for dashboard testing. |
(0041789) Kitware Robot (administrator) 2016-06-10 14:28 |
Resolving issue as `moved`. This issue tracker is no longer used. Further discussion of this issue may take place in the current CMake Issues page linked in the banner at the top of this page. |
Notes |
Issue History | |||
Date Modified | Username | Field | Change |
2011-01-27 07:34 | Tomáš Chvátal | New Issue | |
2011-01-27 15:14 | Alex Neundorf | Note Added: 0025111 | |
2011-01-27 15:36 | Tomáš Chvátal | Note Added: 0025112 | |
2012-08-11 11:09 | David Cole | Status | new => backlog |
2012-08-11 11:09 | David Cole | Note Added: 0030224 | |
2016-06-10 14:28 | Kitware Robot | Note Added: 0041789 | |
2016-06-10 14:28 | Kitware Robot | Status | backlog => resolved |
2016-06-10 14:28 | Kitware Robot | Resolution | open => moved |
2016-06-10 14:28 | Kitware Robot | Assigned To | => Kitware Robot |
2016-06-10 14:31 | Kitware Robot | Status | resolved => closed |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |