macaroni-os / macaroni-os/mark-issues

sys-libs/glibc-2.41-r1 ebuild fails to install on arm64 due to ld-linux path conflict

Open Beginner friendly
#621 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

emerge failure MARK mark-i mark-iii mark-unstable mark-xl
Dominant language
No language data
Stars
5
Forks
1
PR merge metrics
No merged PRs in 30d

Description

```
>>> Installing (2 of 2) sys-libs/glibc-2.41-r1::core-kit
* Package 'sys-libs/glibc-2.41-r1' has internal collisions between non-
* identical files (located in separate directories in the installation
* image (${D}) corresponding to merged directories in the target
* filesystem (${ROOT})):
*
* /lib64/ld-linux-aarch64.so.1
* /lib/ld-linux-aarch64.so.1
* /lib64/ld-linux-aarch64.so.1
* Differences: type, mode
*
* Package 'sys-libs/glibc-2.41-r1' NOT merged due to internal collisions
* between non-identical files. If necessary, refer to your elog messages
* for the whole content of the above message.

>>> Failed to install sys-libs/glibc-2.41-r1, Log file:
```

Changing line 1100 from “arm64 /lib/ld-linux-aarch64.so.1” to “arm64 /lib64/ld-linux-aarch64.so.1” fixed the issue.

```
# diff -u /var/git/meta-repo/kits/core-kit/sys-libs/glibc/glibc-2.41-r1.ebuild glibc-2.41-r2.ebuild
--- /var/git/meta-repo/kits/core-kit/sys-libs/glibc/glibc-2.41-r1.ebuild 2026-04-06 15:01:46.904004541 -0300
+++ glibc-2.41-r2.ebuild 2026-04-06 19:28:18.739993261 -0300
@@ -1097,7 +1097,7 @@
little)
ldso_abi_list+=(
# arm
- arm64 /lib/ld-linux-aarch64.so.1
+ arm64 /lib64/ld-linux-aarch64.so.1
# ELFv2 (glibc does not support ELFv1 on LE)
ppc64 /lib64/ld64.so.2
)
```

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Inspect sys-libs/glibc/glibc-2.41-r1.ebuild around line 1100, especially the arm64 entry in the little-endian ldso_abi_list. Compare the reported installation collision with the proposed r2 change, then run the arm64 package installation or relevant ebuild checks. Done means glibc installs without an internal collision for ld-linux-aarch64.so.1.

Written by the indexing model from the issue text.

Assessment

Domain
build-system, operating-systems
Issue type
Bug
Difficulty
1/5
Estimated time
Under an hour
Activity status
Quiet
Clarity
Clearly specified
Newbie friendliness
82/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.