Source: raku-readline Version: 0.1.6-5 User: [email protected] Usertag: apt-cache
Hi, in a future sbuild version, APT data will not be available at build time. Your package uses apt-cache to get a package name. Please replace the apt-cache usage with dpkg. Find a patch attached. Chris
>From 568bac1fac72c1146c187c5c4c63cfb00062a41d Mon Sep 17 00:00:00 2001 From: Chris Hofstaedtler <[email protected]> Date: Wed, 30 Apr 2025 21:34:42 +0200 Subject: [PATCH] Stop using APT data --- debian/rules | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/rules b/debian/rules index cbae9e2..6b7ceef 100755 --- a/debian/rules +++ b/debian/rules @@ -1,6 +1,6 @@ #!/usr/bin/make -f -READLINE_DEP = $(shell apt-cache depends --important libreadline-dev | perl -n -e 'print $$1 if /Depends: (libreadline\w+)/;') +READLINE_DEP = $(shell dpkg-query -W -f'$${Depends}' libreadline-dev | grep -E -o 'libreadline([^ ]+)') %: dh $@ -- 2.49.0

