Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gradle: Unable to get mutable environment variable map. (gradle 8.11+) #5044

Open
1 task done
sewbacca opened this issue Dec 10, 2024 · 0 comments
Open
1 task done
Labels

Comments

@sewbacca
Copy link

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

Windows Version

MSYS_NT-10.0-19045

Are you willing to submit a PR?

No

@sewbacca sewbacca added the bug label Dec 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant