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


│ │ │ ├── ./usr/lib/x86_64-linux-gnu/libmfx-gen.so.1.2.6
...
│ │ │ │ │ -mediasdk_build_info: Debian 5.10.0-11-amd64 | GNU 11.2.0 |
glibc 2.33
│ │ │ │ │ +mediasdk_build_info: Debian 2.6.70-11-amd64 | GNU 11.2.0 |
glibc 2.33

The attached patch fixes this by removing the use of
CMAKE_SYSTEM_VERSION, which includes the running kernel version.


With this patch applied, onevpl-intel-gpu should build reproducibly on
tests.reproducible-builds.org!


Thanks for maintaining onevpl-intel-gpu!


live well,
  vagrant
From a04a8bb935350b6a7974113714a82a6bffa0f799 Mon Sep 17 00:00:00 2001
From: Vagrant Cascadian <vagr...@reproducible-builds.org>
Date: Fri, 25 Feb 2022 19:12:41 +0000
Subject: [PATCH] builder/FindGlobals.cmake: Remove embedded kernel version.

Embedding the exact running kernel version makes it difficult to
reliably reproduce the build, and this appears to only be for
informational purposes.
---
 builder/FindGlobals.cmake | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/builder/FindGlobals.cmake b/builder/FindGlobals.cmake
index 174b3e0..6997eed 100644
--- a/builder/FindGlobals.cmake
+++ b/builder/FindGlobals.cmake
@@ -232,7 +232,7 @@ else()
 endif()
 
 if( MFX_SYSTEM )
-  set( BUILD_INFO "${MFX_SYSTEM} ${CMAKE_SYSTEM_VERSION} | ${CMAKE_CXX_COMPILER_ID} ${CMAKE_CXX_COMPILER_VERSION}" )
+  set( BUILD_INFO "${MFX_SYSTEM} | ${CMAKE_CXX_COMPILER_ID} ${CMAKE_CXX_COMPILER_VERSION}" )
 else()
   set( BUILD_INFO "${CMAKE_SYSTEM} ${CMAKE_SYSTEM_VERSION} | ${CMAKE_CXX_COMPILER_ID} ${CMAKE_CXX_COMPILER_VERSION}" )
 endif()
-- 
2.30.2

Attachment: signature.asc
Description: PGP signature

Reply via email to