Bug 1467724

Summary: Gradle builds stopped working since jna-4.4.0-2.fc27
Product: [Fedora] Fedora Reporter: Mat Booth <mat.booth>
Component: gradleAssignee: Mikolaj Izdebski <mizdebsk>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: java-sig-commits, mizdebsk, msimacek
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 2.13-9 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-07-14 10:30:30 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1469022    
Bug Blocks:    

Description Mat Booth 2017-07-04 21:16:11 UTC
See packages in koschei that build using gradle, for example spock:

https://apps.fedoraproject.org/koschei/package/spock?collection=f27

The error is:

Executing: gradle-local --no-daemon --offline -x javadoc build xmvnInstall
['gradle-local', '--no-daemon', '--offline', '-x', 'javadoc', 'build', 'xmvnInstall']
java.lang.IllegalArgumentException: Cannot find JAR 'jna.jar' required by module 'gradle-native' using classpath or distribution directory '/usr/share/gradle'

It looks like the jna.jar moved from /usr/share to /usr/lib and this broke the symlink in gradle.

Comment 1 Mikolaj Izdebski 2017-07-10 09:41:33 UTC
Fixed in gradle-2.13-9

Comment 2 Mikolaj Izdebski 2017-07-14 10:30:30 UTC
I believe that this bug is fixed in gradle-2.13-9,
which is available in Fedora Rawhide, so I am closing this bug now.

The build containing the fix can be found at Koji:
http://koji.fedoraproject.org/koji/buildinfo?buildID=918484