Source: googletest
Version: 1.8.1-1
Severity: wishlist
Tags: patch
User: reproducible-bui...@lists.alioth.debian.org
Usertags: randomness
X-Debbugs-Cc: reproducible-b...@lists.alioth.debian.org

Hi,

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

This is because it installs a rather useless autom4te.cache output
into the binary. Patch attached.

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


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      la...@debian.org / chris-lamb.co.uk
       `-
--- a/debian/rules      2018-11-19 08:26:26.553769948 +0100
--- b/debian/rules      2018-11-19 09:08:11.762373912 +0100
@@ -32,6 +32,7 @@
 
 override_dh_install:
        dh_install
+       find debian/googletest/usr/src/googletest -iname autom4te.cache -type d 
| xargs rm -rf
        find debian/googletest/usr/src/googletest -iname LICENSE -o -iname 
.gitignore -o -iname '*.pyc' | xargs rm
        find debian/googletest/usr/src/googletest -iname '*.py' | xargs chmod -x
        rm -rf debian/googletest/usr/src/googletest/*/msvc

Reply via email to