Debian Bug report logs - #1010789
xarclock: reproducible-builds: embedded build paths in /usr/bin/xarclock

version graph

Package: src:xarclock; Maintainer for src:xarclock is Debian QA Group <packages@qa.debian.org>;

Reported by: Vagrant Cascadian <vagrant@reproducible-builds.org>

Date: Tue, 10 May 2022 02:21:02 UTC

Severity: normal

Tags: patch

Fixed in version xarclock/1.0-18

Done: Vagrant Cascadian <vagrant@debian.org>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, reproducible-bugs@lists.alioth.debian.org, Debian QA Group <packages@qa.debian.org>:
Bug#1010789; Package src:xarclock. (Tue, 10 May 2022 02:21:04 GMT) (full text, mbox, link).


Acknowledgement sent to Vagrant Cascadian <vagrant@reproducible-builds.org>:
New Bug report received and forwarded. Copy sent to reproducible-bugs@lists.alioth.debian.org, Debian QA Group <packages@qa.debian.org>. (Tue, 10 May 2022 02:21:04 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Vagrant Cascadian <vagrant@reproducible-builds.org>
To: submit@bugs.debian.org
Subject: xarclock: reproducible-builds: embedded build paths in /usr/bin/xarclock
Date: Mon, 09 May 2022 19:19:04 -0700
[Message part 1 (text/plain, inline)]
Source: xarclock
Severity: normal
Tags: patch
User: reproducible-builds@lists.alioth.debian.org
Usertags: buildpath
X-Debbugs-Cc: reproducible-bugs@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
[0001-debian-rules-Pass-CFLAGS-to-dh_auto_build.patch (text/x-diff, inline)]
From 5a7f01285d8bc22d9e7e758d00b71b8c564a383f Mon Sep 17 00:00:00 2001
From: Vagrant Cascadian <vagrant@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

[signature.asc (application/pgp-signature, inline)]

Reply sent to Vagrant Cascadian <vagrant@debian.org>:
You have taken responsibility. (Tue, 10 May 2022 04:06:03 GMT) (full text, mbox, link).


Notification sent to Vagrant Cascadian <vagrant@reproducible-builds.org>:
Bug acknowledged by developer. (Tue, 10 May 2022 04:06:03 GMT) (full text, mbox, link).


Message #10 received at 1010789-close@bugs.debian.org (full text, mbox, reply):

From: Debian FTP Masters <ftpmaster@ftp-master.debian.org>
To: 1010789-close@bugs.debian.org
Subject: Bug#1010789: fixed in xarclock 1.0-18
Date: Tue, 10 May 2022 04:03:53 +0000
Source: xarclock
Source-Version: 1.0-18
Done: Vagrant Cascadian <vagrant@debian.org>

We believe that the bug you reported is fixed in the latest version of
xarclock, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1010789@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Vagrant Cascadian <vagrant@debian.org> (supplier of updated xarclock package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Mon, 09 May 2022 20:46:31 -0700
Source: xarclock
Architecture: source
Version: 1.0-18
Distribution: unstable
Urgency: medium
Maintainer: Debian QA Group <packages@qa.debian.org>
Changed-By: Vagrant Cascadian <vagrant@debian.org>
Closes: 1010789
Changes:
 xarclock (1.0-18) unstable; urgency=medium
 .
   * QA upload.
   * debian/rules: Pass CFLAGS to dh_auto_build. (Closes: #1010789)
   * debian/tests/control: Do not background test.
   * debian/control: Update to debhelper-compat 13.
   * debian/control: Update to Standards-Version 4.6.0.
Checksums-Sha1:
 a214d642c56374c9731c193bd0c3f9b16a67aaf2 1365 xarclock_1.0-18.dsc
 4e62398afd34f1339b12949c5742f6c102d39b81 23632 xarclock_1.0-18.debian.tar.xz
 c7e27e83ee85b2a3a07f4254a703d303483d3507 6243 xarclock_1.0-18_arm64.buildinfo
Checksums-Sha256:
 e1779e00a125041e7551bad25e04a5ef43848d307ca1f837a8c4dcd99ad1d1aa 1365 xarclock_1.0-18.dsc
 fd382384672cc9efe563faf63661c1a40c3a11de99f4ba42cddb9284b6f3ca0e 23632 xarclock_1.0-18.debian.tar.xz
 d5de46fefdd3e41254821622f00130975b561f25e747dcb983dd073710a428df 6243 xarclock_1.0-18_arm64.buildinfo
Files:
 cc1e41d9d1460c2b663e52752f7f8de2 1365 x11 optional xarclock_1.0-18.dsc
 3872553417080fdeeea4792604c13c23 23632 x11 optional xarclock_1.0-18.debian.tar.xz
 4c033934b9072d658de71f2939f29191 6243 x11 optional xarclock_1.0-18_arm64.buildinfo

-----BEGIN PGP SIGNATURE-----

iIkEARYKADEWIQRlgHNhO/zFx+LkXUXcUY/If5cWqgUCYnnhnRMcdmFncmFudEBk
ZWJpYW4ub3JnAAoJENxRj8h/lxaqmRQBAI4GICDpaMF7tqlzkMgFaXNscyDdfB7L
gRPjZDaPwNLHAQC+ctiO1iwaDLbxkaFP7vVe3qeVMz7ipe5Ky/bgzJ1WCQ==
=HOWD
-----END PGP SIGNATURE-----




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Fri, 17 Jun 2022 07:27:15 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Wed May 17 12:38:08 2023; Machine Name: bembo

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.