Igalia / chromium

Old repo. See https://crbug.com/578890 instead.

Home Page:https://chromium.googlesource.com/chromium/src.git

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Needs libffi.6?

Alex-Aralis opened this issue · comments

I'm sitting out here in gentoo land and only have libffi.7 but when i try to build chromium for wayland it screams for libffi.6. Looking at the version compiled by the system, it's using the libffi.7 and i'm wondering what's up? Is it one of the gentoo specific patches to chromium that makes it use libffi.7 instead of 6?

Here's the ebuild for vanilla chromium in case it helps.
https://gitweb.gentoo.org/repo/gentoo.git/tree/www-client/chromium/chromium-71.0.3578.80.ebuild

Wayland relies on libffi, but there is no specific version needed -

third_party/wayland/BUILD.gn:43:      "//build/config/linux/libffi",
third_party/wayland/BUILD.gn:80:      "//build/config/linux/libffi",
third_party/wayland/BUILD.gn:101:      "//build/config/linux/libffi",
third_party/wayland/BUILD.gn:129:      "//build/config/linux/libffi",

build/config/linux/libffi/BUILD.gn:7:pkg_config("libffi") {
build/config/linux/libffi/BUILD.gn:8:  packages = [ "libffi" ]

But there are instrumented_libraries, which rely on libffi6

third_party/instrumented_libraries/BUILD.gn:116:      ":libffi6",
third_party/instrumented_libraries/BUILD.gn:474:  instrumented_library("libffi6") {
third_party/instrumented_libraries/scripts/install-build-deps.sh:32:libffi6 \
third_party/instrumented_libraries/scripts/install-build-deps.sh:93:  # zlib1g and libffi remove gcc-4.8 in favor of gcc-multilib,

Feel free to reopen.