Bug#890104: octave-geometry: please make the build reproducible

Chris Lamb lamby at debian.org
Sun Feb 11 09:57:39 UTC 2018


Source: octave-geometry
Version: 3.0.0-5
Severity: wishlist
Tags: patch
User: reproducible-builds at lists.alioth.debian.org
Usertags: buildpath
X-Debbugs-Cc: reproducible-bugs at lists.alioth.debian.org

Hi,

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

This is because — after the move to dh-octave — the overridden
target is called in a different order and the execution of the
testsuite recreates any previously-deleted .pyc files.

Patch attached.

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


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org / chris-lamb.co.uk
       `-
-------------- next part --------------
--- a/debian/rules	2018-02-11 09:28:24.442766922 +0000
--- b/debian/rules	2018-02-11 09:30:54.975664240 +0000
@@ -6,8 +6,8 @@
 %:
 	dh $@ --buildsystem=octave --with=octave
 
-override_dh_auto_install:
-	dh_auto_install
+override_dh_installdeb:
 	# Remove file with Python bytecode
 	find debian/octave-geometry -name \*.pyc -exec rm \{} \;
 	
+	dh_installdeb


More information about the Reproducible-bugs mailing list