Package Details: jre-openjdk-wakefield 21.0.1.0.r274.g9758078-1

Git Clone URL: https://aur.archlinux.org/java-openjdk-wakefield.git (read-only, click to copy)
Package Base: java-openjdk-wakefield
Description: OpenJDK Java 21 wayland full runtime environment
Upstream URL: https://openjdk.org/projects/wakefield/
Keywords: java jdk jre wakefield wayland
Licenses: GPL-2.0-or-later
Conflicts: jdk-openjdk-wakefield, jre-openjdk-wakefield-headless
Provides: java-runtime, java-runtime-headless, java-runtime-headless-openjdk, java-runtime-openjdk, jre21-openjdk-wakefield, jre21-openjdk-wakefield-headless
Submitter: wildwestrom
Maintainer: txtsd
Last Packager: txtsd
Votes: 7
Popularity: 1.47
First Submitted: 2022-11-12 13:36 (UTC)
Last Updated: 2024-11-08 13:23 (UTC)

Required by (1727)

Sources (4)

Latest Comments

Palaress commented on 2025-05-20 13:03 (UTC) (edited on 2025-05-20 14:55 (UTC) by Palaress)

Hi @txtsd, thanks for maintaining the package.

I got an error and am not familiar build processes.

uname -srvpo: Linux 6.14.6-arch1-1 #1 SMP PREEMPT_DYNAMIC Fri, 09 May 2025 17:36:18 +0000 unknown GNU/Linux

pkgver=21.0.1.0.r326.gbbb9635

CPU: Intel i7-8650U (8) @ 4.200GHz

Memory/RAM: 32G

I did exactly the following:

$ mkdir ~/build-tmp/
$ cd ~/build-tmp/
$ wget https://aur.archlinux.org/cgit/aur.git/snapshot/java-openjdk-wakefield.tar.gz
$ tar -xzf java-openjdk-wakefield.tar.gz
$ cd java-openjdk-wakefield
$ extra-x86_64-build -c

I pasted the entire log of /var/lib/archbuild/extra-x86_64/user/build/java-openjdk-wakefield/src/wakefield/build/linux-x86_64-server-release/build.log here. Below are the last few lines:

/build/java-openjdk-wakefield/src/wakefield/src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >'
In file included from /build/java-openjdk-wakefield/src/wakefield/src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30,
                 from /build/java-openjdk-wakefield/src/wakefield/src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32,
                 from /build/java-openjdk-wakefield/src/wakefield/src/hotspot/share/gc/z/zHeap.inline.hpp:30,
                 from /build/java-openjdk-wakefield/src/wakefield/src/hotspot/share/gc/z/zVerify.cpp:31:
