pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: openjdk21 build error



On Sat, Sep 06, 2025 at 12:57:59AM +0900, Ryo ONODERA wrote:
> I think that you cannot disable all options of lang/openjdk21 because
> it has PKG_OPTIONS_GROUP.
> Could you provide your exact value of PKG_OPTIONS.openjdk21 and
> result of `make show-options` with me?

PKG_OPTIONS.openjdk21 += -jre-jce -x11 -jdk-hotspot-vm

# make show-options
Any of the following general options may be selected:
        debug    Enable debugging facilities in the package.
        dtrace   Enable DTrace support.
        jdk-bundled-zlib
        jre-jce  Enable the Java Cryptography Extension.
        static-libstdcpp
        x11      Enable X11 support.
At most one of the following variant options may be selected:
        jdk-hotspot-vm
        jdk-zero-vm

These options are enabled by default:
        jdk-hotspot-vm jre-jce x11

These options are currently enabled:

You can select which build options to use by setting PKG_DEFAULT_OPTIONS
or PKG_OPTIONS.openjdk21.

I did this in work/jdk21u-jdk-21.0.8-9-1/build as a quick workaround:

ln -s bsd-x86_64-server-release bsd-x86_64--release

-- 
Mayuresh


Home | Main Index | Thread Index | Old Index