maintainer-feedback requested: [Bug 290246] multimedia/ffmpeg has incomplete arguments for XCB option.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 15 Oct 2025 01:25:54 UTC
Bugzilla Automation <bugzilla@FreeBSD.org> has asked freebsd-multimedia (Nobody) <multimedia@FreeBSD.org> for maintainer-feedback: Bug 290246: multimedia/ffmpeg has incomplete arguments for XCB option. https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=290246 --- Description --- ffmpeg port when XCB is ON has configure option: --enable-libxcb. when XCB is OFF it passes --disable-libxcb. However in both cases this configure option is incomplete. I tested completely X11 free setup and XCB option is disabled. It turns out if libX11 is installed but XCB=OFF for ffmpeg, it will silently link against libX11. Relevant part is - -L/usr/local/lib -lX11 in compiler output. Complete arguments that respect both cases ( XCB=ON or XCB=OFF ) are: -XCB_USE= XORG=xcb -XCB_CONFIGURE_ENABLE= libxcb +XCB_USE= XORG=xcb x11 xext xv +XCB_CONFIGURE_ENABLE= libxcb libxcb-shape libxcb-shm libxcb-xfixes xlib this fixes wrong behavior.