Closed Sammey1995 closed 7 months ago
edit media-suite_compile.sh
, and comment out this line of statement
#do_patch "https://raw.githubusercontent.com/m-ab-s/mabs-patches/master/shaderc/0001-third_party-set-INSTALL-variables-as-cache.patch" am
Okay I lost the files that had to do with the previous error. But I did comment that out like you said now these are the errors I'm coming up with.
C:\ab_suite\build\logs.zip: logs.zip
05:12:56 Warning: We will not accept any issues lacking any form of logs or logs.zip!
05:12:56
Starting 64bit compilation of all tools
Imported options from ffmpeg_options.txt
License: nonfree
Imported options from mpv_options.txt
05:13:07
Starting 64bit compilation of global tools
05:13:07 ├ Running download_rustup...
05:13:07 ├ Running install_rust...
05:13:31 ├ Stripping...
05:13:31 └ rustinstall ....................................... [Updated]
05:13:31 ├ Running rustup_update...
05:13:32 ├ Running set_default_toolchain...
05:13:32 Running git clone for ripgrep...
05:13:36 Running git update for ripgrep...
05:13:36 ┌ ripgrep git .............................. [Recently updated]
05:13:36 ├ Running rust.update...
05:13:37 ├ Running rust.build...
05:14:02 ├ Stripping...
05:14:02 └ ripgrep-git ....................................... [Updated]
05:14:03 Running git clone for jo...
05:14:05 Running git update for jo...
05:14:06 ┌ jo git ................................... [Recently updated]
05:14:06 ├ Running meson...
05:14:09 ├ Running build...
05:14:10 ├ Running install...
05:14:10 ├ Stripping...
05:14:10 └ jo-git ............................................ [Updated]
05:14:11 Running git clone for jq...
05:14:14 Running git update for jq...
05:14:15 ┌ jq git ................................... [Recently updated]
05:14:16 ├ Installing oniguruma... done
05:14:18 ├ Running autoreconf...
05:14:41 ├ Running configure...
05:15:57 ├ Running make...
05:16:08 ├ Stripping...
05:16:08 └ jq-git ............................................ [Updated]
05:16:08 Running git clone for dssim...
05:16:11 Running git update for dssim...
05:16:11 ┌ dssim git ................................ [Recently updated]
05:16:11 ├ Running rust.update...
05:16:14 ├ Running rust.build...
05:16:41 ├ Stripping...
05:16:41 └ dssim-git ......................................... [Updated]
05:16:41 Running git clone for libxml2...
05:16:50 Running git update for libxml2...
05:16:50 ┌ libxml2 git .............................. [Recently updated]
05:16:50 ├ Running cmake...
05:16:57 ├ Running build...
05:17:06 ├ Running install...
05:17:06 ├ Stripping...
05:17:06 └ libxml2-git ....................................... [Updated]
05:17:06 Running git clone for libpng...
05:17:11 Running git update for libpng...
05:17:11 ┌ libpng git ............................... [Recently updated]
05:17:12 ├ Running autoupdate...
05:17:14 ├ Running configure...
05:17:50 ├ Running make...
05:18:01 ├ Running install...
05:18:04 ├ Stripping...
05:18:05 └ libpng-git ........................................ [Updated]
05:18:05 Running git clone for aribb24...
05:18:07 Running git update for aribb24...
05:18:08 ┌ aribb24 git .............................. [Recently updated]
05:18:09 ├ Running autoreconf...
05:18:26 ├ Running configure...
05:19:00 ├ Running make...
05:19:03 ├ Running install...
05:19:05 ├ Stripping...
05:19:05 └ aribb24-git ....................................... [Updated]
05:19:10 Running git clone for freetype...
05:19:15 Running git update for freetype...
05:19:17 ┌ freetype git ............................. [Recently updated]
05:19:17 ├ Running meson...
05:19:19 ├ Running build...
05:19:22 ├ Running install...
05:19:22 ├ Stripping...
05:19:22 └ freetype-git ...................................... [Updated]
05:19:22 Running git clone for fontconfig...
05:19:44 Running git update for fontconfig...
05:19:55 ┌ fontconfig git ........................... [Recently updated]
05:19:56 ├ Installing gperf... done
05:19:59 ├ Running meson...
05:20:04 ├ Running build...
05:20:09 ├ Running install...
05:20:12 ├ Stripping...
05:20:12 └ fontconfig-git .................................... [Updated]
05:20:12 Running git clone for harfbuzz...
05:20:21 Running git update for harfbuzz...
05:20:22 ┌ harfbuzz git ............................. [Recently updated]
05:20:23 ├ Installing ragel... done
05:20:27 ├ Installing icu... done
05:20:35 ├ Running meson...
05:20:40 ├ Running build...
05:21:43 ├ Running install...
05:21:44 ├ Stripping...
05:21:44 └ harfbuzz-git ...................................... [Updated]
05:21:44 Running git clone for fribidi...
05:21:48 Running git update for fribidi...
05:21:48 ┌ fribidi git .............................. [Recently updated]
05:21:48 ├ Running meson...
05:21:50 ├ Running build...
05:21:51 ├ Running install...
05:21:52 ├ Stripping...
05:21:52 └ fribidi-git ....................................... [Updated]
05:21:52 Running git clone for libass...
05:21:56 Running git update for libass...
05:21:56 ┌ libass git ............................... [Recently updated]
05:21:56 ├ Running autoreconf...
05:22:15 ├ Running configure...
05:22:53 ├ Running make...
05:23:01 ├ Running install...
05:23:04 ├ Stripping...
05:23:04 └ libass-git ........................................ [Updated]
05:23:04 gnutls 3.7.8 .................................. [Not installed]
05:23:06 ┌ gnutls-3.7.8 ................................... [Downloaded]
05:23:06 ├ Running extract...
05:23:10 ├ Installing nettle... done
05:23:14 ├ Running configure...
05:28:58 ├ Running make...
05:32:02 ├ Running install...
05:32:10 ├ Stripping...
05:32:10 └ gnutls-3.7.8 ...................................... [Updated]
05:32:12 ├ Installing openssl... done
05:32:15 ├ Installing libunistring... done
05:32:18 libidn2 2.3.0 ................................. [Not installed]
05:32:19 ┌ libidn2-2.3.0 .................................. [Downloaded]
05:32:19 ├ Running extract...
05:32:20 ├ Running configure...
05:34:35 ├ Running make...
05:35:01 ├ Running install...
05:35:04 ├ Stripping...
05:35:04 └ libidn2-2.3.0 ..................................... [Updated]
05:35:05 libpsl 0.21.0 ................................. [Not installed]
05:35:06 ┌ libpsl-0.21.0 .................................. [Downloaded]
05:35:06 ├ Running extract...
05:35:07 ├ Running configure...
05:35:57 ├ Running make...
05:36:07 ├ Running install...
05:36:10 ├ Stripping...
05:36:10 └ libpsl-0.21.0 ..................................... [Updated]
05:36:11 ├ Installing brotli... done
05:36:14 Running git clone for curl...
05:36:22 Running git update for curl...
05:36:23 ┌ curl git ................................. [Recently updated]
05:36:24 ├ Installing nghttp2... done
05:36:27 ├ Running autoreconf...
05:37:03 ├ Running configure...
05:40:55 ├ Running make...
05:41:54 ├ Running install...
05:42:08 ├ Running ca-bundle...
05:42:12 ├ Stripping...
05:42:12 └ curl-git .......................................... [Updated]
05:42:13 Running git clone for freeglut...
05:42:16 Running git update for freeglut...
05:42:16 ┌ freeglut git ............................. [Recently updated]
05:42:17 ├ Running cmake...
05:42:20 ├ Running build...
05:42:25 ├ Running install...
05:42:25 ├ Stripping...
05:42:25 └ freeglut-git ...................................... [Updated]
05:42:26 Running git clone for libtiff...
05:42:30 Running git update for libtiff...
05:42:31 ┌ libtiff git .............................. [Recently updated]
05:42:32 ├ Installing libjpeg-turbo... done
05:42:37 ├ Installing xz... done
05:42:40 ├ Installing zlib... done
05:42:44 ├ Installing zstd... done
05:42:48 ├ Installing libdeflate... done
05:42:52 ├ Running cmake...
05:43:00 ├ Running build...
05:43:08 ├ Running install...
05:43:08 ├ Stripping...
05:43:09 └ libtiff-git ....................................... [Updated]
05:43:09 Running git clone for libwebp...
05:43:14 Running git update for libwebp...
05:43:14 ┌ libwebp git .............................. [Recently updated]
05:43:15 ├ Installing giflib... done
05:43:19 ├ Running cmake...
05:43:26 ├ Running build...
05:43:35 ├ Running install...
05:43:35 ├ Stripping...
05:43:36 └ libwebp-git ....................................... [Updated]
05:43:36 Running git clone for gflags...
05:43:39 Running git update for gflags...
05:43:39 ┌ gflags git ............................... [Recently updated]
05:43:40 ├ Running cmake...
05:43:44 ├ Running build...
05:43:48 ├ Running install...
05:43:48 ├ Stripping...
05:43:48 └ gflags-git ........................................ [Updated]
05:43:49 Running git clone for libjxl...
05:43:53 Running git update for libjxl...
05:43:53 ┌ libjxl git ............................... [Recently updated]
05:43:55 ├ Installing lcms2... done
05:44:01 ├ Installing asciidoc... done
05:44:52 ├ Running cmake...
05:44:58 ├ Running build...
05:46:06 ├ Running install...
05:46:06 ├ Stripping...
05:46:07 └ libjxl-git ........................................ [Updated]
05:46:07 ├ FFmpeg and related apps will depend on OpenCL.dll
05:46:08 Running git clone for OpenCL-Headers...
05:46:11 Running git update for OpenCL-Headers...
05:46:12 ┌ OpenCL-Headers git ....................... [Recently updated]
05:46:12 └ OpenCL-Headers-git ................................ [Updated]
05:46:12 ├ Stripping...
05:46:12 └ opencl ............................................ [Updated]
05:46:14 Running git clone for leptonica...
05:46:21 Running git update for leptonica...
05:46:21 ┌ leptonica git ............................ [Recently updated]
05:46:21 ├ Running autogen...
05:46:34 ├ Running configure...
05:47:52 ├ Running make...
05:48:22 ├ Running install...
05:48:24 ├ Stripping...
05:48:25 └ leptonica-git ..................................... [Updated]
05:48:25 Running git clone for tesseract...
05:48:29 Running git update for tesseract...
05:48:30 ┌ tesseract git ............................ [Recently updated]
05:48:31 ├ Installing docbook-xsl... done
05:48:34 ├ Installing libarchive... done
05:48:38 ├ Installing pango... done
05:48:49 ├ Installing asciidoc... done
05:48:53 ├ Running autogen...
05:49:27 ├ Running configure...
05:50:51 ├ Running make...
Likely error (tail of the failed operation logfile):
C:/ab_suite/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/ab_suite/msys64/mingw64/lib/libtiff.a(tif_webp.o):(.text+0xd78): undefined reference to `WebPInitDecoderConfigInternal'
C:/ab_suite/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/ab_suite/msys64/mingw64/lib/libtiff.a(tif_webp.o):(.text+0xdb4): undefined reference to `WebPGetFeaturesInternal'
C:/ab_suite/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/ab_suite/msys64/mingw64/lib/libtiff.a(tif_webp.o):(.text+0xdc5): undefined reference to `WebPFreeDecBuffer'
C:/ab_suite/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/ab_suite/msys64/mingw64/lib/libtiff.a(tif_webp.o):(.text+0xf17): undefined reference to `WebPInitDecBufferInternal'
C:/ab_suite/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/ab_suite/msys64/mingw64/lib/libtiff.a(tif_webp.o):(.text+0xf79): undefined reference to `WebPINewDecoder'
C:/ab_suite/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/ab_suite/msys64/mingw64/lib/libtiff.a(tif_webp.o):(.text+0x1041): undefined reference to `WebPInitDecBufferInternal'
collect2.exe: error: ld returned 1 exit status
make[1]: *** [Makefile:4440: tesseract.exe] Error 1
make[1]: Leaving directory '/build/tesseract-git/build-64bit'
make: *** [Makefile:8147: all-recursive] Error 1
make failed. Check C:/ab_suite/build/tesseract-git/build-64bit/ab-suite.make.log
This is required for other packages, so this script will exit.
05:53:08 Creating diagnostics file...
Attach C:\ab_suite\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.
Any idea how to fix this. I've tried rerunning this several times.
I am trying to build ffmpeg to use with stash. I need to use ffmpeg and nvec x264 with Stash.
So I am trying to build ffmpeg myself for a 64bit system.
It appears to be an error when building shaderc-git, there is a patch that does not apply correctly, then more errors.
From: C:/ab_suite/build/shaderc-git/build-64bit/ab-suite.cmake.log ab-suite.cmake.log
From: C:\ab_suite\build\logs.zip logs.zip
From: C:\ab_suite\build\shaderc-git\build-64bit\CMakeCache.txt CMakeCache.txt
From: C:\ab_suite\build\diagnostics.txt diagnostics.txt
From: C:\ab_suite\build\ffmpeg_options.txt ffmpeg_options.txt
From: C:\ab_suite\build\mpv_options.txt mpv_options.txt