Source: tsdecrypt 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 various binaries: https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/diffoscope-results/tsdecrypt.html /usr/bin/tsdecrypt_dvbcsa /build/1st/tsdecrypt-10.0/tsdecrypt.c:948 vs. /build/2/tsdecrypt-10.0/2nd/tsdecrypt.c:948 The attached patch to debian/rules fixes this by passing the default CFLAGS to the two make invocations, which includes -ffile-prefix-map to avoid embedding build paths. According to my local tests, with this patch applied, and the patch submitted in https://bugs.debian.org/829713, tsdecrypt should build reproducibly on tests.reproducible-builds.org! If it would be helpful, I would like to NMU with this patch and the patch from #829713 in the near future in time for bookworm. Thanks for maintaining tsdecrypt! live well, vagrant
From 94b07c835c7706b0ad5891458b142e8c4a9158b9 Mon Sep 17 00:00:00 2001 From: Vagrant Cascadian <vagr...@reproducible-builds.org> Date: Thu, 20 Oct 2022 17:20:19 +0000 Subject: [PATCH 4/4] debian/rules: Pass default CFLAGS. --- debian/rules | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/debian/rules b/debian/rules index cd33eef..10a8fa7 100755 --- a/debian/rules +++ b/debian/rules @@ -10,11 +10,11 @@ override_dh_auto_configure: override_dh_auto_build: override_dh_auto_install: # Build with FFdecsa - $(MAKE) ffdecsa + $(MAKE) CFLAGS="$(shell dpkg-buildflags --get CFLAGS)" ffdecsa mv tsdecrypt tsdecrypt_ffdecsa $(MAKE) distclean # Build against libdvbcsa - $(MAKE) dvbcsa + $(MAKE) CFLAGS="$(shell dpkg-buildflags --get CFLAGS)" dvbcsa mv tsdecrypt tsdecrypt_dvbcsa # Install binaries mkdir -p $(DESTDIR)$(PREFIX)/bin -- 2.37.2
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