Bug 1216018
| Summary: | The java-1.8.0-openjdk-devel pacakge does not provide java-devel | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | Marek Goldmann <mgoldman> |
| Component: | java-1.8.0-openjdk | Assignee: | jiri vanek <jvanek> |
| Status: | CLOSED ERRATA | QA Contact: | Lukáš Zachar <lzachar> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 7.1 | CC: | dbhole, fspolti, isenfeld, jvanek, redhatbugs, tschloss |
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-11-03 22:54:51 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | 1311175 | ||
| Bug Blocks: | 1297579, 1313485 | ||
|
Description
Marek Goldmann
2015-04-28 11:37:03 UTC
Once we provide devel, brew will be randomly pulling it. Classes built by jdk8 can not run in jdk7. So this is definitely no go in 7.1 And I would say hard to go in 7.2 Later? Maybe. Now - you can heappily run maven with jdk8 selected via alternatives, but you must suffer jdk7 on your machine. Hiya Jiri, I use the alternatives workaround currently. The problem is that, like you said - it pulls JDK7 even if we don't plan to use it. This makes the the Docker image unnecessarily big. IMHO this is a problem and should be addressed one way or another. Maybe there are other ways to solve it without providing java-devel? This is probably impossible to fix somehow simply just in packages. We are now solving this issue for rhel 6.8 - we need to provide java-devel for openjdk7 and we still have to kept brewroot on openjdk6. Relengs offered solution, in which fake brew root will be created, whch will not contain openjdk7 nor openjdk8. If similar can be done for rhel 7 then it is victory. condnack (In reply to jiri vanek from comment #5) > > Relengs offered solution, in which fake brew root will be created, whch will > not contain openjdk7 nor openjdk8. > > If similar can be done for rhel 7 then it is victory. > > condnack rel-eng has not offered this solution. We have. We are still waiting for rel-eng to respond: https://engineering.redhat.com/rt/Ticket/Display.html?id=383635 rel-eng has created new buildroots which now allow us to make this change. QE will be adding additional tests to ensure that Java packages are not built by OpenJDK7 accidentally. Setting devel_ack with the assumption that the above mentioned QE tests will be in place. Depends on https://bugzilla.redhat.com/show_bug.cgi?id=1311175 (RPMDIFF bytecode check) and https://projects.engineering.redhat.com/browse/RCM-3653 (special buildroot in brew) The build root have been created. Lets wait for rpm diff issue was found with buildroots. Now waiting for https://projects.engineering.redhat.com/browse/RCM-4521 and https://projects.engineering.redhat.com/browse/RCM-4520 and rpmdiff of course The buildroot seems to be working fine. The rpmdiff too, but will be deployed to production in three weeks. Rpmdiff with bytecode check was released Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHEA-2016-2139.html |