/build/java-openjdk-wakefield/src/wakefield/src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor]
   99 | ZActivatedArray<T>::~ZActivatedArray<T>() {
      |                     ^
/build/java-openjdk-wakefield/src/wakefield/src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >'
/usr/bin/nm: ad_x86_format.o: no symbols
/usr/bin/nm: bytecodeHistogram.o: no symbols
/usr/bin/nm: c1_CFGPrinter.o: no symbols
/usr/bin/nm: c1_InstructionPrinter.o: no symbols
/usr/bin/nm: idealGraphPrinter.o: no symbols
/usr/bin/nm: instanceOop.o: no symbols
/usr/bin/nm: oopsHierarchy.o: no symbols
/usr/bin/nm: register.o: no symbols
/usr/bin/nm: runtime_x86_64.o: no symbols
/usr/bin/nm: safefetch_sigjmp.o: no symbols
/usr/bin/nm: safepointVerifiers.o: no symbols
/usr/bin/nm: vm_version_linux_x86.o: no symbols
src/hotspot/share/jfr/jni/jfrJniMethod.hpp:128:14: warning: 'jfr_abort' violates the C++ One Definition Rule [-Wodr]
src/hotspot/share/jfr/jni/jfrJniMethod.cpp:339:1: note: type mismatch in parameter 2
src/hotspot/share/jfr/jni/jfrJniMethod.cpp:339:1: note: type 'struct _jobject *' should match type 'struct _jclass *'
src/hotspot/share/jfr/jni/jfrJniMethod.cpp:339:1: note: 'jfr_abort' was previously declared here
src/hotspot/share/jfr/jni/jfrJniMethod.cpp:339:1: note: code may be misoptimized unless '-fno-strict-aliasing' is used
src/hotspot/share/jfr/jni/jfrJniMethod.hpp:126:14: warning: 'jfr_flush' violates the C++ One Definition Rule [-Wodr]
src/hotspot/share/jfr/jni/jfrJniMethod.cpp:313:1: note: type mismatch in parameter 2
src/hotspot/share/jfr/jni/jfrJniMethod.cpp:313:1: note: type 'struct _jobject *' should match type 'struct _jclass *'
src/hotspot/share/jfr/jni/jfrJniMethod.cpp:313:1: note: 'jfr_flush' was previously declared here
src/hotspot/share/jfr/jni/jfrJniMethod.cpp:313:1: note: code may be misoptimized unless '-fno-strict-aliasing' is used
src/hotspot/share/jfr/jni/jfrJniMethod.hpp:122:18: warning: 'jfr_event_writer_flush' violates the C++ One Definition Rule [-Wodr]
src/hotspot/share/jfr/jni/jfrJniMethod.cpp:305:1: note: return value type mismatch
src/hotspot/share/jfr/jni/jfrJniMethod.cpp:305:1: note: type 'void' should match type 'jboolean'
src/hotspot/share/jfr/jni/jfrJniMethod.cpp:305:1: note: 'jfr_event_writer_flush' was previously declared here
g++: fatal error: Killed signal terminated program lto1
compilation terminated.
lto-wrapper: fatal error: /usr/bin/g++ returned 1 exit status
compilation terminated.
/usr/bin/ld: error: lto-wrapper failed
collect2: error: ld returned 1 exit status
make[3]: *** [lib/CompileJvm.gmk:148: /build/java-openjdk-wakefield/src/wakefield/build/linux-x86_64-server-release/support/modules_libs/java.base/server/libjvm.so] Error 1
make[2]: *** [make/Main.gmk:252: hotspot-server-libs] Error 2

ERROR: Build failed for targets 'images legacy-jre-image docs' in configuration 'linux-x86_64-server-release' (exit code 2) 

Hope you can help.

txtsd commented on 2025-04-12 04:23 (UTC)

@zeakz It builds fine on my CI. Try a clean chroot, or comment out the MAKEFLAGS line in your /etc/makepkg.conf.

zeakz commented on 2025-04-12 03:03 (UTC)

currently getting this error when trying to install.

Error: 'make -jN' is not supported, use 'make JOBS=N' /home/zeakz/.cache/paru/clone/java-openjdk-wakefield/src/wakefield/make/Init.gmk:115: *** Cannot continue. Stop. ==> ERROR: A failure occurred in build(). Aborting... error: failed to build 'java-openjdk-wakefield-21.0.1.0.r274.g9758078-1 (jdk-openjdk-wakefield)': error: packages failed to build: java-openjdk-wakefield-21.0.1.0.r274.g9758078-1 (jdk-openjdk-wakefield)

txtsd commented on 2024-11-06 07:53 (UTC)

This package can now be installed alongside other jre/jdk packages and be selected with archlinux-java.

txtsd commented on 2024-02-29 06:41 (UTC)

@wildwestrom I've taken over the package now. Thank you for your initial effort!

I'll try to keep this well-maintained until wakefield lands in a release.

wildwestrom commented on 2024-02-29 06:39 (UTC)

@txtsd It seems like you're now the maintainer. I can't figure out how to add you as a co-maintainer, did you just manage to do it yourself? Is there still something I need to do?

Thank you for picking up this package. I can't really maintain it myself so this helps a lot.

txtsd commented on 2024-02-29 04:47 (UTC)

@wildwestrom If you're not interested in maintaining this, could you please add me as co-maintainer, and then orphan the package? I would like to be its maintainer.

wildwestrom commented on 2023-03-09 11:35 (UTC) (edited on 2023-03-09 11:36 (UTC) by wildwestrom)

Sorry about that. I really haven't thoroughly tested this package before posting (probably a case of "works on my machine"). I'm considering having it taken down as recently I haven't had the time to test and maintain this. I also may have to break this into multiple pkgbuilds like some of the other JDK packages on the AUR.

jptrzy commented on 2023-03-09 11:24 (UTC) (edited on 2023-03-09 11:27 (UTC) by jptrzy)

When I try to install it, I get an error:

error: command failed: /home/jp3/.cache/paru/clone/java-openjdk-wakefield: git reset --hard -q HEAD:
    fatal: ambiguous argument 'HEAD': unknown revision or path not in the working tree.
    Use '--' to separate paths from revisions, like this:
    'git <command> [<revision>...] -- [<file>...]'

Also, when I try to View PKGBUILD I get:

Invalid branch: java-openjdk-wakefield