Bug#1123016: openni2 FTCBFS: fails running the host javac
Source: openni2
Version: 2.2.0.33+dfsg-18
Tags: patch
User: debian-cross@lists.debian.org
Usertags: ftcbfs
openni2 fails to cross build from source, because it fails running the
host's javac as requested by the build dependency default-jdk. For
running the Java compiler, a native development kit is needed and using
it for cross compilation is ok. I'm attaching a patch for your
convenience.
Helmut
diff -Nru openni2-2.2.0.33+dfsg/debian/changelog openni2-2.2.0.33+dfsg/debian/changelog
--- openni2-2.2.0.33+dfsg/debian/changelog 2024-01-07 12:01:43.000000000 +0100
+++ openni2-2.2.0.33+dfsg/debian/changelog 2025-12-10 11:10:20.000000000 +0100
@@ -1,3 +1,10 @@
+openni2 (2.2.0.33+dfsg-18.1) UNRELEASED; urgency=medium
+
+ * Non-maintainer upload.
+ * Fix FTCBFS: Build-Depend on the native jdk. (Closes: #-1)
+
+ -- Helmut Grohne <helmut@subdivi.de> Wed, 10 Dec 2025 11:10:20 +0100
+
openni2 (2.2.0.33+dfsg-18) unstable; urgency=medium
* Remove old dh_installudev usrmerge workaround
diff -Nru openni2-2.2.0.33+dfsg/debian/control openni2-2.2.0.33+dfsg/debian/control
--- openni2-2.2.0.33+dfsg/debian/control 2023-11-26 09:01:47.000000000 +0100
+++ openni2-2.2.0.33+dfsg/debian/control 2025-12-10 11:10:20.000000000 +0100
@@ -12,7 +12,7 @@
graphviz,
libjpeg-dev,
libudev-dev,
- default-jdk
+ default-jdk:native,
Standards-Version: 4.6.2
Rules-Requires-Root: no
Homepage: https://structure.io/openni
Reply to: