Opened 7 years ago
Last modified 23 months ago
#58617 assigned defect
ffmpeg @4.1.3: opportunistic linking to /opt/local/lib/libXv.1.dylib
| Reported by: | p-bro | Owned by: | jeremyhu (Jeremy Huddleston Sequoia) |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | |
| Keywords: | Cc: | jeremyhu (Jeremy Huddleston Sequoia) | |
| Port: | ffmpeg |
Description
ffmpeg @4.1.3 +gpl2+gpl3+nonfree+x11 will opportunistically link to /opt/local/lib/libXv.1.dylib (provided by xorg-libXv), even though this package is not on the library dependencies list. A later removal of this package breaks the ffmpeg installation.
Steps to reproduce:
- Install xorg-libXv.
- Install ffmpeg +gpl2+gpl3+nonfree+x11
- Uninstall xorg-libXv. Note that there is no warning that ffmpeg requires the presence of xorg-libXv.
- port notices broken package.
Change History (4)
comment:1 Changed 7 years ago by mf2k (Frank Schima)
| Cc: | dbevans removed |
|---|---|
| Owner: | set to dbevans |
| Status: | new → assigned |
comment:2 Changed 5 years ago by mascguy (Christopher Nielsen)
| Owner: | changed from dbevans to jeremyhu |
|---|
comment:3 Changed 2 years ago by barracuda156
Replying to p-bro:
ffmpeg @4.1.3 +gpl2+gpl3+nonfree+x11 will opportunistically link to /opt/local/lib/libXv.1.dylib (provided by xorg-libXv), even though this package is not on the library dependencies list. A later removal of this package breaks the ffmpeg installation.
Steps to reproduce:
- Install xorg-libXv.
- Install ffmpeg +gpl2+gpl3+nonfree+x11
- Uninstall xorg-libXv. Note that there is no warning that ffmpeg requires the presence of xorg-libXv.
- port notices broken package.
Just +gpl2 is enough to have it linked and then broken if xorg-libXv is missing.
Issue is still unfixed after 5 years.
- S. Actually in theory it should not, since
xorg-libXvis a [missing in the portfile] dependency for X11 variant. Maybe on my system it is pulled in regardless, becauselibsdl2is built with X11. Not sure. Anyway, dependency should be declared.
comment:4 Changed 23 months ago by Sergey Fedorov <barracuda@…>
Note: See
TracTickets for help on using
tickets.

Reassign ffmpeg-related tickets to Jeremy