[Debian-med-packaging] Bug#1098867: spdlog: please replace apt by dpkg-query in d/rules as apt is not a build dependency
Jochen Sprickerhof
jspricke at debian.org
Tue Feb 25 11:09:22 GMT 2025
Source: spdlog
Version: 1:1.15.1+ds-1
Severity: normal
Tags: patch
Hi,
your package fails to reproduce when apt is not installed:
https://reproduce.debian.net/amd64/api/v0/builds/219029/diffoscope
This is due to:
https://sources.debian.org/src/spdlog/1%3A1.15.1%2Bds-1/debian/rules/#L11
fmtabi = $(shell apt show libfmt-dev 2>/dev/null | sed -n 's/Depends: .*libfmt\([0-9]*\) .*/\1/p')
Replacing this line by:
fmtabi = $(shell dpkg-query -W -f '$${Depends}' libfmt-dev | sed -n 's/libfmt\([0-9]*\) .*/\1/p')
will make the package reproducible.
Cheers Jochen
More information about the Debian-med-packaging
mailing list