Bug 675389

Summary: apache-commons-configuration does not rebuild
Product: [Fedora] Fedora Reporter: Christoph Karl <pampelmuse>
Component: apache-commons-configurationAssignee: Stanislav Ochotnicky <sochotni>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: unspecified    
Version: 14CC: akurtako, fnasser, java-sig-commits, mmatejov, pcheung, sochotni, SpikeFedora
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: apache-commons-configuration-1.6-3.fc14 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-02-24 06:27:08 UTC Type: ---
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
log file of rebuild
none
Patch adding ant groupId none

Description Christoph Karl 2011-02-05 11:22:58 UTC
Created attachment 477179 [details]
log file of rebuild

Description of problem:
apache-commons-configuration does not rebuild.
Maybe due to missing ant.jar

Version-Release number of selected component (if applicable):
apache-commons-configuration-1.6-2.fc14.src.rpm

How reproducible:
always

Steps to Reproduce:
1. mock -r ck --rebuild apache-commons-configuration-1.6-2.fc14.src.rpm
OR
1. rpm -i apache-commons-configuration-1.6-2.fc14.src.rpm
2. rpmbuild -bb rpmbuild/SPECS/apache-commons-configuration.spec
  
Actual results:
see log file

Expected results:
clean rebuild

Additional info:

Comment 1 Stanislav Ochotnicky 2011-02-09 17:22:14 UTC
This is actually an ant problem with add_to_maven_depmap call. GroupId is always org.apache.ant but some packages require older groupId of ant. Reassigning.

Comment 2 Stanislav Ochotnicky 2011-02-09 17:45:06 UTC
Created attachment 477872 [details]
Patch adding ant groupId

This patch should add correct backward compatible groupId, I haven't tested it though. You can apply it using:
$ git am 0001-Add-backward-compatible-ant-groupId-for-maven.patch

Comment 3 Alexander Kurtakov 2011-02-13 12:03:50 UTC
This is not ant problem but apache-commons-configuration one. I've opened a bug report about it upstream see https://issues.apache.org/jira/browse/CONFIGURATION-436 .
Ant 1.7.0(with the new groupId) was released more than 4 years ago and projects were supposed to adapt by now.
Changing the component to apache-commons-configuration.

Comment 4 Fedora Update System 2011-02-15 14:38:29 UTC
apache-commons-configuration-1.6-3.fc14 has been submitted as an update for Fedora 14.
https://admin.fedoraproject.org/updates/apache-commons-configuration-1.6-3.fc14

Comment 5 Fedora Update System 2011-02-15 21:24:43 UTC
apache-commons-configuration-1.6-3.fc14 has been pushed to the Fedora 14 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update apache-commons-configuration'.  You can provide feedback for this update here: https://admin.fedoraproject.org/updates/apache-commons-configuration-1.6-3.fc14

Comment 6 Fedora Update System 2011-02-24 06:27:03 UTC
apache-commons-configuration-1.6-3.fc14 has been pushed to the Fedora 14 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 7 Christoph Karl 2011-02-27 14:52:49 UTC
"apache-commons-configuration-1.6-3.fc14.src.rpm" works for me.