Skip to content

[Backport staging-26.05] gccgo: fix build from minimal-bootstrap.gnugrep-static - #532032

Merged
pyrox0 merged 1 commit into
NixOS:staging-26.05from
Gskartwii:fix-gccgo-staging-26.05
Jun 15, 2026
Merged

pyrox0 merged 1 commit into
NixOS:staging-26.05from
Gskartwii:fix-gccgo-staging-26.05

Conversation

@Gskartwii

Copy link
Copy Markdown
Contributor

Manual backport of #531305.

Things done

nixpkgs-commit-check[bot]

This comment was marked as outdated.

gccgo is built by overriding gcc from stdenv stage3. At this stage of
stdenv, when minimal-bootstrap is used as the bootstrap seed, the grep
package is actually gnugrep-static from minimal-bootstrap. This package
was accidentally missing egrep and fgrep.

Now, the gcc configure system is capable of detecting that grep -E
works as an egrep substitute. Still, a few makefiles were using egrep
directly rather than grep -E. This ultimately broke the gccgo build in
a subtle way.

(cherry picked from commit 23eb9d2)
@Gskartwii
Gskartwii force-pushed the fix-gccgo-staging-26.05 branch from a06c094 to 16796ca Compare June 15, 2026 17:21
@nixpkgs-commit-check
nixpkgs-commit-check Bot dismissed their stale review June 15, 2026 17:23

Review dismissed automatically

@nixpkgs-ci nixpkgs-ci Bot added 10.rebuild-linux: 501+ This PR causes many rebuilds on Linux and should normally target the staging branches. 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-linux-stdenv This PR causes stdenv to rebuild on Linux and must target a staging branch. 11.by: package-maintainer This PR was created by a maintainer of all the package it changes. 10.rebuild-linux: 5001+ This PR causes many rebuilds on Linux and must target the staging branches. 10.rebuild-nixos-tests This PR causes rebuilds for all NixOS tests and should normally target the staging branches. 4.workflow: backport This targets a stable branch labels Jun 15, 2026
@pyrox0
pyrox0 added this pull request to the merge queue Jun 15, 2026
Merged via the queue into NixOS:staging-26.05 with commit fac330f Jun 15, 2026
32 checks passed
@whispersofthedawn whispersofthedawn mentioned this pull request Jun 30, 2026
4 tasks done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

4.workflow: backport This targets a stable branch 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-linux: 501+ This PR causes many rebuilds on Linux and should normally target the staging branches. 10.rebuild-linux: 5001+ This PR causes many rebuilds on Linux and must target the staging branches. 10.rebuild-linux-stdenv This PR causes stdenv to rebuild on Linux and must target a staging branch. 10.rebuild-nixos-tests This PR causes rebuilds for all NixOS tests and should normally target the staging branches. 11.by: package-maintainer This PR was created by a maintainer of all the package it changes.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants