Created attachment 222000 [details] patch for chromium Makefile Chrome will not build without libva installed. I'm not sure whether it's required for chrome to run; it seems to run fine without it. I have attached a patch that allows it to build.
Confirmed.
It builds fine on 11.4-i386, 12.2-amd64 in poudriere without libva when I tested it last week.
I'll start a build on head-amd64 (1400000) against r563435 just to be sure.
(In reply to Rene Ladan from comment #2) By default libva gets pulled in via ffmpeg, where it's a default OPTION (VAAPI)
Hmm, does that mean this is really a bug in ffmpeg's Makefile?
(In reply to Christoph Moench-Tegeder from comment #4) I have a explicit options for multimedia/ffmpeg that don't include VAAPI but still cannot configure/build; I think the problem is that the new version of chromium has a new direct dependency on libva.
(In reply to Craig Leres from comment #6) This is also the reason why it does not build for me. I also build ffmpeg without libva, and chromium now depends on libva directly: Current dir: /wrkdirs/usr/ports/www/chromium/work/chromium-88.0.4324.96/out/Release/ Command: python /wrkdirs/usr/ports/www/chromium/work/chromium-88.0.4324.96/build/config/linux/pkg-config.py libva Returned 1. stderr: Package libva was not found in the pkg-config search path. Perhaps you should add the directory containing `libva.pc' to the PKG_CONFIG_PATH environment variable Package 'libva', required by 'virtual:world', not found Could not run pkg-config. See //build/config/linux/libva/BUILD.gn:9:1: whence it was called. pkg_config("libva") { ^-------------------- See //media/gpu/BUILD.gn:473:26: which caused the file to be included. public_configs = [ "//build/config/linux/libva" ] ^--------------------------- *** Error code 1 Stop. make: stopped in /usr/ports/www/chromium
A commit references this bug: Author: rene Date: Mon Feb 1 19:50:12 UTC 2021 New revision: 563752 URL: https://svnweb.freebsd.org/changeset/ports/563752 Log: www/chromium: fix build when the VAAPI in multimedia/ffmpeg is switched off PR: 253071 Submitted by: george@m5p.com MFH: 2021Q1 Changes: head/www/chromium/Makefile
Patch committed, thanks!
A commit references this bug: Author: rene Date: Mon Feb 1 19:50:54 UTC 2021 New revision: 563753 URL: https://svnweb.freebsd.org/changeset/ports/563753 Log: MFH: r563752 www/chromium: fix build when the VAAPI in multimedia/ffmpeg is switched off PR: 253071 Submitted by: george@m5p.com Changes: _U branches/2021Q1/ branches/2021Q1/www/chromium/Makefile