Description of problem: There are packages for EPEL6 and 5. Please apply it also for EPEL7. Version-Release number of selected component (if applicable): - How reproducible: yes Steps to Reproduce: 1. run an EPEL7 system 2. dnf install powermock 3. Actual results: no package found. Expected results: powermock gets installed with success. Additional info: DEBUG util.py:393: Getting requirements for powermock-1.6.2-2.el7.src DEBUG util.py:393: --> maven-local-3.4.1-11.el7.noarch DEBUG util.py:393: --> apache-commons-logging-1.1.2-7.el7.noarch DEBUG util.py:393: --> tomcat-servlet-3.0-api-7.0.54-2.el7_1.noarch DEBUG util.py:393: --> junit-4.11-8.el7.noarch DEBUG util.py:393: --> cglib-2.2-18.el7.noarch DEBUG util.py:393: --> maven-plugin-bundle-2.3.7-12.el7.noarch DEBUG util.py:393: --> javassist-3.16.1-10.el7.noarch DEBUG util.py:393: --> mockito-1.9.0-19.el7.noarch DEBUG util.py:393: --> mockito-1.9.0-19.el7.noarch DEBUG util.py:393: --> objenesis-1.2-18.el7.noarch DEBUG util.py:393: --> sonatype-oss-parent-7-6.el7.noarch DEBUG util.py:393: Error: No Package found for mvn(cglib:cglib-nodep) DEBUG util.py:393: Error: No Package found for mvn(org.easymock:easymock)
This bug appears to have been reported against 'rawhide' during the Fedora 24 development cycle. Changing version to '24'. More information and reason for this action is here: https://fedoraproject.org/wiki/Fedora_Program_Management/HouseKeeping/Fedora24#Rawhide_Rebase
Hi Roman, can you take this bug? I'm currently of less free time and would like to delay this request if possible.
Currently not possible to build in EPEL7: DEBUG util.py:426: Error: No Package found for mvn(cglib:cglib-nodep) DEBUG util.py:426: Error: No Package found for mvn(org.easymock:easymock) Need to build cglib and easymock first.
The BR mvn(cglib:cglib-nodep) can simply be removed. Rationale (in rawhide): ‹master›$ grep "cglib-nodep" cglib.spec %pom_disable_module cglib-nodep %mvn_alias :cglib "net.sf.cglib:cglib" "cglib:cglib-full" "cglib:cglib-nodep" "org.sonatype.sisu.inject:cglib" - Add alias for cglib:cglib-nodep On CentOS 7: [root@localhost ~]# rpm -q --provides cglib cglib = 2.2-18.el7 mvn(cglib:cglib) = 2.2 mvn(cglib:cglib-full) = 2.2 mvn(net.sf.cglib:cglib) = 2.2 osgi(net.sf.cglib.core) = 2.2 In EPEL7: powermock ‹epel7›$ grep "net.sf.cglib:" powermock.spec BuildRequires: mvn(net.sf.cglib:cglib) Conclusion: Just remove this line: BuildRequires: mvn(cglib:cglib-nodep) Now easymock has to be treated. Note: RHEL7 has already easymock-1.2-22.el7: [root@localhost ~]# repoquery --provides easymock easymock = 1.2-22.el7 mvn(easymock:easymock) = 1.2_Java1.5
The current assumptions are wrong. It's more about the mvn($foo) magic not available in epel7: DEBUG util.py:436: Error: No Package found for mvn(cglib:cglib-nodep) DEBUG util.py:436: Error: No Package found for mvn(org.easymock:easymock) powermock obviously needs cglib to can work due to the extended mockito is based on it, but propably without easymock as the powermock-api-easymock module is in a subpackage that could be skipped in epel7. https://koji.fedoraproject.org/koji/taskinfo?taskID=19280793
powermock needs easymock 3.x for the availability of the full API and we have easymock 1.x and easymock2 2.x in rhel7 but no package for 3.x yet. I failed to build from latest rawhide sources (for powermock 1.6.5) as well as from older fedora branches (f21 or f20 for powermock 1.4.12) and I don't have an interest for a compatibility package named easymock3 in epel7. Closing here. Please feel free to open a new bug if you still think we need a package in epel7.
https://git.centos.org/summary/rpms!rh-java-common-easymock3
(In reply to Raphael Groner from comment #7) > https://git.centos.org/summary/rpms!rh-java-common-easymock3 What is this? Is it the SCL? Note that easymock3 already exists and I have the EPEL7 commit and ACLs: https://admin.fedoraproject.org/pkgdb/package/rpms/easymock3/ What are you recommending?
(In reply to Benjamin Lefoul from comment #8) > (In reply to Raphael Groner from comment #7) > > https://git.centos.org/summary/rpms!rh-java-common-easymock3 > > What is this? Is it the SCL? No idea what SCL should mean. rh-java-common-easymock3 is an additional package in CentOS that's not available in RHEL. > Note that easymock3 already exists and I have the EPEL7 commit and ACLs: > > https://admin.fedoraproject.org/pkgdb/package/rpms/easymock3/ > > What are you recommending? There are no commits (and no builds) so far in the epel7 branch. Rawhide is orphaned in favor of the major bump to version 3.x of the original easymock package.
easymock3-3.3-2.el7 has been submitted as an update to Fedora EPEL 7. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2017-3e9fddd828
Now, easymock3 is back to EPEL7.
BR override is up until the end of the month: https://bodhi.fedoraproject.org/overrides/easymock3-3.3-2.el7 Replace: BuildRequires: mvn(org.easymock:easymock) With: BuildRequires: mvn(org.easymock:easymock) = 3.3
Actually replacing the BR is not even necessary, the "no package found" for easymock goes readily: https://koji.fedoraproject.org/koji/taskinfo?taskID=19690454 DEBUG util.py:439: Getting requirements for powermock-1.6.5-5.el7.src DEBUG util.py:439: --> maven-local-3.4.1-11.el7.noarch DEBUG util.py:439: --> apache-commons-logging-1.1.2-7.el7.noarch DEBUG util.py:439: --> tomcat-servlet-3.0-api-7.0.69-11.el7_3.noarch DEBUG util.py:439: --> junit-4.11-8.el7.noarch DEBUG util.py:439: --> maven-plugin-bundle-2.3.7-12.el7.noarch DEBUG util.py:439: --> assertj-core-2.2.0-2.el7.noarch DEBUG util.py:439: --> easymock3-3.3-2.el7.noarch DEBUG util.py:439: --> hamcrest-1.3-6.el7.noarch DEBUG util.py:439: --> javassist-3.16.1-10.el7.noarch DEBUG util.py:439: --> mockito-1.10.19-1.el7.noarch DEBUG util.py:439: --> objenesis-1.2-18.el7.noarch DEBUG util.py:439: --> sonatype-oss-parent-7-6.el7.noarch DEBUG util.py:439: --> testng-6.8.7-3.el7.noarch DEBUG util.py:439: Error: No Package found for mvn(cglib:cglib-nodep) Now cglib should be fixed.
easymock3-3.3-3.el7 has been submitted as an update to Fedora EPEL 7. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2017-7fdc2a2584
easymock3-3.3-2.el7 has been pushed to the Fedora EPEL 7 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2017-3e9fddd828
easymock3-3.3-2.el7 is unpushed, easymock3-3.3-3.el7 is up.
easymock3-3.3-3.el7 has been pushed to the Fedora EPEL 7 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2017-7fdc2a2584
easymock3-3.3-3.el7 has been pushed to the Fedora EPEL 7 stable repository. If problems still persist, please make note of it in this bug report.