Source: properties-cpp
Version: 0.0.2-3
Severity: minor
Tags: patch
User: reproducible-bui...@lists.alioth.debian.org
Usertags: buildpath
X-Debbugs-Cc: reproducible-b...@lists.alioth.debian.org

Hi,

Whilst working on the Reproducible Builds effort [0] we noticed that
properties-cpp could not be built reproducibly.

This was because doxygen was taking build-related log files (eg.
link.txt, GMock.cfg.txt) and then processing them like a manual page.
This was installed to /usr/share/man3 (hence the "minor" severity over
"wishlist") and this file varied on the absolute build path.

Patch attached.

 [0] https://reproducible-builds.org/


Regards,

--
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      la...@debian.org / chris-lamb.co.uk
       `- 
--- a/debian/patches/1002_reproducible-builds.patch     2020-05-25 
10:35:33.971753740 +0100
--- b/debian/patches/1002_reproducible-builds.patch     2020-05-25 
10:45:04.531334933 +0100
@@ -2,8 +2,8 @@
 Author: Chris Lamb <la...@debian.org>
 Last-Update: 2017-12-02
 
---- properties-cpp-0.0.1~bzr17+repack1.orig/doc/Doxyfile.in
-+++ properties-cpp-0.0.1~bzr17+repack1/doc/Doxyfile.in
+--- properties-cpp-0.0.2.orig/doc/Doxyfile.in
++++ properties-cpp-0.0.2/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.
@@ -18,7 +18,7 @@
  # for example use the pattern */test/*
  
 -EXCLUDE_PATTERNS       =
-+EXCLUDE_PATTERNS       = */DartConfiguration.tcl
++EXCLUDE_PATTERNS       = */DartConfiguration.tcl */link.txt */GMock-cfgcmd.txt
  
  # The EXCLUDE_SYMBOLS tag can be used to specify one or more symbol names
  # (namespaces, classes, functions, etc.) that should be excluded from the
--- a/doc/Doxyfile.in   2020-05-25 10:35:33.971753740 +0100
--- b/doc/Doxyfile.in   2020-05-25 10:45:20.371533564 +0100
@@ -714,7 +714,7 @@
 # against the file with absolute path, so to exclude all test directories
 # for example use the pattern */test/*
 
-EXCLUDE_PATTERNS       = */DartConfiguration.tcl
+EXCLUDE_PATTERNS       = */DartConfiguration.tcl */link.txt */GMock-cfgcmd.txt
 
 # The EXCLUDE_SYMBOLS tag can be used to specify one or more symbol names
 # (namespaces, classes, functions, etc.) that should be excluded from the

Reply via email to