Bug 1469022 - jna: duplicate manifest
Summary: jna: duplicate manifest
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: jna
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Mikolaj Izdebski
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On: 1467518
Blocks: 1467724
TreeView+ depends on / blocked
 
Reported: 2017-07-10 09:38 UTC by Mikolaj Izdebski
Modified: 2017-07-14 10:30 UTC (History)
6 users (show)

Fixed In Version: 4.4.0-4
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-07-14 10:30:25 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Mikolaj Izdebski 2017-07-10 09:38:58 UTC
JNA JAR has duplicate manifest (two different manifest files):

$ jar tf /chroot/usr/lib/java/jna.jar |grep -i mani
META-INF/MANIFEST.MF
META-INF/MANIFEST.MF

JAR file format requires manifest to be the very first entry.
Upstream build.xml creates JAR using Ant <zip> task, which is not aware of JAR file format and breaks it by adding META-INF/ directory entry before manifest file.
This causes %mvn_install to add second copy of the manifest.

Comment 1 Mikolaj Izdebski 2017-07-10 09:51:04 UTC
Fixed in jna-4.4.0-4

Comment 2 Mikolaj Izdebski 2017-07-14 10:30:25 UTC
I believe that this bug is fixed in jna-4.4.0-4,
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=916874


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