Skip to content

Build failure on Debian 13 with OpenJDK 21 - Compilation fails in core-pva module #3691

@XavSPM

Description

@XavSPM

Hello,

I have a compilation problem on Debian 13 with the latest version.

[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  2.036 s
[INFO] Finished at: 2026-02-03T13:24:43+01:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.6.2:compile (default-compile) on project core-pva: Compilation failure -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException 
[ERROR] 
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <args> -rf :core-pva

I therefore tested with a Docker container running Fedora and was able to successfully compile Phoebus.

[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  14:07 min
[INFO] Finished at: 2026-02-03T10:31:59Z
[INFO] ------------------------------------------------------------------------

Program versions on Debian:

xgoiziou@arronax.com@ARROPORT81L:~/Documents/Programes/phoebus$ java --version 
openjdk 21.0.10 2026-01-20
OpenJDK Runtime Environment (build 21.0.10+7-Debian-1deb13u1)
OpenJDK 64-Bit Server VM (build 21.0.10+7-Debian-1deb13u1, mixed mode, sharing)
xgoiziou@arronax.com@ARROPORT81L:~/Documents/Programes/phoebus$ mvn --version 
Apache Maven 3.9.9
Maven home: /usr/share/maven
Java version: 21.0.10, vendor: Debian, runtime: /usr/lib/jvm/java-21-openjdk-amd64
Default locale: fr_FR, platform encoding: UTF-8
OS name: "linux", version: "6.12.57+deb13-amd64", arch: "amd64", family: "unix"
xgoiziou@arronax.com@ARROPORT81L:~/Documents/Programes/phoebus$ echo $JAVA_HOME
/usr/lib/jvm/java-21-openjdk-amd64/

Program versions on Fedora:

[root@0e43f65cb091 phoebus-product]# java --version
openjdk 25.0.2 2026-01-20
OpenJDK Runtime Environment (Red_Hat-25.0.2.0.10-2) (build 25.0.2+10)
OpenJDK 64-Bit Server VM (Red_Hat-25.0.2.0.10-2) (build 25.0.2+10, mixed mode, sharing)
[root@0e43f65cb091 phoebus-product]# mvn --version
Apache Maven 3.9.11 (Red Hat 3.9.11-5)
Maven home: /usr/share/maven
Java version: 25.0.2, vendor: Red Hat, Inc., runtime: /usr/lib/jvm/java-25-openjdk
Default locale: en, platform encoding: UTF-8
OS name: "linux", version: "6.12.57+deb13-amd64", arch: "amd64", family: "unix"
[root@0e43f65cb091 phoebus-product]# echo $JAVA_HOME
/usr/lib/jvm/java-25-openjdk

Do you have any idea what might be causing this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions