Create venv
./graalpy.sh -m venv src/main/resources/vfs/venv
Install wheel
VIRTUAL_ENV=src/main/resources/vfs/venv ./src/main/resources/vfs/venv/bin/graalpy.sh -m pip install wheel
Install weasyprint
VIRTUAL_ENV=src/main/resources/vfs/venv ./src/main/resources/vfs/venv/bin/graalpy.sh -m pip install weasyprint --no-build-isolation --no-cache-dir
The execution aborts with the following error
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x000071c47883ad87, pid=16635, tid=16638
#
# JRE version: Java(TM) SE Runtime Environment Oracle GraalVM 21.0.3+7.1 (21.0.3+7) (build 21.0.3+7-LTS-jvmci-23.1-b37)
# Java VM: Java HotSpot(TM) 64-Bit Server VM Oracle GraalVM 21.0.3+7.1 (21.0.3+7-LTS-jvmci-23.1-b37, mixed mode, sharing, tiered, jvmci, jvmci compiler, compressed oops, compressed class ptrs, g1 gc, linux-amd64)
# Problematic frame:
# C [_cffi_backend.graalpy240-310-native-x86_64-linux.so+0x10d87] _cdata_getslicearg+0x1c
-
GraalVM 21.0.3
-
Truffle 24.0.1