Skip to content

fix: register gcc-11/g++-11 as the generic gcc/g++ alternatives - #25

Merged
Mearman merged 1 commit into
mainfrom
fix/runner-image-missing-gcc-alternatives
Sep 28, 2026
Merged

Mearman merged 1 commit into
mainfrom
fix/runner-image-missing-gcc-alternatives

Conversation

@Mearman

@Mearman Mearman commented Sep 28, 2026

Copy link
Copy Markdown
Member

Follow-up to #24. Installing make alone got node-gyp to invoke make, but the generated Makefile calls the plain g++/gcc/cc/c++ commands, which don't exist when only the versioned gcc-11/g++-11 packages are installed. update-alternatives registers them so any tool expecting the standard compiler names resolves correctly, without touching the deliberate version pin.

Installing gcc-11 and g++-11 only provides the versioned binaries; no
generic gcc/g++/cc/c++ command existed, so node-gyp (and any other
tool invoking the plain compiler names, as make-based builds do)
failed with "g++: No such file or directory" even after make was
installed.
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 28, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
🔒 Security Review ✅ Completed 2026-09-28T19:59:07.544522Z ef92058 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@Mearman
Mearman merged commit ebfd896 into main Sep 28, 2026
10 checks passed
@Mearman
Mearman deleted the fix/runner-image-missing-gcc-alternatives branch September 28, 2026 19:58
@github-actions

Copy link
Copy Markdown

🎉 This PR is included in version 1.5.2 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant