Source: nvram-wakeup 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/sbin/nvram-wakeup: https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/diffoscope-results/nvram-wakeup.html /build/1st/nvram-wakeup-1.1/nvram-wakeup.c:90 vs. /build/2/nvram-wakeup-1.1/2nd/nvram-wakeup.c:90 The attached patch fixes this by passing the -ffile-prefix-map argument via CFLAGS in the upstream Makefile, and should be added to debian/patches. With this patch applied nvram-wakeup should build reproducibly on tests.reproducible-builds.org! Thanks for maintaining nvram-wakeup! live well, vagrant
From: Vagrant Cascadian <vagr...@reproducible-builds.org> Date: Sat, 24 Sep 2022 21:13:09 +0000 X-Dgit-Generated: 1.1-4 756e5887d32bec866c709eed23134f870d35f931 Subject: Makefile: Add -ffile-prefix-map to CFLAGS to avoid embedding build path. https://reproducible-builds.org/docs/build-path/ --- --- nvram-wakeup-1.1.orig/Makefile +++ nvram-wakeup-1.1/Makefile @@ -42,6 +42,7 @@ VERSION = $(shell sed -ne '/define VERSI CC = gcc DEFS = -D_GNU_SOURCE CFLAGS = -O2 -Wall -Wstrict-prototypes -g -pedantic $(DEFS) +CFLAGS += -ffile-prefix-map=$(CURDIR)=. INSTALL = install INSTALL_STRIP = $(INSTALL) -s
signature.asc
Description: PGP signature
_______________________________________________ pkg-vdr-dvb-devel mailing list pkg-vdr-dvb-devel@alioth-lists.debian.net https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-vdr-dvb-devel