Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 851027

Summary: net-libs/webkit-gtk needs broader BDEPEND on gdbus-codegen
Product: Gentoo Linux Reporter: Daniel M. Weeks <dan>
Component: Current packagesAssignee: Gentoo Linux Gnome Desktop Team <gnome>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

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:

    add_custom_command(
        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}
        VERBATIM
    )


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):

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

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

    net-libs/webkit-gtk: Unconditionalize gdbus-codegen dep
    
    Also drop unnecessary dev-util/cmake dependency.
    
    Closes: https://bugs.gentoo.org/851027
    Signed-off-by: Matt Turner <mattst88@gentoo.org>

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