Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #1242664

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

From Jochen Sprickerhof <jspricke@debian.org>
Newsgroups linux.debian.bugs.dist
Subject Bug#1103563: src:cross-toolchain-base: please replace apt-cache by dpkg-query in d/rules
Date 2025-04-19 07:10 +0200
Message-ID <KD8CJ-eCFL-7@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


Source: cross-toolchain-base
Version: 74
Severity: normal
Tags: patch
X-Debbugs-Cc: reproducible-bugs@lists.alioth.debian.org
User: reproducible-builds@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

Back to linux.debian.bugs.dist | Previous | Next | Find similar | Unroll thread


Thread

Bug#1103563: src:cross-toolchain-base: please replace apt-cache by dpkg-query in d/rules Jochen Sprickerhof <jspricke@debian.org> - 2025-04-19 07:10 +0200

csiph-web