Red Hat Bugzilla – Bug 979704
Gradle Android Plugin expects org.apache.ivy.plugins.signer.bouncycastle.OpenPGPSignatureGenerator
Last modified: 2014-01-17 23:25:20 EST
Description of problem:
I'm trying to use gradle to build an Android application in Fedora 19. I follow the instructions for a basic Android application (see http://tools.android.com/tech-docs/new-build-system/user-guide#TOC-Basic-Project). When I type:
$ gradle build --info
I get the following error: impossible to define new type: class not found: org.apache.ivy.plugins.signer.bouncycastle.OpenPGPSignatureGenerator in  nor Ivy classloader
After a bit of searching, I can see that the bouncycastle signer was removed in the apache-ivy package in commit: acd3600a5475d641644128b1dac321e7edf70b7e (see http://pkgs.fedoraproject.org/cgit/apache-ivy.git/commit/?id=acd3600a5475d641644128b1dac321e7edf70b7e)
Version-Release number of selected component (if applicable):
Applies to apache-ivy 2.2.0 and 2.3.0
See attached stacktrace from gradle.
This is likely related to bug 812504. It also happens in Fedora 18.
Created attachment 766911 [details]
Gradle Ouput with Stacktrace
Bouncycastle signer plugin is indeed removed from Ivy sources. After enabling it ivy fails to build (missing class from bouncycastle).
This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component.
This issue should be fixed in Rawhide now. I could backport the fix to F20. Please speak up if someone needs it.
I do need it (and probably a few people in my company will).
Thanks in advance.
apache-ivy-2.3.0-4.fc20 has been submitted as an update for Fedora 20.
* 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 apache-ivy-2.3.0-4.fc20'
as soon as you are able to.
Please go to the following url:
then log in and leave karma (feedback).
apache-ivy-2.3.0-4.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report.