I looked for exactly this bug as I fixed the same issue in binutils-riscv-unknown-elf today, but somehow I missed it.
This should be fixed in version 18 by using dpkg-query instead of hand-hacked shell bits: upstream_version := $(shell dpkg-query -W -f="\$${source:Upstream-Version}\n" binutils-source) -- -keith
signature.asc
Description: PGP signature