FS#25066 - [js][mongodb] compiled without UTF8 support
Attached to Project:
Community Packages
Opened by Salvador de la Puente (lodr) - Friday, 08 July 2011, 07:26 GMT
Last edited by Thomas Dziedzic (tomd123) - Monday, 26 September 2011, 21:22 GMT
Opened by Salvador de la Puente (lodr) - Friday, 08 July 2011, 07:26 GMT
Last edited by Thomas Dziedzic (tomd123) - Monday, 26 September 2011, 21:22 GMT
|
Details
Description:
Current package is not built with UTF8 support. Additional info: * js version: 1.8.5-1 * mongodb version to reproduce: 1.8.2-5 Steps to reproduce: 1.- Try to install mongodb-1.8.2-5 from community-testing repository 2.- Run mongo and you'll see a warning saying that spidermonkey (now js) was not build with UTF8 support. |
This task depends upon
Closed by Thomas Dziedzic (tomd123)
Monday, 26 September 2011, 21:22 GMT
Reason for closing: Fixed
Additional comments about closing: mongodb now includes its own internal copy of js
Monday, 26 September 2011, 21:22 GMT
Reason for closing: Fixed
Additional comments about closing: mongodb now includes its own internal copy of js
https://jira.mongodb.org/browse/SERVER-2887
SpiderMonkey 1.8.5 support
https://jira.mongodb.org/browse/SERVER-1104
It sets -DJS_C_STRINGS_ARE_UTF8 flag for c++ compiler. So utf8 is enabled.
This solution should work both on x86 and x64. Please, add it to official repo.
I also reported to mozilla and they said that is not the right way to do. [1]
If you really want this to be fixed, i suggest to contact mongodb developers.My comments and account were deleted from their bugtracker, true maybe that is my fault.
What you have to do is:
Open a *new bug* explaining that modern JS shared libraries have runtime support to turn UTF8 strings on or off programatically, and request that they do that before they init the runtime.
[1] https://bugzilla.mozilla.org/show_bug.cgi?id=628723#c48
Please comment on their report.
Leaving this open for others wondering why their mongodb app is giving them warnings.