Source: yubiserver
Version: 0.6-3.1
Tags: patch
User: [email protected]
Usertags: ftcbfs

yubiserver fails to cross build from source, because it does not pass
--host to ./configure. The easiest way of doing so - using
dh_auto_configure - makes yubiserver cross buildable. Please consider
applying the attached patch.

Helmut
diff --minimal -Nru yubiserver-0.6/debian/changelog 
yubiserver-0.6/debian/changelog
--- yubiserver-0.6/debian/changelog     2018-10-27 11:43:28.000000000 +0200
+++ yubiserver-0.6/debian/changelog     2021-03-24 12:40:39.000000000 +0100
@@ -1,3 +1,10 @@
+yubiserver (0.6-3.2) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Let dh_auto_configure pass --host to ./configure. (Closes: #-1)
+
+ -- Helmut Grohne <[email protected]>  Wed, 24 Mar 2021 12:40:39 +0100
+
 yubiserver (0.6-3.1) unstable; urgency=low
 
   * Non-maintainer upload.
diff --minimal -Nru yubiserver-0.6/debian/rules yubiserver-0.6/debian/rules
--- yubiserver-0.6/debian/rules 2015-06-29 10:39:45.000000000 +0200
+++ yubiserver-0.6/debian/rules 2021-03-24 12:40:38.000000000 +0100
@@ -16,9 +16,7 @@
 configure: configure-stamp
 configure-stamp:
        dh_testdir
-       # Add here commands to configure the package.
-       
-       ./configure --prefix=/ --bindir=/usr/bin --sbindir=/usr/sbin 
--mandir=/usr/share/man 
--with-default-sqlite3-db-file=/var/lib/yubiserver/yubiserver.sqlite 
--with-default-yubiserver-log-file=/var/log/yubiserver/yubiserver.log
+       dh_auto_configure -- --prefix=/ --bindir=/usr/bin --sbindir=/usr/sbin 
--mandir=/usr/share/man 
--with-default-sqlite3-db-file=/var/lib/yubiserver/yubiserver.sqlite 
--with-default-yubiserver-log-file=/var/log/yubiserver/yubiserver.log
        touch configure-stamp
 
 build: configure-stamp build-arch build-indep

Reply via email to