https://gcc.gnu.org/bugzilla/show_bug.cgi?id=127359
Bug ID: 127359
Summary: building modula2 support requires bash installed in
path
Product: gcc
Version: 15.3.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: modula2
Assignee: gaius at gcc dot gnu.org
Reporter: eric.melville at pobox dot com
Target Milestone: ---
Building GCC 15.3.0 will fail with modula2 enabled, if bash is not present. The
same build on the same system will succeed if either bash is installed and the
build immediately retried, or if m2 is removed from the enabled languages list
and otherwise unchanged.
Once narrowing it down to bash, tried 15.2.0, 14.2.0, and 13.2.0, same results,
though not tested as thoroughly.
It looks like someone or something is calling bash blindly without a path or
checking the environment -
/bin/sh: 1: bash: not found
Deeper logs can be provided but imagine this is easy to reproduce, though it
seems to be near the end of the build so it does take time.