🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.bugs.dist
Article #2310

Bug#1152216: z3 FTCBFS: fails running the Java compiler

#2310
From: Helmut Grohne
Date: Mon, 26 Oct 2026 20:20
51 lines
3424 bytes
--DZynt5jj7vpwPI+l
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

Source: z3
Version: 4.13.3-1.1
Tags: patch
User: debian-cross@lists.debian.org
Usertags: ftcbfs

z3 fails to cross build from source, because it fails running the Java
compiler, which is requested as a host architecture executable. Most of
the time, a native Java development kit can be used for compiling Java
bindings. This is also the case here. Please consider applying the
attached patch.

Helmut

--DZynt5jj7vpwPI+l
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="z3_4.13.3-1.2.debdiff"

diff -Nru z3-4.13.3/debian/changelog z3-4.13.3/debian/changelog
--- z3-4.13.3/debian/changelog	2026-05-04 14:38:14.000000000 +0200
+++ z3-4.13.3/debian/changelog	2026-10-15 14:44:38.000000000 +0200
@@ -1,3 +1,10 @@
+z3 (4.13.3-1.2) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Use a native Java development kit. (Closes: #-1)
+
+ -- Helmut Grohne <helmut@subdivi.de>  Thu, 15 Oct 2026 14:44:38 +0200
+
 z3 (4.13.3-1.1) unstable; urgency=medium
 
   * Non-maintainer upload.
diff -Nru z3-4.13.3/debian/control z3-4.13.3/debian/control
--- z3-4.13.3/debian/control	2026-05-04 14:38:14.000000000 +0200
+++ z3-4.13.3/debian/control	2026-10-15 14:44:35.000000000 +0200
@@ -7,7 +7,7 @@
                cmake, libsimde-dev, python3:any, python3-setuptools,
                dh-sequence-python3 <!nopython>,
                dh-sequence-javahelper [!hppa !hurd-any !m68k !sh4] <!nojava>,
-               default-jdk [!hppa !hurd-any !m68k !sh4] <!nojava>
+               default-jdk:native [!hppa !hurd-any !m68k !sh4] <!nojava>
 Standards-Version: 4.7.0
 Homepage: https://github.com/Z3Prover/z3
 Vcs-Git: https://salsa.debian.org/pkg-llvm-team/z3.git

--DZynt5jj7vpwPI+l--
Technical Details
Message-ID: <NSzkK-84wi-47@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!3.eu.feeder.erje.net!feeder.erje.net!news.szaf.org!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!3.eu.feeder.erje.net!feeder.erje.net!news.szaf.org!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
From: Helmut Grohne <helmut@subdivi.de>
Newsgroups: linux.debian.bugs.dist
Subject: Bug#1152216: z3 FTCBFS: fails running the Java compiler
Date: Mon, 26 Oct 2026 21:20:02 +0100
Message-ID: <NSzkK-84wi-47@gated-at.bofh.it>
X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org  Mon Oct 26 20:17:30 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -1.45
Reply-To: Helmut Grohne <helmut@subdivi.de>, 1152216@bugs.debian.org
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: pkg-llvm-team@lists.alioth.debian.org
X-Debian-Pr-Message: report 1152216
X-Debian-Pr-Package: src:z3
X-Debian-Pr-Keywords: patch
X-Debian-Pr-Source: z3
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="DZynt5jj7vpwPI+l"
Content-Disposition: inline
X-Reportbug-Version: 13.2.0
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/1999088
List-ID: <debian-bugs-dist.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-dist/>
Approved: robomod@news.nic.it
Lines: 51
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Date: Thu, 15 Oct 2026 15:18:48 +0200
X-Original-Message-ID: <20261015131848.GA4149742@subdivi.de>