Source: userv
Version: 1.2.0
Tags: patch
User: debian-cr...@lists.debian.org
Usertags: ftcbfs

userv successfully cross builds a package for the build architecture,
which is completely broken. Please consider applying the attached patch
to seed the relevant host tools from dpkg's buildtools.mk.

Helmut
diff --minimal -Nru userv-1.2.0/debian/changelog 
userv-1.2.0+nmu1/debian/changelog
--- userv-1.2.0/debian/changelog        2017-01-23 18:17:54.000000000 +0100
+++ userv-1.2.0+nmu1/debian/changelog   2021-03-27 11:11:11.000000000 +0100
@@ -1,3 +1,10 @@
+userv (1.2.0+nmu1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Use host tools provided from dpkg's buildtools.mk. (Closes: 
#-1)
+
+ -- Helmut Grohne <hel...@subdivi.de>  Sat, 27 Mar 2021 11:11:11 +0100
+
 userv (1.2.0) unstable; urgency=medium
 
   Bugfixes:
diff --minimal -Nru userv-1.2.0/debian/rules userv-1.2.0+nmu1/debian/rules
--- userv-1.2.0/debian/rules    2017-01-23 14:52:49.000000000 +0100
+++ userv-1.2.0+nmu1/debian/rules       2021-03-27 11:11:11.000000000 +0100
@@ -5,8 +5,11 @@
 
 t=debian/tmp
 
+DPKG_EXPORT_BUILDTOOLS=1
+include /usr/share/dpkg/buildtools.mk
+
 ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
-       INSTOPTS= LDFLAGS=-s INSTALL_PROGRAM='install -c -s'
+       INSTOPTS= LDFLAGS=-s INSTALL_PROGRAM='install -c -s 
--strip-program=$(STRIP)'
 else
        INSTOPTS= INSTALL_PROGRAM='install -c'
 endif

Reply via email to