Bug 1469022 - jna: duplicate manifest
jna: duplicate manifest
Status: CLOSED RAWHIDE
Product: Fedora
Classification: Fedora
Component: jna (Show other bugs)
rawhide
Unspecified Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Mikolaj Izdebski
Fedora Extras Quality Assurance
:
Depends On: 1467518
Blocks: 1467724
  Show dependency treegraph
 
Reported: 2017-07-10 05:38 EDT by Mikolaj Izdebski
Modified: 2017-07-14 06:30 EDT (History)
6 users (show)

See Also:
Fixed In Version: 4.4.0-4
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2017-07-14 06:30:25 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Mikolaj Izdebski 2017-07-10 05:38:58 EDT
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 05:51:04 EDT
Fixed in jna-4.4.0-4
Comment 2 Mikolaj Izdebski 2017-07-14 06:30:25 EDT
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.