[SERVER-42889] Scons failing with --config=force Created: 19/Aug/19 Updated: 29/Oct/23 Resolved: 09/Sep/19 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Build |
| Affects Version/s: | None |
| Fix Version/s: | 4.3.1 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Charlie Swanson | Assignee: | Mathew Robinson (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||
| Operating System: | ALL | ||||||||
| Sprint: | Dev Tools 2019-09-09, Dev Tools 2019-09-23 | ||||||||
| Participants: | |||||||||
| Description |
|
it looks like my compile stopped working recently with the following error:
Removing the --config=force fixed the issue. |
| Comments |
| Comment by Githook User [ 05/Sep/19 ] |
|
Author: {'username': 'chasinglogic', 'email': 'mathew.robinson@mongodb.com', 'name': 'Mathew Robinson'}Message: |
| Comment by Mathew Robinson (Inactive) [ 03/Sep/19 ] |
|
This is caused by our modules system expecting the configure context env attribute to point to the global environment object. With SCons 3.1.1 we fixed it such that override environments are inherited so when we ask for the env from the configure context we're getting it's override environment and not the pointer to the global env that it used to return. This is a bug in the modules system it should have required an explicit env from the start and I'm working on a patch now. |
| Comment by Charlie Swanson [ 19/Aug/19 ] |
|
Yes I plan to. |
| Comment by Andrew Morrow (Inactive) [ 19/Aug/19 ] |
|
Can you try not using it for a while and see if everything still works? |
| Comment by Charlie Swanson [ 19/Aug/19 ] |
|
I do not remember the details. At some point it entered my tool belt along with things like "just nuke the build directory and start again" as a thing that sometimes works to make compile happen. |
| Comment by Andrew Morrow (Inactive) [ 19/Aug/19 ] |
|
Why are you using --config=force? |