Source: logbook
Version: 1.7.0-1.0
Tags: patch
User: [email protected]
Usertags: cross-satisfiability

logbook cannot be cross built from source due to unsatisfiable cross
Build-Depends relating to sphinxdoc. I note that its documentation is
neatly separated into an arch:all -doc package, so I attempted moving
those Build-Depends to Build-Depends-Indep making them irrelevant to
cross building. That readily succeeded and I verified (using
reproducible builds) that the artifacts of a thus modified arch-only
build exactly reproduce the shared artifacts with a full build on amd64.
Please find a patch attached.

Helmut
diff -Nru logbook-1.7.0/debian/changelog logbook-1.7.0/debian/changelog
--- logbook-1.7.0/debian/changelog      2023-10-30 14:46:17.000000000 +0100
+++ logbook-1.7.0/debian/changelog      2026-02-09 13:41:20.000000000 +0100
@@ -1,3 +1,10 @@
+logbook (1.7.0-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Skip documentation build during arch-only. (Closes: #-1)
+
+ -- Helmut Grohne <[email protected]>  Mon, 09 Feb 2026 13:41:20 +0100
+
 logbook (1.7.0-1.0) unstable; urgency=medium
 
   * Non-maintainer upload.
diff -Nru logbook-1.7.0/debian/control logbook-1.7.0/debian/control
--- logbook-1.7.0/debian/control        2023-10-30 14:46:17.000000000 +0100
+++ logbook-1.7.0/debian/control        2026-02-09 13:41:18.000000000 +0100
@@ -7,18 +7,19 @@
 Build-Depends:
  debhelper-compat (= 13),
  dh-sequence-python3,
- dh-sequence-sphinxdoc,
  python3-all,
  python3-setuptools,
  pybuild-plugin-pyproject,
- python3-sphinx,
- python3-docutils,
- python3-doc,
  cython3,
  python3-all-dev,
  python3-brotli <!nocheck>,
  python3-pytest <!nocheck>,
  redis-server <!nocheck>,
+Build-Depends-Indep:
+ dh-sequence-sphinxdoc,
+ python3-sphinx,
+ python3-docutils,
+ python3-doc,
 Standards-Version: 4.6.2
 Homepage: http://pythonhosted.org/Logbook/
 Vcs-Git: https://salsa.debian.org/debian/logbook.git
diff -Nru logbook-1.7.0/debian/rules logbook-1.7.0/debian/rules
--- logbook-1.7.0/debian/rules  2023-10-30 14:46:17.000000000 +0100
+++ logbook-1.7.0/debian/rules  2026-02-09 13:40:51.000000000 +0100
@@ -14,7 +14,7 @@
 execute_before_dh_auto_build:
        make cybuild
 
-execute_after_dh_auto_install:
+execute_after_dh_auto_install-indep:
        # build the html pages for the -doc package
        set -ex; \
                cd docs; \

Reply via email to