[SERVER-34484] IDL targets don't work right on external build paths. Created: 13/Apr/18 Updated: 29/Oct/23 Resolved: 22/Oct/20 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | IDL |
| Affects Version/s: | None |
| Fix Version/s: | 4.9.0, 4.4.2 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | ADAM Martin (Inactive) | Assignee: | Daniel Moody |
| 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 | ||||||||||||||||||||
| Backport Requested: |
v4.4
|
||||||||||||||||||||
| Steps To Reproduce: | Build from a directory called "mongo" and use an external build artifacts path. |
||||||||||||||||||||
| Sprint: | Platforms 2018-08-27, Platforms 2018-09-10, Dev Platform 2020-11-02 | ||||||||||||||||||||
| Participants: | |||||||||||||||||||||
| Description |
|
If the directory that the source code lives in is called `mongo` for its last pathname element, then IDL and SCons both get confused and don't do the right thing. IDL doesn't emit the right pathnames for `#include` statements, but this is an easy fix. SCons doesn't seem to understand that it needs to build some IDL headers, however. This does not seem to be an issue if the source code directory is named something OTHER than `mongo` (or at least doesn't contain the string "mongo" within the name) |
| Comments |
| Comment by Githook User [ 22/Oct/20 ] |
|
Author: {'name': 'Daniel Moody', 'email': 'daniel.moody@mongodb.com', 'username': 'dmoody256'}Message: (cherry picked from commit f7308b157e496f24c017c0face999a66390a65cc) |
| Comment by Githook User [ 21/Oct/20 ] |
|
Author: {'name': 'Daniel Moody', 'email': 'daniel.moody@mongodb.com', 'username': 'dmoody256'}Message: |