Debian Bug report logs - #1024413
presage: reproducible-builds: build path embedded in .html files

Package: src:presage; Maintainer for src:presage is Matteo Vescovi <matteo.vescovi@yahoo.co.uk>;

Reported by: Vagrant Cascadian <vagrant@reproducible-builds.org>

Date: Sat, 19 Nov 2022 05:06:01 UTC

Severity: normal

Tags: patch

Reply or subscribe to this bug.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, reproducible-bugs@lists.alioth.debian.org, Matteo Vescovi <matteo.vescovi@yahoo.co.uk>:
Bug#1024413; Package src:presage. (Sat, 19 Nov 2022 05:06:04 GMT) (full text, mbox, link).


Acknowledgement sent to Vagrant Cascadian <vagrant@reproducible-builds.org>:
New Bug report received and forwarded. Copy sent to reproducible-bugs@lists.alioth.debian.org, Matteo Vescovi <matteo.vescovi@yahoo.co.uk>. (Sat, 19 Nov 2022 05:06:04 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Vagrant Cascadian <vagrant@reproducible-builds.org>
To: submit@bugs.debian.org
Subject: presage: reproducible-builds: build path embedded in .html files
Date: Fri, 18 Nov 2022 21:03:40 -0800
[Message part 1 (text/plain, inline)]
Source: presage
Severity: normal
Tags: patch
User: reproducible-builds@lists.alioth.debian.org
Usertags: buildpath
X-Debbugs-Cc: reproducible-bugs@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
[0001-doc-Doxyfile.in-Set-FULL_PATH_NAMES-to-NO-to-avoid-e.patch (text/x-diff, inline)]
From 5afba5986ec2cad849d6c04922bf11ee2a1d5695 Mon Sep 17 00:00:00 2001
From: Vagrant Cascadian <vagrant@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

[signature.asc (application/pgp-signature, inline)]

Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Wed May 17 11:31:05 2023; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.