Date: Sat, 03 Aug 2019 19:45:57 +0000 From: bugzilla-noreply@freebsd.org To: java@FreeBSD.org Subject: [Bug 239624] java/openjdk11: Fix build failure for 11.0.4-11-1 Message-ID: <bug-239624-8522@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D239624 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@FreeBSD.org Reporter: hamiltcl@verizon.net CC: powerpc@FreeBSD.org Assignee: java@FreeBSD.org Flags: maintainer-feedback?(java@FreeBSD.org) CC: powerpc@FreeBSD.org Attachment #206251 text/plain mime type: Created attachment 206251 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D206251&action= =3Dedit 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/o= s_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/o= s_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-ppc= 64-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)=20 gmake[3]: Entering directory '/usr/ports/java/openjdk11/work/openjdk-jdk11u-jdk-11.0.4-11-1' =3D=3D=3D Output from failing command(s) repeated here =3D=3D=3D * 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/o= s_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/o= s_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-ppc= 64-normal-server-release/make-support/failure-logs. =3D=3D=3D End of repeated output =3D=3D=3D 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.gm= k: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.gm= k:186: images] Error 2 gmake[1]: Leaving directory '/usr/ports/java/openjdk11/work/openjdk-jdk11u-jdk-11.0.4-11-1' =3D=3D=3D> Compilation failed unexpectedly. Try to set MAKE_JOBS_UNSAFE=3Dyes and rebuild before reporting the failure = to the maintainer. *** Error code 1 --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-239624-8522>