fix(gnu.org/gcc): add Debian multi-arch triplet symlinks (addresses #8423)#13083
Open
tannevaled wants to merge 2 commits into
Open
fix(gnu.org/gcc): add Debian multi-arch triplet symlinks (addresses #8423)#13083tannevaled wants to merge 2 commits into
tannevaled wants to merge 2 commits into
Conversation
Many Linux build systems (autoconf, distutils, setuptools, pip build backends, scikit-build, etc.) probe for the architecture-prefixed binary names — `x86_64-linux-gnu-gcc`, `aarch64-linux-gnu-g++`, etc. — before falling back to plain `gcc`. Without these symlinks, pip-install of any Python C-extension wheel fails on Ubuntu/Debian rootfs even when `gcc` IS on PATH. Addresses one of the two complaints in pkgxdev#8423. The other issue raised there (`stdlib.h: No such file or directory` on Fedora) is the libc-headers gap — pkgx's gcc relies on the system glibc-devel for /usr/include/stdlib.h etc. That requires a separate gnu.org/glibc bottle + runtime dep wiring; see bklibcvenv-pattern follow-ups (pkgxdev#12968 and brewkit#348).
4 tasks
Multi-arch triplet symlinks (pkgxdev#13083 / pkgxdev#8423) atop the now-merged multi-distributable URL block and darwin/x86-64 libgcc_s codesign. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This was referenced May 29, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Why
Many Linux build systems probe for the architecture-prefixed binary names (`$ARCH-linux-gnu-gcc`) before falling back to plain `gcc`:
Without these, `pkgx install gcc` works on Fedora-style rootfs but fails on Ubuntu/Debian-style rootfs even though gcc IS on PATH.
Addresses the first of two issues raised in #8423.
Out of scope
The second issue in #8423 — `stdlib.h: No such file or directory` on Fedora — is the libc-headers gap. pkgx's gcc relies on the system glibc-devel for /usr/include/. That requires a separate `gnu.org/glibc` bottle + runtime dep wiring; see the bklibcvenv-pattern follow-ups (#12968 and brewkit#348).
🤖 Generated with Claude Code