Hello! I've found that last user on my system for libpcre is pulseaudio, although nowhere in it's sources I can find any mention of pcre, except this commit https://github.com/pulseaudio/pulseaudio/commit/a951c779c6fe0705f75c1dfbe090deb78485b4e8. I guess, after 12 years, glibc without regex.h is rare, and for Gentoo flavors without glibc, pcre could be conditional dep (so, it could be || (sys-libs/glibc dev-libs/libpcre))
It is conditional. See https://gitweb.gentoo.org/repo/gentoo.git/tree/media-libs/libpulse/libpulse-16.1-r2.ebuild#n38: >elibc_mingw? ( dev-libs/libpcre:3 ) Until recently, it was a || ( ... ) as you describe: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c05fb18ebae2e964fb4030a3f86f1870371c0e9e. I think you may be using a bad command to find libpcre reverse dependencies. Use 'emerge -pvc libpcre'.
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=000ca35273635b00c33b5f1c9775074d0e0f1280 commit 000ca35273635b00c33b5f1c9775074d0e0f1280 Author: Sam James <sam@gentoo.org> AuthorDate: 2022-12-06 18:16:04 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-12-06 18:16:31 +0000 media-sound/pulseaudio-daemon: only depend on libpcre for elibc_mingw This syncs pulseaudio-daemon with libpcre, see c05fb18ebae2e964fb4030a3f86f1870371c0e9e. Bug: https://bugs.gentoo.org/472228 Bug: https://bugs.gentoo.org/884607 Signed-off-by: Sam James <sam@gentoo.org> ...ulseaudio-daemon-16.1.ebuild => pulseaudio-daemon-16.1-r3.ebuild} | 5 +---- ...eaudio-daemon-16.1-r2.ebuild => pulseaudio-daemon-16.1-r4.ebuild} | 5 +---- 2 files changed, 2 insertions(+), 8 deletions(-)
I've synced pulseaudio-daemon as that needed doing but neither should be pulling in libpcre on your system anyway (I suspect 'equery d' was giving you a misleading result).
Hmm, I've updated to latest libpulse/pulseaudio, and now emerge --depclean -av libpcre can be uninstalled. Thank you, and sorry for noise!