Source: python3-defaults
Version: 3.13.9-2
Tags: patch
User: [email protected]
Usertags: cross-satisfiability

python3-defaults cannot be cross built from source, because several
dependencies are not satisfiable. There are several interpreter as well
as sphinx, none of which can be marked M-A:foreign. I propose annotating
them all :native. Please find a patch attached for your convenience.

While at it, I suggest marking python3-doc as not being built for the
nodoc build profile.

Helmut
diff -Nru python3-defaults-3.13.9/debian/changelog 
python3-defaults-3.13.9/debian/changelog
--- python3-defaults-3.13.9/debian/changelog    2025-12-02 14:32:31.000000000 
+0100
+++ python3-defaults-3.13.9/debian/changelog    2025-12-23 16:38:54.000000000 
+0100
@@ -1,3 +1,11 @@
+python3-defaults (3.13.9-2.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Annotate tool dependencies :native. (Closes: #-1)
+  + Mark python3-doc as not being built with nodoc.
+
+ -- Helmut Grohne <[email protected]>  Tue, 23 Dec 2025 16:38:54 +0100
+
 python3-defaults (3.13.9-2) unstable; urgency=medium
 
   * Check for a working /usr/bin/python3,
diff -Nru python3-defaults-3.13.9/debian/control 
python3-defaults-3.13.9/debian/control
--- python3-defaults-3.13.9/debian/control      2025-12-02 14:32:31.000000000 
+0100
+++ python3-defaults-3.13.9/debian/control      2025-12-23 16:38:54.000000000 
+0100
@@ -3,10 +3,10 @@
 Priority: optional
 Maintainer: Matthias Klose <[email protected]>
 Uploaders: Piotr Ożarowski <[email protected]>, Stefano Rivera 
<[email protected]>
-Build-Depends: debhelper (>= 11), python3.13 (>= 3.13.9-1~) [!m68k], 
python3.13 (>= 3.13.7-1~) [m68k],
-  python3.13-minimal:any,
+Build-Depends: debhelper (>= 11), python3.13:native (>= 3.13.9-1~) [!m68k], 
python3.13:native (>= 3.13.7-1~) [m68k],
+  python3.13-minimal:native,
   python3-docutils <!nodoc>,
-  python3-sphinx <!nodoc>,
+  python3-sphinx:native <!nodoc>,
   html2text (>= 2) <!nodoc>,
 Standards-Version: 4.7.2
 Homepage: https://www.python.org/
@@ -143,6 +143,7 @@
 Section: doc
 Architecture: all
 Multi-Arch: foreign
+Build-Profiles: <!nodoc>
 Depends: python3.13-doc (>= 3.13.9-1~), ${misc:Depends}
 Suggests: python3 (>= ${binary:Version}), python3-examples
 Description: documentation for the high-level object-oriented language Python 3
diff -Nru python3-defaults-3.13.9/debian/control.in 
python3-defaults-3.13.9/debian/control.in
--- python3-defaults-3.13.9/debian/control.in   2025-12-02 14:32:31.000000000 
+0100
+++ python3-defaults-3.13.9/debian/control.in   2025-12-23 16:38:54.000000000 
+0100
@@ -4,9 +4,9 @@
 Maintainer: Matthias Klose <[email protected]>
 Uploaders: Piotr Ożarowski <[email protected]>, Stefano Rivera 
<[email protected]>
 Build-Depends: debhelper (>= 11), @bd_python@,
-  python@VER@-minimal:any,
+  python@VER@-minimal:native,
   python3-docutils <!nodoc>,
-  python3-sphinx <!nodoc>,
+  python3-sphinx:native <!nodoc>,
   html2text (>= 2) <!nodoc>,
 Standards-Version: 4.7.2
 Homepage: https://www.python.org/
@@ -143,6 +143,7 @@
 Section: doc
 Architecture: all
 Multi-Arch: foreign
+Build-Profiles: <!nodoc>
 Depends: python@VER@-doc (>= @UPSTRVER@), ${misc:Depends}
 Suggests: python3 (>= ${binary:Version}), python3-examples
 Description: documentation for the high-level object-oriented language Python 3
diff -Nru python3-defaults-3.13.9/debian/rules 
python3-defaults-3.13.9/debian/rules
--- python3-defaults-3.13.9/debian/rules        2025-12-02 14:32:31.000000000 
+0100
+++ python3-defaults-3.13.9/debian/rules        2025-12-23 16:38:54.000000000 
+0100
@@ -25,7 +25,7 @@
 ifneq (, $(filter $(DEB_HOST_ARCH), m68k))
   UPSTRVER = 3.13.7-1~
 endif
-bd_python = python$(VER) (>= $(UPSTRVER)) [!m68k], python$(VER) (>= 3.13.7-1~) 
[m68k]
+bd_python = python$(VER):native (>= $(UPSTRVER)) [!m68k], python$(VER):native 
(>= 3.13.7-1~) [m68k]
 
 d              := debian/tmp
 scriptdir      =  usr/share/lib/python$(VER)

Reply via email to