Skip to content

Commit

Permalink
webruntime.inc: add dependency on abseil-cpp-native
Browse files Browse the repository at this point in the history
* 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: protocolbuffers/protobuf#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 <[email protected]>
  • Loading branch information
shr-project committed May 22, 2023
1 parent 10a81dd commit f6719d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion meta-luneos/recipes-webos/chromium/webruntime.inc
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f6719d4

Please sign in to comment.