Source: intel-mediasdk Severity: normal Tags: patch User: reproducible-bui...@lists.alioth.debian.org Usertags: kernel X-Debbugs-Cc: reproducible-b...@lists.alioth.debian.org
various .so files embed the kernel version of the build machine: │ │ │ ├── ./usr/lib/x86_64-linux-gnu/mfx/libmfx_vp8d_hw64.so ... │ │ │ │ │ -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. This patch alone does not resolve all reproducibility issues (e.g. build paths tested only on unstable/experimental), but with this patch applied, intel-mediasdk should build reproducibly on tests.reproducible-builds.org once it migrates to bookworm/testing! Thanks for maintaining intel-mediasdk! live well, vagrant
From 4e30d9854924bd24622711535c564fd5d6dedbdc Mon Sep 17 00:00:00 2001 From: Vagrant Cascadian <vagr...@reproducible-builds.org> Date: Sun, 6 Mar 2022 17:27:55 +0000 Subject: [PATCH] builder/FindGlobals.cmake: Do not embed the running kernel version. Avoid using CMAKE_SYSTEM_VERSION to embed the kernel version in the build information. https://tests.reproducible-builds.org/debian/issues/unstable/captures_kernel_version_via_CMAKE_SYSTEM_issue.html --- builder/FindGlobals.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/builder/FindGlobals.cmake b/builder/FindGlobals.cmake index 6c96fc8e..df5f96f1 100644 --- a/builder/FindGlobals.cmake +++ b/builder/FindGlobals.cmake @@ -199,7 +199,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
signature.asc
Description: PGP signature