FFmpeg-Builds icon indicating copy to clipboard operation
FFmpeg-Builds copied to clipboard

docker image failures due to freetype dependency.

Open harishreddy50552 opened this issue 8 months ago • 1 comments

I'm building the docker image on multiple platforms and i see freetype not being installed resulting in multiple libraries failing. libbluray, libass to name a few. are people running into this issue or am i missing anything?

[layer-50-libass 1/1] RUN --mount=src=scripts.d/50-libass.sh,dst=/stage.sh --mount=src=.cache/downloads/50-libass_de3e0ce998cf871ad0ae5e17704e227a3fe83debeddba40cc8716f56c543ca23.tar.xz,dst=/cache.tar.xz run_stage /stage.sh: 20.12 configure: error: Package requirements (freetype2 >= 9.17.3) were not met: 20.12 20.12 Package 'freetype2', required by 'virtual:world', not found 20.12 20.12 Consider adjusting the PKG_CONFIG_PATH environment variable if you 20.12 installed software in a non-standard prefix. 20.12 20.12 Alternatively, you may set the environment variables FREETYPE_CFLAGS 20.12 and FREETYPE_LIBS to avoid the need to call pkg-config.

harishreddy50552 avatar May 15 '25 06:05 harishreddy50552

libass builds fine on CI here, and locally for me. Make sure you don't have any stale build cache on docker or in .cache, since freetype was revamped quite significantly recently.

BtbN avatar May 15 '25 13:05 BtbN