Bug#1066277: accountsservice: FTBFS: ../subprojects/mocklibc-1.0/src/netgroup-debug.c:25:3: error: implicit declaration of function ‘print_indent’ [-Werror=implicit-function-declaration]
Lucas Nussbaum
lucas at debian.org
Wed Mar 13 11:35:30 GMT 2024
Source: accountsservice
Version: 23.13.9-6
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20240313 ftbfs-trixie ftbfs-impfuncdef
Hi,
During a rebuild of all packages in sid, your package failed to build
on amd64.
This is most likely caused by a change in dpkg 1.22.6, that enabled
-Werror=implicit-function-declaration. For more information, see
https://wiki.debian.org/qa.debian.org/FTBFS#A2024-03-13_-Werror.3Dimplicit-function-declaration
Relevant part (hopefully):
> cc -Isubprojects/mocklibc-1.0/src/mocklibc-debug-netgroup.p -Isubprojects/mocklibc-1.0/src -I../subprojects/mocklibc-1.0/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -MD -MQ subprojects/mocklibc-1.0/src/mocklibc-debug-netgroup.p/netgroup-debug.c.o -MF subprojects/mocklibc-1.0/src/mocklibc-debug-netgroup.p/netgroup-debug.c.o.d -o subprojects/mocklibc-1.0/src/mocklibc-debug-netgroup.p/netgroup-debug.c.o -c ../subprojects/mocklibc-1.0/src/netgroup-debug.c
> ../subprojects/mocklibc-1.0/src/netgroup-debug.c: In function ‘netgroup_debug_print_entry’:
> ../subprojects/mocklibc-1.0/src/netgroup-debug.c:25:3: error: implicit declaration of function ‘print_indent’ [-Werror=implicit-function-declaration]
> 25 | print_indent(stream, indent);
> | ^~~~~~~~~~~~
> cc1: some warnings being treated as errors
> [96/112] cc -Isubprojects/mocklibc-1.0/src/libmocklibc.so.0.0.0.p -Isubprojects/mocklibc-1.0/src -I../subprojects/mocklibc-1.0/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -MD -MQ subprojects/mocklibc-1.0/src/libmocklibc.so.0.0.0.p/netgroup.c.o -MF subprojects/mocklibc-1.0/src/libmocklibc.so.0.0.0.p/netgroup.c.o.d -o subprojects/mocklibc-1.0/src/libmocklibc.so.0.0.0.p/netgroup.c.o -c ../subprojects/mocklibc-1.0/src/netgroup.c
> [97/112] cc -Isrc/libaccountsservice/libaccountsservice.so.0.0.0.p -Isrc/libaccountsservice -I../src/libaccountsservice -I. -I.. -Isrc -I../src -I/usr/include/gio-unix-2.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libmount -I/usr/include/blkid -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -pthread '-DG_LOG_DOMAIN="accountsservice"' -MD -MQ src/libaccountsservice/libaccountsservice.so.0.0.0.p/act-user.c.o -MF src/libaccountsservice/libaccountsservice.so.0.0.0.p/act-user.c.o.d -o src/libaccountsservice/libaccountsservice.so.0.0.0.p/act-user.c.o -c ../src/libaccountsservice/act-user.c
> [98/112] /usr/bin/xmlto xhtml-nochunks -o /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/doc/dbus -m ../doc/dbus/config.xsl doc/dbus/AccountsService.xml
> [99/112] cc -Isrc/accounts-daemon.p -Isrc -I../src -I. -I.. -I/usr/include/gio-unix-2.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/polkit-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -pthread '-DLOCALSTATEDIR="/var"' '-DDATADIR="/usr/share"' '-DSYSCONFDIR="/etc"' '-DICONDIR="/var/lib/AccountsService/icons"' '-DUSERDIR="/var/lib/AccountsService/users"' -MD -MQ src/accounts-daemon.p/user.c.o -MF src/accounts-daemon.p/user.c.o.d -o src/accounts-daemon.p/user.c.o -c ../src/user.c
> [100/112] cc -Itests/util.p -Itests -I../tests -I. -I.. -I/usr/include/gio-unix-2.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/polkit-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -pthread '-DLOCALSTATEDIR="/var"' '-DDATADIR="/usr/share"' '-DSYSCONFDIR="/etc"' '-DICONDIR="/var/lib/AccountsService/icons"' '-DUSERDIR="/var/lib/AccountsService/users"' -MD -MQ tests/util.p/util.c.o -MF tests/util.p/util.c.o.d -o tests/util.p/util.c.o -c ../tests/util.c
> In file included from ../tests/util.c:3:
> ../src/util.c: In function ‘compat_check_exit_status’:
> ../src/util.c:164:9: warning: ‘g_spawn_check_exit_status’ is deprecated: Use 'g_spawn_check_wait_status' instead [-Wdeprecated-declarations]
> 164 | return g_spawn_check_exit_status (estatus, error);
> | ^~~~~~
> In file included from /usr/include/glib-2.0/glib.h:84,
> from /usr/include/glib-2.0/gobject/gbinding.h:30,
> from /usr/include/glib-2.0/glib-object.h:24,
> from /usr/include/polkit-1/polkit/polkittypes.h:25,
> from /usr/include/polkit-1/polkit/polkit.h:27,
> from ../src/util.c:33:
> /usr/include/glib-2.0/glib/gspawn.h:315:10: note: declared here
> 315 | gboolean g_spawn_check_exit_status (gint wait_status,
> | ^~~~~~~~~~~~~~~~~~~~~~~~~
> [101/112] cc -Isrc/libaccounts-generated.a.p -Isrc -I../src -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/gio-unix-2.0 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -pthread '-DLOCALSTATEDIR="/var"' '-DDATADIR="/usr/share"' '-DSYSCONFDIR="/etc"' '-DICONDIR="/var/lib/AccountsService/icons"' '-DUSERDIR="/var/lib/AccountsService/users"' -MD -MQ src/libaccounts-generated.a.p/meson-generated_.._accounts-user-generated.c.o -MF src/libaccounts-generated.a.p/meson-generated_.._accounts-user-generated.c.o.d -o src/libaccounts-generated.a.p/meson-generated_.._accounts-user-generated.c.o -c src/accounts-user-generated.c
> [102/112] cc -Isrc/libaccountsservice/libaccountsservice.so.0.0.0.p -Isrc/libaccountsservice -I../src/libaccountsservice -I. -I.. -Isrc -I../src -I/usr/include/gio-unix-2.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libmount -I/usr/include/blkid -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -pthread '-DG_LOG_DOMAIN="accountsservice"' -MD -MQ src/libaccountsservice/libaccountsservice.so.0.0.0.p/act-user-manager.c.o -MF src/libaccountsservice/libaccountsservice.so.0.0.0.p/act-user-manager.c.o.d -o src/libaccountsservice/libaccountsservice.so.0.0.0.p/act-user-manager.c.o -c ../src/libaccountsservice/act-user-manager.c
> ../src/libaccountsservice/act-user-manager.c: In function ‘_can_activate_systemd_sessions’:
> ../src/libaccountsservice/act-user-manager.c:374:9: warning: ‘sd_seat_can_multi_session’ is deprecated [-Wdeprecated-declarations]
> 374 | res = sd_seat_can_multi_session (priv->seat.id);
> | ^~~
> In file included from ../src/libaccountsservice/act-user-manager.c:43:
> /usr/include/systemd/sd-login.h:214:5: note: declared here
> 214 | int sd_seat_can_multi_session(const char *seat) _sd_deprecated_;
> | ^~~~~~~~~~~~~~~~~~~~~~~~~
> ninja: build stopped: subcommand failed.
> dh_auto_build: error: cd obj-x86_64-linux-gnu && LC_ALL=C.UTF-8 ninja -j8 -v returned exit code 1
> make: *** [debian/rules:16: build] Error 25
The full build log is available from:
http://qa-logs.debian.net/2024/03/13/accountsservice_23.13.9-6_unstable.log
All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20240313;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20240313&fusertaguser=lucas@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results
A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!
If you reassign this bug to another package, please mark it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects
If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.
More information about the Pkg-freedesktop-maintainers
mailing list