Source: openrc Version: 0.40.3-1 Tags: patch User: debian-cr...@lists.debian.org Usertags: ftcbfs
openrc fails to cross build from source, because it strips lsb2rcconf using the build architecture strip. It does so during dh_auto_install, so it happens to alos break DEB_BUILD_OPTIONS=nostrip as well as generation of a -dbgsym package. It is best to leave stripping up to dh_strip. Please consider applying the attached patch. Helmut
diff --minimal -Nru openrc-0.40.3/debian/changelog openrc-0.40.3/debian/changelog --- openrc-0.40.3/debian/changelog 2019-02-02 16:41:07.000000000 +0100 +++ openrc-0.40.3/debian/changelog 2020-04-14 17:59:29.000000000 +0200 @@ -1,3 +1,10 @@ +openrc (0.40.3-1.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Defer stripping to dh_strip. (Closes: #-1) + + -- Helmut Grohne <hel...@subdivi.de> Tue, 14 Apr 2020 17:59:29 +0200 + openrc (0.40.3-1) unstable; urgency=medium * New upstream release. diff --minimal -Nru openrc-0.40.3/debian/rules openrc-0.40.3/debian/rules --- openrc-0.40.3/debian/rules 2019-02-02 16:41:07.000000000 +0100 +++ openrc-0.40.3/debian/rules 2020-04-14 17:59:28.000000000 +0200 @@ -21,6 +21,7 @@ export SHLIBDIR = /lib/$(DEB_HOST_MULTIARCH) export LIBNAME = lib export LIBEXECDIR = /lib/rc +export STRIP_BINARY = no ifeq (linux,$(DEB_HOST_ARCH_OS)) export MKAUDIT = yes