Source: workflow
Version: 0.9.9-1
Tags: patch
User: debian-cr...@lists.debian.org
Usertags: ftcbfs

workflow fails to cross build from source, because it attempts to build
for the build architecture. debhelper discovers a configure script and
runs it with all the typical autotools parameters. The configure script
ignores all those parameters and runs cmake. Thus all of the
configuration performed by debhelper (including host architecture
selection) is lost. Having debhelper directly drive the underlying cmake
build system fixes this. Please consider applying the attached patch.

Helmut
diff --minimal -Nru workflow-0.9.9/debian/changelog 
workflow-0.9.9/debian/changelog
--- workflow-0.9.9/debian/changelog     2021-12-20 15:46:33.000000000 +0100
+++ workflow-0.9.9/debian/changelog     2021-12-27 11:37:07.000000000 +0100
@@ -1,3 +1,10 @@
+workflow (0.9.9-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Let debhelper run cmake directly. (Closes: #-1)
+
+ -- Helmut Grohne <hel...@subdivi.de>  Mon, 27 Dec 2021 11:37:07 +0100
+
 workflow (0.9.9-1) unstable; urgency=medium
 
   * Update to version 0.9.9
diff --minimal -Nru workflow-0.9.9/debian/not-installed 
workflow-0.9.9/debian/not-installed
--- workflow-0.9.9/debian/not-installed 2021-12-20 15:46:33.000000000 +0100
+++ workflow-0.9.9/debian/not-installed 2021-12-27 11:37:07.000000000 +0100
@@ -1,3 +1,4 @@
 usr/lib/*/cmake/workflow/workflow-config.cmake
 usr/lib/*/cmake/workflow/workflow-targets-relwithdebinfo.cmake
-usr/lib/*/cmake/workflow/workflow-targets.cmake
\ No newline at end of file
+usr/lib/*/cmake/workflow/workflow-targets.cmake
+usr/lib/*/cmake/workflow/workflow-targets-none.cmake
diff --minimal -Nru workflow-0.9.9/debian/rules workflow-0.9.9/debian/rules
--- workflow-0.9.9/debian/rules 2021-12-20 15:46:33.000000000 +0100
+++ workflow-0.9.9/debian/rules 2021-12-27 11:37:06.000000000 +0100
@@ -5,4 +5,4 @@
 export INSTALL_PREFIX = /usr/
 
 %:
-       dh $@
+       dh $@ --buildsystem=cmake

Reply via email to