Bug 1072985 - lucene OSGi manifests use invalid value for Bundle-RequiredExecutionEnvironment
Summary: lucene OSGi manifests use invalid value for Bundle-RequiredExecutionEnvironment
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: lucene
Version: rawhide
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Roland Grunberg
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-03-05 15:02 UTC by Roland Grunberg
Modified: 2014-03-05 16:55 UTC (History)
7 users (show)

Fixed In Version: lucene-4.7.0-2.fc21
Clone Of:
Environment:
Last Closed: 2014-03-05 16:55:09 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Patch (2.52 KB, patch)
2014-03-05 15:24 UTC, Roland Grunberg
no flags Details | Diff

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).


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