#1139301 java3d: FTBFS on i386: install: cannot stat 'j3d-core/build/default/opt/native/libj3dcore-ogl.so': No such file or directory #1139301
- Package:
- src:java3d
- Source:
- src:java3d
- Submitter:
- Sebastian Ramacher
- Date:
- 2026-06-11 04:51:02 UTC
- Severity:
- normal
- Tags:
Source: java3d
Version: 1.5.2+dfsg-18
Severity: serious
Tags: ftbfs
Justification: fails to build from source (but built successfully in the past)
X-Debbugs-Cc: sramacher@debian.org
User: debian-qa@lists.debian.org
Usertags: i386
Dear maintainer,
java3d FTBFS on i386:
make[1]: Leaving directory '/build/reproducible-path/java3d-1.5.2+dfsg'
jh_build -a -O--buildsystem=ant
dh_auto_test -a -O--buildsystem=ant
create-stamp debian/debhelper-build-stamp
dh_testroot -a -O--buildsystem=ant
dh_prep -a -O--buildsystem=ant
debian/rules override_dh_auto_install-arch
make[1]: Entering directory '/build/reproducible-path/java3d-1.5.2+dfsg'
install -m 644 -D j3d-core/build/default/opt/native/libj3dcore-ogl.so \
debian/libjava3d-jni/usr/lib/jni/libj3dcore-ogl.so
install: cannot stat 'j3d-core/build/default/opt/native/libj3dcore-ogl.so': No such file or directory
make[1]: *** [debian/rules:25: override_dh_auto_install-arch] Error 1
make[1]: Leaving directory '/build/reproducible-path/java3d-1.5.2+dfsg'
See
https://buildd.debian.org/status/fetch.php?pkg=java3d&arch=i386&ver=1.5.2%2Bdfsg-18%2Bb1&stamp=1780902151&raw=0
for details.
Cheers
Hi, The issue has been introduced by the switch of the default jdk to openjdk-25 in java-common 0.77. Regards Aurelien
tag: control -1 + patch And this happened because openjdk-25 dropped support for hotspot on armhf and i386 compared to openjdk-21, so zero is used instead. The patch below adjust the build config files, while keeping compatibility with both hotspot and zero:--- java3d-1.5.2+dfsg.orig/j3d-core/src/native/ogl/build-linux-generic.xml +++ java3d-1.5.2+dfsg/j3d-core/src/native/ogl/build-linux-generic.xml @@ -29,7 +29,7 @@ <!-- Create the library file--> <exec dir="${build}/${platform}/${bldType}/native/ogl/objs" executable="gcc"> - <arg line="-shared DrawingSurfaceObjectAWT.o Canvas3D.o GraphicsContext3D.o NativeScreenInfo.o NativeConfigTemplate3D.o MasterControl.o GeometryArrayRetained.o Attributes.o CgShaderProgram.o GLSLShaderProgram.o Lights.o -Wl,-z,defs -L/usr/X11R6/lib -ldl -lGL -lX11 -lXext -lm -lnsl -L${java.home}/lib/${os.arch} -L${java.home}/lib -ljawt -L${java.home}/lib/${os.arch}/server -L${java.home}/lib/${os.arch}/client -L${java.home}/lib/server -L${java.home}/lib/client -ljvm -o libj3dcore-ogl.so"/> + <arg line="-shared DrawingSurfaceObjectAWT.o Canvas3D.o GraphicsContext3D.o NativeScreenInfo.o NativeConfigTemplate3D.o MasterControl.o GeometryArrayRetained.o Attributes.o CgShaderProgram.o GLSLShaderProgram.o Lights.o -Wl,-z,defs -L/usr/X11R6/lib -ldl -lGL -lX11 -lXext -lm -lnsl -L${java.home}/lib/${os.arch} -L${java.home}/lib -ljawt -L${java.home}/lib/${os.arch}/server -L${java.home}/lib/${os.arch}/client -L${java.home}/lib/${os.arch}/zero -L${java.home}/lib/server -L${java.home}/lib/client -L${java.home}/lib/zero -ljvm -o libj3dcore-ogl.so"/> </exec> </target> --- java3d-1.5.2+dfsg.orig/j3d-core/src/native/ogl/build-linux-i586.xml +++ java3d-1.5.2+dfsg/j3d-core/src/native/ogl/build-linux-i586.xml @@ -30,7 +30,7 @@ <!-- Create the library file--> <exec dir="${build}/${platform}/${bldType}/native/ogl/objs" executable="ld"> - <arg line="DrawingSurfaceObjectAWT.o Canvas3D.o GraphicsContext3D.o NativeScreenInfo.o NativeConfigTemplate3D.o MasterControl.o GeometryArrayRetained.o Attributes.o CgShaderProgram.o GLSLShaderProgram.o Lights.o -G -z defs -L/usr/X11R6/lib -ldl -lGL -lX11 -lXext -lm -lnsl -lc -L${java.home}/lib/i386 -L${java.home}/lib -ljawt -L${java.home}/lib/i386/server -L${java.home}/lib/server -ljvm -o libj3dcore-ogl.so"/> + <arg line="DrawingSurfaceObjectAWT.o Canvas3D.o GraphicsContext3D.o NativeScreenInfo.o NativeConfigTemplate3D.o MasterControl.o GeometryArrayRetained.o Attributes.o CgShaderProgram.o GLSLShaderProgram.o Lights.o -G -z defs -L/usr/X11R6/lib -ldl -lGL -lX11 -lXext -lm -lnsl -lc -L${java.home}/lib/i386 -L${java.home}/lib -ljawt -L${java.home}/lib/i386/server -L${java.home}/lib/i386/zero -L${java.home}/lib/server -L${java.home}/lib/zero -ljvm -o libj3dcore-ogl.so"/> </exec> </target> I successfully tested it on arm64, armhf, i386 and riscv64. Regards Aurelien
Hello, Bug #1139301 in java3d reported by you has been fixed in the Git repository and is awaiting an upload. You can see the commit message below and you can check the diff of the fix at: https://salsa.debian.org/java-team/java3d/-/commit/9608b2f7208fce43e6f7c0381cbead2f883accba (this message was generated automatically) -- Greetings https://bugs.debian.org/1139301
We believe that the bug you reported is fixed in the latest version of
java3d, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 1139301@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
tony mancill <tmancill@debian.org> (supplier of updated java3d package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Wed, 10 Jun 2026 21:08:57 -0700
Source: java3d
Architecture: source
Version: 1.5.2+dfsg-19
Distribution: unstable
Urgency: medium
Maintainer: Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org>
Changed-By: tony mancill <tmancill@debian.org>
Closes: 1139091 1139301
Changes:
java3d (1.5.2+dfsg-19) unstable; urgency=medium
.
* Team upload.
* Add patch to address FTBFS with openjdk-25 (Closes: #1139301)
Thank you to Aurelien Jarno for the patch.
* Bump Standards-Version to 4.7.4
* Update Uploaders (Closes: #1139091)
Thank you to Torsten Werner for your work on this package.
Checksums-Sha1:
979f1aeaeb77ae255fd3c994a1a891b67cfb0a43 2251 java3d_1.5.2+dfsg-19.dsc
79238055423b89495ae8e56f7056a5c049c966d6 18344 java3d_1.5.2+dfsg-19.debian.tar.xz
5d4b0000e3e4452f8ac30642a698138d5c24593c 14560 java3d_1.5.2+dfsg-19_amd64.buildinfo
Checksums-Sha256:
eb8f072105de2d9aa1587e74a191c6f65b4d32ddc34a1dd68dd753462471384b 2251 java3d_1.5.2+dfsg-19.dsc
a921e6a31e220a0c04a04c606c26b8d482d4c979f93a1b77b15cedda35ac9986 18344 java3d_1.5.2+dfsg-19.debian.tar.xz
ed530468bde7b48be4b2b520f9a6fbb759dea058a33c91e3e31b8b034321d7e3 14560 java3d_1.5.2+dfsg-19_amd64.buildinfo
Files:
d80e87a85cfe0bb0a58cf546b135f56f 2251 java optional java3d_1.5.2+dfsg-19.dsc
79b9d156e8c29e309ac563dededace27 18344 java optional java3d_1.5.2+dfsg-19.debian.tar.xz
fbaa4331d7583ed1ae48922746ae9089 14560 java optional java3d_1.5.2+dfsg-19_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQJIBAEBCgAyFiEE5Qr9Va3SequXFjqLIdIFiZdLPpYFAmoqN5MUHHRtYW5jaWxs
QGRlYmlhbi5vcmcACgkQIdIFiZdLPpZ+0g/+PjUc/xe6OKaL1ddqJtsyhZlVD4mN
kHtWIf8m94+avICEtP+nEy8siLJHGwiLoBa/tC/E0lTcBcj9otgDkdYCku/WeGTe
cP5qlzC3ia58pCTc62DpZaFMeTkQvtMBNigRhdVmPjNAFo8OZv9BlxbGUV/0N9Ti
MrNLefUGY2M1yLUrirN1tjTu+Xj/ib1G1agUw0iwaI/rI+dTLzDop11Yvggo8Gw/
sc644XzEtxffXhHUuXGnp3AhnnimyQ1VLKWFdz0lZx1qdkBdzsZAXSndreDbwCkd
7kJIfKcih8SuxCkZQll7LiLuygVRy1hKG8q5Z+rVv3Za40YFuQ5RbNba/ATyZLyG
aKVuF/MuKtpABMarBF5y1HyaQV8opcISUYu+2viirTTswUY30UEOaeEj8Grxjrky
7GOTV0oi8eohQjn76F2xhIznkgKqiAfdjLpoLaNyjAQXGHdXZfUkndQMb29lg1fe
lp8a74bc1zRxupHsgHnlS/qXmiw9aM8Aj4ZO4hC5TUCOYksXLKFdScRz7ErjH2qw
uJ54e95pXYzRAVVrRqTGWlrGVC2e3L6NuGLUijirDAvNLbVlzCuA+6pUw3iWSOgP
HbmNLq8GCVuhjJ4Uuoy7ovhqH9d4vy3Vq7poXc5hZLykFNWMEDoVADEo3s7iawpr
JNfDcuVa/raXdaE=
=Jld/
-----END PGP SIGNATURE-----