Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build error libplacebo:: >= 4.192.0 not found using pkg-config #2499

Open
marcusdoc opened this issue Aug 18, 2023 · 5 comments
Open

Build error libplacebo:: >= 4.192.0 not found using pkg-config #2499

marcusdoc opened this issue Aug 18, 2023 · 5 comments

Comments

@marcusdoc
Copy link

marcusdoc commented Aug 18, 2023

18:33:46 ┌ libplacebo git  ........................... [Recently updated]
18:35:27 ├ Running meson...
18:35:36 ├ Running build...
18:35:43 ├ Running install...
18:35:44 ├ Stripping...
18:35:44 └ libplacebo-git  .................................... [Updated]
18:35:58   Running git update for ffmpeg...
18:35:59 ┌ ffmpeg git  ............................... [Recently updated]
18:35:59 ├ Changing options to comply to nonfree...
FFmpeg and related apps will depend on CUDA SDK to run!
18:36:03 ├ Compiling static FFmpeg...
18:36:04 ├ Running configure...
Likely error (tail of the failed operation logfile):
CXXFLAGS: -fstack-protector-strong -mtune=generic -O2 -pipe -mthreads
LDFLAGS: -pipe -static-libgcc -fstack-protector-strong -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-libsvtvp9 --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.2/include --extra-ldflags=-LC:/PROGRA~1/NVIDIA~2/CUDA/v12.2/lib/x64 --extra-cflags=-DAL_LIBTYPE_STATIC --extra-cflags=-IE:/ffmpeg_compile/local64/include --extra-cflags=-IE:/ffmpeg_compile/local64/include/AL --extra-version=g81a48d96e2+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
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 E:/ffmpeg_compile/build/ffmpeg-git/build-static-64bit/ab-suite.configure.log
This is required for other packages, so this script will exit.
18:37:33   Creating diagnostics file...

Attach E:\ffmpeg_compile\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 ideas?
I deleted the libplacebo folder and re-ran the script and still the problem exists.
I also did what was suggested in (see #2497)

logs.zip

config.zip

@marcusdoc
Copy link
Author

marcusdoc commented Aug 18, 2023

This might still be related to 'dovi'
The meson-log.txt states the following:

Called: `pkgconf --keep-system-libs --keep-system-cflags --modversion dovi` -> 1
stderr:
Package dovi was not found in the pkg-config search path.
Perhaps you should add the directory containing `dovi.pc'
to the PKG_CONFIG_PATH environment variable
Package 'dovi', required by 'virtual:world', not found
-----------
CMake binary for 1 is cached.
Preliminary CMake check failed. Aborting.
Run-time dependency dovi found: NO (tried pkgconfig and cmake)

@marcusdoc marcusdoc closed this as not planned Won't fix, can't repro, duplicate, stale Aug 18, 2023
@marcusdoc marcusdoc reopened this Aug 22, 2023
@marcusdoc
Copy link
Author

marcusdoc commented Aug 22, 2023

Still getting the same error even with the changes noted in #2497 (thought that it fixed it).

I notice where the script defines the .git locations for packages at
media-suite_deps.sh

How can I select an older version? Unless someone else has a better solution.
https://code.videolan.org/videolan/libplacebo/-/branches

@Fishman0919
Copy link

Fishman0919 commented Sep 29, 2023

I rolled back to v5.264 but now FFmpeg fails.

I changed build\media-suite_deps.sh...

SOURCE_REPO_LIBPLACEBO=https://code.videolan.org/videolan/libplacebo.git

to

SOURCE_REPO_LIBPLACEBO=https://code.videolan.org/videolan/libplacebo.git#tag=v5.264

@hydra3333
Copy link
Contributor

hydra3333 commented Sep 30, 2023

Since there's supported unofficial clean autobuilds every night at https://github.com/BtbN/FFmpeg-Builds (without any nonfree, and not having everything) ...

I must take a look over there to see if there's stuff in there which is equivalent and if there is then what they do so make stuff build and borrow to make MABS pull requests ...

edit: also over at rdp's place per #2514 (comment)

@Fishman0919
Copy link

I started with a clean MABS and used...

SOURCE_REPO_LIBPLACEBO=https://code.videolan.org/videolan/libplacebo.git#tag=v5.264.1

... and FFmpeg build fine

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants