Thread View: linux.debian.bugs.dist
1 messages
1 total messages
Started by Helmut Grohne
Mon, 26 Oct 2026 20:20
Bug#1152203: opencpn FTCBFS: fails running tests despite DEB_BUILD_OPTIONS=nocheck
Author: Helmut Grohne
Date: Mon, 26 Oct 2026 20:20
Date: Mon, 26 Oct 2026 20:20
53 lines
3653 bytes
3653 bytes
--IU3Sy+FlJNnTDG8X
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Source: opencpn
Version: 1:5.14.2+dfsg-1
Tags: patch
User: debian-cross@lists.debian.org
Usertags: ftcbfs
opencpn fails to cross build from source, because it fails running tests
despite DEB_BUILD_OPTIONS containing nocheck. As host code cannot be
run, there is no expectation of tests succeeding, but we actively need
to skip them to support cross builds. Please find a patch attached that
implements this. I've verified that a native nocheck build exactly
reproduces a full build (i.e. it does not break reproducibility).
Helmut
--IU3Sy+FlJNnTDG8X
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="opencpn_5.14.2+dfsg-1.1.debdiff"
diff -Nru opencpn-5.14.2+dfsg/debian/changelog opencpn-5.14.2+dfsg/debian/changelog
--- opencpn-5.14.2+dfsg/debian/changelog 2026-09-25 10:19:49.000000000 +0200
+++ opencpn-5.14.2+dfsg/debian/changelog 2026-10-26 11:58:18.000000000 +0100
@@ -1,3 +1,10 @@
+opencpn (1:5.14.2+dfsg-1.1) UNRELEASED; urgency=medium
+
+ * Non-maintainer upload.
+ * Fix FTCBFS: Honour DEB_BUILD_OPTIONS=nocheck. (Closes: #-1)
+
+ -- Helmut Grohne <helmut@subdivi.de> Mon, 26 Oct 2026 11:58:18 +0100
+
opencpn (1:5.14.2+dfsg-1) unstable; urgency=medium
* New upstream release
diff -Nru opencpn-5.14.2+dfsg/debian/rules opencpn-5.14.2+dfsg/debian/rules
--- opencpn-5.14.2+dfsg/debian/rules 2026-09-25 10:19:49.000000000 +0200
+++ opencpn-5.14.2+dfsg/debian/rules 2026-10-26 11:58:18.000000000 +0100
@@ -20,7 +20,8 @@
-DOCPN_USE_NEWSERIAL=ON \
-DOCPN_PLUGIN_CONTENTS_WARN=ON \
-DOCPN_FORCE_GTK3=ON \
- -DOCPN_DISTRO_BUILD=ON
+ -DOCPN_DISTRO_BUILD=ON \
+ -DOCPN_BUILD_TEST=$(if $(filter nocheck,$(DEB_BUILD_OPTIONS) $(DEB_BUILD_PROFILES)),OFF,ON)
override_dh_auto_test:
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
--IU3Sy+FlJNnTDG8X--
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