Source: jitterentropy-rngd
Version: 1.0.8-3
Tags: patch
User: [email protected]
Usertags: ftcbfs

jitterentropy-rngd fails to cross build from source, because it strips
with the wrong strip during make install. Beyond breaking cross
compilation, doing so breaks DEB_BUILD_OPTIONS=nostrip as well as
generation of -dbgsym packages. The attached patch defers all stripping
to dh_strip.  Please consider applying it.

Helmut
diff --minimal -Nru jitterentropy-rngd-1.0.8/debian/changelog 
jitterentropy-rngd-1.0.8/debian/changelog
--- jitterentropy-rngd-1.0.8/debian/changelog   2018-10-19 12:47:22.000000000 
+0200
+++ jitterentropy-rngd-1.0.8/debian/changelog   2019-06-08 09:02:55.000000000 
+0200
@@ -1,3 +1,10 @@
+jitterentropy-rngd (1.0.8-3.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Don't strip during make install. (Closes: #-1)
+
+ -- Helmut Grohne <[email protected]>  Sat, 08 Jun 2019 09:02:55 +0200
+
 jitterentropy-rngd (1.0.8-3) unstable; urgency=medium
 
   * Add jitterentropy-rngd.init sysv script.
diff --minimal -Nru jitterentropy-rngd-1.0.8/debian/rules 
jitterentropy-rngd-1.0.8/debian/rules
--- jitterentropy-rngd-1.0.8/debian/rules       2018-10-19 12:47:19.000000000 
+0200
+++ jitterentropy-rngd-1.0.8/debian/rules       2019-06-08 09:02:55.000000000 
+0200
@@ -4,7 +4,7 @@
        dh $@ --with systemd
 
 override_dh_auto_install:
-       dh_auto_install -- PREFIX=/usr
+       dh_auto_install -- PREFIX=/usr STRIP=true INSTALL='install 
--strip-program=true'
        install -D -m 0644 jitterentropy.service \
                
debian/jitterentropy-rngd/lib/systemd/system/jitterentropy.service
 

Reply via email to