Bug#950774: opensubdiv FTCBFS: stringify missing
Source: opensubdiv
Version: 3.4.0-6
Tags: patch
User: debian-cross@lists.debian.org
Usertags: ftcbfs
opensubdiv fails to cross build from source, because the build misses a
stringify tool. This tool is built during a native build and should be
provided for cross builds. It is installed into the opensubdiv-tools
package, so all we need to do here is pass the tool into a cross build.
Please consider applying the attached patch.
Helmut
diff --minimal -Nru opensubdiv-3.4.0/debian/changelog opensubdiv-3.4.0/debian/changelog
--- opensubdiv-3.4.0/debian/changelog 2020-01-14 01:02:39.000000000 +0100
+++ opensubdiv-3.4.0/debian/changelog 2020-02-06 06:03:50.000000000 +0100
@@ -1,3 +1,10 @@
+opensubdiv (3.4.0-6.1) UNRELEASED; urgency=medium
+
+ * Non-maintainer upload.
+ * Fix FTCBFS: Supply stringify to cross build. (Closes: #-1)
+
+ -- Helmut Grohne <helmut@subdivi.de> Thu, 06 Feb 2020 06:03:50 +0100
+
opensubdiv (3.4.0-6) unstable; urgency=medium
* Upload to unstable
diff --minimal -Nru opensubdiv-3.4.0/debian/control opensubdiv-3.4.0/debian/control
--- opensubdiv-3.4.0/debian/control 2020-01-09 20:52:52.000000000 +0100
+++ opensubdiv-3.4.0/debian/control 2020-02-06 06:03:49.000000000 +0100
@@ -15,6 +15,7 @@
libxrandr-dev,
libxxf86vm-dev,
opencl-headers,
+ opensubdiv-tools <cross>,
zlib1g-dev
Build-Depends-Indep:
doxygen,
diff --minimal -Nru opensubdiv-3.4.0/debian/rules opensubdiv-3.4.0/debian/rules
--- opensubdiv-3.4.0/debian/rules 2020-01-09 11:47:11.000000000 +0100
+++ opensubdiv-3.4.0/debian/rules 2020-02-06 06:03:50.000000000 +0100
@@ -20,7 +20,8 @@
-DNO_EXAMPLES=ON \
-DNO_GLTESTS=ON \
-DNO_OPENCL=ON \
- -DNO_TUTORIALS=ON
+ -DNO_TUTORIALS=ON \
+ $(if $(filter cross,$(DEB_BUILD_PROFILES)),-DSTRINGIFY_LOCATION=/usr/bin/stringify)
override_dh_auto_install:
dh_auto_install \
Reply to: