Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 876520 - dev-qt/qtwebengine: needs patch to build on musl with Clang (QtWebEngineCore module will not be built. A suitable version >= 2.27 of libc required to build QtWebEngine could not be found.)
Summary: dev-qt/qtwebengine: needs patch to build on musl with Clang (QtWebEngineCore ...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Qt Bug Alias
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks: systemwide-clang musl-porting
  Show dependency tree
 
Reported: 2022-10-10 14:38 UTC by Jan Koester
Modified: 2023-09-05 13:05 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Koester 2022-10-10 14:38:24 UTC
to build the qtwebengine under musl + clang version of gentoo i need the following patch, it will be nice when it's going upstream it's from alpine linux but solve also my build issues.

git.alpinelinux.org/aports/plain/community/qt5-qtwebengine/remove-glibc-check.patch
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-10-10 14:40:12 UTC
Please share the full build.log & emerge --info of failure without it, thanks.
Comment 2 Jan Koester 2022-10-10 14:50:39 UTC
retro-pc /var/db/repos/gentoo/dev-qt/qtwebengine # emerge qtwebengine
--- Invalid atom in /etc/portage/package.unmask/rust: sys-libs/libunwind-1.6.2:0/8::gentoo

 * IMPORTANT: 11 news items need reading for repository 'gentoo'.
 * Use eselect news read to view new items.


 * IMPORTANT: 9 config files in '/etc/portage' need updating.
 * See the CONFIGURATION FILES and CONFIGURATION FILES UPDATE TOOLS
 * sections of the emerge man page to learn how to update config files.
Calculating dependencies... done!

>>> Verifying ebuild manifests

>>> Running pre-merge checks for dev-qt/qtwebengine-5.15.5_p20220618
clang-14: warning: argument unused during compilation: '-E' [-Wunused-command-line-argument]
 * Checking for at least 3 GiB RAM ...                                                           [ ok ]
 * Checking for at least 7 GiB disk space at "/var/tmp/portage/dev-qt/qtwebengine-5.15.5_p20220618/temp" ...                                                                                             [ ok ]
 * Checking for at least 150 MiB disk space at "/usr" ...                                        [ ok ]

>>> Emerging (1 of 1) dev-qt/qtwebengine-5.15.5_p20220618::gentoo
 * qtwebengine-5.15.5_p20220618.tar.xz BLAKE2B SHA512 size ;-) ...                               [ ok ]
 * qtwebengine-5.15.2_p20211019-jumbo-build.patch.bz2 BLAKE2B SHA512 size ;-) ...                [ ok ]
 * qtwebengine-5.15.3_p20220406-patchset.tar.xz BLAKE2B SHA512 size ;-) ...                      [ ok ]
clang-14: warning: argument unused during compilation: '-E' [-Wunused-command-line-argument]
 * Checking for at least 3 GiB RAM ...                                                           [ ok ]
 * Checking for at least 7 GiB disk space at "/var/tmp/portage/dev-qt/qtwebengine-5.15.5_p20220618/temp" ...                                                                                             [ ok ]
 * Checking for at least 150 MiB disk space at "/usr" ...                                        [ ok ]
 * Checking whether python3_10 is suitable ...
 *   >=dev-lang/python-3.10.4:3.10[xml(+)] ...                                                   [ ok ]
 * Using python3.10 to build (via PYTHON_COMPAT iteration)
>>> Unpacking source...
>>> Unpacking qtwebengine-5.15.5_p20220618.tar.xz to /var/tmp/portage/dev-qt/qtwebengine-5.15.5_p20220618/work
>>> Unpacking qtwebengine-5.15.2_p20211019-jumbo-build.patch.bz2 to /var/tmp/portage/dev-qt/qtwebengine-5.15.5_p20220618/work
>>> Unpacking qtwebengine-5.15.3_p20220406-patchset.tar.xz to /var/tmp/portage/dev-qt/qtwebengine-5.15.5_p20220618/work
>>> Source unpacked in /var/tmp/portage/dev-qt/qtwebengine-5.15.5_p20220618/work
>>> Preparing source in /var/tmp/portage/dev-qt/qtwebengine-5.15.5_p20220618/work/qtwebengine-5.15.5_p20220618 ...
clang-14: warning: argument unused during compilation: '-E' [-Wunused-command-line-argument]
 * Applying qtwebengine-5.15.2_p20210521-clang-libc++.patch ...                                  [ ok ]
 * Applying qtwebengine-5.15.2-disable-fatal-warnings.patch ...                                  [ ok ]
 * Applying qtwebengine-5.15.3_p20220505-extra-gn.patch ...
