[Debian-med-packaging] Bug#1003379: last-align: reproducible-builds: cpu-specific features embedded in manpages

Vagrant Cascadian vagrant at reproducible-builds.org
Sun Jan 9 05:58:41 GMT 2022


Source: last-align
Severity: normal
Tags: patch
User: reproducible-builds at lists.alioth.debian.org
Usertags: cpu
X-Debbugs-Cc: reproducible-bugs at lists.alioth.debian.org

Various manpages embed the relevent SIMD variant of the CPU used in the
build environment:

  https://tests.reproducible-builds.org/debian/rb-pkg/bookworm/i386/last-align.html

  /usr/share/man/man1/last-merge-batches.1.gz

  .B·last-merge-batches-avx
vs.
  .B·last-merge-batches-avx2

The attached patch to debian/rules and debian/bin/dispatch-simd creates
an environment variable, SIMD_LIST, which is set in debian/rules to
ensure none of the variants match, falling back to the "plain" variants.

Another option might be to postprocess the manpage...


With this patch applied, last-align should at least build reproducibly
on tests.reproducible-builds.org once it migrates to bookworm/testing,
as build paths are currently only varied in unstable and experimental
which trigger other reproducibility issues.


Thanks for maintaining last-align!


live well,
  vagrant
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-debian-rules-simd-dispatch-Pass-an-environment-varia.patch
Type: text/x-diff
Size: 1571 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/debian-med-packaging/attachments/20220108/dcc76298/attachment-0001.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/debian-med-packaging/attachments/20220108/dcc76298/attachment-0001.sig>


More information about the Debian-med-packaging mailing list