Bug#1024288: apcupsd: reproducible-builds: embedded path to "sh" may differ
Vagrant Cascadian
vagrant at reproducible-builds.org
Thu Nov 17 02:40:47 GMT 2022
Source: apcupsd
Severity: important
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 the "sh" binary differs depending on if it is built in an
environment with or without usrmerge:
https://tests.reproducible-builds.org/debian/rb-pkg/bookworm/amd64/diffoscope-results/apcupsd.html
/etc/apcupsd/apccontrol
#!/bin/sh
vs.
#!/usr/bin/sh
The attached patch fixes this in debian/rules by passing the SCRIPTSHELL
variable in the dh_auto_configure override, using the most compatible
path.
According to my local tests, With this patch applied apcupsd should build
reproducibly on tests.reproducible-builds.org!
Thanks for maintaining apcupsd!
live well,
vagrant
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-debian-rules-Pass-SCRIPTSHELL-to-configure.patch
Type: text/x-diff
Size: 827 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/reproducible-bugs/attachments/20221116/21b6b4eb/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/20221116/21b6b4eb/attachment.sig>
More information about the Reproducible-bugs
mailing list