patching file src/core/gn_run.pro
Hunk #1 succeeded at 68 with fuzz 1 (offset 4 lines).                                            [ ok ]
 * Applying qtwebengine-5.15.2_p20210224-chromium-87-v8-icu68.patch ...                          [ ok ]
 * Applying qtwebengine-5.15.2_p20210224-disable-git.patch ...                                   [ ok ]
 * Applying qtwebengine-5.15.2_p20211015-pdfium-system-lcms2.patch ...                           [ ok ]
 * Applying qtwebengine-5.15.3_p20220329-clang14.patch ...                                       [ ok ]
 * Applying qtwebengine-5.15.3_p20220406-gcc12-includes.patch ...                                [ ok ]
 * Applying qtwebengine-5.15.2_p20211019-jumbo-build.patch ...                                   [ ok ]
 * Applying patches from /var/tmp/portage/dev-qt/qtwebengine-5.15.5_p20220618/work/qtwebengine-5.15.3_p20220406-patchset ...
 *   qtwebengine-5.15.3_p20220406-build-chromium-without-python-2.patch ...                      [ ok ]
 *   qtwebengine-5.15.3_p20220406-build-without-python-2.patch ...                               [ ok ]
 *   qtwebengine-5.15.3_p20220406-chromium-drop-catapult.patch ...                               [ ok ]
 *   qtwebengine-5.15.3_p20220406-drop-catapult.patch ...                                        [ ok ]
 *   qtwebengine-5.15.3_p20220406-port-to-pipewire-0.3.patch ...                                 [ ok ]
 * Applying qtwebengine-5.15.5_p20220618-fixup-CVE-2022-0796.patch ...                           [ ok ]
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/dev-qt/qtwebengine-5.15.5_p20220618/work/qtwebengine-5.15.5_p20220618 ...
 * Running qt5_qmake 
Info: creating stash file /var/tmp/portage/dev-qt/qtwebengine-5.15.5_p20220618/work/qtwebengine-5.15.5_p20220618_build/.qmake.stash
Info: creating cache file /var/tmp/portage/dev-qt/qtwebengine-5.15.5_p20220618/work/qtwebengine-5.15.5_p20220618_build/.qmake.cache

Running configuration tests...
Checking for architecture supported... yes
Checking for bison... yes
Checking for submodule initialized... yes
Checking for build path without whitespace... yes
Checking for platform supported... 
Checking for gperf... yes
Checking for flex... yes
Checking for python... /var/tmp/portage/dev-qt/qtwebengine-5.15.5_p20220618/temp/python3.10/bin/python
Checking for node.js... true
Checking for host pkg-config... /usr/bin/pkg-config
Checking for glibc > 2.16... no
Checking for jumbo build merge limit... 8
Checking for linker supports -z noexecstack... yes
Checking for x11... yes
Checking for libdrm... yes
Checking for xcomposite... yes
Checking for xcursor... yes
Checking for xi... yes
Checking for xproto (glproto)... yes
Checking for xtst... yes
Checking for xkbfile... yes
Checking for d-bus... yes
Checking for libavcodec libavformat libavutil... yes
Checking for opus... yes
Checking for libwebp, libwebpmux and libwebpdemux... yes
Checking for fontconfig... yes
Checking for freetype >= 2.4.2... yes
Checking for glib-2.0 >= 2.32.0... yes
Checking for harfbuzz >= 2.4.0... yes
Checking for icu >= 65... yes
Checking for khr... yes
Checking for lcms2... yes
Checking for libevent... yes
Checking for libvpx... yes
Checking for compatible libxml2 and libxslt... yes
Checking for minizip... yes
Checking for system ninja... yes
Checking for nss >= 3.26... yes
Checking for libpng >= 1.6.0... yes
Checking for re2... yes
Checking for snappy... yes
Checking for zlib... yes
Done running configuration tests.

