Summary: | java/openjdk11: Fix build failure for 11.0.4-11-1 | ||||||
---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Curtis Hamilton <hamiltcl> | ||||
Component: | Individual Port(s) | Assignee: | Greg Lewis <glewis> | ||||
Status: | Closed FIXED | ||||||
Severity: | Affects Some People | CC: | glewis, powerpc | ||||
Priority: | --- | Flags: | bugzilla:
maintainer-feedback?
(java) |
||||
Version: | Latest | ||||||
Hardware: | powerpc | ||||||
OS: | Any | ||||||
Attachments: |
|
Curtis, have you created a pull request on the Github repo for this change? (In reply to Greg Lewis from comment #1) Done! Thanks! I've merged that so it'll be in the next release. I'll commit this patch in the mean time. A commit references this bug: Author: glewis Date: Sun Aug 4 23:04:33 UTC 2019 New revision: 508130 URL: https://svnweb.freebsd.org/changeset/ports/508130 Log: Fix the build on PowerPC64 PR: 239624 Submitted by: Curtis Hamilton <hamiltcl@verizon.net> Changes: head/java/openjdk11/files/patch-src_hotspot_os__cpu_bsd__ppc_os__bsd__ppc.cpp |
Created attachment 206251 [details] patch to fix build failure Build fails with: Compiling 300 files for jdk.javadoc /usr/ports/java/openjdk11/work/openjdk-jdk11u-jdk-11.0.4-11-1/src/hotspot/os_cpu/bsd_ppc/os_bsd_ppc.cpp: In function 'long unsigned int ucontext_get_trap(const ucontext_t*)': /usr/ports/java/openjdk11/work/openjdk-jdk11u-jdk-11.0.4-11-1/src/hotspot/os_cpu/bsd_ppc/os_bsd_ppc.cpp:136:26: error: 'const mcontext_t {aka const struct __mcontext}' has no member named 'regs' return uc->uc_mcontext.regs->trap; ^~~~ gmake[4]: *** [lib/CompileJvm.gmk:151: /usr/ports/java/openjdk11/work/openjdk-jdk11u-jdk-11.0.4-11-1/build/bsd-ppc64-normal-server-release/hotspot/variant-server/libjvm/objs/os_bsd_ppc.o] Error 1 gmake[4]: Leaving directory '/usr/ports/java/openjdk11/work/openjdk-jdk11u-jdk-11.0.4-11-1/make/hotspot' gmake[3]: *** [make/Main.gmk:257: hotspot-server-libs] Error 2 gmake[3]: *** Waiting for unfinished jobs.... gmake[4]: Leaving directory '/usr/ports/java/openjdk11/work/openjdk-jdk11u-jdk-11.0.4-11-1/make' gmake[3]: Leaving directory '/usr/ports/java/openjdk11/work/openjdk-jdk11u-jdk-11.0.4-11-1' ERROR: Build failed for target 'images' in configuration 'bsd-ppc64-normal-server-release' (exit code 2) gmake[3]: Entering directory '/usr/ports/java/openjdk11/work/openjdk-jdk11u-jdk-11.0.4-11-1' === Output from failing command(s) repeated here === * For target hotspot_variant-server_libjvm_objs_os_bsd_ppc.o: /usr/ports/java/openjdk11/work/openjdk-jdk11u-jdk-11.0.4-11-1/src/hotspot/os_cpu/bsd_ppc/os_bsd_ppc.cpp: In function 'long unsigned int ucontext_get_trap(const ucontext_t*)': /usr/ports/java/openjdk11/work/openjdk-jdk11u-jdk-11.0.4-11-1/src/hotspot/os_cpu/bsd_ppc/os_bsd_ppc.cpp:136:26: error: 'const mcontext_t {aka const struct __mcontext}' has no member named 'regs' return uc->uc_mcontext.regs->trap; ^~~~ * All command lines available in /usr/ports/java/openjdk11/work/openjdk-jdk11u-jdk-11.0.4-11-1/build/bsd-ppc64-normal-server-release/make-support/failure-logs. === End of repeated output === No indication of failed target found. Hint: Try searching the build log for '] Error'. Hint: See doc/building.html#troubleshooting for assistance. gmake[3]: Leaving directory '/usr/ports/java/openjdk11/work/openjdk-jdk11u-jdk-11.0.4-11-1' gmake[2]: *** [/usr/ports/java/openjdk11/work/openjdk-jdk11u-jdk-11.0.4-11-1/make/Init.gmk:305: main] Error 2 gmake[2]: Leaving directory '/usr/ports/java/openjdk11/work/openjdk-jdk11u-jdk-11.0.4-11-1' gmake[1]: *** [/usr/ports/java/openjdk11/work/openjdk-jdk11u-jdk-11.0.4-11-1/make/Init.gmk:186: images] Error 2 gmake[1]: Leaving directory '/usr/ports/java/openjdk11/work/openjdk-jdk11u-jdk-11.0.4-11-1' ===> Compilation failed unexpectedly. Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to the maintainer. *** Error code 1