Bug#1039808: atf: reproducible-builds: Embedded path to bash in various binaries

Vagrant Cascadian vagrant at reproducible-builds.org
Wed Jun 28 22:15:05 BST 2023


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

The path to bash is embedded differently in various binaries depending
on weather it is built in a usrmerge or non-usrmerge environment:

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

  /usr/bin/atf-sh

  /bin/bash
  vs.
  /usr/bin/bash

The attached patch fixes this by passing ATF_SHELL to dh_auto_build in
debian/rules.

According to my local tests, with this patch applied atf should build
reproducibly on tests.reproducible-builds.org when it migrates to
trixie/testing! Unfortunately, there are still unresolved build path
issues which are tested on unstable and experimental.

Thanks for maintaining atf!

live well,
  vagrant
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-debian-rules-Pass-ATF_SHELL-to-dh_auto_build.patch
Type: text/x-diff
Size: 863 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/reproducible-bugs/attachments/20230628/d1290c9f/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/20230628/d1290c9f/attachment.sig>


More information about the Reproducible-bugs mailing list