Opened 5 years ago

Last modified 5 weeks 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 5 years ago by mf2k (Frank Schima)

Cc: dbevans removed
Owner: set to dbevans
Status: newassigned

comment:2 Changed 3 years ago by mascguy (Christopher Nielsen)

Owner: changed from dbevans to jeremyhu

Reassign ffmpeg-related tickets to Jeremy

comment:3 in reply to:  description Changed 3 months 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.

  1. S. Actually in theory it should not, since xorg-libXv is a [missing in the portfile] dependency for X11 variant. Maybe on my system it is pulled in regardless, because libsdl2 is built with X11. Not sure. Anyway, dependency should be declared.
Last edited 3 months ago by barracuda156 (previous) (diff)

comment:4 Changed 5 weeks ago by Sergey Fedorov <barracuda@…>

In 904d636a523cef155716548a211121889ac03ca1/macports-ports (master):

ffmpeg: fix x11 variant

See: #58617

Note: See TracTickets for help on using tickets.