Source: libuv1
Version: 1.48.0-6
Tags: patch
User: [email protected]
Usertags: cross-satisfiability

libuv1 cannot be cross built from source, because its dependency on
sphinx is not satisfiable. Rather than figure out a way to make this
work, I observe that it is only needed for building libuv1-doc, which
happens to be an Arch:all package and thus irrelevant to cross building.
So the easier solution here is to move the sphinx dependencies to
Build-Depends-Indep and that's all it takes to make libvu1 cross
buildable. I'm attaching a patch for your convenience.

Helmut
diff --minimal -Nru libuv1-1.48.0/debian/changelog 
libuv1-1.48.0/debian/changelog
--- libuv1-1.48.0/debian/changelog      2024-09-04 17:11:33.000000000 +0200
+++ libuv1-1.48.0/debian/changelog      2024-11-04 10:23:40.000000000 +0100
@@ -1,3 +1,10 @@
+libuv1 (1.48.0-6.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Move sphinx dependencies to B-D-I. (Closes: #-1)
+
+ -- Helmut Grohne <[email protected]>  Mon, 04 Nov 2024 10:23:40 +0100
+
 libuv1 (1.48.0-6) unstable; urgency=medium
 
   [ Olivier Valentin ]
diff --minimal -Nru libuv1-1.48.0/debian/control libuv1-1.48.0/debian/control
--- libuv1-1.48.0/debian/control        2024-09-04 17:11:33.000000000 +0200
+++ libuv1-1.48.0/debian/control        2024-11-04 10:23:02.000000000 +0100
@@ -6,10 +6,10 @@
 Build-Depends: cmake,
                debhelper-compat (= 13),
                dh-exec,
-               dh-sequence-sphinxdoc <!nodoc>,
                netbase,
                pkgconf,
-               sphinx <!nodoc>
+Build-Depends-Indep: dh-sequence-sphinxdoc <!nodoc>,
+                     sphinx <!nodoc>,
 Standards-Version: 4.6.2
 Vcs-Browser: https://salsa.debian.org/debian/libuv1
 Vcs-Git: https://salsa.debian.org/debian/libuv1.git
diff --minimal -Nru libuv1-1.48.0/debian/rules libuv1-1.48.0/debian/rules
--- libuv1-1.48.0/debian/rules  2024-09-04 17:11:33.000000000 +0200
+++ libuv1-1.48.0/debian/rules  2024-11-04 10:23:38.000000000 +0100
@@ -39,5 +39,5 @@
        sphinx-build -D html_theme=default docs/src/ 
$(CURDIR)/debian/libuv1-doc/usr/share/doc/libuv1/html
 endif
 
-execute_after_dh_installdocs:
+execute_after_dh_installdocs-indep:
        rm -f 
$(CURDIR)/debian/libuv1-doc/usr/share/doc/libuv1-dev/code/.gitignore

Reply via email to