Bug 1467724 - Gradle builds stopped working since jna-4.4.0-2.fc27
Summary: Gradle builds stopped working since jna-4.4.0-2.fc27
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: gradle
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Mikolaj Izdebski
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On: 1469022
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-07-04 21:16 UTC by Mat Booth
Modified: 2017-07-22 09:43 UTC (History)
3 users (show)

Fixed In Version: 2.13-9
Clone Of:
Environment:
Last Closed: 2017-07-14 10:30:30 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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


Note You need to log in before you can comment on or make changes to this bug.