Bug 727083

Summary: [abrt] jpackage-utils-1.7.5-5.fc15: zipfile.py:857:getinfo:KeyError: "There is no item named 'META-INF/MANIFEST.MF' in the archive"
Product: [Fedora] Fedora Reporter: Takanori MATSUURA <t.matsuu>
Component: jpackage-utilsAssignee: Deepak Bhole <dbhole>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 15CC: akurtako, caillon, dbhole, gecko-bugs-nobody, johnp, stransky, walters
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:365c55fde8f8b1a28eed1352b2173425cffd5845
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-12-07 13:04:22 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Takanori MATSUURA 2011-08-01 09:53:09 UTC
abrt version: 2.0.3
architecture:   x86_64
cmdline:        
comment:        I don't know what makes a crash.
component:      jpackage-utils
executable:     /usr/lib/rpm/osgi.prov
kernel:         2.6.38.8-35.fc15.x86_64
os_release:     Fedora release 15 (Lovelock)
package:        jpackage-utils-1.7.5-5.fc15
reason:         zipfile.py:857:getinfo:KeyError: "There is no item named 'META-INF/MANIFEST.MF' in the archive"
time:           Mon Aug  1 18:47:17 2011
uid:            501
username:       foo

backtrace:
:zipfile.py:857:getinfo:KeyError: "There is no item named 'META-INF/MANIFEST.MF' in the archive"
:
:Traceback (most recent call last):
:  File "/usr/lib/rpm/osgi.prov", line 85, in <module>
:    builder = TagBuilder ()
:  File "/usr/lib/rpm/osgi.prov", line 60, in __init__
:    self.get_osgi_provide (path)
:  File "/usr/lib/rpm/osgi.prov", line 80, in get_osgi_provide
:    manifest = jarfile.open("META-INF/MANIFEST.MF")
:  File "/usr/lib64/python2.7/zipfile.py", line 890, in open
:    zinfo = self.getinfo(name)
:  File "/usr/lib64/python2.7/zipfile.py", line 857, in getinfo
:    'There is no item named %r in the archive' % name)
:KeyError: "There is no item named 'META-INF/MANIFEST.MF' in the archive"
:
:Local variables in innermost frame:
:info: None
:self: <zipfile.ZipFile instance at 0x1a8ffc8>
:name: 'META-INF/MANIFEST.MF'

Comment 1 Takanori MATSUURA 2011-09-17 23:29:02 UTC
This may be generated by /usr/lib/rpm/osgi.prov during building mozilla-central (and maybe xulrunner-6) version of xulrunner and firefox.

omni.jar file doesn't contain META-INF/MANIFEST.MF file.

This is fixed by adding the following line into xulrunner.spec and firefox.spec. However I suppose it's only a workaround.

# omni.jar don't have MANIFEST.INF
%global __osgi_provides %{nil}


If META-INF/MANIFEST.MF file is mandatory for jar file, mozilla should generate it for their jar files.

Comment 2 Alexander Kurtakov 2011-09-29 12:47:24 UTC
This should be fixed now. Can you please retest?

Comment 3 Alexander Kurtakov 2011-09-29 12:47:56 UTC
Just to clarify MANIFEST.MF is not mandatory but osgi.prov was assuming so.

Comment 4 Takanori MATSUURA 2011-09-29 15:27:54 UTC
I suppose this has been fixed in jpackage-utils-1.7.5-7.
However the package is never released for Fedora 15.

* Thu Jun 23 2011 Stanislav Ochotnicky <sochotnicky> - 0:1.7.5-7 - Update javapackages to 0.2.2 - fix rpm macro expansion problems

Comment 5 Martin Stransky 2011-12-07 13:04:22 UTC
We're using mozilla crash reporter now, ABRT is no more used for Firefox/Thunderbird. If you can reliably reproduce the crash (you have a testcase, reproduction steps, etc.) please reopen the bug and attach the reproduction info and assign it directly to me (stransky).

Thanks!

Comment 6 Takanori MATSUURA 2011-12-07 14:06:29 UTC
The issue I've reported here is fixed by jpackage-utils-1.7.5-7. This means the current jpackage-utils never check the existence of META-INF/MANIFEST.MF.

And the current mozilla products don't have META-INF/MANIFEST.MF in omni.jar.
(Moreover, omni.jar is renamed to omni.ja in the current mozilla-central and comm-central products)


Sorry for setting wrong component here.