Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use forked version of auditwheel with correct rpath patching #16777

Merged
merged 1 commit into from
Feb 2, 2024

Conversation

alopezz
Copy link
Contributor

@alopezz alopezz commented Feb 2, 2024

What does this PR do?

Changes version of auditwheel to use a patched fork that sets the RPATH the way we want.

pypa/auditwheel@main...DataDog:auditwheel:alopez/set-correct-rpath-on-copied-libs

Motivation

When trying to integrate our repaired wheels into the Agent build, Omnibus' health check failed. The reason is related to what is reported in pypa/auditwheel#451. The summary of the issue is that ldd can't find the libraries linked from libraries that are copied into the wheel because the RPATH of the copied libraries does not point to the right location.

Additional Notes

This required some changes to the repair script that calls functions within auditwheel because apparently that API is not really stable.

Review checklist (to be filled by reviewers)

  • Feature or bugfix MUST have appropriate tests (unit, integration, e2e)
  • Changelog entries must be created for modifications to shipped code
  • Add the qa/skip-qa label if the PR doesn't need to be tested during QA.

@alopezz alopezz requested a review from a team as a code owner February 2, 2024 13:32
@alopezz alopezz merged commit aa23315 into master Feb 2, 2024
39 checks passed
@alopezz alopezz deleted the alopez/auditwheel-patch branch February 2, 2024 17:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants