Summary: | media-video/wireplumber-0.5.8 modules/module-reserve-device/reserve-device-interface.c: error: implicit declaration of function g_variant_builder_init_static | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | irort <irort3124> |
Component: | Current packages | Assignee: | Sam James <sam> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | cizo2000, irort3124, sam |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
See Also: |
https://bugs.gentoo.org/show_bug.cgi?id=951313 https://bugs.gentoo.org/show_bug.cgi?id=951115 |
||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
emerge-info.txt
ebuild environment emerge -pqv '=media-video/wireplumber-0.5.8::gentoo' media-video/wireplumber-0.5.8 build.log |
Description
irort
2025-03-14 16:45:27 UTC
Created attachment 920768 [details]
ebuild environment
Created attachment 920769 [details]
emerge -pqv '=media-video/wireplumber-0.5.8::gentoo'
Created attachment 920776 [details]
media-video/wireplumber-0.5.8 build.log
Hello, I am experiencing same issue with media-video/wireplumber-0.5.8-r2: modules/module-reserve-device/reserve-device-interface.c:1395:3: error: implicit declaration of function ‘g_variant_builder_init_static’; did you mean ‘g_variant_builder_init’? [-Wimplicit-function-declaration] 1395 | g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | g_variant_builder_init I use gcc14. Also same issue shows up also in media-video/pipewire-1.2.7-r2:0/0.4::gentoo package, when bluetooth support is enabled. If you're hitting this, please share the output of: emerge -pvO dev-libs/glib dev-util/gdbus-codegen dev-libs/gobject-introspection. Here is the output: [ebuild R ] dev-libs/glib-2.82.5:2::gentoo USE="dbus elf introspection (mime) static-libs xattr -debug -doc (-selinux) -sysprof -systemtap -test -utils" ABI_X86="(64) -32 (-x32)" 0 KiB [ebuild R ~] dev-util/gdbus-codegen-2.84.0::gentoo PYTHON_SINGLE_TARGET="python3_12 -python3_10 -python3_11 -python3_13" 0 KiB [ebuild R ] dev-libs/gobject-introspection-1.82.0-r2::gentoo USE="-doctool -gtk-doc -test" PYTHON_SINGLE_TARGET="python3_12 -python3_10 -python3_11 -python3_13" 0 KiB (In reply to Pavol Cizmarik from comment #6) > Here is the output: > > [ebuild R ] dev-libs/glib-2.82.5:2::gentoo USE="dbus elf introspection > (mime) static-libs xattr -debug -doc (-selinux) -sysprof -systemtap -test > -utils" ABI_X86="(64) -32 (-x32)" 0 KiB > [ebuild R ~] dev-util/gdbus-codegen-2.84.0::gentoo > PYTHON_SINGLE_TARGET="python3_12 -python3_10 -python3_11 -python3_13" 0 KiB > [ebuild R ] dev-libs/gobject-introspection-1.82.0-r2::gentoo > USE="-doctool -gtk-doc -test" PYTHON_SINGLE_TARGET="python3_12 -python3_10 > -python3_11 -python3_13" 0 KiB Thanks. The issue is newer gdbus-codegen without new enough glib. Can you try downgrade gdbus-codegen to 2.82* to check if I'm right? (In reply to Sam James from comment #7) > (In reply to Pavol Cizmarik from comment #6) > > Here is the output: > > > > [ebuild R ] dev-libs/glib-2.82.5:2::gentoo USE="dbus elf introspection > > (mime) static-libs xattr -debug -doc (-selinux) -sysprof -systemtap -test > > -utils" ABI_X86="(64) -32 (-x32)" 0 KiB > > [ebuild R ~] dev-util/gdbus-codegen-2.84.0::gentoo > > PYTHON_SINGLE_TARGET="python3_12 -python3_10 -python3_11 -python3_13" 0 KiB > > [ebuild R ] dev-libs/gobject-introspection-1.82.0-r2::gentoo > > USE="-doctool -gtk-doc -test" PYTHON_SINGLE_TARGET="python3_12 -python3_10 > > -python3_11 -python3_13" 0 KiB > > Thanks. The issue is newer gdbus-codegen without new enough glib. Can you > try downgrade gdbus-codegen to 2.82* to check if I'm right? Thank you, it works. After downgrade gdbus-codegen version same to dev-libs/glib, media-video/wireplumber build pass I can confirm that downgrade to 2.82* worked too. I've built both pipewire and wireplumber without issues. Same version number of glib and gdbus-codegen solved it. Thank you. Thanks. The issue is that newer gdbus-codegen emits g_variant_builder_init_static opportunistically and older glib has no idea what that is. The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9ad9105aa3c17428af8679883fe5710eb514ffcf commit 9ad9105aa3c17428af8679883fe5710eb514ffcf Author: Sam James <sam@gentoo.org> AuthorDate: 2025-03-19 01:20:00 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2025-03-19 01:20:00 +0000 dev-util/gdbus-codegen: add blocker on <dev-libs/glib-${PV} I don't like blockers for this at all but it's what dev-libs/glib already does for dev-util/gdbus-codegen, we just need the other direction here. gdbus-codegen-2.84.0 emits code using g_variant_builder_init_static which needs glib-2.84.0 for building + linking against. Closes: https://bugs.gentoo.org/951313 Closes: https://bugs.gentoo.org/951115 Closes: https://bugs.gentoo.org/951345 Signed-off-by: Sam James <sam@gentoo.org> .../{gdbus-codegen-2.84.0.ebuild => gdbus-codegen-2.84.0-r1.ebuild} | 1 + 1 file changed, 1 insertion(+) |