From a9f8e32a0f9a79eb4ea1f3d55b104349701cd6cb Mon Sep 17 00:00:00 2001 From: Martin Jansa Date: Thu, 18 May 2023 09:02:18 +0200 Subject: [PATCH] webruntime.inc: add dependency on abseil-cpp-native MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * on gentoo with gcc-13 on host there is one more issue with dev-cpp/abseil-cpp-20230125.2 while older dev-cpp/abseil-cpp-20220623.1 works fine when building host's flatbuffers, similar to: https://github.com/protocolbuffers/protobuf/issues/10768 webruntime $ grep include/absl 94-r59.2/temp/log.do_compile.* | sort -u 94-r59.2/temp/log.do_compile.2082512:/usr/include/absl/strings/string_view.h:52:21: note: ‘std::string_view’ is only available from C++17 onwards 94-r59.2/temp/log.do_compile.2082512:/usr/include/absl/strings/string_view.h:52:26: error: ‘string_view’ in namespace ‘std’ does not name a type 94-r59.2/temp/log.do_compile.2082512:/usr/include/absl/strings/string_view.h:686:8: error: ‘string_view’ does not name a type 94-r59.2/temp/log.do_compile.2082512:/usr/include/absl/strings/string_view.h:697:11: error: ‘string_view’ does not name a type * it still builds own version of host absl with or without abseil-cpp-native dependency: 94-r59.2/temp/log.do_compile.1947113:[11550/43007] STAMP host/obj/third_party/abseil-cpp/absl.stamp 94-r59.2/temp/log.do_compile.2082512:[11326/43007] STAMP host/obj/third_party/abseil-cpp/absl.stamp but at least now it works even with newer absl on host Signed-off-by: Martin Jansa --- meta-luneos/recipes-webos/chromium/webruntime.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta-luneos/recipes-webos/chromium/webruntime.inc b/meta-luneos/recipes-webos/chromium/webruntime.inc index edab5bbcf6..968102f040 100644 --- a/meta-luneos/recipes-webos/chromium/webruntime.inc +++ b/meta-luneos/recipes-webos/chromium/webruntime.inc @@ -18,7 +18,7 @@ inherit webos_lttng #inherit webos_prerelease_dep inherit webos_system_bus -DEPENDS = "virtual/gettext wayland wayland-native luna-service2 pixman freetype fontconfig openssl pango cairo icu webos-wayland-extensions libxkbcommon libexif dbus pciutils udev libcap alsa-lib virtual/egl elfutils-native libdrm atk gperf-native gconf libwebosi18n bison-native xorgproto nss nspr curl nspr-native nss-native pmloglib glib-2.0-native python3-six-native python3-beautifulsoup4-native python3-soupsieve-native python3-lxml-native python3-html5lib-native python3-webencodings-native" +DEPENDS = "virtual/gettext wayland wayland-native luna-service2 pixman freetype fontconfig openssl pango cairo icu webos-wayland-extensions libxkbcommon libexif dbus pciutils udev libcap alsa-lib virtual/egl elfutils-native libdrm atk gperf-native gconf libwebosi18n bison-native xorgproto nss nspr curl nspr-native nss-native pmloglib glib-2.0-native python3-six-native python3-beautifulsoup4-native python3-soupsieve-native python3-lxml-native python3-html5lib-native python3-webencodings-native abseil-cpp-native" INC_PR = "r59" # Enable this in webos-local.conf or in recipe to build