Thread View: linux.debian.bugs.dist
1 messages
1 total messages
Started by Helmut Grohne
Thu, 15 Oct 2026 12:30
Bug#1150993: f2j FTCBFS: fails running the host architecture java compiler
Author: Helmut Grohne
Date: Thu, 15 Oct 2026 12:30
Date: Thu, 15 Oct 2026 12:30
78 lines
4224 bytes
4224 bytes
--S5yqM9nzQHiL/Ud1
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Source: f2j
Version: 0.8.1+dfsg-6
Tags: patch
User: debian-cross@lists.debian.org
Usertags: ftcbfs
f2j fails to cross build from source, because it fails running the java
compiler which is requested for the host architecture by Build-Depends.
Before figuring out how to fix this, I'd like to observe that the
compiled jar file is installed into an arch:all package. This is not
produced by a cross build. So instead of fixing it, I propose moving
Java out of the arch-only build. This also helps build daemons on slower
architectures as installing Java can take quite some time. Please
consider applying the attached patch.
Helmut
--S5yqM9nzQHiL/Ud1
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="f2j_0.8.1+dfsg-6.1.debdiff"
diff -Nru f2j-0.8.1+dfsg/debian/changelog f2j-0.8.1+dfsg/debian/changelog
--- f2j-0.8.1+dfsg/debian/changelog 2025-09-28 17:04:04.000000000 +0200
+++ f2j-0.8.1+dfsg/debian/changelog 2026-10-13 08:26:19.000000000 +0200
@@ -1,3 +1,10 @@
+f2j (0.8.1+dfsg-6.1) UNRELEASED; urgency=medium
+
+ * Non-maintainer upload.
+ * Fix FTCBFS: Skip Java in arch-only build. (Closes: #-1)
+
+ -- Helmut Grohne <helmut@subdivi.de> Tue, 13 Oct 2026 08:26:19 +0200
+
f2j (0.8.1+dfsg-6) unstable; urgency=medium
* Team upload.
diff -Nru f2j-0.8.1+dfsg/debian/control f2j-0.8.1+dfsg/debian/control
--- f2j-0.8.1+dfsg/debian/control 2025-09-28 17:04:04.000000000 +0200
+++ f2j-0.8.1+dfsg/debian/control 2026-10-13 08:26:16.000000000 +0200
@@ -5,9 +5,9 @@
Section: java
Priority: optional
Build-Depends: debhelper-compat (= 13),
- default-jdk,
bison,
- javahelper
+Build-Depends-Indep: default-jdk,
+ javahelper
Standards-Version: 4.7.2
Vcs-Browser: https://salsa.debian.org/java-team/f2j
Vcs-Git: https://salsa.debian.org/java-team/f2j.git
diff -Nru f2j-0.8.1+dfsg/debian/rules f2j-0.8.1+dfsg/debian/rules
--- f2j-0.8.1+dfsg/debian/rules 2025-09-28 17:04:04.000000000 +0200
+++ f2j-0.8.1+dfsg/debian/rules 2026-10-13 08:26:19.000000000 +0200
@@ -11,7 +11,16 @@
%:
dh $@
-override_dh_auto_install:
+override_dh_auto_build-arch:
+ dh_auto_build --sourcedirectory=libbytecode
+ dh_auto_build --sourcedirectory=src
+
+override_dh_auto_build-indep:
+ dh_auto_build --sourcedirectory=util
+
+override_dh_auto_install-arch:
+
+override_dh_auto_install-indep:
jh_installlibs --package=libf2j-java util/f2jutil.jar
--S5yqM9nzQHiL/Ud1--
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads