[SERVER-21905] CR characters trigger 3.2 compilation failure Created: 15/Dec/15 Updated: 20/Nov/16 Resolved: 28/Dec/15 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Build |
| Affects Version/s: | 3.2.0 |
| Fix Version/s: | 3.2.3, 3.3.0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Yunier J. Sosa | Assignee: | Mark Benvenuto |
| Resolution: | Done | Votes: | 0 |
| Labels: | code-only | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Debian Testing |
||
| Attachments: |
|
||||||||
| Issue Links: |
|
||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||
| Operating System: | Linux | ||||||||
| Backport Completed: | |||||||||
| Steps To Reproduce: | Try compile mongo with scons all |
||||||||
| Sprint: | Platforms E (01/08/16) | ||||||||
| Participants: | |||||||||
| Description |
|
When I try compile mongo a error is triggered, I have installed all dependences. |
| Comments |
| Comment by Githook User [ 27/Jan/16 ] |
|
Author: {u'username': u'markbenvenuto', u'name': u'Mark Benvenuto', u'email': u'mark.benvenuto@mongodb.com'}Message: (cherry picked from commit 0f825e855c65bde8d3f5b7ad1b046088949cc914) |
| Comment by Githook User [ 28/Dec/15 ] |
|
Author: {u'username': u'markbenvenuto', u'name': u'Mark Benvenuto', u'email': u'mark.benvenuto@mongodb.com'}Message: |
| Comment by Yunier J. Sosa [ 16/Dec/15 ] |
|
Friends, I have been downloaded and compiled the .tar.gz file like you say to me and work fine |
| Comment by Mark Benvenuto [ 16/Dec/15 ] |
|
Yes, this a bug in the python script. It assumes you build with sources that have Linux new lines ('\n') on Linux. The zip file contains Windows new lines ('\r\n'). To workaround this, just download the file with .tar.gz as the suffix. The fix is to modify the calls to open to use 'U'. |
| Comment by Ramon Fernandez Marina [ 15/Dec/15 ] |
|
Thanks for your report yjsosa, I'm able to reproduce this error and we're investigating. |