Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 684456 - media-video/mpv-0.29.1-r1: missing :=-dep on dev-libs/libcdio ?
Summary: media-video/mpv-0.29.1-r1: missing :=-dep on dev-libs/libcdio ?
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Mikle Kolyada (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-04-27 06:25 UTC by Michał Górny
Modified: 2019-12-28 20:29 UTC (History)
3 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 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2019-04-27 06:25:58 UTC
!!! existing preserved libs:
>>> package: dev-libs/libcdio-2.1.0-r1
 *  - /usr/lib64/libcdio.so.18
 *  - /usr/lib64/libcdio.so.18.0.0
 *      used by /usr/bin/mpv (media-video/mpv-0.29.1-r1)
 *      used by /usr/lib64/libmpv.so.1.101.0 (media-video/mpv-0.29.1-r1)


So the package should either :=-dep on libcdio, or stop linking to it.
Comment 1 Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2019-07-02 06:08:30 UTC
This is a little weird looking:

 readelf -d /usr/bin/mpv | grep -i cdio
 0x0000000000000001 (NEEDED)             Shared library: [libcdio_paranoia.so.2]
 0x0000000000000001 (NEEDED)             Shared library: [libcdio_cdda.so.2]
 0x0000000000000001 (NEEDED)             Shared library: [libcdio.so.19]

Esp as only libcdio_paranoia is stated as a dep ( and lacks subslot ops on that dep too, even though readelf suggests it necessary )

Looks like the -l flag is provided by libcdio_paranoia:


./build/config.log:Checking for cdda support (libcdio)
./build/config.log:['x86_64-pc-linux-gnu-pkg-config', 'libcdio_paranoia', '--libs', '--cflags', 'libcdio_paranoia']
./build/config.log:out: -lcdio_paranoia -lcdio_cdda -lcdio -lm


And indeed:

x86_64-pc-linux-gnu-pkg-config libcdio_paranoia --libs --cflags 'libcdio_paranoia'
-lcdio_paranoia -lcdio_cdda -lcdio -lm

CCing in sound@ as this might be a bug in libcdio_paranoia
Comment 2 Mikle Kolyada (RETIRED) archtester Gentoo Infrastructure gentoo-dev Security 2019-12-28 20:29:48 UTC
was added by poly-c btw.