Configure summary:

Qt WebEngine Build Tools:
  Use System Ninja ....................... yes
  Jumbo Build Merge Limit ................ 8
  Developer build ........................ no
  Sanitizer .............................. no
  QtWebEngine required system libraries:
    fontconfig ........................... yes
    dbus ................................. yes
    nss .................................. yes
    khr .................................. yes
    glibc ................................ no
  QtWebEngine required system libraries for qpa-xcb:
    x11 .................................. yes
    libdrm ............................... yes
    xcomposite ........................... yes
    xcursor .............................. yes
    xi ................................... yes
    xproto (glproto) ..................... yes
    xtst ................................. yes
    xkbfile .............................. yes
  Optional system libraries used:
    re2 .................................. yes
    icu .................................. yes
    libwebp, libwebpmux and libwebpdemux . yes
    opus ................................. yes
    ffmpeg ............................... yes
    libvpx ............................... yes
    snappy ............................... yes
    glib ................................. yes
    zlib ................................. yes
    minizip .............................. yes
    libevent ............................. yes
    libxml2 and libxslt .................. yes
    lcms2 ................................ yes
    png .................................. yes
    JPEG ................................. no
    harfbuzz ............................. yes
    freetype ............................. yes

Note: QtPdf build is disabled by user.

Note: The following modules are not being compiled in this configuration:
    webenginecore
    webengine
    webenginewidgets
    pdf
    pdfwidgets

WARNING: A suitable version >= 2.27 of libc required to build QtWebEngine could not be found.

WARNING: QtWebEngine will not be built.

Qt is now configured for building. Just run 'make'.
Once everything is built, you must run 'make install'.
Qt will be installed into '/usr'.

Prior to reconfiguration, make sure you remove any leftovers from
the previous build.

>>> Source configured.
>>> Compiling source in /var/tmp/portage/dev-qt/qtwebengine-5.15.5_p20220618/work/qtwebengine-5.15.5_p20220618 ...
 * Running emake 
make -j2 
cd src/ && ( test -e Makefile || /usr/lib/qt5/bin/qmake -o Makefile /var/tmp/portage/dev-qt/qtwebengine-5.15.5_p20220618/work/qtwebengine-5.15.5_p20220618/src/src.pro CONFIG+=release CONFIG-=debug 'QMAKE_AR=llvm-ar cqs' QMAKE_CC=clang QMAKE_LINK_C=clang QMAKE_LINK_C_SHLIB=clang QMAKE_CXX=clang++ QMAKE_LINK=clang++ QMAKE_LINK_SHLIB=clang++ QMAKE_OBJCOPY=llvm-objcopy QMAKE_RANLIB= QMAKE_STRIP=llvm-strip 'QMAKE_CFLAGS=-O2 -pipe' QMAKE_CFLAGS_RELEASE= QMAKE_CFLAGS_DEBUG= 'QMAKE_CXXFLAGS=-O2 -pipe' QMAKE_CXXFLAGS_RELEASE= QMAKE_CXXFLAGS_DEBUG= 'QMAKE_LFLAGS=-Wl,-O1 -Wl,--as-needed -fuse-ld=lld -rtlib=compiler-rt -unwindlib=libunwind -Wl,--as-needed  -fuse-ld=lld -rtlib=compiler-rt -unwindlib=libunwind -Wl,--as-needed' QMAKE_LFLAGS_RELEASE= QMAKE_LFLAGS_DEBUG= ) && make -f Makefile 
make[1]: Entering directory '/var/tmp/portage/dev-qt/qtwebengine-5.15.5_p20220618/work/qtwebengine-5.15.5_p20220618_build/src'
cd core/ && ( test -e Makefile || /usr/lib/qt5/bin/qmake -o Makefile /var/tmp/portage/dev-qt/qtwebengine-5.15.5_p20220618/work/qtwebengine-5.15.5_p20220618/src/core/core.pro CONFIG+=release CONFIG-=debug 'QMAKE_AR=llvm-ar cqs' QMAKE_CC=clang QMAKE_LINK_C=clang QMAKE_LINK_C_SHLIB=clang QMAKE_CXX=clang++ QMAKE_LINK=clang++ QMAKE_LINK_SHLIB=clang++ QMAKE_OBJCOPY=llvm-objcopy QMAKE_RANLIB= QMAKE_STRIP=llvm-strip 'QMAKE_CFLAGS=-O2 -pipe' QMAKE_CFLAGS_RELEASE= QMAKE_CFLAGS_DEBUG= 'QMAKE_CXXFLAGS=-O2 -pipe' QMAKE_CXXFLAGS_RELEASE= QMAKE_CXXFLAGS_DEBUG= 'QMAKE_LFLAGS=-Wl,-O1 -Wl,--as-needed -fuse-ld=lld -rtlib=compiler-rt -unwindlib=libunwind -Wl,--as-needed  -fuse-ld=lld -rtlib=compiler-rt -unwindlib=libunwind -Wl,--as-needed' QMAKE_LFLAGS_RELEASE= QMAKE_LFLAGS_DEBUG= ) && make -f Makefile 
make[2]: Entering directory '/var/tmp/portage/dev-qt/qtwebengine-5.15.5_p20220618/work/qtwebengine-5.15.5_p20220618_build/src/core'
QtWebEngineCore module will not be built. A suitable version >= 2.27 of libc required to build QtWebEngine could not be found.
make[2]: Leaving directory '/var/tmp/portage/dev-qt/qtwebengine-5.15.5_p20220618/work/qtwebengine-5.15.5_p20220618_build/src/core'
make[1]: Leaving directory '/var/tmp/portage/dev-qt/qtwebengine-5.15.5_p20220618/work/qtwebengine-5.15.5_p20220618_build/src'
>>> Source compiled.
 * Skipping make test/check due to ebuild restriction.
