Skip to content

Platform discovery is using ld.so instead ldd #13552

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

Merged
merged 1 commit into from
May 20, 2025

Conversation

konstin
Copy link
Member

@konstin konstin commented May 20, 2025

In platform discovery we're parsing the output of the ELF interpreter, e.g., /lib64/ld-linux-x86-64.so.2. This file is ld, not ldd, which was incorrectly named in the code.

An alternative is naming everything ELF interpreter instead of ld.so.

In platform discovery we're parsing the output of the ELF interpreter, e.g., `/lib64/ld-linux-x86-64.so.2`. This file is ld, not ldd, which was incorrectly named in the code.

An alternative is naming everything ELF interpreter instead of ld.so.
@konstin konstin requested review from geofft and oconnor663 May 20, 2025 10:24
@konstin konstin added internal A refactor or improvement that is not user-facing tracing Verbose output and debugging and removed internal A refactor or improvement that is not user-facing labels May 20, 2025
@konstin konstin merged commit bc7b71f into main May 20, 2025
86 checks passed
@konstin konstin deleted the konsti/ld-os-in-stead-of-ldd branch May 20, 2025 13:27
tmeijn pushed a commit to tmeijn/dotfiles that referenced this pull request May 23, 2025
This MR contains the following updates:

| Package | Update | Change |
|---|---|---|
| [astral-sh/uv](https://github.com/astral-sh/uv) | patch | `0.7.6` -> `0.7.7` |

MR created with the help of [el-capitano/tools/renovate-bot](https://gitlab.com/el-capitano/tools/renovate-bot).

**Proposed changes to behavior should be submitted there as MRs.**

---

### Release Notes

<details>
<summary>astral-sh/uv (astral-sh/uv)</summary>

### [`v0.7.7`](https://github.com/astral-sh/uv/blob/HEAD/CHANGELOG.md#077)

[Compare Source](astral-sh/uv@0.7.6...0.7.7)

##### Python

-   Work around third-party packages that (incorrectly) assume the interpreter is dynamically linking libpython
-   Allow the experimental JIT to be enabled at runtime on Python 3.13 and 3.14 on macOS on aarch64 aka Apple Silicon

See the
[`python-build-standalone` release notes](https://github.com/astral-sh/python-build-standalone/releases/tag/20250521)
for more details.

##### Bug fixes

-   Make `uv version` lock and sync ([#&#8203;13317](astral-sh/uv#13317))
-   Fix references to `ldd` in diagnostics to correctly refer to `ld.so` ([#&#8203;13552](astral-sh/uv#13552))

##### Documentation

-   Clarify adding SSH Git dependencies ([#&#8203;13534](astral-sh/uv#13534))

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever MR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this MR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this MR, check this box

---

This MR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MC4yMy4xIiwidXBkYXRlZEluVmVyIjoiNDAuMjMuMSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiUmVub3ZhdGUgQm90Il19-->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tracing Verbose output and debugging
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants