Your message dated Sun, 04 May 2025 19:49:09 +0000
with message-id <e1ubfkn-00ha4a...@fasolo.debian.org>
and subject line Bug#1039808: fixed in atf 0.22-1
has caused the Debian Bug report #1039808,
regarding atf: reproducible-builds: Embedded path to bash in various binaries
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
1039808: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1039808
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: atf
Severity: normal
Tags: patch
User: reproducible-bui...@lists.alioth.debian.org
Usertags: usrmerge
X-Debbugs-Cc: reproducible-b...@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
From bc4307d7b3dd7a1e9a6606dee1975525b37aaa59 Mon Sep 17 00:00:00 2001
From: Vagrant Cascadian <vagr...@reproducible-builds.org>
Date: Wed, 28 Jun 2023 14:04:56 -0700
Subject: [PATCH] debian/rules: Pass ATF_SHELL to dh_auto_build.

Otherwise, the path to bash is embedded differently in a usrmerge and
non-usrmerge environment. Use /bin/bash, as that is present in both cases.

https://tests.reproducible-builds.org/debian/issues/unstable/paths_vary_due_to_usrmerge_issue.html
---
 debian/rules | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/debian/rules b/debian/rules
index 33c3a6c..2176966 100755
--- a/debian/rules
+++ b/debian/rules
@@ -5,5 +5,8 @@ export DEB_BUILD_MAINT_OPTIONS = hardening=+all
 %:
 	dh $@
 
+override_dh_auto_build:
+	dh_auto_build -- ATF_SHELL=/bin/bash
+
 override_dh_auto_test:
 	-dh_auto_test -- installcheck-kyua
-- 
2.39.2

Attachment: signature.asc
Description: PGP signature


--- End Message ---
--- Begin Message ---
Source: atf
Source-Version: 0.22-1
Done: Andrej Shadura <andre...@debian.org>

We believe that the bug you reported is fixed in the latest version of
atf, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1039...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Andrej Shadura <andre...@debian.org> (supplier of updated atf package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Sun, 04 May 2025 21:30:32 +0200
Source: atf
Architecture: source
Version: 0.22-1
Distribution: unstable
Urgency: medium
Maintainer: Andrej Shadura <andre...@debian.org>
Changed-By: Andrej Shadura <andre...@debian.org>
Closes: 1039808
Changes:
 atf (0.22-1) unstable; urgency=medium
 .
   [ Andrej Shadura ]
   * New upstream release.
   * Update paths to NEWS/README.
 .
   [ Vagrant Cascadian ]
   * debian/rules: Pass ATF_SHELL to dh_auto_build (Closes: #1039808).
Checksums-Sha1:
 0dcbff127a355bbbdebb55564bb776220ed4d1fe 1445 atf_0.22-1.dsc
 def2166732a69912059fe35c3c84e2f5d138e603 142720 atf_0.22.orig.tar.xz
 dda91c2b33c368680f9f46e97efc86ea76136bfc 6212 atf_0.22-1.debian.tar.xz
Checksums-Sha256:
 590e3ee9f9aecc5e2f89e834fb760908ca3c5ac574b01f15f511e2812d9cec22 1445 
atf_0.22-1.dsc
 31e77dc596e4317442b96cdf625e10a92bf837a6e4fc22e548aa9df6d2ae2830 142720 
atf_0.22.orig.tar.xz
 b606861212738171899c94b72b0ef901c7fa87873ed6e9ecb2900d553e4db492 6212 
atf_0.22-1.debian.tar.xz
Files:
 4614ce2495afedfe7a5e02cea2a8b456 1445 libs optional atf_0.22-1.dsc
 0cda00835e62f49c35dfac8c8ceefe22 142720 libs optional atf_0.22.orig.tar.xz
 3e9516907763749ca97cfdadefad9948 6212 libs optional atf_0.22-1.debian.tar.xz

-----BEGIN PGP SIGNATURE-----

iHUEARYKAB0WIQSD3NF/RLIsyDZW7aHoRGtKyMdyYQUCaBfBLQAKCRDoRGtKyMdy
Ye9YAP96r/TS5W5HFE3HeQGmjQXYfgZg5oGab5R6k/gEXpniPwD9FxfSCqVXiPZt
2JxcWLwbta5598TbQ5cG8r1R17l9Lgg=
=PMLe
-----END PGP SIGNATURE-----

Attachment: pgp2LrdDbr5DG.pgp
Description: PGP signature


--- End Message ---

Reply via email to