Bug#979078: spriv-tools FTCBFS: build dependency python3-dev not installable
Source: spirv-tools
Version: 2020.6-1
Tags: patch
User: debian-cross@lists.debian.org
Usertags: cross-satisfiability
spirv-tools cannot be cross built from source, because its dependency on
the host architecture python3-dev fails to install. It does not actually
need the development files of python as it doesn't build an extension.
It really wants a build architecture python3. Thus the dependency can be
replaced with python3:native. Once doing so, spirv-tools becomes cross
buildable. Please consider applying the attached patch.
Helmut
diff --minimal -Nru spirv-tools-2020.6/debian/changelog spirv-tools-2020.6/debian/changelog
--- spirv-tools-2020.6/debian/changelog 2020-12-08 23:07:00.000000000 +0100
+++ spirv-tools-2020.6/debian/changelog 2021-01-02 09:28:27.000000000 +0100
@@ -1,3 +1,11 @@
+spirv-tools (2020.6-1.1) UNRELEASED; urgency=medium
+
+ * Non-maintainer upload.
+ * Fix FTCBFS: Build-Depends python3:native instead of python3-dev.
+ (Closes: #-1)
+
+ -- Helmut Grohne <helmut@subdivi.de> Sat, 02 Jan 2021 09:28:27 +0100
+
spirv-tools (2020.6-1) unstable; urgency=medium
* New upstream release. (Closes: #975164)
diff --minimal -Nru spirv-tools-2020.6/debian/control spirv-tools-2020.6/debian/control
--- spirv-tools-2020.6/debian/control 2020-12-08 22:27:35.000000000 +0100
+++ spirv-tools-2020.6/debian/control 2021-01-02 09:28:22.000000000 +0100
@@ -4,7 +4,7 @@
Maintainer: Debian X Strike Force <debian-x@lists.debian.org>
Build-Depends: debhelper-compat (= 12),
cmake,
- python3-dev,
+ python3:native,
spirv-headers (>= 1.5.4+rt~),
Standards-Version: 4.5.0
Homepage: https://github.com/KhronosGroup/SPIRV-Tools
Reply to: