Article View: linux.debian.bugs.dist
Article #2306Bug#1152203: opencpn FTCBFS: fails running tests despite DEB_BUILD_OPTIONS=nocheck
From: 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--
Technical Details
Message-ID:
<NSzkK-84wi-39@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!robomodShow 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#1152203: opencpn FTCBFS: fails running tests despite DEB_BUILD_OPTIONS=nocheck Date: Mon, 26 Oct 2026 21:20:02 +0100 Message-ID: <NSzkK-84wi-39@gated-at.bofh.it> X-Original-To: Debian Bug Tracking System <submit@bugs.debian.org> X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org Mon Oct 26 20:17:10 2026 Old-Return-Path: <debbugs@buxtehude.debian.org> X-Spam-Flag: NO X-Spam-Score: -1.45 Reply-To: Helmut Grohne <helmut@subdivi.de>, 1152203@bugs.debian.org Resent-To: debian-bugs-dist@lists.debian.org Resent-Cc: leamas.alec@gmail.com X-Debian-Pr-Message: report 1152203 X-Debian-Pr-Package: src:opencpn X-Debian-Pr-Keywords: patch X-Debian-Pr-Source: opencpn MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="IU3Sy+FlJNnTDG8X" 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/1999075 List-ID: <debian-bugs-dist.lists.debian.org> List-URL: <https://lists.debian.org/debian-bugs-dist/> Approved: robomod@news.nic.it Lines: 53 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Mon, 26 Oct 2026 13:08:39 +0100 X-Original-Message-ID: <20261026120839.GA2557882@subdivi.de>