Bug#1146516: rxtx FTCBFS: fails running host's javac
Helmut Grohne
helmut at subdivi.de
Wed Sep 2 19:38:14 BST 2026
Source: rxtx
Version: 2.2.0+dfsg-3.1
Tags: patch
User: debian-cross at lists.debian.org
Usertags: ftcbfs
rxtx fails to cross build from source, because it fails running
/usr/bin/javac, which happens to be a host architecture executable.
Usually, when building Java packages, one needs a native development kit
and sometimes also the host's runtime libraries. I tried building with
just the native development kit and that happens to just work. Please
consider applying the attached patch.
Helmut
-------------- next part --------------
diff -Nru rxtx-2.2.0+dfsg/debian/changelog rxtx-2.2.0+dfsg/debian/changelog
--- rxtx-2.2.0+dfsg/debian/changelog 2024-10-14 17:55:34.000000000 +0200
+++ rxtx-2.2.0+dfsg/debian/changelog 2026-09-02 20:31:11.000000000 +0200
@@ -1,3 +1,10 @@
+rxtx (2.2.0+dfsg-3.2) UNRELEASED; urgency=medium
+
+ * Non-maintainer upload.
+ * Fix FTCBFS: Build depend on an native Java development kit. (Closes: #-1)
+
+ -- Helmut Grohne <helmut at subdivi.de> Wed, 02 Sep 2026 20:31:11 +0200
+
rxtx (2.2.0+dfsg-3.1) unstable; urgency=medium
* Non-maintainer upload
diff -Nru rxtx-2.2.0+dfsg/debian/control rxtx-2.2.0+dfsg/debian/control
--- rxtx-2.2.0+dfsg/debian/control 2024-10-14 17:55:34.000000000 +0200
+++ rxtx-2.2.0+dfsg/debian/control 2026-09-02 20:31:09.000000000 +0200
@@ -7,7 +7,7 @@
tony mancill <tmancill at debian.org>
Build-Depends:
debhelper-compat (= 13),
- default-jdk,
+ default-jdk:native,
javahelper,
libtool
Standards-Version: 4.7.0
More information about the pkg-java-maintainers
mailing list