[Bug 239624] java/openjdk11: Fix build failure for 11.0.4-11-1
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sat Aug 3 19:45:58 UTC 2019
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=239624
Bug ID: 239624
Summary: java/openjdk11: Fix build failure for 11.0.4-11-1
Product: Ports & Packages
Version: Latest
Hardware: powerpc
OS: Any
Status: New
Severity: Affects Some People
Priority: ---
Component: Individual Port(s)
Assignee: java at FreeBSD.org
Reporter: hamiltcl at verizon.net
CC: powerpc at FreeBSD.org
Assignee: java at FreeBSD.org
Flags: maintainer-feedback?(java at FreeBSD.org)
CC: powerpc at FreeBSD.org
Attachment #206251 text/plain
mime type:
Created attachment 206251
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=206251&action=edit
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
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the freebsd-ppc
mailing list