🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: linux.debian.bugs.dist
1 messages
1 total messages Started by Helmut Grohne Tue, 24 Nov 2026 21:00
Bug#1155163: pyyaml FTCBFS: unsatisfiable Python Build-Depends
#6009
Author: Helmut Grohne
Date: Tue, 24 Nov 2026 21:00
62 lines
3771 bytes
--XKsb57ZB95aHHws7
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

Source: pyyaml
Version: 6.0.3-1
Tags: patch
User: debian-cross@lists.debian.org
Usertags: cross-satisfiability

pyyaml cannot be cross built from source, due to several problems
relating to is Build-Depends. "python3-all-dev" requests a host
architecture Python interpreter. Instead, this should be
"python3-all-dev:any" plus "libpython3-all-dev". Once fixing this, the
cython3 dependency becomes an issue. While cython3 can exercise
architecture-dependent behavior (and therefore cannot become
M-A:foreign), it often is used in a sensible way. Hence, it can also be
annotated :native here. Once fixing dependencies, pyyaml cross builds
just fine. Please consider applying the attached patch.

Helmut

--XKsb57ZB95aHHws7
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="pyyaml_6.0.3-1.1.debdiff"

diff -Nru pyyaml-6.0.3/debian/changelog pyyaml-6.0.3/debian/changelog
--- pyyaml-6.0.3/debian/changelog	2025-12-28 00:52:19.000000000 +0100
+++ pyyaml-6.0.3/debian/changelog	2026-11-22 21:50:21.000000000 +0100
@@ -1,3 +1,12 @@
+pyyaml (6.0.3-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: (Closes: #-1)
+    + Multiarchify Python Build-Depends.
+    + Annotate cython3 Build-Dependency :native.
+
+ -- Helmut Grohne <helmut@subdivi.de>  Sun, 22 Nov 2026 21:50:21 +0100
+
 pyyaml (6.0.3-1) unstable; urgency=medium
 
   * New upstream version 6.0.3
diff -Nru pyyaml-6.0.3/debian/control pyyaml-6.0.3/debian/control
--- pyyaml-6.0.3/debian/control	2025-12-28 00:52:19.000000000 +0100
+++ pyyaml-6.0.3/debian/control	2026-11-22 21:50:21.000000000 +0100
@@ -7,10 +7,11 @@
 Build-Depends: debhelper-compat (= 13),
                pybuild-plugin-pyproject,
                dh-sequence-python3,
-               python3-all-dev,
+               libpython3-all-dev,
+               python3-all-dev:any,
                python3-setuptools,
                libyaml-dev,
-               cython3,
+               cython3:native,
 Standards-Version: 4.7.3
 Vcs-Browser: https://salsa.debian.org/python-team/packages/pyyaml
 Vcs-Git: https://salsa.debian.org/python-team/packages/pyyaml.git

--XKsb57ZB95aHHws7--
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