Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 884607 - media-sound/pulseaudio-daemon and media-libs/libpulse don't need libpcre dep
Summary: media-sound/pulseaudio-daemon and media-libs/libpulse don't need libpcre dep
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Igor V. Kovalenko
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-12-06 18:09 UTC by Yaroslav Isakov
Modified: 2022-12-06 18:30 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Yaroslav Isakov 2022-12-06 18:09:43 UTC
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))
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-12-06 18:11:39 UTC
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'.
Comment 2 Larry the Git Cow gentoo-dev 2022-12-06 18:16:43 UTC
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(-)
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-12-06 18:17:15 UTC
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).
Comment 4 Yaroslav Isakov 2022-12-06 18:30:56 UTC
Hmm, I've updated to latest libpulse/pulseaudio, and now emerge --depclean -av libpcre can be uninstalled. Thank you, and sorry for noise!