Source: sdl12-compat
Version: 1.2.52-3
Severity: wishlist
Tags: patch
User: reproducible-bui...@lists.alioth.debian.org
Usertags: environment
X-Debbugs-Cc: reproducible-b...@lists.alioth.debian.org

Hi Simon,

Whilst working on the Reproducible Builds effort [0] we noticed that
sdl12-compat could not be built reproducibly. This is because avoiding
execute permissions in /usr/libexec/installed-tests meant that the
package varied depending on the umask — the group bits were varying.

Instead of not calling dh_fixperms at all, a patch is attached that
lets it run as usual but then removes the executable bits.

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


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      la...@debian.org / chris-lamb.co.uk
       `-
--- a/debian/rules      2022-03-07 07:51:04.278872668 +0000
--- b/debian/rules      2022-03-07 08:00:17.399357994 +0000
@@ -26,5 +26,5 @@
 
 # debhelper >= 13.4 makes all of /usr/libexec executable, which is not
 # quite right for installed-tests
-override_dh_fixperms:
-       dh_fixperms -Xusr/libexec/installed-tests
+execute_after_dh_fixperms:
+       find debian -path "*/usr/libexec/installed-tests/*" -type f -print0 | 
xargs -0r chmod -x

Reply via email to