Bug 1017850

Summary: objenesis isn't resolved by xmvn-subst
Product: [Fedora] Fedora Reporter: Robert Rati <rrati>
Component: objenesisAssignee: Mikolaj Izdebski <mizdebsk>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 20CC: guido.grazioli, java-sig-commits, jvanek, mizdebsk
Target Milestone: ---Keywords: Patch
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: hadoop-2.2.0-1.fc20 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-11-10 07:34:05 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:
Bug Depends On:    
Bug Blocks: 998521    
Attachments:
Description Flags
Proposed patch none

Description Robert Rati 2013-10-10 15:38:23 UTC
Description of problem:
The objenesis.jar doesn't get resolved by xmvn-subst, but does resolve properly with xmvn-resolve.

Version-Release number of selected component (if applicable):
objenesis-1.2-15.fc20.noarch

How reproducible:
100%

Steps to Reproduce:
1. mkdir temp
2. cp /usr/share/java/objenesis/objenesis.jar temp
3. cd temp
4. xmvn-subst .

Actual results:
[INFO] Skipping file ./objenesis.jar: No artifact definition found

Expected results:
Jar file is replaced with symlink to objenesis in /usr/share/java/objenesis

Additional info:

Comment 1 Mikolaj Izdebski 2013-10-10 15:39:45 UTC
Created attachment 810612 [details]
Proposed patch

Comment 2 Mikolaj Izdebski 2013-10-10 15:52:01 UTC
Scratch build with the patch applied:
http://koji.fedoraproject.org/koji/taskinfo?taskID=6047155

Comment 3 Mikolaj Izdebski 2013-10-23 13:18:17 UTC
Fixed in objenesis-1.2-16

Comment 4 Mikolaj Izdebski 2013-10-23 13:25:43 UTC
This is blocking building hadoop which is a Fedora 20 feature.
There was no response form maintainer so far, so as a provenpackager I am going to build objenesis for Fedora 20 and add buildroot override. Robert will submit update for objenesis toether with hadoop.

Comment 5 Fedora Update System 2013-10-24 12:27:32 UTC
hadoop-2.2.0-1.fc20,objenesis-1.2-16.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/hadoop-2.2.0-1.fc20,objenesis-1.2-16.fc20

Comment 6 Fedora Update System 2013-10-24 17:47:52 UTC
Package hadoop-2.2.0-1.fc20, objenesis-1.2-16.fc20:
* should fix your issue,
* was pushed to the Fedora 20 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing hadoop-2.2.0-1.fc20 objenesis-1.2-16.fc20'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2013-19859/hadoop-2.2.0-1.fc20,objenesis-1.2-16.fc20
then log in and leave karma (feedback).

Comment 7 Fedora Update System 2013-11-10 07:34:05 UTC
hadoop-2.2.0-1.fc20, objenesis-1.2-16.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.