Bug 1072985

Summary: lucene OSGi manifests use invalid value for Bundle-RequiredExecutionEnvironment
Product: [Fedora] Fedora Reporter: Roland Grunberg <rgrunber>
Component: luceneAssignee: Roland Grunberg <rgrunber>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: high    
Version: rawhideCC: akurtako, hicham.haouari, java-sig-commits, jerboaa, krzysztof.daniel, msimacek, sgehwolf
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: lucene-4.7.0-2.fc21 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-03-05 16:55:09 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:
Attachments:
Description Flags
Patch none

Description Roland Grunberg 2014-03-05 15:02:48 UTC
gogo: BundleException: The bundle "org.apache.lucene.core_4.7.0 [191]" could not be resolved. Reason: Missing Constraint: Bundle-RequiredExecutionEnvironment: J2SE-1.6

Since http://pkgs.fedoraproject.org/cgit/lucene.git/commit/?id=18be1b8c884f6476900c54d393a3a734b28b0146 , lucene has been using a value of 'J2SE-1.6' for the Bundle-RequiredExecutionEnvironment attribute. I believe this should be 'JavaSE-1.6' as per the supported values http://wiki.osgi.org/wiki/Execution_Environment .

If the manifest is being taken from somewhere upstream, then I guess this could be filed there.

Comment 1 Roland Grunberg 2014-03-05 15:24:21 UTC
Created attachment 871035 [details]
Patch

This should resolve the issue.

Comment 2 Roland Grunberg 2014-03-05 16:55:09 UTC
http://pkgs.fedoraproject.org/cgit/lucene.git/commit/?id=dad5f7a55db24e6d1f3ed6a4af19667ef970951a has been built at http://koji.fedoraproject.org/koji/buildinfo?buildID=502642 and I can confirm this fixes the issue. Marking as CLOSED (RAWHIDE).