Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Sep 2022 17:20:22 +0000
From:      bugzilla-noreply@freebsd.org
To:        java@FreeBSD.org
Subject:   [Bug 266059] java/openjdk*: Create x11 FLAVOR to support headless (no-x11) default
Message-ID:  <bug-266059-8522-3Hv8shEXZp@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-266059-8522@https.bugs.freebsd.org/bugzilla/>
References:  <bug-266059-8522@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D266059

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:
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
...
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
=3D=3D=3D>  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
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

from:
./work/jdk11u-jdk-11.0.15-10-1/make/autoconf/libraries.m4:
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
40 AC_DEFUN_ONCE([LIB_DETERMINE_DEPENDENCIES],
41 [
42   # Check if X11 is needed
43   if test "x$OPENJDK_TARGET_OS" =3D xwindows || test "x$OPENJDK_TARGET_O=
S" =3D
xmacosx; then
44     # No X11 support on windows or macosx
45     NEEDS_LIB_X11=3Dfalse
46   else
47     # All other instances need X11, even if building headless only, liba=
wt
still
48     # needs X11 headers.
49     NEEDS_LIB_X11=3Dtrue
50   fi
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

--=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-266059-8522-3Hv8shEXZp>