[SERVER-61304] Unable to use --use-system-{pcre,boost,...} with r5.1.0 Created: 07/Nov/21 Updated: 29/Oct/23 Resolved: 11/Nov/21 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 5.2.0, 5.1.1 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Nehal J Wani | Assignee: | Andrew Morrow (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 | ||||
| Backport Requested: |
v5.1
|
||||
| Sprint: | Dev Platform 2021-11-15 | ||||
| Participants: | |||||
| Description |
|
Old behavior:
Current behavior:
A git bisect reveals that the following commit is the cause:
|
| Comments |
| Comment by Andrew Morrow (Inactive) [ 19/Nov/21 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
nehaljw.kkd1@gmail.com - The fix has been backported to the v5.1 branch. The next release from that branch will contain the fix. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Githook User [ 19/Nov/21 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Author: {'name': 'Andrew Morrow', 'email': 'acm@mongodb.com', 'username': 'acmorrow'}Message: (cherry picked from commit b3eefe3ab3a9cf8cce299c1ad8664258b6c8190a) | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Andrew Morrow (Inactive) [ 11/Nov/21 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
nehaljw.kkd1@gmail.com - This is now fixed on master and we will get it backported to the v5.1 branch after a bit of burn-in time. The fixVersion on this ticket will be updated to reflect the 5.1 release in which the fix will land. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Nehal J Wani [ 11/Nov/21 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
I've tested this patch and it works for my use case. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Githook User [ 11/Nov/21 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Author: {'name': 'Andrew Morrow', 'email': 'acm@mongodb.com', 'username': 'acmorrow'}Message: | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Andrew Morrow (Inactive) [ 10/Nov/21 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
nehaljw.kkd1@gmail.com - If you are interested, can you see if the following patch fixes the issue for you? We are still reviewing/validating so I wouldn't use this for anything other than testing, but it would be good to know if it appears to fix the issue for you.
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Andrew Morrow (Inactive) [ 09/Nov/21 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
nehaljw.kkd1@gmail.com - I've reproduced this and have diagnosed why that change broke it. I have some ideas about how we might fix it, rather than reverting the virtual libdep feature. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Andrew Morrow (Inactive) [ 07/Nov/21 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
nehaljw.kkd1@gmail.com - Thanks for the ticket, I'll follow up when I have more details. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Nehal J Wani [ 07/Nov/21 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
To provide some context: I'm the maintainer of the MongoDB feedstock in the Conda Forge community. We try to use packages provided by the ecosystem instead of building them and linking them statically. I noticed lots of linker errors when building the r5.1.0 release, which get resolved on reverting the commit mentioned above. |