#1070889 aptitude: bind() buggy

Package:
aptitude
Source:
aptitude
Description:
terminal-based package manager
Submitter:
Wu Shunchao
Date:
2024-05-11 08:45:04 UTC
Severity:
normal
#1070889#5
Date:
2024-05-11 08:40:11 UTC
From:
To:
search pattern
  " ^libc6$ ?for x: ?depends( ?for y: ?depends( ?=x ) ) "
will match libc6,

but after bind() added, the pattern
  " ^libc6$ ?for x: ?depends( ?for y: ?y:depends( ?=x ) ) "
returns nothing.

And Example 2.3 & 2.5 on page "Search term reference" behave the same.
https://www.debian.org/doc/manuals/aptitude/ch02s04s05.en.html

I think there's a bug somewhere.