Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 787227 - www-client/chromium-91.0.4472.19 missing dependency on x11-libs/libxkbcommon
Summary: www-client/chromium-91.0.4472.19 missing dependency on x11-libs/libxkbcommon
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Chromium Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-04-30 20:03 UTC by Hank Leininger
Modified: 2021-05-12 19:18 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Hank Leininger 2021-04-30 20:03:48 UTC
www-client/chromium-91.0.4472.19 fails to build if you do not have x11-libs/libxkbcommon installed; during configure with effective USE="hangouts js-type-check (pic) proprietary-codecs suid system-ffmpeg":

...
Command: python /var/tmp/portage/www-client/chromium-91.0.4472.19/work/chromium-91.0.4472.19/build/config/linux/pkg-config.py xkbcommon
Returned 1.
stderr:

Package xkbcommon was not found in the pkg-config search path.
Perhaps you should add the directory containing `xkbcommon.pc'
to the PKG_CONFIG_PATH environment variable
No package 'xkbcommon' found
Could not run pkg-config.

See //ui/events/ozone/layout/BUILD.gn:12:3: whence it was called.
  pkg_config("xkbcommon") {
  ^------------------------
See //chrome/test/chromedriver/BUILD.gn:296:15: which caused the file to be included.
    deps += [ "//ui/events/ozone/layout" ]
              ^-------------------------
...

Emerging libxkbcommon first allows configure + build to proceed.

I don't know exactly when chromium's behavior changed, but at least www-client/chromium-89.0.4389.90 did not have this issue. It looks like chromium ebuilds have had a COMMON_DEPEND entry for libxkbdcommon since about 2020-06-19 in 7df14bbbf6f80e1fca0dc66dcf4c4530085cea9b, but only when USE="-headless wayland".
Comment 1 Larry the Git Cow gentoo-dev 2021-05-02 07:52:22 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=da2517201c4cd2c2ae174da3bcb999e7c9ba3033

commit da2517201c4cd2c2ae174da3bcb999e7c9ba3033
Author:     Stephan Hartmann <sultan@gentoo.org>
AuthorDate: 2021-05-02 07:51:52 +0000
Commit:     Stephan Hartmann <sultan@gentoo.org>
CommitDate: 2021-05-02 07:52:11 +0000

    www-client/chromium: beta channel bump to 91.0.4472.27
    
    Bug: https://bugs.gentoo.org/787227
    Package-Manager: Portage-3.0.18, Repoman-3.0.2
    Signed-off-by: Stephan Hartmann <sultan@gentoo.org>

 www-client/chromium/Manifest                                           | 2 +-
 .../{chromium-91.0.4472.19.ebuild => chromium-91.0.4472.27.ebuild}     | 3 +--
 2 files changed, 2 insertions(+), 3 deletions(-)
Comment 2 Larry the Git Cow gentoo-dev 2021-05-02 20:49:37 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c63b5749cc09a82329dd0d1f4ed3f58066c3536b

commit c63b5749cc09a82329dd0d1f4ed3f58066c3536b
Author:     Stephan Hartmann <sultan@gentoo.org>
AuthorDate: 2021-05-02 20:48:34 +0000
Commit:     Stephan Hartmann <sultan@gentoo.org>
CommitDate: 2021-05-02 20:49:11 +0000

    www-client/chromium: dev channel bump to 92.0.4491.6
    
    Bug: https://bugs.gentoo.org/787227
    Package-Manager: Portage-3.0.18, Repoman-3.0.2
    Signed-off-by: Stephan Hartmann <sultan@gentoo.org>

 www-client/chromium/Manifest                                   |  4 ++--
 ...chromium-92.0.4484.7.ebuild => chromium-92.0.4491.6.ebuild} | 10 +++++-----
 2 files changed, 7 insertions(+), 7 deletions(-)
Comment 3 Stephan Hartmann (RETIRED) gentoo-dev 2021-05-12 19:18:44 UTC
Also fixed in current stable channel.