Debian Bug report logs - #991181
cmocka: reproducible builds: Embeds build path in documentation

version graph

Package: src:cmocka; Maintainer for src:cmocka is David Prévot <taffit@debian.org>;

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

Date: Fri, 16 Jul 2021 15:27:02 UTC

Severity: normal

Tags: patch

Fixed in version cmocka/1.1.5-2.1

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

Bug is archived. No further changes may be made.

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, David Prévot <taffit@debian.org>:
Bug#991181; Package src:cmocka. (Fri, 16 Jul 2021 15:27:03 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, David Prévot <taffit@debian.org>. (Fri, 16 Jul 2021 15:27:05 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: cmocka: reproducible builds: Embeds build path in documentation
Date: Fri, 16 Jul 2021 08:22:57 -0700
[Message part 1 (text/plain, inline)]
Source: cmocka
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 documentation files:

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

  ./usr/share/doc/cmocka-doc/html/cmocka_8h_source.html

  <title>cmocka:·/build/1st/cmocka-1.1.5/include/cmocka.h·Source·File</title>
  vs.
  <title>cmocka:·/build/2/cmocka-1.1.5/2nd/include/cmocka.h·Source·File</title>

The attached patch fixes this by setting configuration options in
doc/CMakeLists.txt to pass FULL_PATH_NAMES = NO in the doxygen
configuration used to generate the documentation.


Thanks for maintaining cmocka!


live well,
  vagrant
[0001-doc-CMakeLists.txt-Disable-embedding-of-full-path-na.patch (text/x-diff, inline)]
From a2905110f40b93d17830953aecc22d2379bceea1 Mon Sep 17 00:00:00 2001
From: Vagrant Cascadian <vagrant@reproducible-builds.org>
Date: Fri, 16 Jul 2021 15:13:48 +0000
Subject: [PATCH] doc/CMakeLists.txt: Disable embedding of full path names in
 documentation generated by doxygen.

https://reproducible-builds.org/docs/build-path/
https://tests.reproducible-builds.org/debian/issues/unstable/build_dir_in_documentation_generated_by_doxygen_issue.html
---
 doc/CMakeLists.txt | 1 +
 1 file changed, 1 insertion(+)

diff --git a/doc/CMakeLists.txt b/doc/CMakeLists.txt
index 6ac7494..9d4e7b5 100644
--- a/doc/CMakeLists.txt
+++ b/doc/CMakeLists.txt
@@ -31,6 +31,7 @@ if (DOXYGEN_FOUND)
                                  ${CMAKE_CURRENT_SOURCE_DIR}/that_style/img/folderclosed.svg
                                  ${CMAKE_CURRENT_SOURCE_DIR}/that_style/img/folderopen.svg
                                  ${CMAKE_CURRENT_SOURCE_DIR}/that_style/js/striped_bg.js)
+    set(DOXYGEN_FULL_PATH_NAMES no)
 
     set(_doxyfile_template "${CMAKE_BINARY_DIR}/CMakeDoxyfile.in")
     set(_target_doxyfile "${CMAKE_CURRENT_BINARY_DIR}/Doxyfile.docs")
-- 
2.32.0

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

Information forwarded to debian-bugs-dist@lists.debian.org, David Prévot <taffit@debian.org>:
Bug#991181; Package src:cmocka. (Thu, 29 Dec 2022 19:12:02 GMT) (full text, mbox, link).


Acknowledgement sent to Vagrant Cascadian <vagrant@reproducible-builds.org>:
Extra info received and forwarded to list. Copy sent to David Prévot <taffit@debian.org>. (Thu, 29 Dec 2022 19:12:02 GMT) (full text, mbox, link).


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

From: Vagrant Cascadian <vagrant@reproducible-builds.org>
To: 991181@bugs.debian.org
Subject: Re: cmocka: reproducible builds: Embeds build path in documentation
Date: Thu, 29 Dec 2022 11:08:32 -0800
[Message part 1 (text/plain, inline)]
Control: tags 991181 pending

On 2021-07-16, Vagrant Cascadian wrote:
> The build path is embedded in various documentation files:
>
>   https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/diffoscope-results/cmocka.html
>
>   ./usr/share/doc/cmocka-doc/html/cmocka_8h_source.html
>
>   <title>cmocka:·/build/1st/cmocka-1.1.5/include/cmocka.h·Source·File</title>
>   vs.
>   <title>cmocka:·/build/2/cmocka-1.1.5/2nd/include/cmocka.h·Source·File</title>
>
> The attached patch fixes this by setting configuration options in
> doc/CMakeLists.txt to pass FULL_PATH_NAMES = NO in the doxygen
> configuration used to generate the documentation.

I have uploaded an NMU fixing this issue and including pending changes
in git from Debian Janitor, and pushed the new changes to git.

