-
Notifications
You must be signed in to change notification settings - Fork 6.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[qt5-webengine] QtWebEngine jumbo build fails with redefinition of blink::ResolveColor(..) since port version 5.15.13-0 on Linux #37448
Labels
category:port-bug
The issue is with a library, which is something the port should already support
Comments
tsondergaard
added a commit
to tsondergaard/vcpkg
that referenced
this issue
Mar 14, 2024
Both of the following two files define a static function ResolveColor() with the exact same signature causing a redefinition error when running a jumbo build * third_party/blink/renderer/core/layout/svg/svg_layout_tree_as_text.cc * third_party/blink/renderer/core/layout/svg/layout_svg_resource_paint_server.cc Error reported: In file included from gen/third_party/blink/renderer/core/layout/svg/svg_layout_jumbo_4.cc:16: ./../../../../src/5.15.13-38459bd7fb.clean/src/3rdparty/chromium/third_party/blink/renderer/core/layout/svg/svg_layout_tree_as_text.cc:255:30: error: redefinition of 'base::Optional<blink::Color> blink::ResolveColor(const blink::ComputedStyle&, const blink::SVGPaint&, const blink::SVGPaint&)' 255 | static base::Optional<Color> ResolveColor(const ComputedStyle& style, | ^~~~~~~~~~~~ In file included from gen/third_party/blink/renderer/core/layout/svg/svg_layout_jumbo_4.cc:5: ./../../../../src/5.15.13-38459bd7fb.clean/src/3rdparty/chromium/third_party/blink/renderer/core/layout/svg/layout_svg_resource_paint_server.cc:97:30: note: 'base::Optional<blink::Color> blink::ResolveColor(const blink::ComputedStyle&, const blink::SVGPaint&, const blink::SVGPaint&)' previously defined here 97 | static base::Optional<Color> ResolveColor(const ComputedStyle& style, | ^~~~~~~~~~~~ In file included from gen/third_party/blink/renderer/core/layout/svg/svg_layout_jumbo_4.cc:16: ./../../../../src/5.15.13-38459bd7fb.clean/src/3rdparty/chromium/third_party/blink/renderer/core/layout/svg/svg_layout_tree_as_text.cc:255:30: warning: 'base::Optional<blink::Color> blink::ResolveColor(const blink::ComputedStyle&, const blink::SVGPaint&, const blink::SVGPaint&)' defined but not used [-Wunused-function] 255 | static base::Optional<Color> ResolveColor(const ComputedStyle& style, Fixes microsoft#37448 See also QTBUG-123328
tsondergaard
added a commit
to tsondergaard/vcpkg
that referenced
this issue
Mar 14, 2024
Both of the following two files define a static function ResolveColor() with the exact same signature causing a redefinition error when running a jumbo build * third_party/blink/renderer/core/layout/svg/svg_layout_tree_as_text.cc * third_party/blink/renderer/core/layout/svg/layout_svg_resource_paint_server.cc Error reported: In file included from gen/third_party/blink/renderer/core/layout/svg/svg_layout_jumbo_4.cc:16: ./../../../../src/5.15.13-38459bd7fb.clean/src/3rdparty/chromium/third_party/blink/renderer/core/layout/svg/svg_layout_tree_as_text.cc:255:30: error: redefinition of 'base::Optional<blink::Color> blink::ResolveColor(const blink::ComputedStyle&, const blink::SVGPaint&, const blink::SVGPaint&)' 255 | static base::Optional<Color> ResolveColor(const ComputedStyle& style, | ^~~~~~~~~~~~ In file included from gen/third_party/blink/renderer/core/layout/svg/svg_layout_jumbo_4.cc:5: ./../../../../src/5.15.13-38459bd7fb.clean/src/3rdparty/chromium/third_party/blink/renderer/core/layout/svg/layout_svg_resource_paint_server.cc:97:30: note: 'base::Optional<blink::Color> blink::ResolveColor(const blink::ComputedStyle&, const blink::SVGPaint&, const blink::SVGPaint&)' previously defined here 97 | static base::Optional<Color> ResolveColor(const ComputedStyle& style, | ^~~~~~~~~~~~ In file included from gen/third_party/blink/renderer/core/layout/svg/svg_layout_jumbo_4.cc:16: ./../../../../src/5.15.13-38459bd7fb.clean/src/3rdparty/chromium/third_party/blink/renderer/core/layout/svg/svg_layout_tree_as_text.cc:255:30: warning: 'base::Optional<blink::Color> blink::ResolveColor(const blink::ComputedStyle&, const blink::SVGPaint&, const blink::SVGPaint&)' defined but not used [-Wunused-function] 255 | static base::Optional<Color> ResolveColor(const ComputedStyle& style, Fixes microsoft#37448 See also QTBUG-123328
7 tasks
tsondergaard
added a commit
to tsondergaard/vcpkg
that referenced
this issue
Mar 18, 2024
Both of the following two files define a static function ResolveColor() with the exact same signature causing a redefinition error when running a jumbo build * third_party/blink/renderer/core/layout/svg/svg_layout_tree_as_text.cc * third_party/blink/renderer/core/layout/svg/layout_svg_resource_paint_server.cc Error reported: In file included from gen/third_party/blink/renderer/core/layout/svg/svg_layout_jumbo_4.cc:16: ./../../../../src/5.15.13-38459bd7fb.clean/src/3rdparty/chromium/third_party/blink/renderer/core/layout/svg/svg_layout_tree_as_text.cc:255:30: error: redefinition of 'base::Optional<blink::Color> blink::ResolveColor(const blink::ComputedStyle&, const blink::SVGPaint&, const blink::SVGPaint&)' 255 | static base::Optional<Color> ResolveColor(const ComputedStyle& style, | ^~~~~~~~~~~~ In file included from gen/third_party/blink/renderer/core/layout/svg/svg_layout_jumbo_4.cc:5: ./../../../../src/5.15.13-38459bd7fb.clean/src/3rdparty/chromium/third_party/blink/renderer/core/layout/svg/layout_svg_resource_paint_server.cc:97:30: note: 'base::Optional<blink::Color> blink::ResolveColor(const blink::ComputedStyle&, const blink::SVGPaint&, const blink::SVGPaint&)' previously defined here 97 | static base::Optional<Color> ResolveColor(const ComputedStyle& style, | ^~~~~~~~~~~~ In file included from gen/third_party/blink/renderer/core/layout/svg/svg_layout_jumbo_4.cc:16: ./../../../../src/5.15.13-38459bd7fb.clean/src/3rdparty/chromium/third_party/blink/renderer/core/layout/svg/svg_layout_tree_as_text.cc:255:30: warning: 'base::Optional<blink::Color> blink::ResolveColor(const blink::ComputedStyle&, const blink::SVGPaint&, const blink::SVGPaint&)' defined but not used [-Wunused-function] 255 | static base::Optional<Color> ResolveColor(const ComputedStyle& style, Fixes microsoft#37448 See also QTBUG-123328
tsondergaard
added a commit
to tsondergaard/vcpkg
that referenced
this issue
Mar 18, 2024
Both of the following two files define a static function ResolveColor() with the exact same signature causing a redefinition error when running a jumbo build * third_party/blink/renderer/core/layout/svg/svg_layout_tree_as_text.cc * third_party/blink/renderer/core/layout/svg/layout_svg_resource_paint_server.cc Error reported: In file included from gen/third_party/blink/renderer/core/layout/svg/svg_layout_jumbo_4.cc:16: ./../../../../src/5.15.13-38459bd7fb.clean/src/3rdparty/chromium/third_party/blink/renderer/core/layout/svg/svg_layout_tree_as_text.cc:255:30: error: redefinition of 'base::Optional<blink::Color> blink::ResolveColor(const blink::ComputedStyle&, const blink::SVGPaint&, const blink::SVGPaint&)' 255 | static base::Optional<Color> ResolveColor(const ComputedStyle& style, | ^~~~~~~~~~~~ In file included from gen/third_party/blink/renderer/core/layout/svg/svg_layout_jumbo_4.cc:5: ./../../../../src/5.15.13-38459bd7fb.clean/src/3rdparty/chromium/third_party/blink/renderer/core/layout/svg/layout_svg_resource_paint_server.cc:97:30: note: 'base::Optional<blink::Color> blink::ResolveColor(const blink::ComputedStyle&, const blink::SVGPaint&, const blink::SVGPaint&)' previously defined here 97 | static base::Optional<Color> ResolveColor(const ComputedStyle& style, | ^~~~~~~~~~~~ In file included from gen/third_party/blink/renderer/core/layout/svg/svg_layout_jumbo_4.cc:16: ./../../../../src/5.15.13-38459bd7fb.clean/src/3rdparty/chromium/third_party/blink/renderer/core/layout/svg/svg_layout_tree_as_text.cc:255:30: warning: 'base::Optional<blink::Color> blink::ResolveColor(const blink::ComputedStyle&, const blink::SVGPaint&, const blink::SVGPaint&)' defined but not used [-Wunused-function] 255 | static base::Optional<Color> ResolveColor(const ComputedStyle& style, Fixes microsoft#37448 See also QTBUG-123328
tsondergaard
added a commit
to tsondergaard/vcpkg
that referenced
this issue
Mar 19, 2024
Both of the following two files define a static function ResolveColor() with the exact same signature causing a redefinition error when running a jumbo build * third_party/blink/renderer/core/layout/svg/svg_layout_tree_as_text.cc * third_party/blink/renderer/core/layout/svg/layout_svg_resource_paint_server.cc Error reported: In file included from gen/third_party/blink/renderer/core/layout/svg/svg_layout_jumbo_4.cc:16: ./../../../../src/5.15.13-38459bd7fb.clean/src/3rdparty/chromium/third_party/blink/renderer/core/layout/svg/svg_layout_tree_as_text.cc:255:30: error: redefinition of 'base::Optional<blink::Color> blink::ResolveColor(const blink::ComputedStyle&, const blink::SVGPaint&, const blink::SVGPaint&)' 255 | static base::Optional<Color> ResolveColor(const ComputedStyle& style, | ^~~~~~~~~~~~ In file included from gen/third_party/blink/renderer/core/layout/svg/svg_layout_jumbo_4.cc:5: ./../../../../src/5.15.13-38459bd7fb.clean/src/3rdparty/chromium/third_party/blink/renderer/core/layout/svg/layout_svg_resource_paint_server.cc:97:30: note: 'base::Optional<blink::Color> blink::ResolveColor(const blink::ComputedStyle&, const blink::SVGPaint&, const blink::SVGPaint&)' previously defined here 97 | static base::Optional<Color> ResolveColor(const ComputedStyle& style, | ^~~~~~~~~~~~ In file included from gen/third_party/blink/renderer/core/layout/svg/svg_layout_jumbo_4.cc:16: ./../../../../src/5.15.13-38459bd7fb.clean/src/3rdparty/chromium/third_party/blink/renderer/core/layout/svg/svg_layout_tree_as_text.cc:255:30: warning: 'base::Optional<blink::Color> blink::ResolveColor(const blink::ComputedStyle&, const blink::SVGPaint&, const blink::SVGPaint&)' defined but not used [-Wunused-function] 255 | static base::Optional<Color> ResolveColor(const ComputedStyle& style, Fixes microsoft#37448 See also QTBUG-123328
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
category:port-bug
The issue is with a library, which is something the port should already support
Operating system
Linux (AlmaLinux 9.3)
Compiler
GCC (stock distro compiler version 11.4.1)
Steps to reproduce the behavior
The error doesn't look like it is vcpkg specific, so I have also reported it upstream: QTBUG-123328. Basically both
src/3rdparty/chromium/third_party/blink/renderer/core/layout/svg/svg_layout_tree_as_text.cc
andsrc/3rdparty/chromium/third_party/blink/renderer/core/layout/svg/layout_svg_resource_paint_server.cc
define a static functionResolveColor()
with the exact same signature causing this redefinition error when running a jumbo build (the default).Failure logs
Error from example/vcpkg/buildtrees/qt5-webengine/package-build-x64-linux-dynamic-dbg-out.log:
Additional context
The text was updated successfully, but these errors were encountered: