Bug 1538767
Summary: | java-1.8.0-openjdk FTBFS due to linking with -Wl,-z,defs | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Severin Gehwolf <sgehwolf> |
Component: | java-1.8.0-openjdk | Assignee: | jiri vanek <jvanek> |
Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | rawhide | CC: | dbhole, jerboaa, jvanek, msrb, mvala, omajid |
Target Milestone: | --- | Keywords: | Reopened |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2018-04-10 13:05:57 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: |
Description
Severin Gehwolf
2018-01-25 19:02:51 UTC
Adding -lawt_headless to the link flags makes this specific error go away. I expect more issues to be found. Filed this bug upstream as well. Pull request with a proposed fix: https://src.fedoraproject.org/rpms/java-1.8.0-openjdk/pull-request/1 This builds fine for me in a F28 mock and failed earlier. Jiri, please review and push if it looks good to you. Scratch build is running: https://koji.fedoraproject.org/koji/taskinfo?taskID=24465491 Not sure what happened with the scratch build in comment 5. It has some strange failures: annobin: precompiled.hpp: Error: plugin built for compiler version (7.3.1) but run with compiler version (7.2.1) cc1plus: error: fail to initialize plugin /usr/lib/gcc/ppc64le-redhat-linux/7/plugin/annobin.so I attribute this to the compiler update which happened recently on rawhide. Here is another try: https://koji.fedoraproject.org/koji/taskinfo?taskID=24467529 The latest scratch build failed on ppc64le. I've filed bug 1539664 for this. I don't think that one is openjdk's fault. Next scratch build with this commit which should work around bug 1539664 and hopefully a passing scratch build on rawhide: https://src.fedoraproject.org/fork/jerboaa/rpms/java-1.8.0-openjdk/c/5d552d21474e030b15d60d5bff9b54f1bb90e6c4?branch=master https://koji.fedoraproject.org/koji/taskinfo?taskID=24536207 Good times. With ppc64le we now run into bug 1539812. Not sure what's happening with aarch64. Meanwhile, -Wl,-z,defs changes in redhat-rpm-config have been reverted in rawhide: https://koji.fedoraproject.org/koji/buildinfo?buildID=1021842 (In reply to Severin Gehwolf from comment #3) > Pull request with a proposed fix: > https://src.fedoraproject.org/rpms/java-1.8.0-openjdk/pull-request/1 Closed this --^ PR in favour of this new one. The old one included other unrelated fixes: https://src.fedoraproject.org/rpms/java-1.8.0-openjdk/pull-request/2 I guess this is fixed in: https://koji.fedoraproject.org/koji/taskinfo?taskID=24653130 Reopening since the fix has been reverted upstream. See JDK-8196509. The redo bug has some details as to what the issue is: JDK-8196516 PR with the correct fix is here: https://src.fedoraproject.org/rpms/java-1.8.0-openjdk/pull-request/3 If it looks good to you, Jiri, please merge. Assigning to Jiri. merged |