Bug#1103563: src:cross-toolchain-base: please replace apt-cache by dpkg-query in d/rules

Jochen Sprickerhof jspricke at debian.org
Sat Apr 19 06:01:58 BST 2025


Source: cross-toolchain-base
Version: 74
Severity: normal
Tags: patch
X-Debbugs-Cc: reproducible-bugs at lists.alioth.debian.org
User: reproducible-builds at lists.alioth.debian.org
Usertags: environment

Hi,

cross-toolchain-base currently uses apt-cache in it's debian/rules:

DEB_VER_LINUX  := $(shell apt-cache policy linux-libc-dev | awk '/^ \*\*\*/ {print $$2}')

This makes the package FTBFS on reprodue.debian.net as the build
environment provided by debrebuild does not have an apt package cache.
Additionally the sbuild team plans to drop the apt cache from the build
chroot in forky. Please replace the line by:

DEB_VER_LINUX  := $(dpkg-query -W -f '$${Version}' linux-libc-dev)

The same applies to cross-toolchain-base-ports and
cross-toolchain-base-mipsen, please also apply the patch there.

Thanks!

Jochen



More information about the Reproducible-bugs mailing list