>>> Test phase [disabled because of RESTRICT=test]: dev-qt/qtwebengine-5.15.5_p20220618

>>> Install dev-qt/qtwebengine-5.15.5_p20220618 into /var/tmp/portage/dev-qt/qtwebengine-5.15.5_p20220618/image
 * Running emake INSTALL_ROOT=/var/tmp/portage/dev-qt/qtwebengine-5.15.5_p20220618/image install 
make -j2 INSTALL_ROOT=/var/tmp/portage/dev-qt/qtwebengine-5.15.5_p20220618/image install 
cd src/ && ( test -e Makefile || /usr/lib/qt5/bin/qmake -o Makefile /var/tmp/portage/dev-qt/qtwebengine-5.15.5_p20220618/work/qtwebengine-5.15.5_p20220618/src/src.pro CONFIG+=release CONFIG-=debug 'QMAKE_AR=llvm-ar cqs' QMAKE_CC=clang QMAKE_LINK_C=clang QMAKE_LINK_C_SHLIB=clang QMAKE_CXX=clang++ QMAKE_LINK=clang++ QMAKE_LINK_SHLIB=clang++ QMAKE_OBJCOPY=llvm-objcopy QMAKE_RANLIB= QMAKE_STRIP=llvm-strip 'QMAKE_CFLAGS=-O2 -pipe' QMAKE_CFLAGS_RELEASE= QMAKE_CFLAGS_DEBUG= 'QMAKE_CXXFLAGS=-O2 -pipe' QMAKE_CXXFLAGS_RELEASE= QMAKE_CXXFLAGS_DEBUG= 'QMAKE_LFLAGS=-Wl,-O1 -Wl,--as-needed -fuse-ld=lld -rtlib=compiler-rt -unwindlib=libunwind -Wl,--as-needed  -fuse-ld=lld -rtlib=compiler-rt -unwindlib=libunwind -Wl,--as-needed' QMAKE_LFLAGS_RELEASE= QMAKE_LFLAGS_DEBUG= ) && make -f Makefile install
make[1]: Entering directory '/var/tmp/portage/dev-qt/qtwebengine-5.15.5_p20220618/work/qtwebengine-5.15.5_p20220618_build/src'
cd core/ && ( test -e Makefile || /usr/lib/qt5/bin/qmake -o Makefile /var/tmp/portage/dev-qt/qtwebengine-5.15.5_p20220618/work/qtwebengine-5.15.5_p20220618/src/core/core.pro CONFIG+=release CONFIG-=debug 'QMAKE_AR=llvm-ar cqs' QMAKE_CC=clang QMAKE_LINK_C=clang QMAKE_LINK_C_SHLIB=clang QMAKE_CXX=clang++ QMAKE_LINK=clang++ QMAKE_LINK_SHLIB=clang++ QMAKE_OBJCOPY=llvm-objcopy QMAKE_RANLIB= QMAKE_STRIP=llvm-strip 'QMAKE_CFLAGS=-O2 -pipe' QMAKE_CFLAGS_RELEASE= QMAKE_CFLAGS_DEBUG= 'QMAKE_CXXFLAGS=-O2 -pipe' QMAKE_CXXFLAGS_RELEASE= QMAKE_CXXFLAGS_DEBUG= 'QMAKE_LFLAGS=-Wl,-O1 -Wl,--as-needed -fuse-ld=lld -rtlib=compiler-rt -unwindlib=libunwind -Wl,--as-needed  -fuse-ld=lld -rtlib=compiler-rt -unwindlib=libunwind -Wl,--as-needed' QMAKE_LFLAGS_RELEASE= QMAKE_LFLAGS_DEBUG= ) && make -f Makefile install
make[2]: Entering directory '/var/tmp/portage/dev-qt/qtwebengine-5.15.5_p20220618/work/qtwebengine-5.15.5_p20220618_build/src/core'
make[2]: Nothing to be done for 'install'.
make[2]: Leaving directory '/var/tmp/portage/dev-qt/qtwebengine-5.15.5_p20220618/work/qtwebengine-5.15.5_p20220618_build/src/core'
make[1]: Leaving directory '/var/tmp/portage/dev-qt/qtwebengine-5.15.5_p20220618/work/qtwebengine-5.15.5_p20220618_build/src'
 * ERROR: dev-qt/qtwebengine-5.15.5_p20220618::gentoo failed (install phase):
 *   dev-qt/qtwebengine-5.15.5_p20220618 failed to build anything. Please report 
 * 
 * Call stack:
 *     ebuild.sh, line 122:  Called src_install
 *   environment, line 3508:  Called die
 * The specific snippet of code:
 *           die "${CATEGORY}/${PF} failed to build anything. Please report to ;
 * 
 * If you need support, post the output of `emerge --info '=dev-qt/qtwebengine-5.15.5_p20220618::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-qt/qtwebengine-5.15.5_p20220618::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/dev-qt/qtwebengine-5.15.5_p20220618/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-qt/qtwebengine-5.15.5_p20220618/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-qt/qtwebengine-5.15.5_p20220618/work/qtwebengine-5.15.5_p20220618'
 * S: '/var/tmp/portage/dev-qt/qtwebengine-5.15.5_p20220618/work/qtwebengine-5.15.5_p20220618'

>>> Failed to emerge dev-qt/qtwebengine-5.15.5_p20220618, Log file:

>>>  '/var/tmp/portage/dev-qt/qtwebengine-5.15.5_p20220618/temp/build.log'

 * Messages for package dev-qt/qtwebengine-5.15.5_p20220618:

 * ERROR: dev-qt/qtwebengine-5.15.5_p20220618::gentoo failed (install phase):
 *   dev-qt/qtwebengine-5.15.5_p20220618 failed to build anything. Please report to 
 * 
 * Call stack:
 *     ebuild.sh, line 122:  Called src_install
 *   environment, line 3508:  Called die
 * The specific snippet of code:
 *           die "${CATEGORY}/${PF} failed to build anything. Please report to";
 * 
 * If you need support, post the output of `emerge --info '=dev-qt/qtwebengine-5.15.5_p20220618::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-qt/qtwebengine-5.15.5_p20220618::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/dev-qt/qtwebengine-5.15.5_p20220618/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-qt/qtwebengine-5.15.5_p20220618/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-qt/qtwebengine-5.15.5_p20220618/work/qtwebengine-5.15.5_p20220618'
 * S: '/var/tmp/portage/dev-qt/qtwebengine-5.15.5_p20220618/work/qtwebengine-5.15.5_p20220618'
Comment 3 Jan Koester 2022-10-10 14:56:02 UTC
retro-pc /var/db/repos/gentoo/dev-qt/qtwebengine # emerge info
--- Invalid atom in /etc/portage/package.unmask/rust: sys-libs/libunwind-1.6.2:0/8::gentoo

 * IMPORTANT: 11 news items need reading for repository 'gentoo'.
 * Use eselect news read to view new items.


 * IMPORTANT: 9 config files in '/etc/portage' need updating.
 * See the CONFIGURATION FILES and CONFIGURATION FILES UPDATE TOOLS
 * sections of the emerge man page to learn how to update config files.
Calculating dependencies... done!

>>> Verifying ebuild manifests

>>> Emerging (1 of 1) app-vim/info-1.7-r2::gentoo
>>> Downloading 'distfiles.gentoo.org/distfiles/a9/info-1.7.tar.bz2'
--2022-10-10 17:45:04--  distfiles.gentoo.org/distfiles/a9/info-1.7.tar.bz2
Resolving distfiles.gentoo.org... 2a02:6ea0:c700::17, 2a02:6ea0:c700::18, 2a02:6ea0:c700::21, ...
Connecting to distfiles.gentoo.org|2a02:6ea0:c700::17|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 3958 (3.9K) [application/x-bzip2]
Saving to: ‘/var/cache/distfiles/info-1.7.tar.bz2.__download__’

/var/cache/distfile 100%[===================>]   3.87K  --.-KB/s    in 0s      

2022-10-10 17:45:04 (448 MB/s) - ‘/var/cache/distfiles/info-1.7.tar.bz2.__download__’ saved [3958/3958]

 * info-1.7.tar.bz2 BLAKE2B SHA512 size ;-) ...                                                  [ ok ]
>>> Unpacking source...
>>> Unpacking info-1.7.tar.bz2 to /var/tmp/portage/app-vim/info-1.7-r2/work
>>> Source unpacked in /var/tmp/portage/app-vim/info-1.7-r2/work
>>> Preparing source in /var/tmp/portage/app-vim/info-1.7-r2/work/info-1.7 ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/app-vim/info-1.7-r2/work/info-1.7 ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/app-vim/info-1.7-r2/work/info-1.7 ...
>>> Source compiled.
>>> Test phase [not enabled]: app-vim/info-1.7-r2

>>> Install app-vim/info-1.7-r2 into /var/tmp/portage/app-vim/info-1.7-r2/image/
>>> Completed installing app-vim/info-1.7-r2 into /var/tmp/portage/app-vim/info-1.7-r2/image/

 * Final size of build directory: 12 KiB
 * Final size of installed tree:  12 KiB


>>> Installing (1 of 1) app-vim/info-1.7-r2::gentoo
 * Updating documentation tags in /usr/share/vim/vim90
 *  
 * This plugin adds the :Info command.
 *  

>>> Recording app-vim/info in "world" favorites file...

 * Messages for package app-vim/info-1.7-r2:

 *  
 * This plugin adds the :Info command.
 *  

 * GNU info directory index is up-to-date.

 * IMPORTANT: 11 config files in '/etc' need updating.
 * See the CONFIGURATION FILES and CONFIGURATION FILES UPDATE TOOLS
 * sections of the emerge man page to learn how to update config files.

 * IMPORTANT: 11 news items need reading for repository 'gentoo'.
 * Use eselect news read to view new items.
Comment 4 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-10-10 15:15:06 UTC
Thanks. In future, please attach rather than paste, but no big deal.

>QtWebEngineCore module will not be built. A suitable version >= 2.27 of libc required to build QtWebEngine could not be found.
Comment 5 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-10-10 16:23:21 UTC
ernsteiswuerfel hit this in bug 757327 but the cause there was different for the original but, although ernsteiswuerfel's comment was indeed wrt musl.
Comment 6 listout 2022-11-02 19:12:04 UTC
(In reply to Sam James from comment #5)
> ernsteiswuerfel hit this in bug 757327 but the cause there was different for
> the original but, although ernsteiswuerfel's comment was indeed wrt musl.

Sam IIRC didn't Catcream's PR include a patch for this? Know what happened to that? Was it merged?
Comment 7 Larry the Git Cow gentoo-dev 2023-09-05 13:05:45 UTC
The bug has been referenced in the following commit(s):

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

commit d1b8e8ef131c26a47369bf8d03f372714a535308
Author:     Ionen Wolkens <ionen@gentoo.org>
AuthorDate: 2023-08-31 21:09:34 +0000
Commit:     Ionen Wolkens <ionen@gentoo.org>
CommitDate: 2023-09-05 13:01:10 +0000

    dev-qt/qtwebengine: refactor qt6 ebuild, various fixes incl. musl
    
    Essentially a rewrite, so only have a not exhaustive summary
    of changes rather than split commits.
    
    Bugs addressed:
    * respect *FLAGS wrt bug #652172 (fwics should be no issues left)
    * hopefully fixed musl/libcxx (tested with llvm-musl) wrt bug #876520
    (not planning to review Qt5's myself, so no changes on that end)
    
    IUSE changes:
    * enable alsa by default, finding that you have no audio options
      only after building is not great and alsa is cheap
    * enable widgets by default, needed by both falkon and qutebrowser
    * add custom-cflags, if going to use *FLAGS then should strip-flags
      like chromium's ebuild
    * add opengl, unfortunately littered in QT_CONFIG(opengl) and need
      qtbase[opengl=] to avoid ABI/automagic issues
    * add vulkan, has its own feature so should only need qtbase[vulkan?]
    * add qml similarly to other packages
    
    Misc:
    * support EXTRA_GN like qtwebengine:5 and chromium (Gentoo-specific)
    * build dir went from >9GB to ~6.3GB by dropping -g1
    * drop estack+extglob, setting extglob is technically not needed for
      use in bash [[ ]] tests which is-flagq does
    * drop INCLUDEPATH, tried to sed qmake files but this is using cmake
    * respect NINJA env var to allow samu (NINJA_PATH was a no-op)
    * use get_NINJAOPTS for NINJAFLAGS and ignore environment (NINJAOPTS
      is the var to set for this, while NINJAFLAGS is a private
      qtwebengine var, ninja does not actually use this directly)
    * drop icu's bundling check for simplicity (and consistency with other
      system libraries), bug #630834 prompted adding this but does not
      seem so fragile anymore (plus iwdevtools would report lib misuse,
      albeit not headers)
    * switch to bundled re2 to be spared headaches (see github PR#32281)
    * optfeature on chrome-binary-plugins for widevine support
    * cleanup/reduce QT_FEATURE and old comments
    * fix designer automagic
    * various dependencies adjustments, wrt re2c that is only needed if
      we build ninja
    * do not redefine _FORTIFY_SOURCE (use gentoo's defaults), upstream
      actually switched to =3 in chromium-118 (albeit only for ChromeOS)
      and "hopefully" is fine for this older version (tests pass at least)
    
    Also moved patches to a tarball (like qt5). It is simple small patches
    mostly adjusting macros rather than add actual code, but was beginning
    to add up.
    
    Considered reducing RAM requirements a little bit (generally *seems*
    not so bad), but there is rather bad spikes and I do not think it can
    be considered safe unless we assume everyone is not using RAM for
    anything else. Plus usage will likely keep growing with versions.
    
    Bug: https://bugs.gentoo.org/652172
    Bug: https://bugs.gentoo.org/876520
    Signed-off-by: Ionen Wolkens <ionen@gentoo.org>

 dev-qt/qtwebengine/Manifest                    |   1 +
 dev-qt/qtwebengine/metadata.xml                |   1 +
 dev-qt/qtwebengine/qtwebengine-6.5.2-r1.ebuild | 267 +++++++++++++++++++++++++
 dev-qt/qtwebengine/qtwebengine-6.5.9999.ebuild | 252 ++++++++++++-----------
 dev-qt/qtwebengine/qtwebengine-6.9999.ebuild   | 252 ++++++++++++-----------
 5 files changed, 517 insertions(+), 256 deletions(-)