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


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

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

Started byJochen Sprickerhof <jspricke@debian.org>
First post2025-04-19 07:10 +0200
Last post2025-04-19 07:10 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.debian.bugs.dist


Contents

  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

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

FromJochen Sprickerhof <jspricke@debian.org>
Date2025-04-19 07:10 +0200
SubjectBug#1103563: src:cross-toolchain-base: please replace apt-cache by dpkg-query in d/rules
Message-ID<KD8CJ-eCFL-7@gated-at.bofh.it>
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

[toc] | [standalone]


Back to top | Article view | linux.debian.bugs.dist


csiph-web