[Bug 266059] java/openjdk*: Create x11 FLAVOR to support headless (no-x11) default
- In reply to: bugzilla-noreply_a_freebsd.org: "[Bug 266059] java/openjdk11: headless build configuration request"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 30 Sep 2022 17:20:22 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=266059
Michael Osipov <michael.osipov@siemens.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |michael.osipov@siemens.com
--- Comment #1 from Michael Osipov <michael.osipov@siemens.com> ---
Won't work:
======================
...
checking how to link with libstdc++... static
configure: error: It is not possible to disable the use of X11. Remove the
--without-x option.
configure exiting with result code 1
===> Script "configure" failed unexpectedly.
Please report the problem to java@FreeBSD.org [maintainer] and attach the
"/var/tmp/freebsd-ports/java/openjdk11/work/jdk11u-jdk-11.0.15-10-1/config.log"
including the output of the failure of your make command. Also, it might be
a good idea to provide an overview of all packages installed on your system
(e.g. a /usr/local/sbin/pkg-static info -g -Ea).
*** Error code 1
Stop.
make: stopped in /var/tmp/freebsd-ports/java/openjdk11
======================
from:
./work/jdk11u-jdk-11.0.15-10-1/make/autoconf/libraries.m4:
======================
40 AC_DEFUN_ONCE([LIB_DETERMINE_DEPENDENCIES],
41 [
42 # Check if X11 is needed
43 if test "x$OPENJDK_TARGET_OS" = xwindows || test "x$OPENJDK_TARGET_OS" =
xmacosx; then
44 # No X11 support on windows or macosx
45 NEEDS_LIB_X11=false
46 else
47 # All other instances need X11, even if building headless only, libawt
still
48 # needs X11 headers.
49 NEEDS_LIB_X11=true
50 fi
======================
--
You are receiving this mail because:
You are the assignee for the bug.