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

twoliter: drop PATH override for debuginfo #383

Merged

Conversation

bcressey
Copy link
Contributor

@bcressey bcressey commented Oct 2, 2024

Issue number:
Related: bottlerocket-os/bottlerocket-sdk#210

Description of changes:
find-debuginfo overrides $PATH to prefer its own directory, so this wasn't working as expected.

Drop this workaround to avoid conflating host and target tools, which can mask build logic errors in package specs.

Testing done:
Built the core kit on both host architectures, for both target architectures, after taking the SDK change. No objcopy failures were logged.

Terms of contribution:

By submitting this pull request, I agree that this contribution is dual-licensed under the terms of both the Apache License, version 2.0, and the MIT license.

`find-debuginfo` overrides $PATH to prefer its own directory, so this
wasn't working as expected.

Drop this workaround to avoid conflating host and target tools, which
can mask build logic errors in package specs.

Signed-off-by: Ben Cressey <[email protected]>
@bcressey bcressey merged commit 8799f7b into bottlerocket-os:develop Oct 9, 2024
1 check passed
@bcressey bcressey deleted the drop-debuginfo-path-override branch October 9, 2024 22:55
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.

4 participants