Source: fckit
Severity: normal
Tags: patch
User: reproducible-bui...@lists.alioth.debian.org
Usertags: kernel
X-Debbugs-Cc: reproducible-b...@lists.alioth.debian.org

The running kernel is embedded in /usr/bin/fckit:

  
https://tests.reproducible-builds.org/debian/rb-pkg/bullseye/i386/diffoscope-results/fckit.html

  echo·"··op.·system······:·Linux-4.19.0-12-amd64·(linux.32)"
  echo·"··op.·system······:·Linux-4.19.0-12-686-pae·(linux.32)"


The attached patch fixes by changing the call to "uname -sr" (e.g. Linux
4.19.0-13-amd64) to simply "uname -s" (e.g. Linux).


Thanks for maintaining fckit!


live well,
  vagrant
From 28c0a13e5aaa8875fc516695c94114d506984740 Mon Sep 17 00:00:00 2001
From: Vagrant Cascadian <vagr...@reproducible-builds.org>
Date: Thu, 17 Dec 2020 23:44:52 +0000
Subject: [PATCH] src/apps/fckit.in: Use CMAKE_SYSTEM_NAME instead of
 CMAKE_SYSTEM.

CMAKE_SYSTEM captures the running kernel version.

https://tests.reproducible-builds.org/debian/issues/unstable/captures_kernel_version_via_CMAKE_SYSTEM_issue.html
---
 src/apps/fckit.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/apps/fckit.in b/src/apps/fckit.in
index 4a7d13e..5478ad6 100755
--- a/src/apps/fckit.in
+++ b/src/apps/fckit.in
@@ -42,7 +42,7 @@ info()
   echo ""
   echo "Build:"
   echo "  build type      : @CMAKE_BUILD_TYPE@"
-  echo "  op. system      : @CMAKE_SYSTEM@ (@EC_OS_NAME@.@EC_OS_BITS@)"
+  echo "  op. system      : @CMAKE_SYSTEM_NAME@ (@EC_OS_NAME@.@EC_OS_BITS@)"
   echo "  processor       : @CMAKE_SYSTEM_PROCESSOR@"
   echo "  c++ compiler    : @CMAKE_CXX_COMPILER_ID@ @CMAKE_CXX_COMPILER_VERSION@"
   echo "  fortran compiler: @CMAKE_Fortran_COMPILER_ID@ @CMAKE_Fortran_COMPILER_VERSION@"
-- 
2.29.2

Attachment: signature.asc
Description: PGP signature

Reply via email to