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

version graph

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

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

Date: Wed, 11 May 2022 00:03:01 UTC

Severity: normal

Tags: patch

Fixed in version gscanbus/0.8-3

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#1010830; Package src:gscanbus. (Wed, 11 May 2022 00:03: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>. (Wed, 11 May 2022 00:03: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: gscanbus: reproducible-builds: embedded build paths in /usr/bin/gscanbus
Date: Tue, 10 May 2022 16:59:23 -0700
[Message part 1 (text/plain, inline)]
Source: gscanbus
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/gscanbus:

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

  /build/1st/gscanbus-0.8/gscanbus.c:973
  vs.
  /build/2/gscanbus-0.8/2nd/gscanbus.c:973

The attached patch fixes this by updating to use debhelper compat level
13, which passes the default CFLAGS from dpkg-buildflags

The default CFLAGS include the -ffile-prefix-map argument which is used
to avoid embedding the absolute path in compiled files.


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


live well,
  vagrant
[0003-Update-to-debhelper-compat-13.patch (text/x-diff, inline)]
From 2555241b30495dbfb432b040d0b4faa4edb16179 Mon Sep 17 00:00:00 2001
From: Vagrant Cascadian <vagrant@reproducible-builds.org>
Date: Tue, 10 May 2022 23:35:32 +0000
Subject: [PATCH 3/5] Update to debhelper-compat 13.

debian/control: Remove Build-Depends on dh-autoreconf.

debian/rules: Do not pass --autoreconf argument to dh.
---
 debian/compat  | 1 -
 debian/control | 3 +--
 debian/rules   | 2 +-
 3 files changed, 2 insertions(+), 4 deletions(-)
 delete mode 100644 debian/compat

diff --git a/debian/compat b/debian/compat
deleted file mode 100644
index 7f8f011..0000000
--- a/debian/compat
+++ /dev/null
@@ -1 +0,0 @@
-7
diff --git a/debian/control b/debian/control
index b168ed5..c5d1b57 100644
--- a/debian/control
+++ b/debian/control
@@ -2,8 +2,7 @@ Source: gscanbus
 Section: misc
 Priority: optional
 Maintainer: Debian QA Group <packages@qa.debian.org>
-Build-Depends: debhelper (>= 7.0.50~),
- dh-autoreconf,
+Build-Depends: debhelper-compat (= 13),
  libraw1394-dev,
  libgtk2.0-dev
 Standards-Version: 3.9.1
diff --git a/debian/rules b/debian/rules
index 87ce356..a4b20b8 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,4 +3,4 @@
 export LDFLAGS+=-Wl,--as-needed
 
 %:
-	dh $@ --with autoreconf
+	dh $@
-- 
2.35.1

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

Reply sent to Vagrant Cascadian <vagrant@debian.org>:
You have taken responsibility. (Wed, 11 May 2022 00:36:03 GMT) (full text, mbox, link).


Notification sent to Vagrant Cascadian <vagrant@reproducible-builds.org>:
Bug acknowledged by developer. (Wed, 11 May 2022 00:36:03 GMT) (full text, mbox, link).


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

From: Debian FTP Masters <ftpmaster@ftp-master.debian.org>
To: 1010830-close@bugs.debian.org
Subject: Bug#1010830: fixed in gscanbus 0.8-3
Date: Wed, 11 May 2022 00:33:52 +0000
Source: gscanbus
Source-Version: 0.8-3
Done: Vagrant Cascadian <vagrant@debian.org>

We believe that the bug you reported is fixed in the latest version of
gscanbus, 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 1010830@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 gscanbus 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: Tue, 10 May 2022 17:07:48 -0700
Source: gscanbus
Architecture: source
Version: 0.8-3
Distribution: unstable
Urgency: medium
Maintainer: Debian QA Group <packages@qa.debian.org>
Changed-By: Vagrant Cascadian <vagrant@debian.org>
Closes: 1010830
Changes:
 gscanbus (0.8-3) unstable; urgency=medium
 .
   * QA upload.
   * Update to debhelper-compat 13. (Closes: #1010830)
   * debian/copyright: Remove "./" from filenames.
   * debian/control: Set Rules-Requires-Root to "no".
   * debian/control: Update Standards-Version to 4.6.0.
Checksums-Sha1:
 e13b82bf8ee10a688902037d25eeb38d9b5b8a6d 1265 gscanbus_0.8-3.dsc
 058a8686ec507bbb458a9cfad1db0704d3e97d3c 3344 gscanbus_0.8-3.debian.tar.xz
Checksums-Sha256:
 e3598e4cba92d0a8b82d2d74869a3851d0f57804d275bf43f55798aea3b73e8b 1265 gscanbus_0.8-3.dsc
 3e1a47aa93126326c1400ec9021bec5b78272f9ed470e3be278b9e1047f92b1b 3344 gscanbus_0.8-3.debian.tar.xz
Files:
 fdde8a93bdff733ad39814266b334744 1265 misc optional gscanbus_0.8-3.dsc
 ae7ca51bd9e9bf59f6d033231dc3314d 3344 misc optional gscanbus_0.8-3.debian.tar.xz

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

iIkEARYKADEWIQRlgHNhO/zFx+LkXUXcUY/If5cWqgUCYnsAnRMcdmFncmFudEBk
ZWJpYW4ub3JnAAoJENxRj8h/lxaqw88BAJGJURO7Qmwn1f7DEDbqqFHbB5JHjmtB
+4QC+u2jjBH1AQCO7YqLueNOktOssryZdMChinJPtS8TNoYMzE4/runrDQ==
=XV5/
-----END PGP SIGNATURE-----




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Mon, 13 Jun 2022 07:26:17 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:28 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.