Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 952007 - app-emulation/qemu-9.2.2 - ui/dbus-display1.c: error: implicit declaration of function g_variant_builder_init_static
Summary: app-emulation/qemu-9.2.2 - ui/dbus-display1.c: error: implicit declaration of...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Virtualization Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-03-24 21:10 UTC by Toralf Förster
Modified: 2025-03-24 23:20 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,19.14 KB, text/plain)
2025-03-24 21:10 UTC, Toralf Förster
Details
app-emulation:qemu-9.2.2:20250324-205551.log.xz (app-emulation:qemu-9.2.2:20250324-205551.log.xz,51.95 KB, application/x-xz)
2025-03-24 21:10 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,20.49 KB, text/plain)
2025-03-24 21:10 UTC, Toralf Förster
Details
environment (environment,170.88 KB, text/plain)
2025-03-24 21:10 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.62 KB, application/x-xz)
2025-03-24 21:10 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,23.94 KB, application/x-xz)
2025-03-24 21:10 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,245.67 KB, application/x-xz)
2025-03-24 21:10 UTC, Toralf Förster
Details
qlist-info.txt (qlist-info.txt,84.25 KB, text/plain)
2025-03-24 21:10 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2025-03-24 21:10:18 UTC
too long lines were shrinked:

FAILED: libcommon.a.p/meson-generated_.._ui_dbus-display1.c.o 
x86_64-pc-linux-gnu-gcc -m64 -Ilibcommon.a.p -Isubprojects/libvduse -I../subprojects/libvduse -I/usr/include/p11-kit-1 -I/usr/include/pixman-1 -I/usr/include/libpng16 -I/usr/include/libusb-1.0 -I/usr/include/SDL2 -I/usr/lib64/libffi/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/us
ui/dbus-display1.c: In function qemu_dbus_display1_vm_skeleton_dbus_interface_get_properties:
ui/dbus-display1.c:2415:33: warning: "GLIB_VERSION_2_84" is not defined, evaluates to 0 [-Wundef]
 2415 | #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
      |                                 ^~~~~~~~~~~~~~~~~
ui/dbus-display1.c:2416:3: error: implicit declaration of function g_variant_builder_init_static; did you mean g_variant_builder_init? [-Wimplicit-function-declaration]
 2416 |   g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_desktop-20250324-042502

  The attached etc.portage.tar.xz has all details.
  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-14 *
clang version 20.1.1
llvm-config: 20.1.1
Python 3.12.9
go version go1.24.1 linux/amd64
Available Ruby profiles:
  [1]   ruby32 (with Rubygems)
  [2]   ruby34 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.84.1
  [2]   rust-bin-1.85.1 *

  HEAD of ::gentoo
commit c3e62691af8bcab2a76bcca0f1b60cd55b76a384
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Mon Mar 24 19:20:27 2025 +0000

    2025-03-24 19:20:27 UTC

emerge -qpvO =app-emulation/qemu-9.2.2
[ebuild  N    ] app-emulation/qemu-9.2.2  USE="aio alsa bzip2 curl fdt filecaps gnutls gtk jpeg ncurses nls opengl oss pam pin-upstream-blobs png sdl seccomp slirp udev usb vhost-net vnc -accessibility -bpf -capstone -debug -doc -fuse -glusterfs -infiniband -io-uring -iscsi -jack -jemalloc -keyutils -lzo -multipath -nfs -numa -pipewire -plugins -pulseaudio -python -rbd -sasl -sdl-image (-selinux) -smartcard -snappy -spice -ssh -static-user -systemtap -test -usbredir -vde -virgl -virtfs -vte -xattr -xdp -xen -zstd" PYTHON_TARGETS="python3_12 -python3_11 -python3_13" QEMU_SOFTMMU_TARGETS="aarch64 x86_64 -alpha -arm -avr -hppa -i386 -loongarch64 -m68k -microblaze -microblazeel -mips -mips64 -mips64el -mipsel -or1k -ppc -ppc64 -riscv32 -riscv64 -rx -s390x -sh4 -sh4eb -sparc -sparc64 -tricore -xtensa -xtensaeb" QEMU_USER_TARGETS="aarch64 x86_64 -aarch64_be -alpha -arm -armeb -hexagon -hppa -i386 -loongarch64 -m68k -microblaze -microblazeel -mips -mips64 -mips64el -mipsel -mipsn32 -mipsn32el -or1k -ppc -ppc64 -ppc64le -riscv32 -riscv64 -s390x -sh4 -sh4eb -sparc -sparc32plus -sparc64 -xtensa -xtensaeb"
Comment 1 Toralf Förster gentoo-dev 2025-03-24 21:10:19 UTC
Created attachment 922550 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2025-03-24 21:10:20 UTC
Created attachment 922551 [details]
app-emulation:qemu-9.2.2:20250324-205551.log.xz
Comment 3 Toralf Förster gentoo-dev 2025-03-24 21:10:21 UTC
Created attachment 922552 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2025-03-24 21:10:23 UTC
Created attachment 922553 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2025-03-24 21:10:23 UTC
Created attachment 922554 [details]
etc.clang.tar.xz
Comment 6 Toralf Förster gentoo-dev 2025-03-24 21:10:24 UTC
Created attachment 922555 [details]
etc.portage.tar.xz
Comment 7 Toralf Förster gentoo-dev 2025-03-24 21:10:26 UTC
Created attachment 922556 [details]
logs.tar.xz
Comment 8 Toralf Förster gentoo-dev 2025-03-24 21:10:27 UTC
Created attachment 922557 [details]
qlist-info.txt
Comment 9 Larry the Git Cow gentoo-dev 2025-03-24 23:20:15 UTC
The bug has been closed via the following commit(s):

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

commit 5d3981b8933bb07a16a38cc1af67baf742d8500d
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2025-03-24 23:18:16 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2025-03-24 23:19:14 +0000

    dev-util/gdbus-codegen: depend on >=dev-libs/glib-${PV}
    
    I should've known when trying 9ad9105aa3c17428af8679883fe5710eb514ffcf, alas.
    
    gdbus-codegen may output code intended to be built against a newer glib,
    so when using it, you must have a newer glib version.
    
    Bug: https://bugs.gentoo.org/951313
    Bug: https://bugs.gentoo.org/951115
    Bug: https://bugs.gentoo.org/951345
    Closes: https://bugs.gentoo.org/952002
    Closes: https://bugs.gentoo.org/952003
    Closes: https://bugs.gentoo.org/952007
    Signed-off-by: Sam James <sam@gentoo.org>

 .../gdbus-codegen/gdbus-codegen-2.84.0-r2.ebuild   | 78 ++++++++++++++++++++++
 1 file changed, 78 insertions(+)