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

Re-enable autoPatchelfHook #108

Merged
merged 4 commits into from
Sep 16, 2024
Merged

Conversation

veehaitch
Copy link
Contributor

Partially reverts #96 which broke many if not all binaries (see #103).

Many derivations rely on mkGeneric and use autoPatchelfHook as a native build input. Since dontAutoPatchelf = true was added to mkGeneric in #96, autoPatchelfHook never ran again, breaking all dynamic binaries.

This PR removes dontAutoPatchelf = true from mkGeneric and also adds some missing build inputs. This way, autoPatchelf will again run as a post-fixup and will also fail if it cannot resolve a dependency instead of silently succeeding.

Closes #103.
Supersedes #104.

@veehaitch
Copy link
Contributor Author

@RatCornu @HPRIOR @name-snrl Could you please check if this PR works for you? Thanks!

@name-snrl
Copy link
Contributor

name-snrl commented Sep 6, 2024

Hi, these changes will not affect my case from #93. The main issue was related to the strip functionality. The changes in this PR do not change the options related to strip.

@tadfisher tadfisher merged commit 6cc08ea into tadfisher:main Sep 16, 2024
2 checks passed
@tadfisher
Copy link
Owner

Merged, thanks!

@cschramm cschramm deleted the fix-autopatchelf branch September 17, 2024 06:25
@cschramm cschramm restored the fix-autopatchelf branch September 17, 2024 06:25
@guillemcordoba
Copy link

Could we get this backported to the stable branch? I think it's affected by this as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Executables not runnable
4 participants