Description of problem: Package gradle fails to build from source in Fedora rawhide. Version-Release number of selected component (if applicable): 4.4.1-1.fc30 Steps to Reproduce: koji build --scratch f30 gradle-4.4.1-1.fc30.src.rpm Additional info: This package is tracked by Koschei. See: http://apps.fedoraproject.org/koschei/package/gradle
Could not resolve all files for configuration ':codeQuality:compileClasspath'. > Could not resolve com.google.code.findbugs:findbugs:2.0.1. Required by: project :codeQuality > Could not resolve com.google.code.findbugs:findbugs:2.0.1. > Could not parse POM /usr/share/maven-poms/JPP-findbugs.pom > java.lang.UnsupportedOperationException (no error message) > No cached version of com.google.code.findbugs:findbugs:2.0.1 available for offline mode. > No cached version of com.google.code.findbugs:findbugs:2.0.1 available for offline mode. > No cached version of com.google.code.findbugs:findbugs:2.0.1 available for offline mode. > Could not resolve com.google.code.findbugs:findbugs:2.0.1. > Could not parse POM /usr/share/maven-poms/JPP-findbugs.pom > java.lang.UnsupportedOperationException (no error message) gradle 4.4.1-1 was built with gradle 4.3.1 - since then, it doesn't build (with 4.4.1).
Known issue. The root cause is that XMvn does not implement required method: https://github.com/fedora-java/xmvn/blob/fd43eb6/xmvn-connector-gradle/src/main/java/org/fedoraproject/xmvn/connector/gradle/GradleResolver.java#L325
Possible workaround: Tag gradle-4.3.1 into rawhide before building newver version of gradle. $ koji tag-build f31-pending gradle-4.3.1-8.fc29 $ koji wait-repo f31-build --build=gradle-4.3.1-8.fc29 $ fedpkg build For F30: $ koji tag-build f30-updates-candidate gradle-4.3.1-8.fc29 $ bodhi overrides save gradle-4.3.1-8.fc29 --wait $ fedpkg build
*** Bug 1675056 has been marked as a duplicate of this bug. ***
Dear Maintainer, your package has not been built successfully in f30. Action is required from you. If you can fix your package to build, perform a build in koji, and either create an update in bodhi, or close this bug without creating an update, if updating is not appropriate [1]. If you are working on a fix, set the status to ASSIGNED to acknowledge this. Following the latest policy for such packages [2], your package can be orphaned if this bug remains in NEW state more than 8 weeks. [1] https://fedoraproject.org/wiki/Updates_Policy [2] https://docs.fedoraproject.org/en-US/fesco/Fails_to_build_from_source_Fails_to_install/
gradle-4.4.1-3.fc30 https://koji.fedoraproject.org/koji/buildinfo?buildID=1188746 This was built, but by a workaround, hence we keep this open. Changing to ASSIGNED to avoid automatic reminders.
*** Bug 1735307 has been marked as a duplicate of this bug. ***
The following builds were made: gradle-4.4.1-3.fc30 gradle-4.4.1-3.fc31
gradle has been retired for fedora 31+. If somebody un-retires it, they will have to deal with this anyway.
Just for the record, and with the understanding that packages are orphaned because they lack volunteers: I would like to package Ghidra (https://ghidra-sre.org/) for Fedora, but Ghidra requires gradle to build.