libaccounts-glib failed to build from source in Fedora rawhide/f40 https://koji.fedoraproject.org/koji/taskinfo?taskID=112311762 For details on the mass rebuild see: https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild Please fix libaccounts-glib at your earliest convenience and set the bug's status to ASSIGNED when you start fixing it. If the bug remains in NEW state for 8 weeks, libaccounts-glib will be orphaned. Before branching of Fedora 41, libaccounts-glib will be retired, if it still fails to build. For more details on the FTBFS policy, please visit: https://docs.fedoraproject.org/en-US/fesco/Fails_to_build_from_source_Fails_to_install/
Created attachment 2012400 [details] build.log file build.log too big, will only attach last 32768 bytes
Created attachment 2012401 [details] root.log file root.log too big, will only attach last 32768 bytes
Created attachment 2012402 [details] state.log
This blocks the Python 3.13 rebuild and the @critical-path-kde group.
gcc -Ilibaccounts-glib/libaccounts-glib.so.1.25.p -Ilibaccounts-glib -I../libaccounts-glib -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/gio-unix-2.0 -I/usr/include/libxml2 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch '-DAPPLICATION_FILES_DIR="accounts/applications"' '-DPROVIDER_FILES_DIR="accounts/providers"' '-DSERVICE_FILES_DIR="accounts/services"' '-DSERVICE_TYPE_FILES_DIR="accounts/service_types"' '-DDATABASE_DIR="libaccounts-glib"' -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -pthread -DWITH_GZFILEOP '-DG_LOG_DOMAIN="accounts-glib"' -DACCOUNTS_GLIB_COMPILATION=1 -MD -MQ libaccounts-glib/libaccounts-glib.so.1.25.p/ag-account.c.o -MF libaccounts-glib/libaccounts-glib.so.1.25.p/ag-account.c.o.d -o libaccounts-glib/libaccounts-glib.so.1.25.p/ag-account.c.o -c ../libaccounts-glib/ag-account.c ../libaccounts-glib/ag-account.c: In function ‘ag_account_init’: ../libaccounts-glib/ag-account.c:824:13: warning: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE" 824 | AgAccountPrivate); | ^ ~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/glist.h:34, from /usr/include/glib-2.0/glib/ghash.h:36, from /usr/include/glib-2.0/glib.h:52, from /usr/include/glib-2.0/gobject/gbinding.h:30, from /usr/include/glib-2.0/glib-object.h:24, from ../libaccounts-glib/ag-manager.h:35, from ../libaccounts-glib/ag-account.c:102: ../libaccounts-glib/ag-account.c: In function ‘ag_account_finalize’: /usr/include/glib-2.0/glib/gmem.h:143:18: error: passing argument 1 of ‘_ag_account_changes_free’ from incompatible pointer type [-Wincompatible-pointer-types] 143 | (destroy) (_ptr); \ | ^~~~ | | | GHashTable * {aka struct _GHashTable *} ../libaccounts-glib/ag-account.c:997:9: note: in expansion of macro ‘g_clear_pointer’ 997 | g_clear_pointer (&priv->services, _ag_account_changes_free); | ^~~~~~~~~~~~~~~ ../libaccounts-glib/ag-account.c:540:45: note: expected ‘AgAccountChanges *’ {aka ‘struct _AgAccountChanges *’} but argument is of type ‘GHashTable *’ {aka ‘struct _GHashTable *’} 540 | _ag_account_changes_free (AgAccountChanges *changes) | ~~~~~~~~~~~~~~~~~~^~~~~~~ ../libaccounts-glib/ag-account.c: In function ‘ag_account_class_init’: ../libaccounts-glib/ag-account.c:1008:5: warning: ‘g_type_class_add_private’ is deprecated [-Wdeprecated-declarations] 1008 | g_type_class_add_private (object_class, sizeof (AgAccountPrivate)); | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:26, from /usr/include/glib-2.0/gobject/gbinding.h:31: /usr/include/glib-2.0/gobject/gtype.h:1497:10: note: declared here 1497 | void g_type_class_add_private (gpointer g_class, | ^~~~~~~~~~~~~~~~~~~~~~~~
I opened https://src.fedoraproject.org/rpms/libaccounts-glib/pull-request/2 as a stopgap measure.
This bug appears to have been reported against 'rawhide' during the Fedora Linux 42 development cycle. Changing version to 42.