[MacPorts] #58501: Gradle-5.4.1 does not even start
MacPorts
noreply at macports.org
Mon May 20 20:39:29 UTC 2019
#58501: Gradle-5.4.1 does not even start
------------------------+--------------------
Reporter: mouse07410 | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Keywords: | Port: gradle
------------------------+--------------------
MacOS Mojave 10.14.4, Oracle JDK-1.8.0_211, Xcode-10.2.1, current Macports
and current stable Gradle port 5.4.1 (current {{{groovy}}} port
installed).
Problem: installation appears fine, but even the simplest invocation
fails. I suspect pilot's error rather than software bug, but help would be
greatly appreciated:
{{{
$ sudo port install gradle
---> Fetching archive for gradle
---> Attempting to fetch gradle-5.4.1_0.darwin_18.noarch.tbz2 from
https://packages.macports.org/gradle
---> Attempting to fetch gradle-5.4.1_0.darwin_18.noarch.tbz2.rmd160 from
https://packages.macports.org/gradle
---> Installing gradle @5.4.1_0
---> Activating gradle @5.4.1_0
---> Cleaning gradle
---> Updating database of binaries
---> Scanning binaries for linking errors
---> No broken files found.
---> No broken ports found.
$ gradle --version
[main] INFO org.gradle.internal.nativeintegration.services.NativeServices
- Initialized native services in: /Users/ur20980/.gradle/native
FAILURE: Build failed with an exception.
* What went wrong:
org.slf4j.impl.SimpleLogger cannot be cast to
org.gradle.api.logging.Logger
* 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
$ java -version
java version "1.8.0_211"
Java(TM) SE Runtime Environment (build 1.8.0_211-b12)
Java HotSpot(TM) 64-Bit Server VM (build 25.211-b12, mixed mode)
$ echo $JAVA_HOME
/Library/Java/JavaVirtualMachines/Current/Contents/Home
$ echo $GRADLE_HOME
/opt/local/share/java/gradle
$ ll /Library/Java/Extensions/slf4j*.jar
-rw-r--r-- 1 root wheel 41203 May 20 10:58 /Library/Java/Extensions
/slf4j-api-1.7.25.jar
-rw-r--r-- 1 root wheel 15257 May 20 15:53 /Library/Java/Extensions
/slf4j-simple-1.7.25.jar
$
}}}
Invoking with extra flags {{{--stacktrace}}} or {{{--debug}}} did not add
anything to the above output.
Again, your help figuring out what seems wrong with the configuration and
how to straighten it up would be appreciated!
--
Ticket URL: <https://trac.macports.org/ticket/58501>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list