Source: xarclock
Severity: normal
Tags: patch
User: reproducible-bui...@lists.alioth.debian.org
Usertags: buildpath
X-Debbugs-Cc: reproducible-b...@lists.alioth.debian.org

The build path is embedded in /usr/bin/xarclock:

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

  /build/1st/xarclock-1.0/xarclock.c:151
  vs.
  /build/2/xarclock-1.0/2nd/xarclock.c:151


The attached patch to debian/rules fixes this by passing CFLAGS to
dh_auto_build.


With this patch applied, xarclock should build reproducibly on
tests.reproducible-builds.org!


live well,
  vagrant
From 5a7f01285d8bc22d9e7e758d00b71b8c564a383f Mon Sep 17 00:00:00 2001
From: Vagrant Cascadian <vagr...@reproducible-builds.org>
Date: Tue, 10 May 2022 01:23:39 +0000
Subject: [PATCH 1/4] debian/rules: Pass CFLAGS to dh_auto_build.

---
 debian/rules | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debian/rules b/debian/rules
index 77c0408..9431470 100755
--- a/debian/rules
+++ b/debian/rules
@@ -7,4 +7,4 @@ export DEB_BUILD_MAINT_OPTIONS = hardening=+all
 
 override_dh_auto_build:
 	xmkmf
-	dh_auto_build
+	dh_auto_build -- CFLAGS="$(CFLAGS)"
-- 
2.35.1

Attachment: signature.asc
Description: PGP signature

Reply via email to