Source: rxtx
Version: 2.2.0+dfsg-3.1
Tags: patch
User: [email protected]
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
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 <[email protected]>  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 <[email protected]>
 Build-Depends:
  debhelper-compat (= 13),
- default-jdk,
+ default-jdk:native,
  javahelper,
  libtool
 Standards-Version: 4.7.0
__
This is the maintainer address of Debian's Java team
<https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-java-maintainers>.
 Please use
[email protected] for discussions and questions.

Reply via email to