Source: mate-submodules
Version: 0.0~git20210623.f3091f9-2
Severity: wishlist
Tags: patch
User: reproducible-bui...@lists.alioth.debian.org
Usertags: filesystem
X-Debbugs-Cc: reproducible-b...@lists.alioth.debian.org

Hi,

Whilst working on the Reproducible Builds effort [0] we noticed that
mate-submodules could not be built reproducibly.

This is because it misses the "--owner=0 --group=0 --numeric-owner"
arguments to tar(1), and the call to --sort=name actually needs to be
reworked into the subshell call to find(1).

Patch attached.

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


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      la...@debian.org / chris-lamb.co.uk
       `-
--- a/debian/rules      2021-12-12 05:47:22.866351655 +0000
--- b/debian/rules      2021-12-12 05:50:37.146230177 +0000
@@ -11,7 +11,7 @@
 
 override_dh_install:
        mkdir -p $(CURDIR)/debian/tmp/usr/src/
-       cd $(CURDIR) && tar  --clamp-mtime --mtime="$(SOURCE_DATE)" 
--mode=go=rX,u+rw,a-s --sort=name -cv `find . -type f | grep -v ./debian/ | 
grep -v ./.pc/` | xz -z > 
$(CURDIR)/debian/tmp/usr/src/mate-submodules-source.tar.xz
+       cd $(CURDIR) && tar  --clamp-mtime --mtime="$(SOURCE_DATE)" 
--mode=go=rX,u+rw,a-s --owner=0 --group=0 --numeric-owner -cv `find . -type f | 
grep -v ./debian/ | grep -v ./.pc/ | sort` | xz -z > 
$(CURDIR)/debian/tmp/usr/src/mate-submodules-source.tar.xz
        dh_install
 
 get-orig-source:

Reply via email to