diff -Nru cmocka-1.1.5/debian/changelog cmocka-1.1.5/debian/changelog
--- cmocka-1.1.5/debian/changelog	2019-08-10 20:34:42.000000000 -0700
+++ cmocka-1.1.5/debian/changelog	2022-12-29 10:55:47.000000000 -0800
@@ -1,3 +1,22 @@
+cmocka (1.1.5-2.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+
+  [ Debian Janitor ]
+  * Remove constraints unnecessary since buster
+  * Bump debhelper from old 12 to 13.
+  * Remove obsolete fields Contact, Name from debian/upstream/metadata
+    (already present in machine-readable debian/copyright).
+  * Update standards version to 4.6.0, no changes needed.
+  * Fix field name case in debian/control (Build-Depends-indep =>
+    Build-Depends-Indep).
+
+  [ Vagrant Cascadian ]
+  * debian/patches: Disable embedding of full path names in documentation
+    generated by doxygen. (Closes: #991181)
+
+ -- Vagrant Cascadian <vagrant@reproducible-builds.org>  Thu, 29 Dec 2022 10:55:47 -0800
+
 cmocka (1.1.5-2) unstable; urgency=medium
 
   * Upload to unstable now that buster has been released
diff -Nru cmocka-1.1.5/debian/control cmocka-1.1.5/debian/control
--- cmocka-1.1.5/debian/control	2019-08-10 20:33:57.000000000 -0700
+++ cmocka-1.1.5/debian/control	2022-12-29 10:45:43.000000000 -0800
@@ -3,12 +3,12 @@
 Priority: optional
 Maintainer: David Prévot <taffit@debian.org>
 Uploaders: Sandro Knauß <hefee@debian.org>
-Build-Depends: cmake (>= 3.10), debhelper-compat (= 12)
-Build-Depends-indep: doxygen
-Standards-Version: 4.4.0
+Build-Depends: cmake, debhelper-compat (= 13)
+Standards-Version: 4.6.0
 Homepage: https://cmocka.org/
 Vcs-Git: https://salsa.debian.org/debian/cmocka.git
 Vcs-Browser: https://salsa.debian.org/debian/cmocka
+Build-Depends-Indep: doxygen
 
 Package: cmocka-doc
 Section: doc
diff -Nru cmocka-1.1.5/debian/patches/0001-doc-CMakeLists.txt-Disable-embedding-of-full-path-na.patch cmocka-1.1.5/debian/patches/0001-doc-CMakeLists.txt-Disable-embedding-of-full-path-na.patch
--- cmocka-1.1.5/debian/patches/0001-doc-CMakeLists.txt-Disable-embedding-of-full-path-na.patch	1969-12-31 16:00:00.000000000 -0800
+++ cmocka-1.1.5/debian/patches/0001-doc-CMakeLists.txt-Disable-embedding-of-full-path-na.patch	2022-12-29 10:50:33.000000000 -0800
@@ -0,0 +1,26 @@
+From 54c4c552b27e180256593a019718b1a886dd31f7 Mon Sep 17 00:00:00 2001
+From: Vagrant Cascadian <vagrant@reproducible-builds.org>
+Date: Fri, 16 Jul 2021 15:13:48 +0000
+Subject: [PATCH] doc/CMakeLists.txt: Disable embedding of full path names in
+ documentation generated by doxygen. (Closes: #991181)
+
+https://reproducible-builds.org/docs/build-path/
+---
+ doc/CMakeLists.txt | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/doc/CMakeLists.txt b/doc/CMakeLists.txt
+index 6ac7494..9d4e7b5 100644
+--- a/doc/CMakeLists.txt
++++ b/doc/CMakeLists.txt
+@@ -31,6 +31,7 @@ if (DOXYGEN_FOUND)
+                                  ${CMAKE_CURRENT_SOURCE_DIR}/that_style/img/folderclosed.svg
+                                  ${CMAKE_CURRENT_SOURCE_DIR}/that_style/img/folderopen.svg
+                                  ${CMAKE_CURRENT_SOURCE_DIR}/that_style/js/striped_bg.js)
++    set(DOXYGEN_FULL_PATH_NAMES no)
+ 
+     set(_doxyfile_template "${CMAKE_BINARY_DIR}/CMakeDoxyfile.in")
+     set(_target_doxyfile "${CMAKE_CURRENT_BINARY_DIR}/Doxyfile.docs")
+-- 
+2.30.2
+
diff -Nru cmocka-1.1.5/debian/patches/series cmocka-1.1.5/debian/patches/series
--- cmocka-1.1.5/debian/patches/series	1969-12-31 16:00:00.000000000 -0800
+++ cmocka-1.1.5/debian/patches/series	2022-12-29 10:50:54.000000000 -0800
@@ -0,0 +1 @@
+0001-doc-CMakeLists.txt-Disable-embedding-of-full-path-na.patch
diff -Nru cmocka-1.1.5/debian/upstream/metadata cmocka-1.1.5/debian/upstream/metadata
--- cmocka-1.1.5/debian/upstream/metadata	2019-08-10 20:33:56.000000000 -0700
+++ cmocka-1.1.5/debian/upstream/metadata	1969-12-31 16:00:00.000000000 -0800
@@ -1,2 +0,0 @@
-Name: CMocka
-Contact: Andreas Schneider <asn@cryptomilk.org>


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

Added tag(s) pending. Request was from Vagrant Cascadian <vagrant@reproducible-builds.org> to 991181-submit@bugs.debian.org. (Thu, 29 Dec 2022 19:12:02 GMT) (full text, mbox, link).


Reply sent to Vagrant Cascadian <vagrant@reproducible-builds.org>:
You have taken responsibility. (Thu, 29 Dec 2022 19:24:03 GMT) (full text, mbox, link).


Notification sent to Vagrant Cascadian <vagrant@reproducible-builds.org>:
Bug acknowledged by developer. (Thu, 29 Dec 2022 19:24:04 GMT) (full text, mbox, link).


Message #17 received at 991181-close@bugs.debian.org (full text, mbox, reply):

From: Debian FTP Masters <ftpmaster@ftp-master.debian.org>
To: 991181-close@bugs.debian.org
Subject: Bug#991181: fixed in cmocka 1.1.5-2.1
Date: Thu, 29 Dec 2022 19:19:28 +0000
Source: cmocka
Source-Version: 1.1.5-2.1
Done: Vagrant Cascadian <vagrant@reproducible-builds.org>

We believe that the bug you reported is fixed in the latest version of
cmocka, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 991181@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Vagrant Cascadian <vagrant@reproducible-builds.org> (supplier of updated cmocka package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Thu, 29 Dec 2022 10:55:47 -0800
Source: cmocka
Architecture: source
Version: 1.1.5-2.1
Distribution: unstable
Urgency: medium
Maintainer: David Prévot <taffit@debian.org>
Changed-By: Vagrant Cascadian <vagrant@reproducible-builds.org>
Closes: 991181
Changes:
 cmocka (1.1.5-2.1) unstable; urgency=medium
 .
   * Non-maintainer upload.
 .
   [ Debian Janitor ]
   * Remove constraints unnecessary since buster
   * Bump debhelper from old 12 to 13.
   * Remove obsolete fields Contact, Name from debian/upstream/metadata
     (already present in machine-readable debian/copyright).
   * Update standards version to 4.6.0, no changes needed.
   * Fix field name case in debian/control (Build-Depends-indep =>
     Build-Depends-Indep).
 .
   [ Vagrant Cascadian ]
   * debian/patches: Disable embedding of full path names in documentation
     generated by doxygen. (Closes: #991181)
Checksums-Sha1:
 775dd6de7512c3275eea7a14f703215edf458403 1673 cmocka_1.1.5-2.1.dsc
 dc67cb2a8cf783bcc3b99753d760d84fd58ba69e 9080 cmocka_1.1.5-2.1.debian.tar.xz
 ca1c791e7b9f1202ffd5b7caf526c5403b52d109 7207 cmocka_1.1.5-2.1_amd64.buildinfo
Checksums-Sha256:
 9f94190b571e059dd6a359c7effd40b982c6c2796959ea201cf41e7cac0b6730 1673 cmocka_1.1.5-2.1.dsc
 6ba25b3981ce2a6b954ba17b2e05460e5b14fd2092475fb3c13b0eb9aa3208b2 9080 cmocka_1.1.5-2.1.debian.tar.xz
 5969e6353b9e272f4aac80353b462c67a9884059e5a3f34c8df23c5ca36327d7 7207 cmocka_1.1.5-2.1_amd64.buildinfo
Files:
 f19b63629939675fc7fdbb7fd62a7f5c 1673 devel optional cmocka_1.1.5-2.1.dsc
 88321c6ac4bb637a0e96ebc026764e26 9080 devel optional cmocka_1.1.5-2.1.debian.tar.xz
 f137d856d807b02421469e25c8d7a5aa 7207 devel optional cmocka_1.1.5-2.1_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iJYEARYKAD4WIQRlgHNhO/zFx+LkXUXcUY/If5cWqgUCY63knCAcdmFncmFudEBy
ZXByb2R1Y2libGUtYnVpbGRzLm9yZwAKCRDcUY/If5cWqmXXAP9Ft2+OzMibaBRP
+anNwFUWI6mHf0PiujEqA3xPbx1p9QEA5qm+a1vXYWJQzxIr7bvUrUF6o4qJmtSP
dCEEcc69LA4=
=sXsH
-----END PGP SIGNATURE-----




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Wed, 01 Feb 2023 07:30:19 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Wed May 17 11:13:46 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.