A number of issues occurred with the build.
1 - missing --enable-nonfree option which is now required during builds containing libfdk
2 - missing ${ARTIFACT_DIR} before ${PREFIX} in nonfree.Dockerfile
3 - cp: target '/build/lib' is not a directory needed to create /build/lib directory
4 - rm -f /build/lib/libva-x11.so* failed because the files were not found
5 - error during configure because the command ./configure \cat ${PREFIX}/ffmpeg_configure_options` ` results in the following option
--nvccflags="-gencode arch=compute_52,code=sm_52"
being split into
--nvccflags="-gencode
arch=compute_52,code=sm_52"
This helped
readarray -t opts < <(xargs -n1 bash -c 'printf -- "%s\n" "$@"' _ < file)
./configure "${opts[@]}" \
A number of issues occurred with the build.
1 - missing
--enable-nonfreeoption which is now required during builds containing libfdk2 - missing
${ARTIFACT_DIR}before${PREFIX}in nonfree.Dockerfile3 -
cp: target '/build/lib' is not a directoryneeded to create /build/lib directory4 -
rm -f /build/lib/libva-x11.so*failed because the files were not found5 - error during
configurebecause the command./configure \cat ${PREFIX}/ffmpeg_configure_options` ` results in the following optionbeing split into
--nvccflags="-gencodearch=compute_52,code=sm_52"This helped