Source: ragel Severity: normal Tags: patch User: reproducible-bui...@lists.alioth.debian.org Usertags: buildpath X-Debbugs-Cc: reproducible-b...@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 <vagr...@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
signature.asc
Description: PGP signature