Bug#1029809: dnf-plugins-core: reproducible-builds: encoding and content differences in manpages

Vagrant Cascadian vagrant at reproducible-builds.org
Sat Jan 28 01:30:29 GMT 2023


Source: dnf-plugins-core
Severity: normal
Tags: patch
User: reproducible-builds at lists.alioth.debian.org
Usertags: randomness
X-Debbugs-Cc: reproducible-bugs at lists.alioth.debian.org, kibi at debian.org

The manpages of various builds non-deterministically end up with
different encoding and contents:

  https://tests.reproducible-builds.org/debian/rb-pkg/bookworm/amd64/diffoscope-results/dnf-plugins-core.html

  /usr/share/man/man1/repodiff.1.gz

  ...Note·that·you·can·use·a·wildcard·\(dq*\(dq·for·all·architectures...
  vs.
  ...Note·that·you·can·use·a·wildcard·“*”·for·all·architectures...

It appears this is due to building the doc-html and doc-man build
targets concurrently. The attached patch works around this issue by
changing the dependencies of the build targets so that they are built in
sequence.

Alternate solutions would be to pass --no-parallel to dh in
debian/rules, although this obviously would not work upstream.

It is also be possible to specify different directories for the doc-man
and doc-html build targets, by passing "-d path/to/doc-man/build" and
"-d path/to/doc-html/build".

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

Thanks for maintaining dnf-plugins-core!

live well,
  vagrant
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-doc-CMakeLists.txt-Add-Dependency-on-doc-man-for-doc.patch
Type: text/x-diff
Size: 1169 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/reproducible-bugs/attachments/20230127/200daba0/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 227 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/reproducible-bugs/attachments/20230127/200daba0/attachment.sig>


More information about the Reproducible-bugs mailing list