[Aptitude-devel] Bug#1070889: aptitude: bind() buggy

Wu Shunchao infoagee at qq.com
Sat May 11 09:40:11 BST 2024


Package: aptitude
Version: 0.8.13-6
Severity: important
X-Debbugs-Cc: infoagee at qq.com

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.

-- Package-specific info:
Terminal: linux
$DISPLAY not set.
which aptitude: /usr/bin/aptitude

aptitude version information:
aptitude 0.8.13
Compiler: g++ 13.2.0
Compiled against:
  apt version 6.0.0
  NCurses version 6.4
  libsigc++ version: 2.12.1
  Gtk+ support disabled.
  Qt support disabled.

Current library versions:
  NCurses version: ncurses 6.4.20240414
  cwidget version: 0.5.18
  Apt version: 6.0.0

aptitude linkage:
	linux-vdso.so.1 (0x00007ffff11f4000)
	libapt-pkg.so.6.0 => /lib/x86_64-linux-gnu/libapt-pkg.so.6.0 (0x00007f71d1800000)
	libncursesw.so.6 => /lib/x86_64-linux-gnu/libncursesw.so.6 (0x00007f71d2162000)
	libtinfo.so.6 => /lib/x86_64-linux-gnu/libtinfo.so.6 (0x00007f71d212d000)
	libsigc-2.0.so.0 => /lib/x86_64-linux-gnu/libsigc-2.0.so.0 (0x00007f71d2124000)
	libcwidget.so.4 => /lib/x86_64-linux-gnu/libcwidget.so.4 (0x00007f71d1afe000)
	libsqlite3.so.0 => /lib/x86_64-linux-gnu/libsqlite3.so.0 (0x00007f71d168a000)
	libboost_iostreams.so.1.83.0 => /lib/x86_64-linux-gnu/libboost_iostreams.so.1.83.0 (0x00007f71d2108000)
	libxapian.so.30 => /lib/x86_64-linux-gnu/libxapian.so.30 (0x00007f71d1400000)
	libstdc++.so.6 => /lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f71d1000000)
	libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f71d1321000)
	libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f71d20db000)
	libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f71d0e1c000)
	libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007f71d20ba000)
	libbz2.so.1.0 => /lib/x86_64-linux-gnu/libbz2.so.1.0 (0x00007f71d20a7000)
	liblzma.so.5 => /lib/x86_64-linux-gnu/liblzma.so.5 (0x00007f71d2077000)
	liblz4.so.1 => /lib/x86_64-linux-gnu/liblz4.so.1 (0x00007f71d2051000)
	libzstd.so.1 => /lib/x86_64-linux-gnu/libzstd.so.1 (0x00007f71d0d5b000)
	libudev.so.1 => /lib/x86_64-linux-gnu/libudev.so.1 (0x00007f71d1acb000)
	libsystemd.so.0 => /lib/x86_64-linux-gnu/libsystemd.so.0 (0x00007f71d0c79000)
	libgcrypt.so.20 => /lib/x86_64-linux-gnu/libgcrypt.so.20 (0x00007f71d0b31000)
	libxxhash.so.0 => /lib/x86_64-linux-gnu/libxxhash.so.0 (0x00007f71d1ab8000)
	/lib64/ld-linux-x86-64.so.2 (0x00007f71d21a4000)
	libuuid.so.1 => /lib/x86_64-linux-gnu/libuuid.so.1 (0x00007f71d1aae000)
	libcap.so.2 => /lib/x86_64-linux-gnu/libcap.so.2 (0x00007f71d1aa2000)
	libgpg-error.so.0 => /lib/x86_64-linux-gnu/libgpg-error.so.0 (0x00007f71d1a79000)

-- System Information:
Debian Release: trixie/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 6.7.12-amd64 (SMP w/2 CPU threads; PREEMPT)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8), LANGUAGE=en_US.utf8
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages aptitude depends on:
ii  aptitude-common           0.8.13-6
ii  libapt-pkg6.0t64          2.9.2
ii  libboost-iostreams1.83.0  1.83.0-2.1+b1
ii  libc6                     2.38-7
ii  libcwidget4               0.5.18-6+b1
ii  libgcc-s1                 14-20240330-1
ii  libncursesw6              6.4+20240414-1
ii  libsigc++-2.0-0v5         2.12.1-2
ii  libsqlite3-0              3.45.3-1
ii  libstdc++6                14-20240330-1
ii  libtinfo6                 6.4+20240414-1
ii  libxapian30               1.4.25-1

Versions of packages aptitude recommends:
ii  libdpkg-perl    1.22.6
ii  sensible-utils  0.0.22

Versions of packages aptitude suggests:
pn  apt-xapian-index                <none>
pn  aptitude-doc-en | aptitude-doc  <none>
pn  debtags                         <none>
ii  tasksel                         3.75

-- no debconf information



More information about the Aptitude-devel mailing list