Bug 1341052

Summary: easymock: Broken OSGi manifest
Product: [Fedora] Fedora Reporter: Mikolaj Izdebski <mizdebsk>
Component: easymockAssignee: Mikolaj Izdebski <mizdebsk>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: akurtako, dbhole, fnasser, java-sig-commits, mat.booth, mizdebsk, msimacek, msrb, sgehwolf
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
URL: https://apps.fedoraproject.org/koschei/package/eclipse-fedorapackager
Whiteboard:
Fixed In Version: 3.4-2 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-06-01 07:45:57 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:

Description Mikolaj Izdebski 2016-05-31 07:24:21 UTC
Description of problem:
Easymock update to 3.4 broke eclipse-fedorapackager - it can't resolve OSGi requirement on easymock bundle.

[ERROR] Cannot resolve project dependencies:
[ERROR]   Software being installed: org.fedoraproject.eclipse.packager.tests 0.5.1.qualifier
[ERROR]   Missing requirement: org.easymock 3.4.0 requires 'package org.easymock 0.0.0' but it could not be found
[ERROR]   Cannot satisfy dependency: org.fedoraproject.eclipse.packager.tests 0.5.1.qualifier depends on: bundle org.easymock 0.0.0

The problem seems to be Fedora-specific. eclipse-fedorapackager built fine when I tried replacing /usr/share/java/easymock.jar with easymock-3.4.jar downloaded from Maven Central.

Version-Release number of selected component (if applicable):
3.4-1

Steps to Reproduce:
koji build --scratch f25 eclipse-fedorapackager-0.6.0-0.1.gitb0ca8af.fc25.src.rpm

Additional info:
https://apps.fedoraproject.org/koschei/package/eclipse-fedorapackager

Comment 1 Mikolaj Izdebski 2016-06-01 07:36:49 UTC
Fixed in easymock-3.4-2

Comment 2 Mikolaj Izdebski 2016-06-01 07:45:57 UTC
I believe that this bug is fixed in easymock-3.4-2,
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=769677