Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 917508 - net-libs/webkit-gtk-2.42.1-r600: fails to build with dev-libs/libxml2-2.12.0 (XSLStyleSheetLibxslt.cpp: error: invalid conversion from void ( )(void , xmlError ) {aka void ( )(void , _xmlEr))
Summary: net-libs/webkit-gtk-2.42.1-r600: fails to build with dev-libs/libxml2-2.12.0 ...
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:
Keywords: PATCH
Depends on:
Blocks: libxml2-2.12
  Show dependency tree
 
Reported: 2023-11-17 15:41 UTC by Toralf Förster
Modified: 2023-12-08 16:48 UTC (History)
6 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,17.47 KB, text/plain)
2023-11-17 15:41 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,45.12 KB, text/plain)
2023-11-17 15:41 UTC, Toralf Förster
Details
environment (environment,160.22 KB, text/plain)
2023-11-17 15:41 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.05 KB, application/x-xz)
2023-11-17 15:41 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,11.94 KB, application/x-xz)
2023-11-17 15:41 UTC, Toralf Förster
Details
net-libs:webkit-gtk-2.42.1-r600:20231117-134811.log.xz (net-libs:webkit-gtk-2.42.1-r600:20231117-134811.log.xz,93.30 KB, application/x-xz)
2023-11-17 15:41 UTC, Toralf Förster
Details
qlist-info.txt (qlist-info.txt,98.63 KB, text/plain)
2023-11-17 15:41 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,129.18 KB, application/x-xz)
2023-11-17 15:41 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-11-17 15:41:01 UTC
too long lines were shrinked:

[3735/6807] /usr/bin/x86_64-pc-linux-gnu-g++ -DBUILDING_GTK__=1 -DBUILDING_WEBKIT=1 -DBUILDING_WITH_CMAKE=1 -DBUILDING_WebCoreTestSupport -DBWRAP_EXECUTABLE=\"/usr/bin/bwrap\" -DDBUS_PROXY_EXECUTABLE=\"/usr/bin/xdg-dbus-proxy\" -DGETTEXT_PACKAGE=\"WebKitGTK-6.0\" -DHAVE_CONFIG_H=1 -DJSC_GLIB_API_ENA
[3736/6807] /usr/bin/x86_64-pc-linux-gnu-g++ -DBUILDING_GTK__=1 -DBUILDING_WEBKIT=1 -DBUILDING_WITH_CMAKE=1 -DBUILDING_WebCore -DBWRAP_EXECUTABLE=\"/usr/bin/bwrap\" -DDBUS_PROXY_EXECUTABLE=\"/usr/bin/xdg-dbus-proxy\" -DGETTEXT_PACKAGE=\"WebKitGTK-6.0\" -DHAVE_CONFIG_H=1 -DJSC_GLIB_API_ENABLED -DPAS_
FAILED: Source/WebCore/CMakeFiles/WebCore.dir/__/__/WebCore/DerivedSources/unified-sources/UnifiedSource-42f7b70e-4.cpp.o 
/usr/bin/x86_64-pc-linux-gnu-g++ -DBUILDING_GTK__=1 -DBUILDING_WEBKIT=1 -DBUILDING_WITH_CMAKE=1 -DBUILDING_WebCore -DBWRAP_EXECUTABLE=\"/usr/bin/bwrap\" -DDBUS_PROXY_EXECUTABLE=\"/usr/bin/xdg-dbus-proxy\" -DGETTEXT_PACKAGE=\"WebKitGTK-6.0\" -DHAVE_CONFIG_H=1 -DJSC_GLIB_API_ENABLED -DPAS_BMALLOC=1 -D
In file included from /var/tmp/portage/net-libs/webkit-gtk-2.42.1-r600/work/webkitgtk-2.42.1_build/WebCore/DerivedSources/unified-sources/UnifiedSource-42f7b70e-4.cpp:3:
/var/tmp/portage/net-libs/webkit-gtk-2.42.1-r600/work/webkitgtk-2.42.1/Source/WebCore/xml/XSLStyleSheetLibxslt.cpp: In member function bool WebCore::XSLStyleSheet::parseString(const WTF::String&):
/var/tmp/portage/net-libs/webkit-gtk-2.42.1-r600/work/webkitgtk-2.42.1/Source/WebCore/xml/XSLStyleSheetLibxslt.cpp:139:129: error: invalid conversion from void (*)(void*, xmlError*) {aka void (*)(void*, _xmlError*)} to xmlStructuredErrorFunc {aka void (*)(void*, const _xmlError*)} [-fpermissive]
  139 |     XMLDocumentParserScope scope(cachedResourceLoader(), XSLTProcessor::genericErrorFunc, XSLTProcessor::parseErrorFunc, console);
      |                                                                                                                                 ^

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_systemd_merged_usr-20231116-214507

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-13 *
clang/llvm (if any):
clang version 17.0.5
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/17/bin
Configuration file: /etc/clang/x86_64-pc-linux-gnu-clang.cfg
/usr/lib/llvm/17
17.0.5
Python 3.11.6
Available Ruby profiles:
  [1]   ruby31 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.73.0 *
The following VMs are available for generation-2:
*)	Eclipse Temurin JDK 21.0.1_p12 [openjdk-bin-21]
2)	Eclipse Temurin JDK 8.382_p05 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-21  system-vm

The Glorious Glasgow Haskell Compilation System, version 9.2.8
php cli (if any):
go version go1.21.4 linux/amd64

  HEAD of ::gentoo
commit ccda4757e3a15c2057146fb61af91df8d25efdf3
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Fri Nov 17 12:47:00 2023 +0000

    2023-11-17 12:47:00 UTC

emerge -qpvO net-libs/webkit-gtk
[ebuild  N    ] net-libs/webkit-gtk-2.42.1-r600  USE="X avif (gstreamer) introspection jpeg2k jumbo-build lcms pdf (seccomp) spell systemd (-aqua) -examples -gamepad -jpegxl -keyring -wayland"
Comment 1 Toralf Förster gentoo-dev 2023-11-17 15:41:02 UTC
Created attachment 874934 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-11-17 15:41:03 UTC
Created attachment 874935 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2023-11-17 15:41:05 UTC
Created attachment 874936 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2023-11-17 15:41:06 UTC
Created attachment 874937 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2023-11-17 15:41:06 UTC
Created attachment 874938 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2023-11-17 15:41:08 UTC
Created attachment 874939 [details]
net-libs:webkit-gtk-2.42.1-r600:20231117-134811.log.xz
Comment 7 Toralf Förster gentoo-dev 2023-11-17 15:41:09 UTC
Created attachment 874940 [details]
qlist-info.txt
Comment 8 Toralf Förster gentoo-dev 2023-11-17 15:41:10 UTC
Created attachment 874941 [details]
temp.tar.xz
Comment 9 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-11-17 15:42:49 UTC
new libxml2 adds more const
Comment 11 Leonardo Hernández Hernández 2023-12-08 16:48:56 UTC
This was fixed in 2.42.2 and yesterday I successfully compiled 2.42.3-r410 with libxml2-2.12.2