Source: libengine-gost-openssl1.1 Version: 1.1.0.3-1 Tags: patch cross building libengine-gost-openssl1.1 succeeds. However it looks up the engine directory from the openssl command, which happens to be the build architecture path since openssl is marked Multi-Arch: foreign. However, the host architecture engine path must be used. Please consider applying the attached patch.
Helmut
diff --minimal -Nru libengine-gost-openssl1.1-1.1.0.3/debian/changelog libengine-gost-openssl1.1-1.1.0.3/debian/changelog --- libengine-gost-openssl1.1-1.1.0.3/debian/changelog 2018-09-16 17:58:16.000000000 +0200 +++ libengine-gost-openssl1.1-1.1.0.3/debian/changelog 2020-07-31 22:41:02.000000000 +0200 @@ -1,3 +1,10 @@ +libengine-gost-openssl1.1 (1.1.0.3-1.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Fix openssl engine path for cross compilation. (Closes: #-1) + + -- Helmut Grohne <hel...@subdivi.de> Fri, 31 Jul 2020 22:41:02 +0200 + libengine-gost-openssl1.1 (1.1.0.3-1) unstable; urgency=medium * New upstream version diff --minimal -Nru libengine-gost-openssl1.1-1.1.0.3/debian/rules libengine-gost-openssl1.1-1.1.0.3/debian/rules --- libengine-gost-openssl1.1-1.1.0.3/debian/rules 2018-09-16 17:58:16.000000000 +0200 +++ libengine-gost-openssl1.1-1.1.0.3/debian/rules 2020-07-31 22:41:00.000000000 +0200 @@ -16,7 +16,7 @@ # package maintainers to append LDFLAGS #export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed -OPENSSL_ENGINE_DIR=$(shell openssl version -e |sed -e 's/^[^.]*"//' -e 's/".*$$//') +OPENSSL_ENGINE_DIR=$(shell openssl version -e |sed -e 's/^[^.]*"//' -e 's/".*$$//' -e 's/$(DEB_BUILD_MULTIARCH)/$(DEB_HOST_MULTIARCH)/') # main packaging script based on dh7 syntax %: dh $@