Bug#1010414: libcec: reproducible builds: Embeds kernel version in libcec.so.*

Vagrant Cascadian vagrant at reproducible-builds.org
Sun May 1 01:11:31 BST 2022


Source: libcec
Severity: normal
Tags: patch
User: reproducible-builds at lists.alioth.debian.org
Usertags: kernel
X-Debbugs-Cc: reproducible-bugs at lists.alioth.debian.org

The running kernel of the build machine is embedded in libcec.so.*:

  https://tests.reproducible-builds.org/debian/rb-pkg/bookworm/amd64/diffoscope-results/libcec.html

  ./usr/lib/x86_64-linux-gnu/libcec.so.6.0.2

  compiled·on·Linux-5.16.0-0.bpo.4-amd64·...·,·features:·P8_USB,·DRM,·P8_detect,·randr,·Exynos,·Linux,·AOCEC
vs.
  compiled·on·Linux-5.10.0-13-amd64·...·,·features:·P8_USB,·DRM,·P8_detect,·randr,·Exynos,·Linux,·AOCEC


The attached patch updates the existing reproducible builds patch to use
CMAKE_SYSTEM_NAME instead of CMAKE_SYSTEM (which includes the running
kernel version).

With this patch applied, libcec should build reproducibly on
tests.reproducible-builds.org when it migrates to bookworm/testing!


To get it building reproducibly in unstable and experimental where
differing build paths are tested, it also needs to apply one of the
standard fixes mentioned here:

  https://tests.reproducible-builds.org/debian/issues/cmake_rpath_contains_build_path_issue.html


I intend to fix both issues shortly.


Thanks for maintaining libcec!


live well,
  vagrant
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-debian-patches-Update-reproducible-build-patch-to-us.patch
Type: text/x-diff
Size: 1421 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/reproducible-bugs/attachments/20220430/840040b0/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/20220430/840040b0/attachment.sig>


More information about the Reproducible-bugs mailing list