libfdk_aac is incompatible with the gpl and --enable-nonfree is not specified
Hello.
This is probably supposed to happen but I'm not sure.
With ffmpegchoice and ffmpeglicense I selected these:
```
2 = No (Light build)
5 = LGPLv2.1 [same disables as LGPLv3 + GPLv2.1]
```
Unexpectedly (to me), it built fdk-aac (the re-run is below)
```
Running git update for fdk-aac ...
fdk-aac git ................................................ [Up-to-date]
```
However when ffmpeg `configure` runs we see this error.
```
libfdk_aac is incompatible with the gpl and --enable-nonfree is not specified.
```
Perhaps that is normal I'm not sure.
I was hoping for a light build with minimal licensed stuff.
Advice welcomed.
Log:
```
Warning: We will not accept any issues lacking any form of logs or logs.zip!
Starting 64bit compilation of all tools
Imported default FFmpeg options from .bat
License: lgpl
Imported default mpv options from .bat
Starting 64bit compilation of global tools
Starting 64bit compilation of audio tools
Running git update for ogg ...
ogg git .................................................... [Up-to-date]
Running git update for vorbis ...
vorbis git ................................................. [Up-to-date]
Running git update for fdk-aac ...
fdk-aac git ................................................ [Up-to-date]
Running git update for opus ...
opus git ................................................... [Up-to-date]
Starting 64bit compilation of video tools
Running git update for vpx ...
vpx git .................................................... [Up-to-date]
Running git update for aom ...
aom git .................................................... [Up-to-date]
Running git clone for dav1d ...
Running git update for dav1d ...
┌ dav1d git .......................................... [Recently updated]
├ Running meson...
├ Running build...
├ Running install...
├ Stripping...
└ dav1d-git ................................................... [Updated]
Running git clone for SDL ...
Running git update for SDL ...
┌ SDL git ............................................ [Recently updated]
├ Running autogen...
├ Running configure...
├ Running make...
├ Running install...
├ Stripping...
└ SDL-git ..................................................... [Updated]
Running git clone for AMF ...
Running git update for AMF ...
┌ AMF git ............................................ [Recently updated]
└ AMF-git ..................................................... [Updated]
Running git clone for x264 ...
Running git update for x264 ...
┌ x264 git ........................................... [Recently updated]
├ Running configure...
├ Running make...
├ Running install...
├ Stripping...
└ x264-git .................................................... [Updated]
Running git clone for ffnvcodec ...
Running git update for ffnvcodec ...
┌ ffnvcodec git ...................................... [Recently updated]
├ Running install...
└ ffnvcodec-git ............................................... [Updated]
Running git clone for ffmpeg ...
Running git update for ffmpeg ...
┌ ffmpeg git ......................................... [Recently updated]
├ Changing options to comply to lgpl...
├ Installing clang... done
├ Compiling static FFmpeg...
├ Running configure...
Likely error (tail of the failed operation logfile):
CXXFLAGS: -D_FORTIFY_SOURCE=2 -fstack-protector-strong -mtune=generic -O2 -pipe -D__USE_MINGW_ANSI_STDIO=1
LDFLAGS: -D_FORTIFY_SOURCE=2 -fstack-protector-strong -mtune=generic -O2 -pipe -D__USE_MINGW_ANSI_STDIO=1 -static-libgcc -static-libstdc++ -L/local64/lib -L/ucrt64/lib
../configure --prefix=/local64 --bindir=/local64/bin-video --pkg-config=pkgconf --pkg-config-flags=--keep-system-libs --keep-system-cflags --static --cc=ccache gcc --cxx=ccache g++ --ld=ccache g++ --extra-cxxflags=-fpermissive --extra-cflags=-Wno-int-conversion --disable-autodetect --enable-amf --enable-bzlib --enable-cuda --enable-cuvid --enable-d3d12va --enable-d3d11va --enable-dxva2 --enable-iconv --enable-lzma --enable-nvenc --enable-zlib --enable-sdl2 --enable-ffnvcodec --enable-nvdec --enable-cuda-llvm --enable-gpl --enable-libmp3lame --enable-libopus --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libdav1d --enable-libaom --disable-debug --enable-libfdk-aac --enable-schannel --extra-libs=-liconv
libfdk_aac is incompatible with the gpl and --enable-nonfree is not specified.
If you think configure made a mistake, make sure you are using the latest
version from Git. If the latest version fails, report the problem to the
ffmpeg-user@ffmpeg.org mailing list or IRC #ffmpeg on irc.libera.chat.
Include the log file "ffbuild/config.log" produced by configure as this will help
solve the problem.
configure failed. Check C:/MABS/build/ffmpeg-git/build-static-64bit/ab-suite.configure.log
This is required for other packages, so this script will exit.
Creating diagnostics file...
Attach C:\MABS\build\logs.zip to the GitHub issue.
Make sure the suite is up-to-date before reporting an issue. It might've been fixed already.
Try running the build again at a later time.
```
0 条评论