Bug#1117753: libjogl2-java: FTBFS: error: constructor JogampVersion in class JogampVersion cannot be applied to given types
Santiago Vila
sanvila at debian.org
Fri Oct 10 17:27:20 BST 2025
Package: src:libjogl2-java
Version: 2.5.0+dfsg-3.1
Severity: serious
Tags: ftbfs forky sid
Dear maintainer:
During a rebuild of all packages in unstable, this package failed to build.
Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:
https://people.debian.org/~sanvila/build-logs/202510/
About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.
If you cannot reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.
If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:libjogl2-java, so that this is still
visible in the BTS web page for this package.
Thanks.
--------------------------------------------------------------------------------
[...]
debian/rules clean
dh clean --with maven_repo_helper
debian/rules override_dh_clean
make[1]: Entering directory '/<<PKGBUILDDIR>>'
rm -f -r build build-temp gluegen-build jdkHeaders
# Restoring the make/build-*.xml files
for sub in jogl nativewindow newt; do \
if [ -e "make/build-$sub.xml.old" ]; then \
mv make/build-$sub.xml.old make/build-$sub.xml; \
fi; \
done
mv debian/javafx src/nativewindow/classes/com/jogamp/nativewindow/
mv: cannot stat 'debian/javafx': No such file or directory
make[1]: [debian/rules:64: override_dh_clean] Error 1 (ignored)
dh_clean
[... snipped ...]
gluegen.cpptasks.detect.os.freebsd.x86:
gluegen.cpptasks.detect.os.freebsd:
gluegen.cpptasks.detect.os.hpux:
gluegen.cpptasks.detect.os.linux.amd64:
gluegen.cpptasks.detect.os.linux.ia64:
gluegen.cpptasks.detect.os.linux.x86:
gluegen.cpptasks.detect.os.linux.armv6.armel:
gluegen.cpptasks.detect.os.linux.armv6.armhf:
gluegen.cpptasks.detect.os.android.armv6.armel:
gluegen.cpptasks.detect.os.linux.aarch64:
gluegen.cpptasks.detect.os.android.armv6.armhf:
gluegen.cpptasks.detect.os.android.aarch64:
gluegen.cpptasks.detect.os.android.x86:
gluegen.cpptasks.detect.os.android.x86_64:
gluegen.cpptasks.detect.os.linux.alpha:
gluegen.cpptasks.detect.os.linux.hppa:
gluegen.cpptasks.detect.os.linux.loongarch64:
gluegen.cpptasks.detect.os.linux.mips:
gluegen.cpptasks.detect.os.linux.mipsel:
gluegen.cpptasks.detect.os.linux.mipsn32:
gluegen.cpptasks.detect.os.linux.mipsn32el:
gluegen.cpptasks.detect.os.linux.mips64:
gluegen.cpptasks.detect.os.linux.mips64el:
gluegen.cpptasks.detect.os.linux.ppc:
gluegen.cpptasks.detect.os.linux.ppc64:
gluegen.cpptasks.detect.os.linux.ppc64le:
gluegen.cpptasks.detect.os.linux.riscv64:
gluegen.cpptasks.detect.os.linux.s390:
gluegen.cpptasks.detect.os.linux.s390x:
gluegen.cpptasks.detect.os.linux.sparc:
gluegen.cpptasks.detect.os.linux:
gluegen.cpptasks.detect.os.osx:
gluegen.cpptasks.detect.os.ios.amd64:
gluegen.cpptasks.detect.os.ios.arch64:
gluegen.cpptasks.detect.os.solaris.sparc:
gluegen.cpptasks.detect.os.solaris.sparcv9:
gluegen.cpptasks.detect.os.solaris.amd64:
gluegen.cpptasks.detect.os.solaris.x86:
gluegen.cpptasks.detect.os.solaris:
gluegen.cpptasks.detect.os.unix:
gluegen.cpptasks.detect.os.windows.amd64:
gluegen.cpptasks.detect.os.windows.x86:
gluegen.cpptasks.detect.os.windows:
gluegen.cpptasks.detect.os.2:
gluegen.cpptasks.detect.os:
[echo] gluegen.cpptasks.detected.os=true
[echo] gluegen.cpptasks.detected.os.2=true
[echo] isCrosscompilation=${isCrosscompilation}
[echo] isI386=${isI386}
[echo] isAMD64=true
[echo] is64Bit=true
[echo] isAbiEabiGnuArmel=${isAbiEabiGnuArmel}
[echo] isAbiEabiGnuArmhf=${isAbiEabiGnuArmhf}
[echo] jvmDataModel32Bit=${jvmDataModel32Bit}
[echo] jvmDataModel64Bit=${jvmDataModel64Bit}
[echo] jvmDataModel.arg=-Djnlp.no.jvm.data.model.set=true
[echo] FreeBSD=${isFreeBSD}
[echo] FreeBSDX86=${isFreeBSDX86}
[echo] FreeBSDAMD64=${isFreeBSDAMD64}
[echo] HPUX=${isHPUX}
[echo] IA64=${isIA64}
[echo] Android=${isAndroid}
[echo] AndroidARMv6=${isAndroidARMv6}
[echo] AndroidARM64=${isAndroidARM64}
[echo] AndroidARMv6Armel=${isAndroidARMv6Armel}
[echo] AndroidARMv6Armhf=${isAndroidARMv6Armhf}
[echo] AndroidX86=${isAndroidX86}
[echo] AndroidX86_64=${isAndroidX86_64}
[echo] Linux=true
[echo] LinuxAMD64=true
[echo] LinuxIA64=${isLinuxIA64}
[echo] LinuxX86=${isLinuxX86}
[echo] LinuxARMv6=${isLinuxARMv6}
[echo] LinuxARM64=${isLinuxARM64}
[echo] LinuxARMv6Armel=${isLinuxARMv6Armel}
[echo] LinuxARMv6Armhf=${isLinuxARMv6Armhf}
[echo] LinuxAlpha=${isLinuxAlpha}
[echo] LinuxHppa=${isLinuxHppa}
[echo] LinuxLoongArch64=${isLinuxLoongArch64}
[echo] LinuxMips=${isLinuxMips}
[echo] LinuxMipsel=${isLinuxMipsel}
[echo] LinuxMips=${isLinuxMipsn32}
[echo] LinuxMipsel=${isLinuxMipsn32el}
[echo] LinuxMips=${isLinuxMips64}
[echo] LinuxMipsel=${isLinuxMips64el}
[echo] LinuxPpc=${isLinuxPpc}
[echo] LinuxPpc64=${isLinuxPpc64}
[echo] LinuxPpc64le=${isLinuxPpc64le}
[echo] LinuxAarch64=${isLinuxAarch64}
[echo] LinuxRiscV64=${isLinuxRiscV64}
[echo] Linuxs390=${isLinuxs390}
[echo] Linuxs390x=${isLinuxs390x}
[echo] LinuxSparc=${isLinuxSparc}
[echo] OS X=${isOSX}
[echo] OS X PPC=${use.macosppc}
[echo] OS X x32=${use.macosx32}
[echo] OS X x64=${use.macosx64}
[echo] iOS=${isIOS}
[echo] iOSAmd64=${isIOSAmd64}
[echo] iOSArm64=${isIOSArm64}
[echo] Solaris=${isSolaris}
[echo] Solaris32Bit=${isSolaris32Bit}
[echo] Solaris64Bit=${isSolaris64Bit}
[echo] SolarisSparc=${isSolarisSparc}
[echo] SolarisSparcv9=${isSolarisSparcv9}
[echo] SolarisAMD64=${isSolarisAMD64}
[echo] SolarisX86=${isSolarisX86}
[echo] Unix=true
[echo] Windows=${isWindows}
[echo] X11=true
[echo] os=Linux
[echo] os=6.12.48+deb13-cloud-amd64
[echo] arch=amd64
[echo] build.dynamiclibs=true
[echo] build.staticlibs=false
[echo] output.lib.type=shared
common.init:
base.init:
[echo] java.excludes.all: ${java.excludes.awt} jogamp/nativewindow/drm/** jogamp/nativewindow/macosx/** jogamp/nativewindow/windows/** jogamp/nativewindow/jawt/macosx/** jogamp/nativewindow/jawt/windows/**
declare.common:
init:
[mkdir] Created dir: /<<PKGBUILDDIR>>/build/nativewindow/gensrc/classes
[mkdir] Created dir: /<<PKGBUILDDIR>>/build/nativewindow/gensrc/native
[mkdir] Created dir: /<<PKGBUILDDIR>>/build/nativewindow/gensrc/native/MacOSX
[mkdir] Created dir: /<<PKGBUILDDIR>>/build/nativewindow/gensrc/native/iOS
[mkdir] Created dir: /<<PKGBUILDDIR>>/build/nativewindow/gensrc/native/Windows
[mkdir] Created dir: /<<PKGBUILDDIR>>/build/nativewindow/gensrc/native/X11
[mkdir] Created dir: /<<PKGBUILDDIR>>/build/nativewindow/classes
[mkdir] Created dir: /<<PKGBUILDDIR>>/build/nativewindow/obj
common.gluegen.build:
common.gluegen.init:
java.generate.check:
java.generate:
java.generate.cleantemp:
[echo] Generating platform-specifics: X11
java.generate.platforms:
[echo] Generating platform-specifics: os: x11, cfgs: ./config/nativewindow/x11-lib.cfg, ./config/nativewindow/jawt-x11.cfg
java.generate.windowlib:
[echo] Generating Windowing Lib implementation class
java.generate.copy2temp:
[copy] Copied 1 empty directory to 1 empty directory under /<<PKGBUILDDIR>>/build-temp
java.generate.jawt:
[echo] Generating JAWT interface class
[echo] java.home.dir=${java.home.dir}
java.generate.copy2temp:
[copy] Copying 4 files to /<<PKGBUILDDIR>>/build-temp
[gluegen] ../jdkHeaders/jni.h:100: warning: skipping emission of non-compound JType[java.lang.Objectclazz = java.lang.Object, is[], descriptor 'Ljava/lang/Object;'], CType[(StructType) '_jobject', size[fixed false, lnx64 0], const[false], is[struct{_jobject: 0}]]
java.generate.copy2temp:
[copy] Copying 6 files to /<<PKGBUILDDIR>>/build-temp
[echo] Generating platform-specifics: iOS (nop)
java.generate.platforms:
[echo] Generating platform-specifics: os: ios, cfgs: ${windowlib.os.cfg}, ${jawt.cfg}
java.generate.windowlib:
java.generate.jawt:
java.generate.copy2temp:
[echo]
[echo] GlueGen has successfully generated files.
javah.drmgbm:
javah.x11:
[javac] Compiling 2 source files to /<<PKGBUILDDIR>>/build/nativewindow/classes
[javac] warning: [options] bootstrap class path not set in conjunction with -source 8
[javac] warning: [options] source value 8 is obsolete and will be removed in a future release
[javac] warning: [options] target value 8 is obsolete and will be removed in a future release
[javac] warning: [options] To suppress warnings about obsolete options, use -Xlint:-options.
[javac] 4 warnings
javah.windows:
javah.macos:
javah.ios:
java.compile.javase:
[javac] Compiling 99 source files to /<<PKGBUILDDIR>>/build/nativewindow/classes
[javac] warning: [options] bootstrap class path not set in conjunction with -source 8
[javac] warning: [options] source value 8 is obsolete and will be removed in a future release
[javac] warning: [options] target value 8 is obsolete and will be removed in a future release
[javac] warning: [options] To suppress warnings about obsolete options, use -Xlint:-options.
[javac] /<<PKGBUILDDIR>>/src/nativewindow/classes/com/jogamp/nativewindow/NativeWindowVersion.java:42: error: constructor JogampVersion in class JogampVersion cannot be applied to given types;
[javac] super(packageName, mf);
[javac] ^
[javac] required: Manifest
[javac] found: String,Manifest
[javac] reason: actual and formal argument lists differ in length
[javac] /<<PKGBUILDDIR>>/build/nativewindow/gensrc/classes/jogamp/nativewindow/jawt/JAWT.java:243: warning: [removal] Boolean(boolean) in Boolean has been deprecated and marked for removal
[javac] return new Boolean(true);
[javac] ^
[javac] /<<PKGBUILDDIR>>/build/nativewindow/gensrc/classes/jogamp/nativewindow/jawt/JAWT.java:246: warning: [removal] Boolean(boolean) in Boolean has been deprecated and marked for removal
[javac] return new Boolean(false);
[javac] ^
[javac] /<<PKGBUILDDIR>>/src/nativewindow/classes/jogamp/nativewindow/ios/IOSUtil.java:307: warning: [removal] Boolean(boolean) in Boolean has been deprecated and marked for removal
[javac] isMainThread = new Boolean(IsMainThread0());
[javac] ^
[javac] /<<PKGBUILDDIR>>/src/nativewindow/classes/jogamp/nativewindow/macosx/OSXUtil.java:419: warning: [removal] Boolean(boolean) in Boolean has been deprecated and marked for removal
[javac] isMainThread = new Boolean(IsMainThread0());
[javac] ^
[javac] Note: /<<PKGBUILDDIR>>/src/nativewindow/classes/jogamp/nativewindow/Debug.java uses or overrides a deprecated API.
[javac] Note: Recompile with -Xlint:deprecation for details.
[javac] Note: Some input files use unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
[javac] 1 error
[javac] 8 warnings
BUILD FAILED
/<<PKGBUILDDIR>>/make/build.xml:76: The following error occurred while executing this line:
/<<PKGBUILDDIR>>/make/build-nativewindow.xml:468: Compile failed; see the compiler error output for details.
Total time: 4 seconds
make[1]: *** [debian/rules:55: override_dh_auto_build] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:32: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------
More information about the pkg-java-maintainers
mailing list