Notes for binutils - reproducible builds result

Version annotated: 2.33.1-2
Identified issues:
Identifier: test_suite_logs
Description Package embeds test suite logs, which may include a variety of
issues such as timestamps, timing information, kernel, username,
hostname, etc.
Identifier: random_order_in_tarball
URL https://wiki.debian.org/ReproducibleBuilds/FileOrderInTarballs
Description The order of members inside the tarball varies.
Bugs noted: 950585: "binutils-dev: included log files introduce reproducibility issues"
Comments: fails to build reproducibly on 32-bit architectures (i386, armhf).
fails to build reproducibly on 64-bit architectures only in
unstable (probably build paths).
binutils-dev includes logs and summaries of the tests in
/usr/share/doc/binutils/tests/. Can be disabled with
DEB_BUILD_OPTIONS=nocheck.
locales may trigger differences.
Disableing PGO with DEB_BUILD_OPTIONS="nopgo nolto" improves
reproducibility considerably.
tests.reproducible-builds.org currently building with the above
DEB_BUILD_OPTIONS to improve reproducibility
https://salsa.debian.org/qa/jenkins.debian.net/-/blob/7a6b2e0235dd62b86886c5d46e7b7c53ea5779c1/bin/reproducible_build.sh#L613
 

Our notes about issues affecting packages are stored in notes.git and are targeted at packages in Debian in 'unstable/amd64' (unless they say otherwise).