Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 951313 - net-libs/libcloudproviders-0.3.6 - [meson] [go-1.24] [gcc-15] src/cloudproviders-generated.c: error: implicit declaration of function g_variant_builder_init_static
Summary: net-libs/libcloudproviders-0.3.6 - [meson] [go-1.24] [gcc-15] src/cloudprovid...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-03-13 19:16 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,18.20 KB, text/plain)
2025-03-13 19:16 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,15.49 KB, text/plain)
2025-03-13 19:16 UTC, Toralf Förster
Details
environment (environment,128.26 KB, text/plain)
2025-03-13 19:16 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.20 KB, application/x-xz)
2025-03-13 19:16 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,27.14 KB, application/x-xz)
2025-03-13 19:16 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,3.58 KB, application/x-xz)
2025-03-13 19:16 UTC, Toralf Förster
Details
net-libs:libcloudproviders-0.3.6:20250313-190743.log (net-libs:libcloudproviders-0.3.6:20250313-190743.log,15.64 KB, text/plain)
2025-03-13 19:16 UTC, Toralf Förster
Details
qlist-info.txt (qlist-info.txt,74.97 KB, text/plain)
2025-03-13 19:16 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,29.59 KB, application/x-xz)
2025-03-13 19:16 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-13 19:16:11 UTC
too long lines were shrinked:

[6/19] x86_64-pc-linux-gnu-gcc -Itest/testcloudprovidersclient.p -Itest -I../libcloudproviders-0.3.6/test -Isrc -I../libcloudproviders-0.3.6/src -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/lib64/libffi/include -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/gio-unix-2.0 
[7/19] x86_64-pc-linux-gnu-gcc -Itest/testcloudprovidersserver.p -Itest -I../libcloudproviders-0.3.6/test -Isrc -I../libcloudproviders-0.3.6/src -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/lib64/libffi/include -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/gio-unix-2.0 
[8/19] x86_64-pc-linux-gnu-gcc -Isrc/libcloudproviders.so.0.3.6.p -Isrc -I../libcloudproviders-0.3.6/src -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/lib64/libffi/include -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/gio-unix-2.0 -fdiagnostics-color=always -D_FILE_OFFSE
FAILED: src/libcloudproviders.so.0.3.6.p/meson-generated_.._cloudproviders-generated.c.o 
x86_64-pc-linux-gnu-gcc -Isrc/libcloudproviders.so.0.3.6.p -Isrc -I../libcloudproviders-0.3.6/src -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/lib64/libffi/include -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/gio-unix-2.0 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=
src/cloudproviders-generated.c: In function cloud_providers_dbus_provider_skeleton_dbus_interface_get_properties:
src/cloudproviders-generated.c:964:3: error: implicit declaration of function g_variant_builder_init_static; did you mean g_variant_builder_init? [-Wimplicit-function-declaration]
  964 |   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_gnome-20250313-124004

  UNMASKED:

  [gcc-15] Requested by sam
  <sys-devel/gcc-15.0.9999:15

  [go-1.24] Requested by WilliamH - maybe block bug 950018
  <dev-lang/go-9999

  [meson] Please re-assign to ztrawhcse@ if you cannot reproduced it with regular meson.
  <dev-build/meson-9999

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-15 *
clang version 19.1.7
llvm-config: 19.1.7
Python 3.12.9
go version go1.24.1 linux/amd64
Available Ruby profiles:
  (none found)
Available Rust versions:
  [1]   rust-bin-1.84.1
  [2]   rust-bin-1.85.0 *
The following VMs are available for generation-2:
*)	Eclipse Temurin JDK 21.0.6_p7 [openjdk-bin-21]
Available Java Virtual Machines:
  [1]   openjdk-bin-21  system-vm


  HEAD of ::gentoo
commit b7bf9262eb087c76b42a7b5b181ed932a963d440
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Thu Mar 13 16:33:39 2025 +0000

    2025-03-13 16:33:39 UTC

emerge -qpvO =net-libs/libcloudproviders-0.3.6
[ebuild  N    ] net-libs/libcloudproviders-0.3.6  USE="introspection -gtk-doc -vala" ABI_X86="(64) -32 (-x32)"
Comment 1 Toralf Förster gentoo-dev 2025-03-13 19:16:12 UTC
Created attachment 920738 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2025-03-13 19:16:13 UTC
Created attachment 920739 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2025-03-13 19:16:14 UTC
Created attachment 920740 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2025-03-13 19:16:15 UTC
Created attachment 920741 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2025-03-13 19:16:16 UTC
Created attachment 920742 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2025-03-13 19:16:16 UTC
Created attachment 920743 [details]
logs.tar.xz
Comment 7 Toralf Förster gentoo-dev 2025-03-13 19:16:17 UTC
Created attachment 920744 [details]
net-libs:libcloudproviders-0.3.6:20250313-190743.log
Comment 8 Toralf Förster gentoo-dev 2025-03-13 19:16:18 UTC
Created attachment 920745 [details]
qlist-info.txt
Comment 9 Toralf Förster gentoo-dev 2025-03-13 19:16:19 UTC
Created attachment 920746 [details]
temp.tar.xz
Comment 10 Larry the Git Cow gentoo-dev 2025-03-19 01:21:42 UTC
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(+)
Comment 11 Larry the Git Cow gentoo-dev 2025-03-24 23:20:18 UTC
The bug has been referenced in 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(+)