Source: xorg-server Severity: normal Tags: patch User: reproducible-builds@lists.alioth.debian.org Usertags: kernel X-Debbugs-Cc: reproducible-bugs@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
From 6f3281f6dbf0cc15a40c2561de822f10e169c798 Mon Sep 17 00:00:00 2001 From: Vagrant Cascadian <vagrant@reproducible-builds.org> Date: Wed, 9 Dec 2020 07:01:19 +0000 Subject: [PATCH] debian/rules.flags: Specify --with-os-name as DEB_HOST_ARCH_OS to avoid embedding the running kernel version, which may vary between builds. https://tests.reproducible-builds.org/debian/issues/unstable/captures_kernel_version_issue.html --- debian/rules.flags | 1 + 1 file changed, 1 insertion(+) diff --git a/debian/rules.flags b/debian/rules.flags index 03486bb81..38596fe72 100644 --- a/debian/rules.flags +++ b/debian/rules.flags @@ -18,6 +18,7 @@ confflags += \ --disable-strict-compilation \ --disable-debug \ --with-int10=x86emu \ + --with-os-name="$(DEB_HOST_ARCH_OS)" \ --with-os-vendor="$(VENDOR)" \ --with-builderstring="$(SOURCE_NAME) $(SOURCE_VERSION) ($(SUPPORT))" \ --with-xkb-path=/usr/share/X11/xkb \ -- 2.20.1
Attachment:
signature.asc
Description: PGP signature