Bug#1146088: ferret-vis patch to make the build reproducible

Jochen Sprickerhof jspricke at debian.org
Sat Aug 29 17:57:44 BST 2026


Source: ferret-vis
Version: 7.6.0-12
Severity: normal
Tags: patch
X-Debbugs-Cc: Alastair McKinstry <mckinstry at debian.org>, reproducible-bugs at lists.alioth.debian.org
User: reproducible-builds at lists.alioth.debian.org
Usertags: environment

Hi Alastair,

ferret-vis is currently blocked from migrating to testing because it
regressed in reproducibility:

https://reproduce.debian.net/excuses.html?source_name=ferret-vis

>From my tests this is due to encoding the kernel version into the
executable. Please find attached a patch that should fix this.

Cheers Jochen
-------------- next part --------------
diff --git a/debian/platform_specific.mk.debian.flang-7 b/debian/platform_specific.mk.debian.flang-7
index 40369e3..656b827 100644
--- a/debian/platform_specific.mk.debian.flang-7
+++ b/debian/platform_specific.mk.debian.flang-7
@@ -4,7 +4,7 @@
 # This file is included in other Makefiles and defines
 # platform specific macros
 
-PLATFORM = $(shell uname -s -r)
+PLATFORM = $(shell uname -s)
 
 GUI_INCLUDES    =
 GKS_INCLUDES    =-I/usr/include/xgks 
diff --git a/debian/platform_specific.mk.debian.gfortran-10 b/debian/platform_specific.mk.debian.gfortran-10
index 3c6e24a..f62ab27 100644
--- a/debian/platform_specific.mk.debian.gfortran-10
+++ b/debian/platform_specific.mk.debian.gfortran-10
@@ -4,7 +4,7 @@
 # This file is included in other Makefiles and defines
 # platform specific macros
 
-PLATFORM = $(shell uname -s -r)
+PLATFORM = $(shell uname -s)
 
 GUI_INCLUDES    =
 GKS_INCLUDES    =-I/usr/include/xgks 
diff --git a/debian/platform_specific.mk.debian.gfortran-11 b/debian/platform_specific.mk.debian.gfortran-11
index 3c6e24a..f62ab27 100644
--- a/debian/platform_specific.mk.debian.gfortran-11
+++ b/debian/platform_specific.mk.debian.gfortran-11
@@ -4,7 +4,7 @@
 # This file is included in other Makefiles and defines
 # platform specific macros
 
-PLATFORM = $(shell uname -s -r)
+PLATFORM = $(shell uname -s)
 
 GUI_INCLUDES    =
 GKS_INCLUDES    =-I/usr/include/xgks 
diff --git a/debian/platform_specific.mk.debian.gfortran-12 b/debian/platform_specific.mk.debian.gfortran-12
index 3c6e24a..f62ab27 100644
--- a/debian/platform_specific.mk.debian.gfortran-12
+++ b/debian/platform_specific.mk.debian.gfortran-12
@@ -4,7 +4,7 @@
 # This file is included in other Makefiles and defines
 # platform specific macros
 
-PLATFORM = $(shell uname -s -r)
+PLATFORM = $(shell uname -s)
 
 GUI_INCLUDES    =
 GKS_INCLUDES    =-I/usr/include/xgks 
diff --git a/debian/platform_specific.mk.debian.gfortran-13 b/debian/platform_specific.mk.debian.gfortran-13
index 46db1bd..6bd4612 100644
--- a/debian/platform_specific.mk.debian.gfortran-13
+++ b/debian/platform_specific.mk.debian.gfortran-13
@@ -4,7 +4,7 @@
 # This file is included in other Makefiles and defines
 # platform specific macros
 
-PLATFORM = $(shell uname -s -r)
+PLATFORM = $(shell uname -s)
 
 GUI_INCLUDES    =
 GKS_INCLUDES    =-I/usr/include/xgks 
diff --git a/debian/platform_specific.mk.debian.gfortran-14 b/debian/platform_specific.mk.debian.gfortran-14
index 46db1bd..6bd4612 100644
--- a/debian/platform_specific.mk.debian.gfortran-14
+++ b/debian/platform_specific.mk.debian.gfortran-14
@@ -4,7 +4,7 @@
 # This file is included in other Makefiles and defines
 # platform specific macros
 
-PLATFORM = $(shell uname -s -r)
+PLATFORM = $(shell uname -s)
 
 GUI_INCLUDES    =
 GKS_INCLUDES    =-I/usr/include/xgks 
diff --git a/debian/platform_specific.mk.debian.gfortran-15 b/debian/platform_specific.mk.debian.gfortran-15
index b16c454..4a4b846 100644
--- a/debian/platform_specific.mk.debian.gfortran-15
+++ b/debian/platform_specific.mk.debian.gfortran-15
@@ -4,7 +4,7 @@
 # This file is included in other Makefiles and defines
 # platform specific macros
 
-PLATFORM = $(shell uname -s -r)
+PLATFORM = $(shell uname -s)
 
 GUI_INCLUDES    =
 GKS_INCLUDES    =-I/usr/include/xgks 
diff --git a/debian/platform_specific.mk.debian.gfortran-16 b/debian/platform_specific.mk.debian.gfortran-16
index b16c454..4a4b846 100644
--- a/debian/platform_specific.mk.debian.gfortran-16
+++ b/debian/platform_specific.mk.debian.gfortran-16
@@ -4,7 +4,7 @@
 # This file is included in other Makefiles and defines
 # platform specific macros
 
-PLATFORM = $(shell uname -s -r)
+PLATFORM = $(shell uname -s)
 
 GUI_INCLUDES    =
 GKS_INCLUDES    =-I/usr/include/xgks 
diff --git a/debian/platform_specific.mk.debian.gfortran-9 b/debian/platform_specific.mk.debian.gfortran-9
index b9bc235..821b56c 100644
--- a/debian/platform_specific.mk.debian.gfortran-9
+++ b/debian/platform_specific.mk.debian.gfortran-9
@@ -4,7 +4,7 @@
 # This file is included in other Makefiles and defines
 # platform specific macros
 
-PLATFORM = $(shell uname -s -r)
+PLATFORM = $(shell uname -s)
 
 GUI_INCLUDES    =
 GKS_INCLUDES    =-I/usr/include/xgks 


More information about the debian-science-maintainers mailing list