Source: sysvinit
Version: 2.95-1
Severity: wishlist
Tags: patch
User: reproducible-bui...@lists.alioth.debian.org
Usertags: umask
X-Debbugs-Cc: reproducible-b...@lists.alioth.debian.org

Hi,

Whilst working on the Reproducible Builds effort [0], we noticed
that sysvinit could not be built reproducibly.

This is because dh_fixperms was not being called and so the
permissions of /lib/init/init-d-script and /lib/init/init-d-script
varied depending on the umask at build-time.

The root cause of this was that an override was removed in:

  
https://salsa.debian.org/debian/sysvinit/commit/bab2e946e994f8f2c4548bfd369fc770bbfe0bb3

… but the corresponding reference in the list of .PHONY targets was
not also removed.

Simple patch attached.

 [0] https://reproducible-builds.org/


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      la...@debian.org / chris-lamb.co.uk
       `-
--- a/debian/rules      2019-07-17 09:33:27.209101640 -0300
--- b/debian/rules      2019-07-17 09:35:32.439093672 -0300
@@ -124,4 +124,4 @@
        dh_clean
        $(MAKE) -C src clobber
 
-.PHONY: override_dh_auto_build override_dh_auto_install-arch 
override_dh_auto_install-indep override_dh_installchangelogs-arch 
override_dh_installchangelogs-indep override_dh_fixperms 
override_dh_installdeb-arch override_dh_installdeb-indep override_dh_clean 
install-arch
+.PHONY: override_dh_auto_build override_dh_auto_install-arch 
override_dh_auto_install-indep override_dh_installchangelogs-arch 
override_dh_installchangelogs-indep override_dh_installdeb-arch 
override_dh_installdeb-indep override_dh_clean install-arch

Reply via email to