Article View: linux.debian.bugs.dist
Article #6009Bug#1155163: pyyaml FTCBFS: unsatisfiable Python Build-Depends
From: Helmut Grohne
Date: Tue, 24 Nov 2026 21:00
Date: Tue, 24 Nov 2026 21:00
62 lines
3771 bytes
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--
Technical Details
Message-ID:
<O35Ml-dWvb-31@gated-at.bofh.it>Path:
mbox-mo1.pugleaf.net!news-fra.pugleaf.net!srl.newsdeef.eu!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomodShow Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-fra.pugleaf.net!srl.newsdeef.eu!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#1155163: pyyaml FTCBFS: unsatisfiable Python Build-Depends Date: Tue, 24 Nov 2026 22:00:01 +0100 Message-ID: <O35Ml-dWvb-31@gated-at.bofh.it> X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org Tue Nov 24 20:51:10 2026 Old-Return-Path: <debbugs@buxtehude.debian.org> X-Spam-Flag: NO X-Spam-Score: -1.451 Reply-To: Helmut Grohne <helmut@subdivi.de>, 1155163@bugs.debian.org Resent-To: debian-bugs-dist@lists.debian.org Resent-Cc: team+python@tracker.debian.org X-Debian-Pr-Message: report 1155163 X-Debian-Pr-Package: src:pyyaml X-Debian-Pr-Keywords: patch X-Debian-Pr-Source: pyyaml MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="XKsb57ZB95aHHws7" 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/2004774 List-ID: <debian-bugs-dist.lists.debian.org> List-URL: <https://lists.debian.org/debian-bugs-dist/> Approved: robomod@news.nic.it Lines: 62 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Sun, 22 Nov 2026 21:56:57 +0100 X-Original-Message-ID: <20261122205657.GA217106@subdivi.de>