Bug 714227

Summary: Missing OSGi Dependency data
Product: [Fedora] Fedora Reporter: Nathanael Noblet <nathanael>
Component: gdata-javaAssignee: Sandro Mathys <sandro>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 15CC: jcapik, sandro
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: gdata-java-1.45.0-1.fc15 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-07-12 05:21:07 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 Nathanael Noblet 2011-06-17 16:20:07 UTC
Description of problem:

I'm trying to build an eclipse plugin (eventually as a rpm once its possible) who does an import of com.google.gdata.util.common.base. However when building it fails to import the above. It seems the OSGi dependency / Export-Packages: is missing from MANIFEST. In other packages with this issue #fedora-java people said to look at httpdcomponents-client for a sample pom.xml patch that can be used to fix the issue. 

Thanks

Comment 1 Sandro Mathys 2011-06-30 20:30:26 UTC
My understanding of OSGi is really less than basics - so while I might have time to look into this tomorrow or next week, I can't guarantee to get it to work (nor do I have an idea how to test it). If you have a patch to propose, I'll happily accept it, though.

Comment 2 Nathanael Noblet 2011-07-01 00:47:23 UTC
Well I'm a noob to java packaging. I'm basically just trying to get some of the eclipse plugins I use most commonly packaged for Fedora. I only knew the OSGi info was missing because people on #fedora-java told me based on the errors. I am willing to learn and help, but just don't have the experience in this area yet. I'll help anyway I can, though this next few weeks will be super busy.

Comment 3 Sandro Mathys 2011-07-01 09:03:57 UTC
So, what I can do is taking the "Name" from the manifest and adding a "Export-Package" line with that name and (package-)version. If that's enough, fine. If it isn't I need either a patch for all manifest files or (preferred) this needs to be reported and fixed upstream.

What do you think? Is that enough for OSGi or is all the Bundle-* and Import-Packages necessary as well?

Comment 4 Fedora Update System 2011-07-01 12:11:36 UTC
gdata-java-1.45.0-1.fc15 has been submitted as an update for Fedora 15.
https://admin.fedoraproject.org/updates/gdata-java-1.45.0-1.fc15

Comment 5 Fedora Update System 2011-07-01 18:58:20 UTC
Package gdata-java-1.45.0-1.fc15:
* should fix your issue,
* was pushed to the Fedora 15 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing gdata-java-1.45.0-1.fc15'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/gdata-java-1.45.0-1.fc15
then log in and leave karma (feedback).

Comment 6 Fedora Update System 2011-07-12 05:21:01 UTC
gdata-java-1.45.0-1.fc15 has been pushed to the Fedora 15 stable repository.  If problems still persist, please make note of it in this bug report.