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

Bug#1011495: marked as done (modglue: reproducible-builds: Embedded build path in example Makefile)



Your message dated Wed, 02 Aug 2023 00:56:09 +0000
with message-id <[🔎] E1qR09p-005sSY-1D@fasolo.debian.org>
and subject line Bug#1042733: Removed package(s) from unstable
has caused the Debian Bug report #1011495,
regarding modglue: reproducible-builds: Embedded build path in example Makefile
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.)


-- 
1011495: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1011495
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Source: modglue
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/share/doc/libmodglue1-dev/examples/Makefile:

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

  g++·-g·-O2·-ffile-prefix-map=/build/1st/modglue-1.17=.·-fstack-protector-strong ...
  vs.
  g++·-g·-O2·-ffile-prefix-map=/build/2/modglue-1.17/2nd=.·-fstack-protector-strong ...

The attached patch fixes this by replacing the build path with a
placeholder string in debian/rules.

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

Thanks for maintaining modglue!

live well,
  vagrant
From 90abd06e800aa89e41a213373950ccda809858f9 Mon Sep 17 00:00:00 2001
From: Vagrant Cascadian <vagrant@reproducible-builds.org>
Date: Mon, 23 May 2022 22:52:57 +0000
Subject: [PATCH] debian/rules: Replace build path in example Makefile with
 "BUILDPATH".

---
 debian/rules | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/debian/rules b/debian/rules
index e1ec72b..cfd744c 100755
--- a/debian/rules
+++ b/debian/rules
@@ -10,3 +10,8 @@ override_dh_autoreconf:
 override_dh_auto_install:
 	$(MAKE) install DESTDIR=$(CURDIR)/debian/libmodglue1v5 DEVDESTDIR=$(CURDIR)/debian/libmodglue1-dev
 	rm `find $(CURDIR)/debian -name '*.la'`
+
+override_dh_installexamples:
+	# Replace build path with placeholder string
+	sed -i -e "s,$(CURDIR),BUILDPATH,g" examples/Makefile
+	dh_installexamples
-- 
2.36.1

Attachment: signature.asc
Description: PGP signature


--- End Message ---
--- Begin Message ---
Version: 1.17-4+rm

Dear submitter,

as the package modglue has just been removed from the Debian archive
unstable we hereby close the associated bug reports.  We are sorry
that we couldn't deal with your issue properly.

For details on the removal, please see https://bugs.debian.org/1042733

The version of this package that was in Debian prior to this removal
can still be found using https://snapshot.debian.org/.

Please note that the changes have been done on the master archive and
will not propagate to any mirrors until the next dinstall run at the
earliest.

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

Debian distribution maintenance software
pp.
Scott Kitterman (the ftpmaster behind the curtain)

--- End Message ---

Reply to: