Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 931970 - dev-qt/qtwebengine 5.15.13_p20240510 bs4.FeatureNotFound: Couldn't find a tree builder with the features you requested: html5lib
Summary: dev-qt/qtwebengine 5.15.13_p20240510 bs4.FeatureNotFound: Couldn't find a tre...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal with 2 votes (vote)
Assignee: Qt Bug Alias
URL:
Whiteboard:
Keywords:
: 931978 931993 (view as bug list)
Depends on:
Blocks: 931961
  Show dependency tree
 
Reported: 2024-05-15 21:00 UTC by pord
Modified: 2024-05-31 06:12 UTC (History)
11 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Build Log (build.log.bz2,803.85 KB, application/x-bzip2)
2024-05-15 21:16 UTC, pord
Details

Note You need to log in before you can comment on or make changes to this bug.
Description pord 2024-05-15 21:00:35 UTC
mesa_headers -I../../../../qtwebengine-5.15.13_p20240510/src/3rdparty/chromium/third_party/libwebm/source -I../../../../qtwebengine-5.15.13_p20240510/src/3rdparty/chromium/third_party/leveldatabase -I../../../../qtwebengine-5.15.13_p20240510/src/3rdparty/chromium/third_party/leveldatabase/src -I../../../../qtwebengine-5.15.13_p20240510/src/3rdparty/chromium/third_party/leveldatabase/src/include -I../../../../qtwebengine-5.15.13_p20240510/src/3rdparty/chromium/third_party/iccjpeg -I../../../../qtwebengine-5.15.13_p20240510/src/3rdparty/chromium/third_party/ots/include -I../../../../qtwebengine-5.15.13_p20240510/src/3rdparty/chromium/v8/include -Igen/v8/include -fno-strict-aliasing --param=ssp-buffer-size=4 -fstack-protector -fno-unwind-tables -fno-asynchronous-unwind-tables -fPIC -pipe -pthread -m64 -Wall -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -Wno-unused-local-typedefs -Wno-maybe-uninitialized -Wno-deprecated-declarations -fno-delete-null-pointer-checks -Wno-comments -Wno-packed-not-aligned -Wno-dangling-else -Wno-missing-field-initializers -Wno-unused-parameter -fno-omit-frame-pointer -fvisibility=hidden -O2 -fno-ident -fdata-sections -ffunction-sections -g0 -Wno-unused-variable -I/usr/include/nss -I/usr/include/nspr -I/usr/include/libpng16 -I/usr/include/webp -I/usr/include/libxml2 -I/usr/include/libxml2 -std=gnu++14 -Wno-narrowing -Wno-class-memaccess -Wno-attributes -Wno-class-memaccess -Wno-subobject-linkage -Wno-invalid-offsetof -Wno-return-type -Wno-deprecated-copy -fno-exceptions -fno-rtti -fvisibility-inlines-hidden -Wno-deprecated-declarations -c ../../../../qtwebengine-5.15.13_p20240510/src/3rdparty/chromium/third_party/blink/renderer/core/core_initializer.cc -o obj/third_party/blink/renderer/core/core/core_initializer.o
ninja: build stopped: subcommand failed.
make[3]: *** [Makefile.gn_run:729: run_ninja] Error 1
make[3]: Leaving directory '/var/tmp/portage/dev-qt/qtwebengine-5.15.13_p20240510/work/qtwebengine-5.15.13_p20240510_build/src/core'
make[2]: *** [Makefile:82: sub-gn_run-pro-make_first] Error 2
make[2]: Leaving directory '/var/tmp/portage/dev-qt/qtwebengine-5.15.13_p20240510/work/qtwebengine-5.15.13_p20240510_build/src/core'
make[1]: *** [Makefile:78: sub-core-make_first] Error 2
make[1]: Leaving directory '/var/tmp/portage/dev-qt/qtwebengine-5.15.13_p20240510/work/qtwebengine-5.15.13_p20240510_build/src'
make: *** [Makefile:49: sub-src-make_first] Error 2
 [31;01m*[0m ERROR: dev-qt/qtwebengine-5.15.13_p20240510::gentoo failed (compile phase):
 [31;01m*[0m   emake failed
 [31;01m*[0m 
 [31;01m*[0m If you need support, post the output of `emerge --info '=dev-qt/qtwebengine-5.15.13_p20240510::gentoo'`,
 [31;01m*[0m the complete build log and the output of `emerge -pqv '=dev-qt/qtwebengine-5.15.13_p20240510::gentoo'`.
 [31;01m*[0m The complete build log is located at '/var/tmp/portage/dev-qt/qtwebengine-5.15.13_p20240510/temp/build.log'.
 [31;01m*[0m The ebuild environment file is located at '/var/tmp/portage/dev-qt/qtwebengine-5.15.13_p20240510/temp/environment'.
 [31;01m*[0m Working directory: '/var/tmp/portage/dev-qt/qtwebengine-5.15.13_p20240510/work/qtwebengine-5.15.13_p20240510_build'
Comment 1 pord 2024-05-15 21:03:45 UTC
emerge --info '=dev-qt/qtwebengine-5.15.13_p20240510::gentoo'
Portage 3.0.64 (python 3.11.9-final-0, default/linux/amd64/23.0/desktop/plasma/systemd, gcc-13, glibc-2.39-r6, 6.8.9-gentoo-dist x86_64)
=================================================================
System Settings
=================================================================
System uname: Linux-6.8.9-gentoo-dist-x86_64-Intel-R-_Core-TM-_i7-6700K_CPU_@_4.00GHz-with-glibc2.39
KiB Mem:    41019480 total,  19428180 free
KiB Swap:   19598656 total,  19598656 free
Timestamp of repository gentoo: Wed, 15 May 2024 18:19:03 +0000
Head commit of repository gentoo: b54a2d3cfba4d8ebb697931a01490230642e8ede

Timestamp of repository ROKO__: Wed, 15 May 2024 18:18:46 +0000
Head commit of repository ROKO__: be451e3518dfbd8b8d60c32d75be4e8a49173dc1

Timestamp of repository farmboy0: Mon, 13 May 2024 17:48:40 +0000
Head commit of repository farmboy0: 4739927b9890f398f4f7af8af0d347e15ddebdb8

Timestamp of repository steam-overlay: Wed, 15 May 2024 18:18:46 +0000
Head commit of repository steam-overlay: 9d24daedbea157a711f6a4460144c265737deae8

sh bash 5.2_p26-r3
ld GNU ld (Gentoo 2.42 p3) 2.42.0
app-misc/pax-utils:        1.3.7::gentoo
app-shells/bash:           5.2_p26-r3::gentoo
dev-build/autoconf:        2.72-r1::gentoo
dev-build/automake:        1.16.5-r2::gentoo
dev-build/cmake:           3.29.3::gentoo
dev-build/libtool:         2.4.7-r4::gentoo
dev-build/make:            4.4.1-r1::gentoo
dev-build/meson:           1.4.0-r1::gentoo
dev-lang/perl:             5.38.2-r5::gentoo
dev-lang/python:           3.11.8_p1::gentoo, 3.11.9::gentoo, 3.12.3::gentoo, 3.13.0_beta1_p1::gentoo
dev-lang/rust-bin:         1.77.1::gentoo
sys-apps/baselayout:       2.15::gentoo
sys-apps/sandbox:          2.38::gentoo
sys-apps/systemd:          255.6::gentoo
sys-devel/binutils:        2.42-r1::gentoo
sys-devel/binutils-config: 5.5::gentoo
sys-devel/gcc:             13.2.1_p20240503::gentoo
sys-devel/gcc-config:      2.11::gentoo
sys-devel/llvm:            17.0.6::gentoo, 18.1.5::gentoo
sys-kernel/linux-headers:  6.9::gentoo (virtual/os-headers)
sys-libs/glibc:            2.39-r6::gentoo
Repositories:

gentoo
location: /var/db/repos/gentoo
sync-type: git
sync-uri: https://github.com/gentoo-mirror/gentoo.git
priority: -1000
volatile: False

ROKO__
location: /var/db/repos/ROKO__
sync-type: git
sync-uri: https://github.com/gentoo-mirror/ROKO__.git
masters: gentoo
volatile: False

farmboy0
location: /var/db/repos/farmboy0
sync-type: git
sync-uri: https://github.com/gentoo-mirror/farmboy0.git
masters: gentoo
volatile: False

steam-overlay
location: /var/db/repos/steam-overlay
sync-type: git
sync-uri: https://github.com/gentoo-mirror/steam-overlay.git
masters: gentoo
volatile: False

Binary Repositories:

gentoobinhost
priority: 1
sync-uri: https://mirror.bytemark.co.uk/gentoo/releases/amd64/binpackages/23.0/x86-64-v3

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/var/cache/distfiles"
EMERGE_DEFAULT_OPTS="--jobs=8 --load-average=8 --with-bdeps=y"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GDK_PIXBUF_MODULE_FILE GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR XDG_STATE_HOME"
FCFLAGS="-march=native -O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance binpkg-request-signature buildpkg-live config-protect-if-modified distlocks ebuild-locks fixlafiles getbinpkg ipc-sandbox merge-sync merge-wait multilib-strict network-sandbox news parallel-fetch parallel-installpid-sandbox pkgdir-index-trusted preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-march=native -O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_GB.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs"
LEX="flex"
LINGUAS="en_GB en_US"
MAKEOPTS="-j8 -l8"
PKGDIR="/var/cache/binpkgs"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
RUSTFLAGS="-C target-cpu=native"
SHELL="/bin/bash"
USE="X a52 aac acl acpi activities alsa amd64 bluetooth branding bzip2 cairo cdda cdr cet colord contrib crypt cups dbus declarative dri dts dvd dvdr encode exif extra ffmpeg flac gdbm gif git gles2 gpm gtk gui iconv icu ipv6 jpeg kde kwallet lcms libnotify libtirpc mad mesa minizip mng mp3 mp4 mpeg multilib ncurses networkmanager nls ogg opengl openmp pam pango pcre pdf pipewire plasma png policykit ppds pulseaudio qml qt5 qt6 readline samba screencast sdl seccomp semantic-desktop sound spell ssl startup-notification svg systemd test-rust tiff truetype udev udisks unicode upower usb vorbis vulkan wayland widgets wxwidgets x264 xattr xcb xft xml xv xvid zlib zstd" ABI_X86="64" ADA_TARGET="gcc_12" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_anon authn_dbm authn_file authz_dbm authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir env expires ext_filter file_cache filter headers include info log_config logio mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2 aes avx avx2 f16c fma3 pclmul popcnt rdrand sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 ntrip navcom oceanserver oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 tsip tripmate tnt ublox" INPUT_DEVICES="libinput" KERNEL="linux" L10N="en-GB" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-1" POSTGRES_TARGETS="postgres15" PYTHON_SINGLE_TARGET="python3_11" PYTHON_TARGETS="python3_11" RUBY_TARGETS="ruby31" SANE_BACKENDS="hp net" VIDEO_CARDS="amdgpu radeonsi" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipp2p iface geoip fuzzy condition tarpit sysrq proto logmark ipmark dhcpmac delude chaos account"
Unset:  ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LFLAGS, LIBTOOL, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PYTHONPATH, RANLIB, READELF, SIZE, STRINGS, STRIP, YACC, YFLAGS
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-05-15 21:08:45 UTC
Please always include the full build.log, compressed if necessary.
Comment 3 pord 2024-05-15 21:16:01 UTC
Created attachment 893035 [details]
Build Log

build log attached
Comment 4 pord 2024-05-15 21:16:18 UTC
(In reply to pord from comment #3)
> Created attachment 893035 [details]
> Build Log
> 
> build log attached

done... I hope. Had to compress it
Comment 5 Chris Smith 2024-05-15 21:20:06 UTC
Same issue here.

deprecated-declarations -c ../../../../qtwebengine-5.15.13_p20240510/src/3rdparty/chromium/third_party/blink/renderer/core/core_initializer.cc -o obj/third_party/blink/renderer/core/core/core_initializer.o
ninja: build stopped: subcommand failed.
make[3]: *** [Makefile.gn_run:563: run_ninja] Error 1
make[3]: Leaving directory '/var/tmp/portage/dev-qt/qtwebengine-5.15.13_p20240510/work/qtwebengine-5.15.13_p20240510_build/src/core'
make[2]: *** [Makefile:82: sub-gn_run-pro-make_first] Error 2
make[2]: Leaving directory '/var/tmp/portage/dev-qt/qtwebengine-5.15.13_p20240510/work/qtwebengine-5.15.13_p20240510_build/src/core'
make[1]: *** [Makefile:78: sub-core-make_first] Error 2
make[1]: Leaving directory '/var/tmp/portage/dev-qt/qtwebengine-5.15.13_p20240510/work/qtwebengine-5.15.13_p20240510_build/src'
make: *** [Makefile:49: sub-src-make_first] Error 2
 * ERROR: dev-qt/qtwebengine-5.15.13_p20240510::gentoo failed (compile phase):
 *   emake failed
Comment 6 Ionen Wolkens gentoo-dev 2024-05-16 01:05:43 UTC
Odd, was under the impression qtwebengine:5 either used a bundled html5lib or didn't trigger its usage (unlike qtwebengine:6 which been depending on system's), has it been working by accident all this time? Or, more likely, maybe something in this snapshot cause it to regenerate something (not that I keep up with what's happening with Qt5).

Out of curiosity, is dev-python/html5lib installed?

Depending on system's would be kind of troublesome with slot 5 though given 3_12 is broken with it. Not that we couldn't take out zombie-imp to give it 3.12 compat without much patching if really had to.
Comment 7 Chris Smith 2024-05-16 01:27:20 UTC
(In reply to Ionen Wolkens from comment #6)
> 
> Out of curiosity, is dev-python/html5lib installed?

Not on my system.
Comment 8 Ionen Wolkens gentoo-dev 2024-05-16 01:31:01 UTC
From a quick diff, my guess would be that it's due to the addition of src/3rdparty/chromium/content/browser/tracing/BUILD.gn and its:

+action("generate_tracing_grd") {
+  visibility = [ ":*" ]  # Depend on ":resources" to get this.
+  script = "generate_trace_viewer_grd.py"
+
+  input_pages = [
+    "$tracing_gen_dir/about_tracing.html",
+    "$tracing_gen_dir/about_tracing.js",
+  ]
Comment 9 Chris Smith 2024-05-16 01:32:25 UTC
There was another "ninja" build issue with a previous qtwebengine version quite recently:
https://bugs.gentoo.org/show_bug.cgi?id=930107
Comment 10 Ionen Wolkens gentoo-dev 2024-05-16 04:07:06 UTC
Ahh, was kind of confused why BUILD.gn appeared new, it's because the patches were removing it.

So, this is because the catapult patch is no longer used:

+	rm "${WORKDIR}/${PATCHSET}"/010-build-without-python-2.patch \
+		"${WORKDIR}/${PATCHSET}"/011-chromium-drop-catapult.patch || die

CC asturm, should know better what's up with that
Comment 11 Ionen Wolkens gentoo-dev 2024-05-16 04:09:39 UTC
(for anyone affected, can work around by doing `emerge -1 dev-python/html5lib` before building for now anyhow, if switched to python:3.12 will also need to be emerged with python_targets_python3_11 support)
Comment 12 Ionen Wolkens gentoo-dev 2024-05-16 06:11:41 UTC
Gave it a test build without deleting the chromium-drop-catapult patch (it still applies unlike the other one), and it built fine without html5lib then

Still don't know why it was removed (I don't keep up with the patches upstream, and I see nothing about it ::gentoo or ::qt's commit history), so not sure if restoring it as-is is the right thing to do.
Comment 13 Mike Gilbert gentoo-dev 2024-05-16 18:07:30 UTC
*** Bug 931978 has been marked as a duplicate of this bug. ***
Comment 14 Mike Gilbert gentoo-dev 2024-05-16 18:07:57 UTC
*** Bug 931993 has been marked as a duplicate of this bug. ***
Comment 15 Larry the Git Cow gentoo-dev 2024-05-21 06:53:39 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e66c77828f3a44486b6e6ba1fdff4b46bbe0ac52

commit e66c77828f3a44486b6e6ba1fdff4b46bbe0ac52
Author:     Ionen Wolkens <ionen@gentoo.org>
AuthorDate: 2024-05-21 06:50:19 +0000
Commit:     Ionen Wolkens <ionen@gentoo.org>
CommitDate: 2024-05-21 06:53:02 +0000

    dev-qt/qtwebengine: restore chromium-drop-catapult patch (qt5)
    
    Hardly tested (I don't use qt5) but it should be better than
    leaving as-is.
    
    Closes: https://bugs.gentoo.org/931970
    Signed-off-by: Ionen Wolkens <ionen@gentoo.org>

 dev-qt/qtwebengine/qtwebengine-5.15.13_p20240510.ebuild | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
Comment 16 Matt Whitlock 2024-05-22 13:56:14 UTC
dev-qt/qtwebengine-5.15.13_p20240510 once again builds to completion for me. Thanks for the patch.
Comment 17 Larry the Git Cow gentoo-dev 2024-05-30 12:52:38 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=97d175b281a41ab520956d2d4f9cac7c5df533de

commit 97d175b281a41ab520956d2d4f9cac7c5df533de
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2024-05-30 12:01:01 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2024-05-30 12:34:41 +0000

    dev-qt/qtwebengine: Add python3.12, add missing BDEPEND for catapult
    
    Bug: https://bugs.gentoo.org/925718
    Bug: https://bugs.gentoo.org/931970
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 dev-qt/qtwebengine/Manifest                             | 1 +
 dev-qt/qtwebengine/qtwebengine-5.15.14_p20240510.ebuild | 7 +++----
 2 files changed, 4 insertions(+), 4 deletions(-)
Comment 18 Larry the Git Cow gentoo-dev 2024-05-30 12:56:28 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/proj/qt.git/commit/?id=69f33d85f987602bbee30b559cfe92ffeb5b7b73

commit 69f33d85f987602bbee30b559cfe92ffeb5b7b73
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2024-05-30 12:01:01 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2024-05-30 12:55:18 +0000

    dev-qt/qtwebengine: Add python3.12, add missing BDEPEND for catapult
    
    Bug: https://bugs.gentoo.org/925718
    Bug: https://bugs.gentoo.org/931970
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 dev-qt/qtwebengine/Manifest                        | 2 +-
 dev-qt/qtwebengine/qtwebengine-5.15.14.9999.ebuild | 7 +++----
 2 files changed, 4 insertions(+), 5 deletions(-)
Comment 19 Sven Eden 2024-05-31 06:09:39 UTC
dev-qt/qtwebengine-5.15.14_p20240510 has exactly the same error.

----------
Traceback (most recent call last):
  File "/data/portage/portage/dev-qt/qtwebengine-5.15.14_p20240510/work/qtwebengine-5.15.13_p20240510/src/3rdparty/chromium/third_party/catapult/common/py_vulcanize/py_vulcanize/html_module.py", line 28, in Parse
    parser_results = parse_html_deps.HTMLModuleParser().Parse(self.contents)
                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/data/portage/portage/dev-qt/qtwebengine-5.15.14_p20240510/work/qtwebengine-5.15.13_p20240510/src/3rdparty/chromium/third_party/catapult/common/py_vulcanize/py_vulcanize/parse_html_deps.py", line 304, in Parse
    return HTMLModuleParserResults(html)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/data/portage/portage/dev-qt/qtwebengine-5.15.14_p20240510/work/qtwebengine-5.15.13_p20240510/src/3rdparty/chromium/third_party/catapult/common/py_vulcanize/py_vulcanize/parse_html_deps.py", line 170, in __init__
    self._soup = bs4.BeautifulSoup(html, 'html5lib')
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/data/portage/portage/dev-qt/qtwebengine-5.15.14_p20240510/work/qtwebengine-5.15.13_p20240510/src/3rdparty/chromium/third_party/catapult/third_party/beautifulsoup4-4.9.3/py3k/bs4/__init__.py", line 243, in __init__
    raise FeatureNotFound(
bs4.FeatureNotFound: Couldn't find a tree builder with the features you requested: html5lib. Do you need to install a parser library?

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/data/portage/portage/dev-qt/qtwebengine-5.15.14_p20240510/work/qtwebengine-5.15.13_p20240510_build/src/core/release/../../../../qtwebengine-5.15.13_p20240510/src/3rdparty/chromium/third_party/catapult/tracing/bin/generate_about_tracing_contents", line 14, in <module>
    sys.exit(generate_about_tracing_contents.Main(sys.argv[1:]))
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/data/portage/portage/dev-qt/qtwebengine-5.15.14_p20240510/work/qtwebengine-5.15.13_p20240510/src/3rdparty/chromium/third_party/catapult/tracing/tracing_build/generate_about_tracing_contents.py", line 32, in Main
    load_sequence = vulcanizer.CalcLoadSequenceForModuleNames(names)
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/data/portage/portage/dev-qt/qtwebengine-5.15.14_p20240510/work/qtwebengine-5.15.13_p20240510/src/3rdparty/chromium/third_party/catapult/common/py_vulcanize/py_vulcanize/project.py", line 146, in CalcLoadSequenceForModuleNames
    modules = [self.loader.LoadModule(module_name=name,
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/data/portage/portage/dev-qt/qtwebengine-5.15.14_p20240510/work/qtwebengine-5.15.13_p20240510/src/3rdparty/chromium/third_party/catapult/common/py_vulcanize/py_vulcanize/resource_loader.py", line 149, in LoadModule
    m.Parse(excluded_scripts)
  File "/data/portage/portage/dev-qt/qtwebengine-5.15.14_p20240510/work/qtwebengine-5.15.13_p20240510/src/3rdparty/chromium/third_party/catapult/common/py_vulcanize/py_vulcanize/html_module.py", line 30, in Parse
    raise Exception('While parsing %s: %s' % (self.name, str(ex)))
Exception: While parsing tracing.ui.extras.about_tracing.about_tracing: Couldn't find a tree builder with the features you requested: html5lib. Do you need to install a parser library?
--------

dev-python/html5lib is installed, but the build system can not find it.

I have not configured any Python version usage via make.conf, so the profile steers this and defaults to Python 3.11 atm.

Should this bug be re-opened or another bug opened, which would basically be a clone of this one?
Comment 20 Larry the Git Cow gentoo-dev 2024-05-31 06:12:25 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5f7f0fb0b879df3ba83421f5132f3e320a3bd960

commit 5f7f0fb0b879df3ba83421f5132f3e320a3bd960
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2024-05-31 06:11:16 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2024-05-31 06:12:14 +0000

    dev-qt/qtwebengine: Add missing python_check_deps()
    
    Bug: https://bugs.gentoo.org/931970
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 dev-qt/qtwebengine/qtwebengine-5.15.14_p20240510.ebuild | 4 ++++
 1 file changed, 4 insertions(+)