Source: presage
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 .html files:

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

Some local diffoscope output revealed this example:

│ │ │ ├── ./usr/share/doc/libpresage-doc/html/variable_8h_source.html
...
│ │ │ │ -<title>presage: 
/tmp/reprotest.mC8kkh/const_build_path/src/lib/core/variable.h Source 
File</title>
│ │ │ │ +<title>presage: 
/tmp/reprotest.mC8kkh/build-experiment-1/src/lib/core/variable.h Source 
File</title>

The attached patch to the upstream doc/Doxyfile.in fixes this by setting
FULL_PATH_NAMES to "NO" to avoid embedding the build path.

According to my local tests, with this patch applied presage should build
reproducibly on tests.reproducible-builds.org!

Thanks for maintaining presage!

live well,
  vagrant
From 5afba5986ec2cad849d6c04922bf11ee2a1d5695 Mon Sep 17 00:00:00 2001
From: Vagrant Cascadian <vagr...@reproducible-builds.org>
Date: Sat, 19 Nov 2022 04:55:29 +0000
Subject: [PATCH] doc/Doxyfile.in: Set FULL_PATH_NAMES to "NO" to avoid
 embedding build paths in documentation.

https://tests.reproducible-builds.org/debian/issues/unstable/build_dir_in_documentation_generated_by_doxygen_issue.html
---
 doc/Doxyfile.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/doc/Doxyfile.in b/doc/Doxyfile.in
index 24efbaf..e221d9f 100644
--- a/doc/Doxyfile.in
+++ b/doc/Doxyfile.in
@@ -119,7 +119,7 @@ INLINE_INHERITED_MEMB  = NO
 # path before files name in the file list and in the header files. If set
 # to NO the shortest path that makes the file name unique will be used.
 
-FULL_PATH_NAMES        = YES
+FULL_PATH_NAMES        = NO
 
 # If the FULL_PATH_NAMES tag is set to YES then the STRIP_FROM_PATH tag
 # can be used to strip a user-defined part of the path. Stripping is
-- 
2.38.1

Attachment: signature.asc
Description: PGP signature

Reply via email to