Source: ssvnc Version: 1.0.29-7 Tags: patch User: [email protected] Usertags: ftcbfs
ssvnc fails to cross build from source for two distinct reasons. The immediate failure arises from not passing cross tools to make. A required dependency is not found as it is only requested for the host architecture, but make defaults to using build architecture build tools. Using dh_auto_build is the easiest way to fix this. Then, running the host's java compiler fails. For using the compiler, a native Java development kit is needed. The attached patch addresses both issues. Please consider applying it. Helmut
diff -Nru ssvnc-1.0.29/debian/changelog ssvnc-1.0.29/debian/changelog --- ssvnc-1.0.29/debian/changelog 2025-10-07 20:55:37.000000000 +0200 +++ ssvnc-1.0.29/debian/changelog 2025-12-14 22:26:03.000000000 +0100 @@ -1,3 +1,12 @@ +ssvnc (1.0.29-7.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Fix FTCBFS: (Closes: #-1) + + Let dh_auto_build pass cross tools to make. + + Build depend on a native Java development kit. + + -- Helmut Grohne <[email protected]> Sun, 14 Dec 2025 22:26:03 +0100 + ssvnc (1.0.29-7) unstable; urgency=medium * Move packaging to salsa.debian.org. diff -Nru ssvnc-1.0.29/debian/control ssvnc-1.0.29/debian/control --- ssvnc-1.0.29/debian/control 2025-10-07 20:55:37.000000000 +0200 +++ ssvnc-1.0.29/debian/control 2025-12-14 22:26:03.000000000 +0100 @@ -5,7 +5,7 @@ Build-Depends: dpkg-dev (>= 1.15.7), debhelper (>= 10), xutils-dev, libxaw7-dev, libxmu-dev, libxext-dev, libxt-dev, libsm-dev, libice-dev, libjpeg-dev, zlib1g-dev | libz-dev, - default-jdk-headless, libssl-dev, dh-strip-nondeterminism + default-jdk-headless:native, libssl-dev, dh-strip-nondeterminism Standards-Version: 4.6.0 Homepage: http://www.karlrunge.com/x11vnc/ssvnc.html Vcs-Git: https://salsa.debian.org/holmgren/ssvnc.git diff -Nru ssvnc-1.0.29/debian/rules ssvnc-1.0.29/debian/rules --- ssvnc-1.0.29/debian/rules 2025-10-07 20:55:37.000000000 +0200 +++ ssvnc-1.0.29/debian/rules 2025-12-14 22:26:02.000000000 +0100 @@ -28,7 +28,7 @@ build-stamp: configure-stamp dh_testdir - $(MAKE) all JC_ARGS="-source $(java_compat_level) -target $(java_compat_level)" + dh_auto_build -- all JC_ARGS="-source $(java_compat_level) -target $(java_compat_level)" touch $@

