The path that gkrellm-leds installs plugins into differs depending on
weather /bin/sh points to bash or dash:
https://tests.reproducible-builds.org/debian/rb-pkg/bookworm/amd64/gkrellm-leds.html
In the md5sums file you have two different files included in the package:
usr/lib/gkrellm2/plugins/gkleds.so
vs.
build/gkrellm-leds-0.8.0/debian/.debhelper/generated/_source/home/.gkrellm2/plugins/gkleds.so
The attached patch fixes this by removing the UID check in the Makefile,
which only behaves "correctly" when run under bash (when run under dash
$UID is unset).
Since the .deb package should always install into
/usr/lib/gkrellm2/plugins, regardless of the running UID, removing the
check seems appropriate, especially as "Rules-Requires-Root: no" is set
in debian/control.
With this patch applied, gkrellm-leds should build reproducibly on
tests.reproducible-builds.org!
Thanks for maintaining gkrellm-leds!
live well,
vagrant