Operational Defect Database

BugZero found this defect 55 days ago.

MongoDB | 2622560

dynamic link builds in macos will fail because of TAPI

Last update date:

3/25/2024

Affected products:

MongoDB Server

Affected releases:

No affected releases provided.

Fixed releases:

No fixed releases provided.

Description:

Info

SCons will automatically use tapi in dynamic link builds on macos. Tapi generates a file which represents the API of some shared library. This allows one to not relink or rebuild things which use the API, and still allow changes to the implementation under that API. Bazel is not configured to use or produce tapi files (.tbd) so SCons is asking bazel to build them, and bazel does not, resulting in build failure. We should decide if bazel should support tapi (if not we can force TAPI=0 in the scons env), and then configure the integration to act appropriately. We should also consider adding some basic level of macos dynamic link coverage to CI as some developers use this configuration.

Top User Comments


Steps to Reproduce


Additional Resources / Links

Share:

BugZero® Risk Score

What's this?

Coming soon

Status

Needs Scheduling

Learn More

Search:

...