Source: libjpeg-turbo
Version: 1:3.1.3-4
Tags: patch
User: [email protected]
Usertags: ftcbfs

libjpeg-turbo fails to cross build from source, because the it fails
running the host architecture Java compiler. Usually, when building Java
libraries, a build architecture compiler is needed as the output is
architecture-independent. Once annotating the jdk with :native,
libjpeg-turbo cross builds successfully. Please find a patch attached
for your convenience.

Helmut
diff -Nru libjpeg-turbo-3.1.3/debian/changelog 
libjpeg-turbo-3.1.3/debian/changelog
--- libjpeg-turbo-3.1.3/debian/changelog        2026-04-15 22:16:07.000000000 
+0200
+++ libjpeg-turbo-3.1.3/debian/changelog        2026-08-31 22:19:06.000000000 
+0200
@@ -1,3 +1,10 @@
+libjpeg-turbo (1:3.1.3-4.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Use a native java development kit. (Closes: #-1)
+
+ -- Helmut Grohne <[email protected]>  Mon, 31 Aug 2026 22:19:06 +0200
+
 libjpeg-turbo (1:3.1.3-4) unstable; urgency=medium
 
   * Revert "Fix build problems when including jconfig.h".
diff -Nru libjpeg-turbo-3.1.3/debian/control libjpeg-turbo-3.1.3/debian/control
--- libjpeg-turbo-3.1.3/debian/control  2026-03-10 22:13:16.000000000 +0100
+++ libjpeg-turbo-3.1.3/debian/control  2026-08-31 22:19:04.000000000 +0200
@@ -4,7 +4,7 @@
 Uploaders: Mike Gabriel <[email protected]>
 Build-Depends: cmake,
                debhelper-compat (= 13),
-               default-jdk [!hppa !hurd-any !powerpc],
+               default-jdk:native [!hppa !hurd-any !powerpc],
                help2man,
                javahelper,
                nasm,

Reply via email to