-
-
Notifications
You must be signed in to change notification settings - Fork 510
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
scipy build fails in tr_TR locale #1663
Comments
comment:1
This sounds fine as a temporary workaround, but we need to do the following things:
Cheers, Michael |
comment:2
scipy standalone build works fine on Pardus, I suspect this is due to our Python changes, we build with following configure options added: --enable-unicode=ucs4 --with-wctype-functions and we apply http://svn.uludag.org.tr/pardus/devel/system/base/python/files/default-utf8.patch Regards, |
comment:3
The ticket to switch to ucs4 is #551. The 2.10 release should be a good point in time to do the conversion since we will update a boat load of spkgs. Cheers, Michael |
comment:4
We should also check Pardus's svn repo for fixes at. http://svn.uludag.org.tr/pardus/devel/system/base/python/files Cheers, Michael |
comment:5
The problem remains, after the switch to ucs4, using a python built with the changes mentioned in comment:2. Looking at the error message again, I don't see how this can be related to python. I can't find any other changes in the Pardus repository which might effect the scipy build. Ismail, any ideas? I suggest clearing the LANG, LC_ALL and LC_CTYPE variables in the scipy spkg-install for now, as a work around. |
comment:6
Setting LC_ALL to C should workaround all this problems, weird thing is how it compiles here. I will dig a bit more and let you know. Sorry for the late reply, trac somehow does not e-mail me new messages :-/ |
comment:7
The SciPy people have actually fixed this bug, so once we update it should be resolved. Cheers, Michael |
comment:8
Since the Scipy people have not done a release in an eternity we should really add the workaround to our scipy.spkg for now to close the issue. I will take care of this in the short term. Cheers, Michael |
comment:9
scipy was upgraded with #3391, but this problem still remains. Error message is the same. To reproduce the error,
and build Sage as usual. |
Author: Tim Dumol |
comment:10
Sage-4.3.1.rc1 just built with |
Reviewer: Burcin Erocal |
Changed author from Tim Dumol to Jason Grout |
comment:11
The SciPy 0.7.1 package included in Sage was done by Jason Grout, not by me. The setup.py packages of his package were more up-to-date, so his was included (also, he made his much earlier). |
Scipy build fails with the following error when locale is set to
tr_TR.UTF-8
.In the tr_TR locale, lowercase of
I
isı
, and uppercase ofi
isİ
. This might cause unexpected results for auto generated files.A simple workaround is to clear the locale environment variables:
CC: @jasongrout @sagetrac-jkantor @TimDumol @rlmill
Component: packages: standard
Author: Jason Grout
Reviewer: Burcin Erocal
Issue created by migration from https://trac.sagemath.org/ticket/1663
The text was updated successfully, but these errors were encountered: