media-autobuild_suite icon indicating copy to clipboard operation
media-autobuild_suite copied to clipboard

[highway git] likely error

Open ENunn opened this issue 1 year ago • 6 comments

having another issue building. using the default settings.

Likely error (tail of the failed operation logfile):
C:\mabs\msys64\mingw64\bin\ccache.exe  g++ -DHWY_STATIC_DEFINE -IC:/mabs/build/highway-git -mthreads -mtune=generic -O2 -pipe -DHWY_COMPILE_ALL_ATTAINABLE -O3 -DNDEBUG -fvisibility=hidden -fno-keep-inline-dllexport -Wno-builtin-macro-redefined -D__DATE__=\"redacted\" -D__TIMESTAMP__=\"redacted\" -D__TIME__=\"redacted\" -fmerge-all-constants -Wall -Wextra -Wconversion -Wsign-conversion -Wvla -Wnon-virtual-dtor -Wno-cast-align -Wno-double-promotion -Wno-float-equal -Wno-format-nonliteral -Wno-shadow -Wno-sign-conversion -DTOOLCHAIN_MISS_ASM_HWCAP_H TOOLCHAIN_MISS_SYS_AUXV_H -MD -MT CMakeFiles/hwy_contrib.dir/hwy/contrib/sort/vqsort_128a.cc.o -MF CMakeFiles\hwy_contrib.dir\hwy\contrib\sort\vqsort_128a.cc.o.d -o CMakeFiles/hwy_contrib.dir/hwy/contrib/sort/vqsort_128a.cc.o -c C:/mabs/build/highway-git/hwy/contrib/sort/vqsort_128a.cc
g++.exe: warning: TOOLCHAIN_MISS_SYS_AUXV_H: linker input file unused because linking not done
g++.exe: error: TOOLCHAIN_MISS_SYS_AUXV_H: linker input file not found: No such file or directory
ninja: build stopped: subcommand failed.
[1/114] Building CXX object CMakeFiles/hwy.dir/hwy/aligned_allocator.cc.o
FAILED: CMakeFiles/hwy.dir/hwy/aligned_allocator.cc.o
C:\mabs\msys64\mingw64\bin\ccache.exe  g++ -DHWY_STATIC_DEFINE -IC:/mabs/build/highway-git -mthreads -mtune=generic -O2 -pipe -DHWY_COMPILE_ALL_ATTAINABLE -O3 -DNDEBUG -fvisibility=hidden -fno-keep-inline-dllexport TOOLCHAIN_MISS_SYS_AUXV_H -Wno-builtin-macro-redefined -D__DATE__=\"redacted\" -D__TIMESTAMP__=\"redacted\" -D__TIME__=\"redacted\" -fmerge-all-constants -Wall -Wextra -Wconversion -Wsign-conversion -Wvla -Wnon-virtual-dtor -Wno-cast-align -Wno-double-promotion -Wno-float-equal -Wno-format-nonliteral -Wno-shadow -Wno-sign-conversion -DTOOLCHAIN_MISS_ASM_HWCAP_H -MD -MT CMakeFiles/hwy.dir/hwy/aligned_allocator.cc.o -MF CMakeFiles\hwy.dir\hwy\aligned_allocator.cc.o.d -o CMakeFiles/hwy.dir/hwy/aligned_allocator.cc.o -c C:/mabs/build/highway-git/hwy/aligned_allocator.cc
g++.exe: warning: TOOLCHAIN_MISS_SYS_AUXV_H: linker input file unused because linking not done
g++.exe: error: TOOLCHAIN_MISS_SYS_AUXV_H: linker input file not found: No such file or directory
ninja: build stopped: subcommand failed.
build failed. Check C:/mabs/build/highway-git/build-64bit/ab-suite.build.log
This is required for other packages, so this script will exit.
08:40:52   Creating diagnostics file...

logs.zip

ENunn avatar Mar 09 '23 14:03 ENunn

This upstream pull request will fix the issue https://github.com/google/highway/pull/1208. Please wait for it to be merged. Or you can apply the patch manually.

