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

Bug#1010781: marked as done (ragel: reproducible-builds: embedded build paths in /usr/bin/ragel)



Your message dated Tue, 10 May 2022 18:51:09 +0000
with message-id <E1noUwv-0009hq-Bd@fasolo.debian.org>
and subject line Bug#1010781: fixed in ragel 6.10-3
has caused the Debian Bug report #1010781,
regarding ragel: reproducible-builds: embedded build paths in /usr/bin/ragel
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.)


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

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

  /build/1st/ragel-6.10/ragel/main.cpp:462
  vs.
  /build/2/ragel-6.10/2nd/ragel/main.cpp:462


The attached patch to debian/rules fixes this by also setting CXXFLAGS
and passing it to configure.

Alternately, updating the packaging to use dh/debhelper at a recent
compat level would also likely fix this, or passing
-ffile-prefix-map=$(CURDIR)=. in CFLAGS and CXXFLAGS.


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


live well,
  vagrant
From 55b5bcf491bca1cf98f73819da71a8830741b869 Mon Sep 17 00:00:00 2001
From: Vagrant Cascadian <vagrant@reproducible-builds.org>
Date: Mon, 9 May 2022 23:26:49 +0000
Subject: [PATCH] debian/rules: Also pass CXXFLAGS to configure.

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

diff --git a/debian/rules b/debian/rules
index c695e62..d3b512f 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,6 +1,7 @@
 #!/usr/bin/make -f
 
 CFLAGS:=$(shell dpkg-buildflags --get CFLAGS)
+CXXFLAGS:=$(shell dpkg-buildflags --get CXXFLAGS)
 LDFLAGS:=$(shell dpkg-buildflags --get LDFLAGS)
 
 # for the m68k hack
@@ -9,7 +10,7 @@ export DEB_BUILD_ARCH
 
 config.status: configure
 	dh_testdir
-	CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)" ./configure --prefix=/usr --mandir=\$${prefix}/share/man 
+	CFLAGS="$(CFLAGS)" CXXFLAGS="$(CXXFLAGS)" LDFLAGS="$(LDFLAGS)" ./configure --prefix=/usr --mandir=\$${prefix}/share/man 
 
 build: build-arch build-indep
 build-arch: build-stamp
-- 
2.36.0

Attachment: signature.asc
Description: PGP signature


--- End Message ---
--- Begin Message ---
Source: ragel
Source-Version: 6.10-3
Done: Vagrant Cascadian <vagrant@debian.org>

We believe that the bug you reported is fixed in the latest version of
ragel, 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 1010781@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 ragel 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 11:05:59 -0700
Source: ragel
Architecture: source
Version: 6.10-3
Distribution: unstable
Urgency: medium
Maintainer: Debian QA Group <packages@qa.debian.org>
Changed-By: Vagrant Cascadian <vagrant@debian.org>
Closes: 874192 1010781
Changes:
 ragel (6.10-3) unstable; urgency=medium
 .
   * QA upload.
   * debian/rules: Switch to using dh. (Closes: #1010781)
   * debian/copyright: Reference GPL-2 in common-licenses.
   * debian/control: Set Rules-Requires-Root to "no".
   * debian/rules: Build and install ragel-guide.pdf. (Closes: #874192)
   * debian/control: Update Build-Depends to use fig2dev instead of
     transfig.
   * debian/control: Update Standards-Version to 4.6.0.
Checksums-Sha1:
 5744b19962ae187be73556c3751522e77aa04887 1268 ragel_6.10-3.dsc
 78503fa313b02a052acf22467c48c7c29b7cd020 4328 ragel_6.10-3.debian.tar.xz
Checksums-Sha256:
 bec628338e63cef640f964bde2db7daf9e75da9a2b71a3c19811d8c7831851fd 1268 ragel_6.10-3.dsc
 0bec9929859f9645fb8a8e8be144b8e147b4ea4560b732284695fe6f8389c2da 4328 ragel_6.10-3.debian.tar.xz
Files:
 f8118330c9fe03e2f8b844ff78116adc 1268 devel optional ragel_6.10-3.dsc
 2de934e6f7afde4c9cd7dc8b3c476808 4328 devel optional ragel_6.10-3.debian.tar.xz

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

iIkEARYKADEWIQRlgHNhO/zFx+LkXUXcUY/If5cWqgUCYnqtKxMcdmFncmFudEBk
ZWJpYW4ub3JnAAoJENxRj8h/lxaqmJABAOoxstZiHpMtsNPpgNmHEjCdGEd+Ip5q
q3Qy8wUtqwRaAQC7cPICILjAwI/BOFHROig92WkWTbVgq2OTieIrIrWYDg==
=QErQ
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: