Bug#1053205: lapackpp: please make the build reproducible

Chris Lamb lamby at debian.org
Fri Sep 29 09:37:47 BST 2023


Source: lapackpp
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
lapackpp 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:33:01.807499139 +0100
@@ -0,0 +1,14 @@
+Description: Make the build reproducible
+Author: Chris Lamb <lamby at debian.org>
+Last-Update: 2023-09-29
+
+--- lapackpp-2023.08.25.orig/include/lapack/defines.h.in
++++ lapackpp-2023.08.25/include/lapack/defines.h.in
+@@ -3,7 +3,6 @@
+ 
+ // auto-generated by: @argv@
+ // @CMAKE_COMMAND@ @CMAKE_VERSION@
+-// host: @HOSTNAME@
+ //
+ // Definitions for:
+ // CXX   = @CXX@
--- a/debian/patches/series	2023-09-29 09:28:08.843581684 +0100
--- b/debian/patches/series	2023-09-29 09:33:00.187501922 +0100
@@ -0,0 +1 @@
+reproducible-build.patch


More information about the Reproducible-bugs mailing list