[Debian-med-packaging] Bug#887829: mcl: please make the build reproducible

Chris Lamb lamby at debian.org
Sat Jan 20 11:53:44 UTC 2018


Source: mcl
Version: 1:14-137-2
Severity: wishlist
Tags: patch
User: reproducible-builds at lists.alioth.debian.org
Usertags: timestamps
X-Debbugs-Cc: reproducible-bugs at lists.alioth.debian.org

Hi,

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

By removing the strange $(doctmpdir) stuff, it ensure that mtimes etc
are not modified and then a file is updated when it isn't AFAICT.

Patch attached.

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


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org / chris-lamb.co.uk
       `-
-------------- next part --------------
--- a/debian/rules	2018-01-20 22:36:13.994408240 +1100
--- b/debian/rules	2018-01-20 22:45:55.807184251 +1100
@@ -57,20 +57,10 @@
 
 # confflags += --disable-helpful-reminder
 
-docbackupdir:=$(CURDIR)/debian/doc.bak
-
 %:
 	dh $@
 
-override_dh_auto_clean:
-	dh_auto_clean
-	if [ -d $(docbackupdir) ] ; then \
-	    rm -rf doc ; \
-	    mv $(docbackupdir) doc ; \
-	fi
-
 override_dh_auto_configure:
-	cp -a doc $(docbackupdir)
 	./configure \
            $(confflags) \
            --prefix=/usr \


More information about the Debian-med-packaging mailing list