Open
Description
Description / Steps to reproduce the issue
Running gradle 8.11
or higher results in the crash:
$ gradle run
FAILURE: Build failed with an exception.
* What went wrong:
Unable to get mutable environment variable map.
* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
> Get more help at https://help.gradle.org.
Downgrading the package to 8.10.2
fixes the issue:
git clone https://github.com/msys2/MSYS2-packages
cd MSYS2-packages/gradle
git checkout 14a9d41bbf1894ddad05418a3b763b8aa5db4164
makepkg -i --noconfirm
Expected behavior
Gradle should execute the program successfully.
Actual behavior
Gradle crashes with error: Unable to get mutable environment variable map.
Verification
- I have verified that my MSYS2 is up-to-date before submitting the report (see https://www.msys2.org/docs/updating/)
Windows Version
MSYS_NT-10.0-19045
Are you willing to submit a PR?
No