spdlog: please replace apt by dpkg-query in d/rules as apt is not a build dependency

Holger Levsen holger at layer-acht.org
Tue Feb 25 11:39:50 GMT 2025


User reproducible-builds at lists.alioth.debian.org
Usertag 1098867 senvironment
thanks

Am Tue, Feb 25, 2025 at 12:09:22PM +0100 schrieb Jochen Sprickerhof:
> 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
> 

-- 
cheers,
	Holger

 ⢀⣴⠾⠻⢶⣦⠀
 ⣾⠁⢠⠒⠀⣿⡁  holger@(debian|reproducible-builds|layer-acht).org
 ⢿⡄⠘⠷⠚⠋⠀  OpenPGP: B8BF54137B09D35CF026FE9D 091AB856069AAA1C
 ⠈⠳⣄

“In 3-8 years we'll have a machine with the general intelligence of an average
 human being. The machine will begin to educate itself with fantastic speed.
 In a few months it will be at genius level and a few months after that its
 powers will be incalculable.” —Marvin Minsky, 1970
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/reproducible-bugs/attachments/20250225/a8e64a24/attachment.sig>


More information about the Reproducible-bugs mailing list