Bug#1056119: taffybar: please make the build reproducible

Chris Lamb lamby at debian.org
Fri Nov 17 08:58:08 GMT 2023


Source: taffybar
Version: 4.0.1-1
Severity: wishlist
Tags: patch
User: reproducible-builds at lists.alioth.debian.org
Usertags: umask
X-Debbugs-Cc: reproducible-bugs at lists.alioth.debian.org

Hi,

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

This is because the permissions of a directory in the binary can vary
on the umask:

│ │ │ │ -drwxr-xr-x   0 root         (0) root         (0)        0 2023-10-25 06:27:09.000000 ./usr/share/taffybar/
│ │ │ │ -drwxr-xr-x   0 root         (0) root         (0)        0 2023-10-25 06:27:09.000000 ./usr/share/taffybar/icons/
│ │ │ │ +drwxrwxr-x   0 root         (0) root         (0)        0 2023-10-25 06:27:09.000000 ./usr/share/taffybar/
│ │ │ │ +drwxrwxr-x   0 root         (0) root         (0)        0 2023-10-25 06:27:09.000000 ./usr/share/taffybar/icons/

Patch attached that manually calls chmod on these directories.

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


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org / chris-lamb.co.uk
       `-
-------------- next part --------------
--- a/debian/rules	2023-11-17 08:29:54.308271334 +0000
--- b/debian/rules	2023-11-17 08:44:49.533041462 +0000
@@ -7,3 +7,4 @@
 binary-fixup/taffybar::
 	install -m 755 -s -D dist-ghc/build/taffybar/taffybar debian/taffybar/usr/bin/taffybar || true
 	cp -R debian/tmp-inst-ghc/usr/share/taffybar debian/taffybar/usr/share
+	find debian/taffybar/usr/share -type d -print0 | xargs -0r chmod 755


More information about the Reproducible-bugs mailing list