Opened 3 hours ago

#71353 new defect

ffmpeg links to X11 libraries without +x11 being enabled

Reported by: barracuda156 Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.10.4
Keywords: Cc: MarcusCalhoun-Lopez (Marcus Calhoun-Lopez), mascguy (Christopher Nielsen)
Port: ffmpeg

Description

I have confirmed identical issue on macOS Sonoma, so it has nothing to do with powerpc. Hence a dedicated issue.

svacchanda@43-38 ~ % otool -L /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_ffmpeg/ffmpeg/work/destroot/opt/local/bin/ffmpeg
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_ffmpeg/ffmpeg/work/destroot/opt/local/bin/ffmpeg:
	/opt/local/lib/libavdevice.58.dylib (compatibility version 58.0.0, current version 58.13.100)
	/opt/local/lib/libavfilter.7.dylib (compatibility version 7.0.0, current version 7.110.100)
	/opt/local/lib/libavformat.58.dylib (compatibility version 58.0.0, current version 58.76.100)
	/opt/local/lib/libavcodec.58.dylib (compatibility version 58.0.0, current version 58.134.100)
	/opt/local/lib/libavresample.4.dylib (compatibility version 4.0.0, current version 4.0.0)
	/opt/local/lib/libpostproc.55.dylib (compatibility version 55.0.0, current version 55.9.100)
	/opt/local/lib/libswresample.3.dylib (compatibility version 3.0.0, current version 3.9.100)
	/opt/local/lib/libswscale.5.dylib (compatibility version 5.0.0, current version 5.9.100)
	/opt/local/lib/libavutil.56.dylib (compatibility version 56.0.0, current version 56.70.100)
	/System/Library/Frameworks/Foundation.framework/Versions/C/Foundation (compatibility version 300.0.0, current version 2420.0.0)
	/System/Library/Frameworks/AudioToolbox.framework/Versions/A/AudioToolbox (compatibility version 1.0.0, current version 1000.0.0)
	/System/Library/Frameworks/CoreAudio.framework/Versions/A/CoreAudio (compatibility version 1.0.0, current version 1.0.0)
	/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1345.100.2)
	/System/Library/Frameworks/AVFoundation.framework/Versions/A/AVFoundation (compatibility version 1.0.0, current version 2.0.0)
	/System/Library/Frameworks/CoreVideo.framework/Versions/A/CoreVideo (compatibility version 1.2.0, current version 1.5.0)
	/System/Library/Frameworks/CoreMedia.framework/Versions/A/CoreMedia (compatibility version 1.0.0, current version 1.0.0)
	/System/Library/Frameworks/CoreGraphics.framework/Versions/A/CoreGraphics (compatibility version 64.0.0, current version 1774.4.3)
	/opt/local/lib/libSDL2-2.0.0.dylib (compatibility version 3001.0.0, current version 3001.8.0)
	/System/Library/Frameworks/OpenGL.framework/Versions/A/OpenGL (compatibility version 1.0.0, current version 1.0.0)
	/opt/local/lib/libfribidi.0.dylib (compatibility version 5.0.0, current version 5.0.0)
	/opt/local/lib/libass.9.dylib (compatibility version 13.0.0, current version 13.1.0)
	/opt/local/lib/libvidstab.1.2.dylib (compatibility version 1.2.0, current version 0.0.0)
	/opt/local/lib/libzimg.2.dylib (compatibility version 3.0.0, current version 3.0.0)
	/System/Library/Frameworks/CoreImage.framework/Versions/A/CoreImage (compatibility version 1.0.1, current version 6.0.0)
	/System/Library/Frameworks/AppKit.framework/Versions/C/AppKit (compatibility version 45.0.0, current version 2487.50.124)
	/System/Library/Frameworks/OpenCL.framework/Versions/A/OpenCL (compatibility version 1.0.0, current version 1.0.0)
	/opt/local/lib/libfontconfig.1.dylib (compatibility version 14.0.0, current version 14.1.0)
	/opt/local/lib/libfreetype.6.dylib (compatibility version 27.0.0, current version 27.2.0)
	/opt/local/lib/libbz2.1.0.dylib (compatibility version 1.0.0, current version 1.0.8)
	/opt/local/lib/libmodplug.1.dylib (compatibility version 2.0.0, current version 2.0.0)
	/opt/local/lib/libbluray.2.dylib (compatibility version 7.0.0, current version 7.3.0)
	/opt/local/lib/libz.1.dylib (compatibility version 1.0.0, current version 1.3.1)
	/opt/local/lib/libgnutls.30.dylib (compatibility version 65.0.0, current version 65.5.0)
	/opt/local/lib/libvpx.8.dylib (compatibility version 1.0.0, current version 1.0.0)
	/opt/local/lib/libwebpmux.3.dylib (compatibility version 5.0.0, current version 5.0.0)
	/opt/local/lib/libiconv.2.dylib (compatibility version 9.0.0, current version 9.1.0)
	/opt/local/lib/liblzma.5.dylib (compatibility version 12.0.0, current version 12.3.0)
	/opt/local/lib/libdav1d.7.dylib (compatibility version 7.0.0, current version 7.0.0)
	/opt/local/lib/librsvg-2.2.dylib (compatibility version 51.0.0, current version 51.0.0)
	/opt/local/lib/libgio-2.0.0.dylib (compatibility version 7801.0.0, current version 7801.4.0)
	/opt/local/lib/libgdk_pixbuf-2.0.0.dylib (compatibility version 4201.0.0, current version 4201.12.0)
	/opt/local/lib/libgobject-2.0.0.dylib (compatibility version 7801.0.0, current version 7801.4.0)
	/opt/local/lib/libglib-2.0.0.dylib (compatibility version 7801.0.0, current version 7801.4.0)
	/opt/local/lib/libintl.8.dylib (compatibility version 13.0.0, current version 13.0.0)
	/opt/local/lib/libcairo.2.dylib (compatibility version 11709.0.0, current version 11709.0.0)
	/opt/local/lib/libzvbi.0.dylib (compatibility version 14.0.0, current version 14.2.0)
	/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation (compatibility version 150.0.0, current version 2420.0.0)
	/opt/local/lib/libpng16.16.dylib (compatibility version 61.0.0, current version 61.0.0)
	/opt/local/lib/libaom.3.dylib (compatibility version 3.0.0, current version 3.9.1)
	/opt/local/lib/libmp3lame.0.dylib (compatibility version 1.0.0, current version 1.0.0)
	/opt/local/lib/libopenjp2.7.dylib (compatibility version 7.0.0, current version 2.5.2)
	/opt/local/lib/libopus.0.dylib (compatibility version 10.0.0, current version 10.0.0)
	/opt/local/lib/libspeex.1.dylib (compatibility version 7.0.0, current version 7.2.0)
	/opt/local/lib/libSvtAv1Enc.2.dylib (compatibility version 2.0.0, current version 2.3.0)
	/opt/local/lib/libtheoraenc.1.dylib (compatibility version 3.0.0, current version 3.2.0)
	/opt/local/lib/libtheoradec.1.dylib (compatibility version 3.0.0, current version 3.4.0)
	/opt/local/lib/libogg.0.dylib (compatibility version 9.0.0, current version 9.5.0)
	/opt/local/lib/libvorbis.0.dylib (compatibility version 5.0.0, current version 5.9.0)
	/opt/local/lib/libvorbisenc.2.dylib (compatibility version 3.0.0, current version 3.12.0)
	/opt/local/lib/libwebp.7.dylib (compatibility version 9.0.0, current version 9.9.0)
	/opt/local/lib/libx264.157.dylib (compatibility version 0.0.0, current version 0.0.0)
	/opt/local/lib/libx265.209.dylib (compatibility version 209.0.0, current version 209.0.0)
	/opt/local/lib/libxvidcore.4.dylib (compatibility version 4.0.0, current version 4.3.0)
	/System/Library/Frameworks/VideoToolbox.framework/Versions/A/VideoToolbox (compatibility version 1.0.0, current version 1.0.0)
	/System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices (compatibility version 1.0.0, current version 1226.0.0)
	/opt/local/lib/libsoxr.0.dylib (compatibility version 0.0.0, current version 0.1.2)
	/opt/local/lib/libXv.1.dylib (compatibility version 2.0.0, current version 2.0.0)
	/opt/local/lib/libX11.6.dylib (compatibility version 11.0.0, current version 11.0.0)
	/opt/local/lib/libXext.6.dylib (compatibility version 11.0.0, current version 11.0.0)

So apparently configure options are just ignored.

Should be easy to reproduce: just install xorg-server and then build ffmpeg from source.

  1. S. This probably affects all ffmpeg* ports but verified with ffmpeg (v. 4.x).

Change History (0)

Note: See TracTickets for help on using tickets.