https://bugzilla.redhat.com/show_bug.cgi?id=1294230
Bug ID: 1294230 Summary: Please provide support for EPEL7 Product: Fedora Version: rawhide Component: powermock Severity: medium Assignee: rkennke@redhat.com Reporter: projects.rg@smart.ms QA Contact: extras-qa@fedoraproject.org CC: java-sig-commits@lists.fedoraproject.org, jerboaa@gmail.com, msimacek@redhat.com, neugens@redhat.com, projects.rg@smart.ms, rkennke@redhat.com
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)
https://bugzilla.redhat.com/show_bug.cgi?id=1294230
Raphael Groner projects.rg@smart.ms changed:
What |Removed |Added ---------------------------------------------------------------------------- Priority|unspecified |low Assignee|rkennke@redhat.com |projects.rg@smart.ms
https://bugzilla.redhat.com/show_bug.cgi?id=1294230
Raphael Groner projects.rg@smart.ms changed:
What |Removed |Added ---------------------------------------------------------------------------- Blocks| |1294231
Referenced Bugs:
https://bugzilla.redhat.com/show_bug.cgi?id=1294231 [Bug 1294231] Please provide support for EPEL7
https://bugzilla.redhat.com/show_bug.cgi?id=1294230
Raphael Groner projects.rg@smart.ms changed:
What |Removed |Added ---------------------------------------------------------------------------- Blocks|1294231 | Depends On| |1294231
Referenced Bugs:
https://bugzilla.redhat.com/show_bug.cgi?id=1294231 [Bug 1294231] Please provide support for EPEL7
https://bugzilla.redhat.com/show_bug.cgi?id=1294230
Raphael Groner projects.rg@smart.ms changed:
What |Removed |Added ---------------------------------------------------------------------------- Blocks| |1294232
Referenced Bugs:
https://bugzilla.redhat.com/show_bug.cgi?id=1294232 [Bug 1294232] Please provide support for EPEL7
https://bugzilla.redhat.com/show_bug.cgi?id=1294230
Raphael Groner projects.rg@smart.ms changed:
What |Removed |Added ---------------------------------------------------------------------------- Blocks|1294232 | Depends On| |1294232
Referenced Bugs:
https://bugzilla.redhat.com/show_bug.cgi?id=1294232 [Bug 1294232] Please provide support for EPEL7
https://bugzilla.redhat.com/show_bug.cgi?id=1294230
Raphael Groner projects.rg@smart.ms changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Please provide support for |powermock - Please provide |EPEL7 |support for EPEL7
https://bugzilla.redhat.com/show_bug.cgi?id=1294230
Raphael Groner projects.rg@smart.ms changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|powermock - Please provide |powermock - Please build a |support for EPEL7 |package for EPEL7
https://bugzilla.redhat.com/show_bug.cgi?id=1294230 Bug 1294230 depends on bug 1294231, which changed state.
Bug 1294231 Summary: cglib - Please build a package for EPEL7 https://bugzilla.redhat.com/show_bug.cgi?id=1294231
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |CLOSED Resolution|--- |NOTABUG
https://bugzilla.redhat.com/show_bug.cgi?id=1294230 Bug 1294230 depends on bug 1294232, which changed state.
Bug 1294232 Summary: easymock - Please provide support for EPEL7 https://bugzilla.redhat.com/show_bug.cgi?id=1294232
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |CLOSED Resolution|--- |NOTABUG
https://bugzilla.redhat.com/show_bug.cgi?id=1294230
Raphael Groner projects.rg@smart.ms changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |FutureFeature Version|24 |rawhide
Red Hat Bugzilla bugzilla@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Doc Type|Bug Fix |Enhancement
https://bugzilla.redhat.com/show_bug.cgi?id=1294230
Raphael Groner projects.rg@smart.ms changed:
What |Removed |Added ---------------------------------------------------------------------------- Assignee|projects.rg@smart.ms |rkennke@redhat.com Summary|powermock - Please build a |RFE powermock - Please |package for EPEL7 |build a package for EPEL7 Severity|medium |low
--- Comment #2 from Raphael Groner projects.rg@smart.ms --- Hi Roman, can you take this bug? I'm currently of less free time and would like to delay this request if possible.
https://bugzilla.redhat.com/show_bug.cgi?id=1294230
--- Comment #3 from Raphael Groner projects.rg@smart.ms --- 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.
https://bugzilla.redhat.com/show_bug.cgi?id=1294230
Benjamin Lefoul benjamin.lefoul@nwise.se changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |benjamin.lefoul@nwise.se
--- Comment #4 from Benjamin Lefoul benjamin.lefoul@nwise.se --- 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
https://bugzilla.redhat.com/show_bug.cgi?id=1294230
--- Comment #5 from Raphael Groner projects.rg@smart.ms --- 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
https://bugzilla.redhat.com/show_bug.cgi?id=1294230
Raphael Groner projects.rg@smart.ms changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |CLOSED Resolution|--- |NOTABUG Last Closed| |2017-05-02 16:07:15
--- Comment #6 from Raphael Groner projects.rg@smart.ms --- 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://bugzilla.redhat.com/show_bug.cgi?id=1294230
Raphael Groner projects.rg@smart.ms changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|CLOSED |NEW Resolution|NOTABUG |--- Keywords| |Reopened
--- Comment #7 from Raphael Groner projects.rg@smart.ms --- https://git.centos.org/summary/rpms!rh-java-common-easymock3
https://bugzilla.redhat.com/show_bug.cgi?id=1294230
--- Comment #8 from Benjamin Lefoul benjamin.lefoul@nwise.se --- (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?
https://bugzilla.redhat.com/show_bug.cgi?id=1294230
--- Comment #9 from Raphael Groner projects.rg@smart.ms --- (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.
https://bugzilla.redhat.com/show_bug.cgi?id=1294230
--- Comment #10 from Fedora Update System updates@fedoraproject.org --- easymock3-3.3-2.el7 has been submitted as an update to Fedora EPEL 7. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2017-3e9fddd828
https://bugzilla.redhat.com/show_bug.cgi?id=1294230
Fedora Update System updates@fedoraproject.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |MODIFIED
https://bugzilla.redhat.com/show_bug.cgi?id=1294230
--- Comment #11 from Benjamin Lefoul benjamin.lefoul@nwise.se --- Now, easymock3 is back to EPEL7.
https://bugzilla.redhat.com/show_bug.cgi?id=1294230
--- Comment #12 from Benjamin Lefoul benjamin.lefoul@nwise.se --- 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
https://bugzilla.redhat.com/show_bug.cgi?id=1294230
--- Comment #13 from Benjamin Lefoul benjamin.lefoul@nwise.se --- 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.
https://bugzilla.redhat.com/show_bug.cgi?id=1294230
--- Comment #14 from Fedora Update System updates@fedoraproject.org --- easymock3-3.3-3.el7 has been submitted as an update to Fedora EPEL 7. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2017-7fdc2a2584
https://bugzilla.redhat.com/show_bug.cgi?id=1294230
Fedora Update System updates@fedoraproject.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|MODIFIED |ON_QA
--- Comment #15 from Fedora Update System updates@fedoraproject.org --- 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
https://bugzilla.redhat.com/show_bug.cgi?id=1294230
--- Comment #16 from Benjamin Lefoul benjamin.lefoul@nwise.se --- easymock3-3.3-2.el7 is unpushed, easymock3-3.3-3.el7 is up.
https://bugzilla.redhat.com/show_bug.cgi?id=1294230
--- Comment #17 from Fedora Update System updates@fedoraproject.org --- 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
https://bugzilla.redhat.com/show_bug.cgi?id=1294230
--- Comment #18 from Fedora Update System updates@fedoraproject.org --- 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.
https://bugzilla.redhat.com/show_bug.cgi?id=1294230
Ding-Yi Chen dchen@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|ON_QA |CLOSED CC| |dchen@redhat.com Resolution|--- |CURRENTRELEASE Last Closed|2017-05-02 16:07:15 |2017-06-11 21:33:47
java-sig-commits@lists.fedoraproject.org