-
Notifications
You must be signed in to change notification settings - Fork 408
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
Build failure on arch with openjdk 11.0.11 #1748
Comments
@snjeza Thank you for the followup. I tried it, and I am still getting a build failure although the reason seems different this time:
And here is the full output: |
@jemag could you try the following:
|
@snjeza it does seem to build successfully now with the GRADLE_HOME unset. I am a bit perplexed by that, shouldn't the gradle wrappers prevent such problems? |
The multi-module project doesn't use any gradle wrappers. |
I doubt this is an issue of me having an older version of gradle. echo $GRADLE_HOME
/usr/share/java/gradle which gradle
/usr/bin/gradle la /usr/bin/gradle
lrwxrwxrwx 33 root root 26 Apr 17:39 /usr/bin/gradle -> /usr/share/java/gradle/bin/gradle Content of GRADLE_HOME/bin la $GRADLE_HOME/bin
.rwxr-xr-x 5.8k root root 26 Apr 17:39 gradle I am simply using the default gradle package from arch repo:
|
I can also replicate the issue with this terrible Dockerfile: FROM archlinux:latest
RUN pacman -Syu --noconfirm
RUN pacman -S --noconfirm jdk11-openjdk git which maven gradle
RUN pacman -Qi gradle
RUN git clone "https://github.com/eclipse/eclipse.jdt.ls"
WORKDIR /eclipse.jdt.ls
RUN ls
CMD sleep 9999999 Building it: Verifying that GRADLE_HOME is properly set Bug is still there and output is similar: |
@jemag I have updated #1751 |
@snjeza seems to build properly with the added gradle wrapper from your PR |
FWIW, you can also test a bit quicker by adding : |
I'm checking #1756 |
Seems like some tests are failing.
This happens on 2 of my computers, both using Arch Linux with same openjdk version. Note that the build was previously working when initially ran a couple weeks ago.
Details
Output from
./mvnw -version
Full output from running
./mvnw clean verify -e -l build-output.txt
build-output.txt
Interesting pieces from output:
and at the end of it all:
The text was updated successfully, but these errors were encountered: