Red Hat Bugzilla – Bug 613567
mock rebuild against fedora-rawhide-i386 fails
Last modified: 2010-07-16 04:49:06 EDT
Description of problem:
Rebuilding the source rpm against fedora-rawhide-i386 fails.
Steps to Reproduce:
1. mock -r fedora-rawhide-i386 --rebuild rpmbuild/SRPMS/maven-remote-resources-plugin-1.1-2.fc14.src.rpm
Created attachment 431125 [details]
*** Bug 613566 has been marked as a duplicate of this bug. ***
Build fails on test compilation. You will either have to patch test stubs or skip tests completely. With -Dmaven.test.skip=true package builds fine.
Hmm, I was able to get a bit further. By patching stub, adding one more dependency to pom.xml and using custom depmap I was able to get a bit further. It looks like plexus-containers are not working correctly with new maven. See attached test output.
Created attachment 431167 [details]
one of failing test results
Created attachment 431172 [details]
Patche to fix building of tests
Created attachment 431175 [details]
depmap needed to actually build tests
Thank Stanislav for the explain.
Actually until plexus containers are updated this fix will only workaround build failures, but remote-resources will not work anyway (IMO). At least it seems like plexus-containers issue to me.
Should be fixed in rawhide