Source: libcorkipset
Version: 1.1.1+git20171111.6842a63-2
Tags: patch
User: [email protected]
Usertags: cross-satisfiability

libcorkipset cannot be cross built from source, because it depends on
python3-sphinx which formally requires a host architecture Python
interpreter. Fortunately, we may completely side step this problem as
the documentation is split to a separate -doc package and we may
therefore completely skip this step and its dependencies in arch-only
builds. I'm attaching a patch for your convenience. On amd64, I verified
that an arch-only build fully reproduces the binary packages of a full
build with sphinx enabled. Please consider applying it in forky.

I note that due to the use of help2man, cross builds still fail.
Consider that aspect beyond the scope of this report.

Helmut
diff --minimal -Nru libcorkipset-1.1.1+git20171111.6842a63/debian/changelog 
libcorkipset-1.1.1+git20171111.6842a63/debian/changelog
--- libcorkipset-1.1.1+git20171111.6842a63/debian/changelog     2021-08-29 
13:47:15.000000000 +0200
+++ libcorkipset-1.1.1+git20171111.6842a63/debian/changelog     2025-06-20 
07:09:09.000000000 +0200
@@ -1,3 +1,10 @@
+libcorkipset (1.1.1+git20171111.6842a63-2.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Skip documentation build during arch-only. (Closes: #-1)
+
+ -- Helmut Grohne <[email protected]>  Fri, 20 Jun 2025 07:09:09 +0200
+
 libcorkipset (1.1.1+git20171111.6842a63-2) unstable; urgency=medium
 
   * Add debian/gitlab-ci.yml
diff --minimal -Nru libcorkipset-1.1.1+git20171111.6842a63/debian/control 
libcorkipset-1.1.1+git20171111.6842a63/debian/control
--- libcorkipset-1.1.1+git20171111.6842a63/debian/control       2021-08-29 
13:47:15.000000000 +0200
+++ libcorkipset-1.1.1+git20171111.6842a63/debian/control       2025-06-20 
07:09:09.000000000 +0200
@@ -10,6 +10,8 @@
  help2man,
  libcork-dev (>= 1.0.0~),
  pkg-config,
+Build-Depends-Indep:
+ dh-sequence-sphinxdoc,
  python3-sphinx
 Standards-Version: 4.5.0
 Rules-Requires-Root: no
diff --minimal -Nru libcorkipset-1.1.1+git20171111.6842a63/debian/rules 
libcorkipset-1.1.1+git20171111.6842a63/debian/rules
--- libcorkipset-1.1.1+git20171111.6842a63/debian/rules 2021-08-29 
13:47:15.000000000 +0200
+++ libcorkipset-1.1.1+git20171111.6842a63/debian/rules 2025-06-20 
07:09:09.000000000 +0200
@@ -31,4 +31,4 @@
        dh_installdocs -X.gitignore
 
 %:
-       dh $@ --with sphinxdoc
+       dh $@

Reply via email to