[SERVER-64757] Improve error messages when scons fails to generate-ninja on Windows Created: 21/Mar/22 Updated: 29/Oct/23 Resolved: 13/Apr/22 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 5.3.2, 4.4.14, 5.0.8, 6.0.0-rc0 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Richard Samuels (Inactive) | Assignee: | Richard Samuels (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 | ||||
| Backport Requested: |
v5.3, v5.0, v4.4
|
||||
| Sprint: | Dev Platform 2022-04-04, Dev Platform 2022-04-18 | ||||
| Participants: | |||||
| Description |
|
I attempted to run the generate-ninja target on Windows in a Cygwin Terminal (through RDP) with the following scons invocation:
and was greeted to this error message:
The cause of this error was that I did not run vcvarsall.bat amd64, so scons did not have the correct environment variables set. Can we emit a more helpful error message in this situation? Dan Moody's suggestion was:
|
| Comments |
| Comment by Githook User [ 13/Apr/22 ] |
|
Author: {'name': 'Richard Samuels', 'email': 'richard.l.samuels@gmail.com', 'username': 'richardsamuels'}Message: (cherry picked from commit 4db485642f9d1d3675308e8415da27c4ef212b79) |
| Comment by Githook User [ 13/Apr/22 ] |
|
Author: {'name': 'Richard Samuels', 'email': 'richard.l.samuels@gmail.com', 'username': 'richardsamuels'}Message: (cherry picked from commit 4db485642f9d1d3675308e8415da27c4ef212b79) |
| Comment by Githook User [ 13/Apr/22 ] |
|
Author: {'name': 'Richard Samuels', 'email': 'richard.l.samuels@gmail.com', 'username': 'richardsamuels'}Message: (cherry picked from commit 4db485642f9d1d3675308e8415da27c4ef212b79) |
| Comment by Githook User [ 12/Apr/22 ] |
|
Author: {'name': 'Richard Samuels', 'email': 'richard.l.samuels@gmail.com', 'username': 'richardsamuels'}Message: |