Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 904826 - net-libs/webkit-gtk-2.40.1-r600 - UnifiedSource-767013ce-6.cpp:(.text+<snip>): undefined reference to WebCore::HRTFElevation::clearCache()
Summary: net-libs/webkit-gtk-2.40.1-r600 - UnifiedSource-767013ce-6.cpp:(.text+<snip>)...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Linux Gnome Desktop Team
URL: https://github.com/WebKit/WebKit/comm...
Whiteboard: Build fails with USE=-gstreamer
Keywords:
: 904962 (view as bug list)
Depends on:
Blocks:
 
Reported: 2023-04-22 14:49 UTC by Toralf Förster
Modified: 2023-04-25 21:38 UTC (History)
5 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,18.89 KB, text/plain)
2023-04-22 14:49 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,56.07 KB, text/plain)
2023-04-22 14:49 UTC, Toralf Förster
Details
environment (environment,158.41 KB, text/plain)
2023-04-22 14:49 UTC, Toralf Förster
Details
etc.clang.tar.bz2 (etc.clang.tar.bz2,912 bytes, application/x-bzip)
2023-04-22 14:49 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,14.69 KB, application/x-bzip)
2023-04-22 14:49 UTC, Toralf Förster
Details
net-libs:webkit-gtk-2.40.1-r600:20230422-110532.log.bz2 (net-libs:webkit-gtk-2.40.1-r600:20230422-110532.log.bz2,279.70 KB, application/x-bzip)
2023-04-22 14:49 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,315.70 KB, application/x-bzip)
2023-04-22 14:49 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2023-04-22 14:49:17 UTC
too long lines were shrinked:

[6653/6663] /usr/bin/x86_64-pc-linux-gnu-g++ -DBUILDING_GTK__=1 -DBUILDING_WEBKIT=1 -DBUILDING_WITH_CMAKE=1 -DBUILDING_WebKit -DBWRAP_EXECUTABLE=\"/usr/bin/bwrap\" -DDATADIR=\"/usr/share\" -DDBUS_PROXY_EXECUTABLE=\"/usr/bin/xdg-dbus-proxy\" -DGETTEXT_PACKAGE=\"WebKitGTK-6.0\" -DHAVE_CONFIG_H=1 -DJSC
[6654/6663] /usr/bin/x86_64-pc-linux-gnu-g++ -DBUILDING_GTK__=1 -DBUILDING_WEBKIT=1 -DBUILDING_WITH_CMAKE=1 -DBUILDING_WebKit -DBWRAP_EXECUTABLE=\"/usr/bin/bwrap\" -DDATADIR=\"/usr/share\" -DDBUS_PROXY_EXECUTABLE=\"/usr/bin/xdg-dbus-proxy\" -DGETTEXT_PACKAGE=\"WebKitGTK-6.0\" -DHAVE_CONFIG_H=1 -DJSC
[6655/6663] : && /usr/bin/x86_64-pc-linux-gnu-g++ -fPIC -fdiagnostics-color=always -Wextra -Wall -pipe -fmax-errors=20 -Wno-odr -Wno-stringop-overread -Wno-stringop-overflow -Wno-nonnull -Wno-array-bounds -Wno-expansion-to-defined -Wno-noexcept-type -Wno-psabi -Wno-misleading-indentation -Wno-maybe-
FAILED: lib/libwebkitgtk-6.0.so.4.0.2 
: && /usr/bin/x86_64-pc-linux-gnu-g++ -fPIC -fdiagnostics-color=always -Wextra -Wall -pipe -fmax-errors=20 -Wno-odr -Wno-stringop-overread -Wno-stringop-overflow -Wno-nonnull -Wno-array-bounds -Wno-expansion-to-defined -Wno-noexcept-type -Wno-psabi -Wno-misleading-indentation -Wno-maybe-uninitialize
/usr/libexec/gcc/x86_64-pc-linux-gnu/ld: Source/WebCore/CMakeFiles/WebCore.dir/./__/__/WebCore/DerivedSources/unified-sources/UnifiedSource-767013ce-6.cpp.o: in function `WebCore::releaseMemory(WTF::Critical, WTF::Synchronous, WebCore::MaintainBackForwardCache, WebCore::MaintainMemoryCache)':
UnifiedSource-767013ce-6.cpp:(.text+0x114e): undefined reference to `WebCore::HRTFElevation::clearCache()'
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_plasma_systemd_merged_usr-j4-20230420-200506

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-13 *
clang/llvm (if any):
clang version 16.0.2
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/16/bin
Configuration file: /etc/clang/clang.cfg
/usr/lib/llvm/16
16.0.2
Python 3.10.11
Available Ruby profiles:
  [1]   ruby30 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.69.0 *
