Bug#1053263: blaspp: please make the build reproducible

Chris Lamb lamby at debian.org
Sat Sep 30 10:46:39 BST 2023


Source: blaspp
Version: 2023.08.25-1
Severity: wishlist
Tags: patch
User: reproducible-builds at lists.alioth.debian.org
Usertags: hostname
X-Debbugs-Cc: reproducible-bugs at lists.alioth.debian.org

Hi,

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

This is because it embeds the build hostname into a defines.h file as
a comment. Patch attached that strips out this entry.

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


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org / chris-lamb.co.uk
       `-
-------------- next part --------------
--- a/debian/patches/reproducible-build.patch	1970-01-01 01:00:00.000000000 +0100
--- b/debian/patches/reproducible-build.patch	2023-09-29 09:36:59.134774346 +0100
@@ -0,0 +1,14 @@
+Description: Make the build reproducible
+Author: Chris Lamb <lamby at debian.org>
+Last-Update: 2023-09-29
+
+--- blaspp-2023.08.25.orig/include/blas/defines.h.in
++++ blaspp-2023.08.25/include/blas/defines.h.in
+@@ -8,7 +8,6 @@
+ 
+ // auto-generated by: @argv@
+ // @CMAKE_COMMAND@ @CMAKE_VERSION@
+-// host: @HOSTNAME@
+ //
+ // Definitions for:
+ // CXX   = @CXX@
--- a/debian/patches/series	2023-09-29 09:33:44.700072219 +0100
--- b/debian/patches/series	2023-09-29 09:36:58.190765429 +0100
@@ -0,0 +1 @@
+reproducible-build.patch


More information about the Reproducible-bugs mailing list