Bug#1006844: intel-mediasdk: reproducible builds: Embeds kernel version in various .so files

Vagrant Cascadian vagrant at reproducible-builds.org
Sun Mar 6 18:01:43 GMT 2022


Source: intel-mediasdk
Severity: normal
Tags: patch
User: reproducible-builds at lists.alioth.debian.org
Usertags: kernel
X-Debbugs-Cc: reproducible-bugs at 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-builder-FindGlobals.cmake-Do-not-embed-the-running-k.patch
Type: text/x-diff
Size: 1120 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/reproducible-bugs/attachments/20220306/9114f7a7/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 227 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/reproducible-bugs/attachments/20220306/9114f7a7/attachment.sig>


More information about the Reproducible-bugs mailing list