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

Bug#1024279: marked as done (tolua++: reproducible-builds: build path embedded in tolua++5.1)



Your message dated Thu, 23 Oct 2025 13:33:52 +0000
with message-id <[🔎] E1vBvRw-0046Z9-2H@fasolo.debian.org>
and subject line Bug#1118544: Removed package(s) from unstable
has caused the Debian Bug report #1024279,
regarding tolua++: reproducible-builds: build path embedded in tolua++5.1
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.)


-- 
1024279: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1024279
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Source: tolua++
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/tolua++5.1:

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

  /build/1st/tolua++-1.0.93/src/bin/tolua.c:84
  vs.
  /build/2/tolua++-1.0.93/2nd/src/bin/tolua.c:84

The attached patch to debian/rules fixes this by adding
-ffile-prefix-map to the CCFLAGS included in debian/custom.py.

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

Thanks for maintaining tolua++!

live well,
  vagrant
From d911d743084b67294d20379c4f9375f75dcac9f1 Mon Sep 17 00:00:00 2001
From: Vagrant Cascadian <vagrant@reproducible-builds.org>
Date: Wed, 16 Nov 2022 22:52:46 +0000
Subject: [PATCH] debian/rules: Avoid embedding build paths by adding
 -ffile-prefix-map to CCFLAGS.

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

diff --git a/debian/rules b/debian/rules
index 1f3c3d5..8552863 100755
--- a/debian/rules
+++ b/debian/rules
@@ -10,6 +10,8 @@ override_dh_clean:
 
 override_dh_auto_configure:
 	cp $(CURDIR)/debian/custom.py $(CURDIR)
+	# Add -ffile-prefix-map to CCFLAGS to avoid embedding build paths.
+	sed -i -e "s,CCFLAGS = .,CCFLAGS =['-ffile-prefix-map=$(CURDIR)=.'\,,g" $(CURDIR)/custom.py
 	scons prefix=$(CURDIR)/debian/libtolua++5.1-dev/usr configure
 
 override_dh_auto_build:
-- 
2.38.1

Attachment: signature.asc
Description: PGP signature


--- End Message ---
--- Begin Message ---
Version: 1.0.93-5+rm

Dear submitter,

as the package tolua++ 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/1118544

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.
Thorsten Alteholz (the ftpmaster behind the curtain)

--- End Message ---

Reply to: