retitle 848351 FTBFS building architecture-independent only
tag 848351 patch
thanks

Hi,

unfortunately dh_fixperms doesn't know a -indep suffix, and running the
chmod should happen after fixperms is run.. so.. for the time being i'm
using this to fix it:

---snip---
diff --git a/debian/rules b/debian/rules
index d6afdc1..fe59404 100755
@@ -46,4 +46,4 @@ override_dh_fixperms:
        # apps.plugin should only be runnable by the netdata user. It will be
        # given extra capabilities in the postinst script.
        #
-       chmod 0754
$(TOP)/usr/lib/$(DEB_HOST_MULTIARCH)/netdata/plugins.d/apps.plugin
+       if [ -d "$(TOP)" ]; then chmod 0754
$(TOP)/usr/lib/$(DEB_HOST_MULTIARCH)/netdata/plugins.d/apps.plugin; fi
---snap---

https://sources.progress-linux.org/distributions/dschinn/packages/netdata/commit/?id=6ae0e0700982c9fceb4d363528bde2a7868d1dac

Regards,
Daniel

Reply via email to