Source: rotter
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/rotter:

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

  /build/1st/rotter-0.9/src/rotter.c:478
  vs.
  /build/2/rotter-0.9/2nd/src/rotter.c:478

The attached patch to debian/rules fixes this by adding a
dh_auto_configure override which passes the default CFLAGS provided by
dpkg-buildflags.

Alternately, updating to a newer debhelper compat level might also solve
this issue as well as other issues.

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

Thanks for maintaining rotter!

live well,
  vagrant
From c364c7df7596ab2f9ef75df638fed6ed3ddf2a06 Mon Sep 17 00:00:00 2001
From: Vagrant Cascadian <vagr...@reproducible-builds.org>
Date: Mon, 26 Sep 2022 00:44:03 +0000
Subject: [PATCH] debian/rules: Add dh_auto_configure override to pass default
 CFLAGS.

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

diff --git a/debian/rules b/debian/rules
index 5ca7dc2..a344d88 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,6 +3,9 @@
 %:
 	dh $@ --with=autotools_dev
 
+override_dh_auto_configure:
+	dh_auto_configure -- CFLAGS="$(shell dpkg-buildflags --get CFLAGS)"
+
 override_dh_auto_install:
 	dh_auto_install -- DESTDIR=$(CURDIR)/debian/rotter
 
-- 
2.37.2

Attachment: signature.asc
Description: PGP signature

_______________________________________________
pkg-multimedia-maintainers mailing list
pkg-multimedia-maintainers@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-multimedia-maintainers

Reply via email to