Source: fossil
Version: 1:2.10-1
Tags: patch upstream
User: debian-cr...@lists.debian.org
Usertags: ftcbfs

fossil fails to cross build from source, because it introduced a new
check for sqlite3 compatibility that runs a host program. Unfortunately,
there is not much we can do here but trust that it actually works when
cross compiling. Please consider applying the attached patch to make
fossil cross buildable again.

Helmut
--- fossil-2.11.orig/auto.def
+++ fossil-2.11/auto.def
@@ -171,9 +171,11 @@
     if {!$ok} {
       user-error "unable to compile SQLite compatibility test program"
     }
-    set err [catch {exec-with-stderr ./conftest__} result errinfo]
-    if {$err} {
-      user-error $result
+    if {[get-define build] eq [get-define host]} {
+      set err [catch {exec-with-stderr ./conftest__} result errinfo]
+      if {$err} {
+        user-error $result
+      }
     }
     file delete ./conftest__
   }

Reply via email to