Source: waili
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/waili.html

  /usr/lib/libwaili/test/Demo

  /build/1st/waili-19990723/include/waili/LChannel.h
  vs.
  /build/2/waili-19990723/2nd/include/waili/LChannel.h

The attached patch fixes this by using relative paths for the includes
added in CPPFLAGS.

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

Thanks for maintaining waili!

live well,
  vagrant
From 9aa609727944de9c68a74efa892e104271b16aa5 Mon Sep 17 00:00:00 2001
From: Vagrant Cascadian <vagr...@reproducible-builds.org>
Date: Sun, 25 Sep 2022 23:28:45 +0000
Subject: [PATCH] config.Rules.Linux.g++: Use relative include path in
 CPPFLAGS.

---
 config/Rules.Linux.g++ | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/config/Rules.Linux.g++ b/config/Rules.Linux.g++
index d474191..5fd6da6 100644
--- a/config/Rules.Linux.g++
+++ b/config/Rules.Linux.g++
@@ -37,7 +37,7 @@ OPTFLAGS =	-O3 -fomit-frame-pointer
 
 #changed for Debian: much cleaner; and you can move the directory around
 CFLAGS =	-Wall $(TIFFINC) $(TIFFDEF) $(OPTFLAGS) $(DEBUGFLAGS)
-CPPFLAGS =       -I$(TOPDIR)/include $(TIFFINC) $(TIFFDEF) 
+CPPFLAGS =       -I../include $(TIFFINC) $(TIFFDEF)
 
 
 #changed for debian: if -lwaili is specified, libtool fails to work
-- 
2.37.2

Attachment: signature.asc
Description: PGP signature

Reply via email to