[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1021473: marked as done (nitpic: reproducible-builds: buildid differs in /usr/bin/nitpic)



Your message dated Wed, 19 Mar 2025 23:11:49 +0000
with message-id <E1tv2Zh-00AQQu-Fd@fasolo.debian.org>
and subject line Bug#1021473: fixed in nitpic 0.1-21
has caused the Debian Bug report #1021473,
regarding nitpic: reproducible-builds: buildid differs in /usr/bin/nitpic
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
1021473: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1021473
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Source: nitpic
Severity: normal
Tags: patch
User: reproducible-builds@lists.alioth.debian.org
Usertags: buildpath
X-Debbugs-Cc: reproducible-bugs@lists.alioth.debian.org

The buildid varies when build from different build paths:

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

The attached patch to debian/rules fixes this by passing the default
CFLAGS to make via the CCOPTIONS variable.

According to my local tests, with this patch applied, nitpic should build
reproducibly on tests.reproducible-builds.org!

Thanks for maintaining nitpic!

live well,
  vagrant
From a0f279bbd9c86d8cde731500b4aa249132a74dd8 Mon Sep 17 00:00:00 2001
From: Vagrant Cascadian <vagrant@reproducible-builds.org>
Date: Sun, 9 Oct 2022 02:16:50 +0000
Subject: [PATCH] debian/rules: Pass -ffile-prefix-map to make via CCOPTIONS
 variable to avoid embedding build path.

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

diff --git a/debian/rules b/debian/rules
index 664269e..fa81626 100755
--- a/debian/rules
+++ b/debian/rules
@@ -14,7 +14,7 @@ export SOURCE_DATE_EPOCH = $(shell date -d "$$(dpkg-parsechangelog --count 1 -SD
 build: build-arch
 build-indep:
 build-arch: checkdir Makefile
-	$(MAKE)
+	$(MAKE) CCOPTIONS="-ffile-prefix-map=$(CURDIR)=."
 
 clean: checkdir Makefile
 	$(MAKE) clean
-- 
2.37.2

Attachment: signature.asc
Description: PGP signature


--- End Message ---
--- Begin Message ---
Source: nitpic
Source-Version: 0.1-21
Done: Bastian Germann <bage@debian.org>

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

Debian distribution maintenance software
pp.
Bastian Germann <bage@debian.org> (supplier of updated nitpic 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: Wed, 19 Mar 2025 23:12:07 +0100
Source: nitpic
Architecture: source
Version: 0.1-21
Distribution: unstable
Urgency: medium
Maintainer: Debian QA Group <packages@qa.debian.org>
Changed-By: Bastian Germann <bage@debian.org>
Closes: 1021473
Changes:
 nitpic (0.1-21) unstable; urgency=medium
 .
   * QA upload.
   * Remove changelog.orig file.
   * d/copyright: Convert to machine-readable format.
 .
   [ Vagrant Cascadian ]
   * Pass -ffile-prefix-map to make via CCOPTIONS variable
     to avoid embedding build path. (Closes: #1021473)
Checksums-Sha1:
 fd9b6bea2beefc17b658695ff5e21eba6daaa73d 1582 nitpic_0.1-21.dsc
 f0885077d6aeb9222a24d034f5ee939b23abad98 11668 nitpic_0.1-21.debian.tar.xz
 54a53daca8adaad361063784f84cc626e07d80c0 4245 nitpic_0.1-21_source.buildinfo
Checksums-Sha256:
 74a0efc5c4ace2685a07b454e6862a8fd0255c1731daf96cd20190fa2cab7087 1582 nitpic_0.1-21.dsc
 8408a062112b5461dd106e62ec530558412268c8606e540f9e872d3c17a1ab15 11668 nitpic_0.1-21.debian.tar.xz
 5b9e81e992098e0696a820c1551efd75a5791379d3210dd487e59d0202f4780b 4245 nitpic_0.1-21_source.buildinfo
Files:
 626225ceff1c1b7fc797cea42341ee2c 1582 electronics optional nitpic_0.1-21.dsc
 2362ff7addbfc4bd07c0e45ca724c88c 11668 electronics optional nitpic_0.1-21.debian.tar.xz
 b6377bef4c376f29e5a52d0b82f92c1c 4245 electronics optional nitpic_0.1-21_source.buildinfo


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

iQHEBAEBCgAuFiEEQGIgyLhVKAI3jM5BH1x6i0VWQxQFAmfbQ8AQHGJhZ2VAZGVi
aWFuLm9yZwAKCRAfXHqLRVZDFBKcC/wKYSJ2mORvL6BASpYtrnP/wqbkjAsJaK/o
8uw0R8hAgU4KIxJNd4Hm/j0NaI5qBesV8j6J2yxbzaHin/fsdFIAFJKsYz5TAprp
JHhS+RlAfc/0LfYsxROzWt3kf4rNLggOXpuwfxEXUfUz7PAyN13B43sxsfPNZWCz
AyYNq3aL3LTT7xDrYWTNEbebtb4+Nh2fsIZledTBBYlBzAzDDBOShoXWYJNqX7Ji
3604htddmkaNxjy6GFH2rLevEpQMxJyfZvKdiC+jS4mHDARTQJnozAenqEs3IcaO
SONVh6A2zTPmCsjSP52mB+ov5m+JO7t8PvPZvGuBu0XFC55+lUawTf8BD0BlmWQH
BNHmOkMEn81iTcE8/mJ/h+OGscRAZpwa8HVRuhVnzdUfkJooB0rHf2Dm/wZZGsow
MDQzszcPq48g2VO/n7oSXkiUWbO+apz9dMYU7zeQ/XgbLIV4hatRGu9huRM49DcL
e5+JT+dGsUeN7YyE9hgf6wR4yJZFEgM=
=VUeG
-----END PGP SIGNATURE-----

Attachment: pgpdHnQqFNnk5.pgp
Description: PGP signature


--- End Message ---

Reply to: