maintainer-feedback requested: [Bug 265805] java/openjdk11: fails to build: SIGSEGV for support_jmods_jdk.naming.ldap.jmod

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 12 Aug 2022 21:47:31 UTC
Bugzilla Automation <bugzilla@FreeBSD.org> has asked freebsd-java (Nobody)
<java@FreeBSD.org> for maintainer-feedback:
Bug 265805: java/openjdk11: fails to build: SIGSEGV for
support_jmods_jdk.naming.ldap.jmod
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=265805



--- Description ---
OS: 13.1-RELEASE

Trying to compille java/openjdk11 from ports:

gmake[3]: Leaving directory
'/usr/ports/java/openjdk11/work/jdk11u-jdk-11.0.16-8-1'

ERROR: Build failed for target 'images' in configuration
'bsd-x86_64-normal-server-release' (exit code 2) 
gmake[3]: Entering directory
'/usr/ports/java/openjdk11/work/jdk11u-jdk-11.0.16-8-1'

=== Output from failing command(s) repeated here ===
* For target support_jmods_jdk.naming.ldap.jmod:
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x0000000802ccd4e8, pid=57410, tid=740820
#
# JRE version: OpenJDK Runtime Environment (11.0.16+8) (build 11.0.16+8-1)
# Java VM: OpenJDK 64-Bit Server VM (11.0.16+8-1, mixed mode, tiered,
compressed oops, serial gc, bsd-amd64)
# Problematic frame:
# V  [libjvm.so+0xecd4e8]  JVM_RaiseSignal+0x3d3888
#
# Core dump will be written. Default location:
/usr/ports/java/openjdk11/work/jdk11u-jdk-11.0.16-8-1/make/jmod.core
#
# An error report file with more information is saved as:
#
/usr/ports/java/openjdk11/work/jdk11u-jdk-11.0.16-8-1/make/hs_err_pid57410.log
#
   ... (rest of output omitted)

* All command lines available in
/usr/ports/java/openjdk11/work/jdk11u-jdk-11.0.16-8-1/build/bsd-x86_64-normal-s
erver-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/jdk11u-jdk-11.0.16-8-1'
gmake[2]: ***
[/usr/ports/java/openjdk11/work/jdk11u-jdk-11.0.16-8-1/make/Init.gmk:305: main]
Error 2
gmake[2]: Leaving directory
'/usr/ports/java/openjdk11/work/jdk11u-jdk-11.0.16-8-1'
gmake[1]: ***
[/usr/ports/java/openjdk11/work/jdk11u-jdk-11.0.16-8-1/make/Init.gmk:186:
images] Error 2
gmake[1]: Leaving directory
'/usr/ports/java/openjdk11/work/jdk11u-jdk-11.0.16-8-1'
===> Compilation failed unexpectedly.