1020657">

Debian Bug report logs - #1020657
netris: reproducible-builds: Embedded build path in /usr/games/netris

version graph

Package: src:netris; Maintainer for src:netris is Rhonda D'Vine <rhonda@debian.org>;

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

Date: Sat, 24 Sep 2022 21:51:02 UTC

Severity: normal

Tags: patch

Fixed in version netris/0.52-11

Done: Rhonda D'Vine <rhonda@debian.org>

Bug is archived. No further changes may be made.

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, Rhonda D'Vine <rhonda@debian.org>:
Bug#1020657; Package src:netris. (Sat, 24 Sep 2022 21:51: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, Rhonda D'Vine <rhonda@debian.org>. (Sat, 24 Sep 2022 21:51: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: netris: reproducible-builds: Embedded build path in /usr/games/netris
Date: Sat, 24 Sep 2022 14:47:55 -0700
[Message part 1 (text/plain, inline)]
Source: netris
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/games/netris:

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

  /build/1st/netris-0.52/game.c:49
  vs.
  /build/2/netris-0.52/2nd/game.c:49

The attached patch fixes this in a debian/rules dh_auto_build override
by passing the -ffile-prefix-map argument via the CEXTRA variable.

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

Thanks for maintaining netris!

live well,
  vagrant
[0001-debian-rules-Pass-ffile-prefix-map-via-CEXTRA-in-dh_.patch (text/x-diff, inline)]
From cfcdf510932ab43f6c4fd3aa8e522d050f5adc99 Mon Sep 17 00:00:00 2001
From: Vagrant Cascadian <vagrant@reproducible-builds.org>
Date: Sat, 24 Sep 2022 21:38:19 +0000
Subject: [PATCH] debian/rules: Pass -ffile-prefix-map via CEXTRA in
 dh_auto_build override.

https://reproducible-builds.org/docs/build-path/
---
 debian/rules | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/debian/rules b/debian/rules
index 3ff1794..694915a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -16,3 +16,6 @@ override_dh_auto_configure:
 override_dh_installdirs:
 	dh_installdirs
 	cp sr debian/netris/usr/games/netris-sample-robot
+
+override_dh_auto_build:
+	dh_auto_build -- CEXTRA="-ffile-prefix-map=$(CURDIR)=."
-- 
2.37.2

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

Reply sent to Rhonda D'Vine <rhonda@debian.org>:
You have taken responsibility. (Mon, 26 Sep 2022 13:09:15 GMT) (full text, mbox, link).


Notification sent to Vagrant Cascadian <vagrant@reproducible-builds.org>:
Bug acknowledged by developer. (Mon, 26 Sep 2022 13:09:15 GMT) (full text, mbox, link).


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

From: Debian FTP Masters <ftpmaster@ftp-master.debian.org>
To: 1020657-close@bugs.debian.org
Subject: Bug#1020657: fixed in netris 0.52-11
Date: Mon, 26 Sep 2022 13:06:22 +0000
Source: netris
Source-Version: 0.52-11
Done: Rhonda D'Vine <rhonda@debian.org>

We believe that the bug you reported is fixed in the latest version of
netris, 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 1020657@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Rhonda D'Vine <rhonda@debian.org> (supplier of updated netris 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: SHA256

Format: 1.8
Date: Mon, 26 Sep 2022 13:54:16 +0200
Source: netris
Architecture: source
Version: 0.52-11
Distribution: unstable
Urgency: low
Maintainer: Rhonda D'Vine <rhonda@debian.org>
Changed-By: Rhonda D'Vine <rhonda@debian.org>
Closes: 883884 1020657
Changes:
 netris (0.52-11) unstable; urgency=low
 .
   [ Rhonda D'Vine ]
   * Bump Standards-Version to 3.9.8.
   * Remove homepage URL, it's down since 4 years now.
   * Drop watch file, upstream isn't there anymore.
   * Move VCS to salsa.
   * Bump Standards-Version to 4.6.1:
     - Bump debhelper-compat to 13.
   * Use Rules-Requires-Root: no.
   * Convert debian/copyright to DEP5.
 .
   [ Vagrant Cascadian ]
   * debian/rules: Pass -ffile-prefix-map via CEXTRA in dh_auto_build override
     (closes: #1020657)
 .
   [ Helmut Grohne ]
   * Fix FTCBFS: Pass a cross compiler to ./Configure. (closes: #883884)
Checksums-Sha1:
 a9c6374521f4780013adc3beabfcfde2f3449d82 1769 netris_0.52-11.dsc
 c299d9ca5976486bf1f5954154d2475e11a8517f 13496 netris_0.52-11.debian.tar.xz
 45621fcb04197545c72025f22d02a14981f3673c 6306 netris_0.52-11_amd64.buildinfo
Checksums-Sha256:
 09cb1523b3ac8f83454940bfbbaffcc46bcb2be3a520c53095511b62d62553bd 1769 netris_0.52-11.dsc
 2d5965344d4728344564ae43f8413e7a40b99e4556fb8292a8a2004bce19117a 13496 netris_0.52-11.debian.tar.xz
 7a4ed7eb29dde3a451f6a1aa13be85cb6bbd0872d0f6ee855c1d9daa36e9bb6d 6306 netris_0.52-11_amd64.buildinfo
Files:
 98eba72bad581837353091e142130436 1769 games optional netris_0.52-11.dsc
 eebbd8c5c93b1600b2250116ab026f21 13496 games optional netris_0.52-11.debian.tar.xz
 f6352d42baab2b4e7bf2a9b0279876ad 6306 games optional netris_0.52-11_amd64.buildinfo

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

iQIzBAEBCAAdFiEELHLzKO0XByBPs0mU3ugEPuF+uzAFAmMxneYACgkQ3ugEPuF+
uzCJIBAAoMFKdgy1CGDgkAGL6LW8vsjvPb86yb3B9YZMDyC66C4NJbw3BGmBW6/q
LqP4S59YD5prSw15m9c2YA2ZRcoKUQ27xwV5QdyxyzDAgE8sUxvipitfl9HTdllE
YyYHrE5baUxxKhPw7gtVbtpSpoo+486S8zNf2tAZ0lWl+U1P3UMWloM+R8nzNfaU
rTTVIhP7rG2TrQGhTtTfSKXKaA0BWBZUMlHdidP4FkVV8gsPSqrDl9ndUJKT+mXk
oIoh/HtcoGNVnBSPsC5bi/2/PUads7mO0WUT2ag6myMdRbAqF75BwBQ5+24MSBrp
6qApAZGMtKZaWi/9NVjjZnH6N4uNIBuXlzG8pdX7rIJXwcVUq3p3W/ObnaIl6p+F
38C009ZcyrkjyP6ngPVhR8mjVr7r4OGoriAN8oA5eXV+aKVHM7Xy5wX43PEMXexY
wMHH4nJY0u9FKMzLXXw0GUcZOAY+xo0SN4ebqjalCoV473eGOaa7lOOBzFoi/ZoZ
n7F7o/GIMfdnIDb2L4ZVKcMiEFYp+6CRYXJZimwkOFP9023JMzIUuM79TCmR6jtU
KeO2Gq9wab20KRLdY7+Azx2xetsQRKvSyPBZCOjvkXZTKxk+SY536aY2lODmLZkP
CrY3OS7oYNFb2mwyEqtjMrWuYG9R4xzU9eoBS0B18KlhY9IovMk=
=Vk5r
-----END PGP SIGNATURE-----




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Thu, 03 Nov 2022 07:28:42 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: Fri Jan 31 07:42:35 2025; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU General 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.