Biswa96 avatar Mar 09 '23 15:03 Biswa96

This issue seems to be fixed in upstream. Would you like to compile the project after pulling new commits?

Biswa96 avatar Mar 12 '23 17:03 Biswa96

Like run mabs again? I'm not sure how to compile and commits and such.

ENunn avatar Mar 12 '23 18:03 ENunn

Just a guess. cd into the C:/mabs/build/highway-git directory and do git pull

Biswa96 avatar Mar 12 '23 19:03 Biswa96

Looks like that might've fixed it. But now I'm getting another error with ffmpeg-git.

13:32:16 ┌ ffmpeg git  .................................. [Updates found]
13:32:16 ├ Changing options to comply to nonfree...
FFmpeg and related apps will depend on CUDA SDK to run!
master-0001-Add-ability-for-ffmpeg-to-run-svt-vp9.patch
        Patch could not be applied with `git am`. Continuing without patching.
13:32:30 ├ Compiling static FFmpeg...
13:32:31 ├ Running configure...
Likely error (tail of the failed operation logfile):
CXXFLAGS: -mthreads -mtune=generic -O2 -pipe
LDFLAGS: -pipe -static-libgcc -static-libstdc++ -L/local64/lib -L/mingw64/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-d3d11va --enable-dxva2 --enable-iconv --enable-lzma --enable-nvenc --enable-zlib --enable-sdl2 --enable-ffnvcodec --enable-nvdec --enable-cuda-llvm --enable-libmp3lame --enable-libopus --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265 --enable-libdav1d --enable-libaom --disable-debug --enable-libfdk-aac --enable-fontconfig --enable-libass --enable-libbluray --enable-libfreetype --enable-libmfx --enable-libmysofa --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-amrwbenc --enable-libwebp --enable-libxml2 --enable-libzimg --enable-libshine --enable-gpl --enable-avisynth --enable-libxvid --enable-libopenmpt --enable-version3 --enable-librav1e --enable-libsrt --enable-libgsm --enable-libvmaf --enable-libsvtav1 --enable-chromaprint --enable-decklink --enable-frei0r --enable-libaribb24 --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libflite --enable-libfribidi --enable-libgme --enable-libilbc --enable-libsvthevc --enable-libkvazaar --enable-libmodplug --enable-librist --enable-librtmp --enable-librubberband --enable-libtesseract --enable-libxavs --enable-libzmq --enable-libzvbi --enable-openal --enable-libcodec2 --enable-ladspa --enable-libglslang --enable-vulkan --enable-libdavs2 --enable-libxavs2 --enable-libuavs3d --enable-libplacebo --enable-libjxl --enable-opencl --enable-opengl --enable-libnpp --enable-libopenh264 --enable-openssl --extra-cflags=-DLIBTWOLAME_STATIC --extra-libs=-lstdc++ --extra-cflags=-DCACA_STATIC --extra-cflags=-DMODPLUG_STATIC --extra-cflags=-DCHROMAPRINT_NODLL --extra-libs=-lstdc++ --extra-cflags=-DZMQ_STATIC --extra-libs=-lpsapi --extra-cflags=-DLIBXML_STATIC --extra-libs=-liconv --disable-w32threads --extra-cflags=-DKVZ_STATIC_LIB --enable-nonfree --extra-cflags=-IC:/PROGRA~1/NVIDIA~2/CUDA/v12.1/include --extra-ldflags=-LC:/PROGRA~1/NVIDIA~2/CUDA/v12.1/lib/x64 --extra-cflags=-DAL_LIBTYPE_STATIC --extra-cflags=-IC:/mabs/local64/include --extra-cflags=-IC:/mabs/local64/include/AL --extra-version=g1231003c3c+3
ERROR: libplacebo >= 4.192.0 not found using pkg-config

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
[email protected] 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.
13:36:09   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.

logs.zip

ENunn avatar Mar 13 '23 19:03 ENunn

ERROR: libplacebo >= 4.192.0 not found using pkg-config

There is a new issue to track that. This one may be closed if highway is fixed.

Biswa96 avatar Mar 13 '23 20:03 Biswa96