Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 851027 - net-libs/webkit-gtk needs broader BDEPEND on gdbus-codegen
Summary: net-libs/webkit-gtk needs broader BDEPEND on gdbus-codegen
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
Depends on:
Reported: 2022-06-10 13:31 UTC by Daniel M. Weeks
Modified: 2022-06-14 17:20 UTC (History)
0 users

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


Note You need to log in before you can comment on or make changes to this bug.
Description Daniel M. Weeks 2022-06-10 13:31:23 UTC
Below with USE=X egl introspection jpeg2k jumbo-build seccomp

Without gdbus-codegen installed the build fails:

FAILED: WebCore/DerivedSources/AccessibilityAtspiInterfaces.h WebCore/DerivedSources/AccessibilityAtspiInterfaces.c /tmp/portage/net-libs/webkit-gtk-2.36.1/work/webkit-gtk-2.36.1_build/WebCore/DerivedSources/AccessibilityAtspiInterfaces.h /tmp/portage/net-libs/webkit-gtk-2.36.1/work/webkit-gtk-2.36.1_build/WebCore/DerivedSources/AccessibilityAtspiInterfaces.c

/bin/sh: line 1: gdbus-codegen: command not found

It looks like gdbus-codegen always needs to be available always to build, not just when USE=geolocation. From Source/WebCore/PlatformGTK.cmake:

        OUTPUT ${WebCore_DERIVED_SOURCES_DIR}/AccessibilityAtspiInterfaces.h ${WebCore_DERIVED_SOURCES_DIR}/AccessibilityAtspiInterfaces.c
        DEPENDS ${WebCore_AtspiInterfaceFiles}
        COMMAND gdbus-codegen --interface-prefix=org.a11y.atspi --c-namespace=webkit --pragma-once --interface-info-header --output=${WebCore_DERIVED_SOURCES_DIR}/AccessibilityAtspiInterfaces.h ${WebCore_AtspiInterfaceFiles}
        COMMAND gdbus-codegen --interface-prefix=org.a11y.atspi --c-namespace=webkit --interface-info-body --output=${WebCore_DERIVED_SOURCES_DIR}/AccessibilityAtspiInterfaces.c ${WebCore_AtspiInterfaceFiles}

I installed gdbus-codegen and the build succeeded.

Reproducible: Always
Comment 1 Larry the Git Cow gentoo-dev 2022-06-14 17:20:14 UTC
The bug has been closed via the following commit(s):

commit 9e37a5481cdd16598433ce2da152471837f46ee2
Author:     Matt Turner <>
AuthorDate: 2022-06-14 17:16:29 +0000
Commit:     Matt Turner <>
CommitDate: 2022-06-14 17:20:09 +0000

    net-libs/webkit-gtk: Unconditionalize gdbus-codegen dep
    Also drop unnecessary dev-util/cmake dependency.
    Signed-off-by: Matt Turner <>

 net-libs/webkit-gtk/webkit-gtk-2.36.3.ebuild | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)