The following VMs are available for generation-2:
1)	OpenJDK 17.0.6_p10 [openjdk-17]
2)	OpenJDK 8.362_p09 [openjdk-8]
*)	Eclipse Temurin JDK 17.0.6_p10 [openjdk-bin-17]
4)	Eclipse Temurin JDK 8.362_p09 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-8 
  [2]   openjdk-17 
  [3]   openjdk-bin-8 
  [4]   openjdk-bin-17  system-vm

The Glorious Glasgow Haskell Compilation System, version 9.0.2
php cli (if any):
  [1]   php8.2 *
go version go1.20.3 linux/amd64

  HEAD of ::gentoo
commit b42e3b22da921aebb44409e61fd203257e09ed06
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sat Apr 22 10:47:00 2023 +0000

    2023-04-22 10:47:00 UTC

emerge -qpvO net-libs/webkit-gtk
[ebuild     U ] net-libs/webkit-gtk-2.40.1-r600 [2.40.0-r600] USE="X gles2-only introspection jpeg2k jumbo-build lcms pdf (seccomp) spell systemd (-aqua) -avif -examples -gamepad -gnome-keyring -gstreamer -wayland"
Comment 1 Toralf Förster gentoo-dev 2023-04-22 14:49:18 UTC
Created attachment 860534 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-04-22 14:49:19 UTC
Created attachment 860535 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2023-04-22 14:49:21 UTC
Created attachment 860536 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2023-04-22 14:49:22 UTC
Created attachment 860537 [details]
etc.clang.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2023-04-22 14:49:23 UTC
Created attachment 860538 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2023-04-22 14:49:24 UTC
Created attachment 860539 [details]
net-libs:webkit-gtk-2.40.1-r600:20230422-110532.log.bz2
Comment 7 Toralf Förster gentoo-dev 2023-04-22 14:49:26 UTC
Created attachment 860540 [details]
temp.tar.bz2
Comment 8 Michael Orlitzky gentoo-dev 2023-04-24 00:32:08 UTC
@sam dropping the blocker because I get the same failure with stable gcc-12.
Comment 9 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-04-25 00:56:15 UTC
*** Bug 904962 has been marked as a duplicate of this bug. ***
Comment 10 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-04-25 00:56:22 UTC
(In reply to Michael Orlitzky from comment #8)
> @sam dropping the blocker because I get the same failure with stable gcc-12.

cheers!
Comment 11 Matt Turner gentoo-dev 2023-04-25 17:11:19 UTC
It appears to be a regression between 2.40.0-r600 and 2.40.1-r600. I suspect it only occurs with USE=gles2-only.
Comment 12 Matt Turner gentoo-dev 2023-04-25 17:21:59 UTC
Occurs on 2.40.1-r410 with the same USE flags as well.
Comment 13 Matt Turner gentoo-dev 2023-04-25 19:33:30 UTC
It's actually USE=-gstreamer that causes it.
Comment 14 Matt Turner gentoo-dev 2023-04-25 20:34:29 UTC
I believe commit [1] introduced the regression on the main branch. This was cherry-picked to the webkitglib/2.40 branch between tags webkitgtk-2.40.0 and webkitgtk-2.40.1 as [2]. Commit [3] fixed the regression on the main branch, but has not been cherry-picked to webkitglib/2.40 yet.

[1]https://github.com/WebKit/WebKit/commit/a00a15e7abe0140bd98cda6485e52d03b2bdf79e
[2]https://github.com/WebKit/WebKit/commit/bf3fe6d6b5fc47936b613f056d9e62ba9e9001ff
[3]https://github.com/WebKit/WebKit/commit/b36decf27ea91f9ed21a4b46524d6c6781076d5c
Comment 15 Matt Turner gentoo-dev 2023-04-25 21:32:15 UTC
I reported this upstream and they quickly cherry-picked it to the webkitglib/2.40 branch in $URL.
Comment 16 Larry the Git Cow gentoo-dev 2023-04-25 21:38:06 UTC
The bug has been closed via the following commit(s):

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

commit 4e80633488edc854dd7c44bf7d3b3dd951d23805
Author:     Matt Turner <mattst88@gentoo.org>
AuthorDate: 2023-04-25 21:37:44 +0000
Commit:     Matt Turner <mattst88@gentoo.org>
CommitDate: 2023-04-25 21:38:03 +0000

    net-libs/webkit-gtk: Add patch to fix build with USE=-gstreamer
    
    Closes: https://bugs.gentoo.org/904826
    Signed-off-by: Matt Turner <mattst88@gentoo.org>

 ...-262461-main-b36decf27ea9-.-https-bugs.we.patch | 37 ++++++++++++++++++++++
 net-libs/webkit-gtk/webkit-gtk-2.40.1-r410.ebuild  |  1 +
 net-libs/webkit-gtk/webkit-gtk-2.40.1-r600.ebuild  |  1 +
 net-libs/webkit-gtk/webkit-gtk-2.40.1.ebuild       |  1 +
 4 files changed, 40 insertions(+)