m-ab-s / media-autobuild_suite

This Windows Batchscript helps setup a Mingw-w64 compiler environment for building ffmpeg and other media tools under Windows.
GNU General Public License v3.0
1.51k stars 259 forks source link

gpac failed several versions #1961

Closed githubReneFischer closed 3 years ago

githubReneFischer commented 3 years ago

Dear Community, in buildind the video tools gpac failed over several versions hindering e.g. the following ffmpeg build, we dont know exactly for what gpac is necessary. we also tried to delete gpac in the build directory and rebuilt without success.

If it cannot be fixed due to external library problems we would highly appreciate to know what we can disable to run the ffmpeg build. We are running a CUDA-build with the recommended VS 2017 and never had any problems before.

Thanks a lot for this wonderful build-workflow! Cheers Rene

The following libraries and settings we use (from media-autobuild_suite.ini):

[compiler list] arch=3 license2=1 standalone=1 vpx2=1 aom=1 rav1e=1 dav1d=1 libavif=1 jpegxl=1 x2643=1 x2652=1 other265=1 svthevc=1 xvc=2 vvc=1 svtav1=2 svtvp9=2 flac=1 fdkaac=1 faac=2 exhale=1 mediainfo=1 soxB=1 ffmpegB2=1 ffmpegUpdate=1 ffmpegChoice=1 mp4box=1 rtmpdump=1 mplayer2=2 mpv=1 vlc=2 bmx=1 curl=1 ffmbc=2 cyanrip2=1 redshift=1 ripgrep=1 jq=1 jo=1 dssim=1 avs2=1 CC=2 cores=3 deleteSource=1 strip=1 pack=2 logging=1 updateSuite=1 timeStamp=2 ccache=1 noMintty=2

Here You con find the break due to gpac:

gpac git ........................................... [Recently updated] ├ Running configure... ├ Running make... Likely error (tail of the failed operation logfile): make[1]: Entering directory '/build/gpac-git/build-64bit/applications' set -e; for i in gpac mp4box ; do make -C $i all; done make[2]: Entering directory '/build/gpac-git/build-64bit/applications/gpac' E:/APPS/MAS/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/10.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: E:/APPS/MAS/local64/lib\libfreetype.a(sfnt.o):sfnt.c:(.text+0xa523): undefined reference to `BrotliDecoderDecompress' collect2.exe: error: ld returned 1 exit status make[2]: [Makefile:56: gpac.exe] Error 1 make[2]: Leaving directory '/build/gpac-git/build-64bit/applications/gpac' make[1]: [Makefile:41: apps] Error 2 make[1]: Leaving directory '/build/gpac-git/build-64bit/applications' make: *** [Makefile:14: all] Error 2 make failed. Check E:/APPS/MAS/build/gpac-git/build-64bit/ab-suite.make.log This is required for other packages, so this script will exit. Creating diagnostics file...

All relevant logs have been anonymously uploaded to https://0x0.st/-T5S.zip Copy and paste logs.zip in the GitHub issue.

githubReneFischer commented 3 years ago

closed duplicate to #1931