Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #1135146

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

From Vagrant Cascadian <vagrant@reproducible-builds.org>
Newsgroups linux.debian.bugs.dist
Subject Bug#1029809: dnf-plugins-core: reproducible-builds: encoding and content differences in manpages
Date 2023-01-28 02:40 +0100
Message-ID <FSImd-1D2l-5@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

Source: dnf-plugins-core
Severity: normal
Tags: patch
User: reproducible-builds@lists.alioth.debian.org
Usertags: randomness
X-Debbugs-Cc: reproducible-bugs@lists.alioth.debian.org, kibi@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

Back to linux.debian.bugs.dist | Previous | Next | Find similar | Unroll thread


Thread

Bug#1029809: dnf-plugins-core: reproducible-builds: encoding and content differences in manpages Vagrant Cascadian <vagrant@reproducible-builds.org> - 2023-01-28 02:40 +0100

csiph-web