Bug#1060843: imath FTCBFS: python3 build dependencies not satisfiable

Johannes Schauer Marin Rodrigues josch at debian.org
Mon Jan 15 14:24:16 GMT 2024


Source: imath
Version: 3.1.9-3
Severity: normal
Tags: patch
User: debian-cross at lists.debian.org
Usertags: cross-satisfiability

Hi,

imath currently fails to cross build from source because it doesn't declare its
dependencies correctly. The patch at the bottom fixes this problem.

 - it marks those build dependencies that are just used to create
   Architecture:all documentation packages with <!nodoc> (no need to
   cross-build these)
 - it picks the native architecture python3-numpy package (host architecture is
   the default)
 - it turns python3-dev:any into python3-dev:native, libpython3-dev

Thanks!

cheers, josch

diff -Nru imath-3.1.9/debian/control imath-3.1.9/debian/control
--- imath-3.1.9/debian/control	2023-09-04 14:09:31.000000000 +0200
+++ imath-3.1.9/debian/control	2024-01-15 13:08:40.000000000 +0100
@@ -10,11 +10,11 @@
  doxygen,
  libboost-python-dev,
  pkg-config,
- python3-breathe,
- python3-dev:any,
- python3-numpy,
- python3-sphinx,
- python3-sphinx-press-theme
+ python3-breathe <!nodoc>,
+ python3-dev:native, libpython3-dev,
+ python3-numpy:native,
+ python3-sphinx <!nodoc>,
+ python3-sphinx-press-theme <!nodoc>
 Standards-Version: 4.6.2
 Rules-Requires-Root: no
 Homepage: https://www.openexr.com
@@ -74,6 +73,7 @@
 Section: doc
 Architecture: all
 Multi-Arch: foreign
+Build-Profiles: <!nodoc>
 Depends:
  libjs-jquery,
  sphinx-common,



More information about the Pkg-phototools-devel mailing list