Bug#976898: xorg-server: reproducible builds: Embeds running kernel version

Vagrant Cascadian vagrant at reproducible-builds.org
Wed Dec 9 07:44:38 GMT 2020


Source: xorg-server
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 /usr/bin/Xorg binary and other generated binaries embed the running
kernel version:

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

  ./usr/bin/Xorg
  2623 	Linux·4.19.0-13-amd64·x86_64	2623 	Linux·4.19.0-13-686-pae·i686


This is due to configure.ac setting a default value with "uname -srm"
for OSNAME, which includes the running kernel version:

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


The attached patch passes --with-os-name=DEB_HOST_ARCH_OS to configure
which avoids embedding the running kernel version in the shipped
binaries.


Thanks for maintaining xorg-server!


live well,
  vagrant

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-debian-rules.flags-Specify-with-os-name-as-DEB_HOST_.patch
Type: text/x-diff
Size: 931 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/reproducible-bugs/attachments/20201208/4d6cbc26/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/20201208/4d6cbc26/attachment.sig>


More information about the Reproducible-bugs mailing list