[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1002132: lightdm: FTBFS: libsystem.c:333:1: error: no previous prototype for ‘__xstat’ [-Werror=missing-prototypes]



Source: lightdm
Version: 1.26.0-7
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lucas@debian.org
Usertags: ftbfs-20211220 ftbfs-bookworm

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
> /bin/bash ../../libtool  --tag=CC   --mode=link gcc -Wall                  -Wstrict-prototypes                  -Wnested-externs                  -Werror=missing-prototypes                  -Werror=implicit-function-declaration                  -Werror=pointer-arith                  -Werror=init-self                  -Werror=format-security                  -Werror=format=2                  -Werror=missing-include-dirs -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -pthread -I/usr/include/gio-unix-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security  -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -Wl,-O1 -o initctl initctl-initctl.o initctl-status.o -lglib-2.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0 
> libsystem.c:333:1: error: no previous prototype for ‘__xstat’ [-Werror=missing-prototypes]
>   333 | __xstat (int version, const char *path, struct stat *buf)
>       | ^~~~~~~
> libsystem.c:342:1: error: no previous prototype for ‘__xstat64’ [-Werror=missing-prototypes]
>   342 | __xstat64 (int version, const char *path, struct stat64 *buf)
>       | ^~~~~~~~~
> libsystem.c:351:1: error: no previous prototype for ‘__fxstatat’ [-Werror=missing-prototypes]
>   351 | __fxstatat(int ver, int dirfd, const char *pathname, struct stat *buf, int flags)
>       | ^~~~~~~~~~
> libsystem.c:360:1: error: no previous prototype for ‘__fxstatat64’ [-Werror=missing-prototypes]
>   360 | __fxstatat64(int ver, int dirfd, const char *pathname, struct stat64 *buf, int flags)
>       | ^~~~~~~~~~~~
> libtool: link: gcc -Wall -Wstrict-prototypes -Wnested-externs -Werror=missing-prototypes -Werror=implicit-function-declaration -Werror=pointer-arith -Werror=init-self -Werror=format-security -Werror=format=2 -Werror=missing-include-dirs -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -pthread -I/usr/include/gio-unix-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,--as-needed -Wl,-O1 -o initctl initctl-initctl.o initctl-status.o  -lgio-2.0 -lgobject-2.0 -lglib-2.0 -pthread
> /bin/bash ../../libtool  --tag=CC   --mode=link gcc -Wall                  -Wstrict-prototypes                  -Wnested-externs                  -Werror=missing-prototypes                  -Werror=implicit-function-declaration                  -Werror=pointer-arith                  -Werror=init-self                  -Werror=format-security                  -Werror=format=2                  -Werror=missing-include-dirs -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -pthread -I/usr/include/gio-unix-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security  -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -Wl,-O1 -o plymouth plymouth-plymouth.o plymouth-status.o -lglib-2.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0 
> libtool: link: gcc -Wall -Wstrict-prototypes -Wnested-externs -Werror=missing-prototypes -Werror=implicit-function-declaration -Werror=pointer-arith -Werror=init-self -Werror=format-security -Werror=format=2 -Werror=missing-include-dirs -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -pthread -I/usr/include/gio-unix-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,--as-needed -Wl,-O1 -o plymouth plymouth-plymouth.o plymouth-status.o  -lgio-2.0 -lgobject-2.0 -lglib-2.0 -pthread
> libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wstrict-prototypes -Wnested-externs -Werror=missing-prototypes -Werror=implicit-function-declaration -Werror=pointer-arith -Werror=init-self -Werror=format-security -Werror=format=2 -Werror=missing-include-dirs -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -pthread -I/usr/include/gio-unix-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -DSRCDIR=\"/<<PKGBUILDDIR>>\" -DBUILDDIR=\"/<<PKGBUILDDIR>>\" -DSYSCONFDIR=\"/etc\" -DLOCALSTATEDIR=\"/var\" -DDATADIR=\"/usr/share\" -DCONFIG_DIR=\"/etc/lightdm\" -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c status.c -o libsystem_la-status.o >/dev/null 2>&1
> /bin/bash ../../libtool  --tag=CC   --mode=link gcc -I../../liblightdm-gobject -Wall                  -Wstrict-prototypes                  -Wnested-externs                  -Werror=missing-prototypes                  -Werror=implicit-function-declaration                  -Werror=pointer-arith                  -Werror=init-self                  -Werror=format-security                  -Werror=format=2                  -Werror=missing-include-dirs -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -pthread -I/usr/include/gio-unix-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include  -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security  -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -Wl,-O1 -o test-gobject-greeter test_gobject_greeter-test-gobject-greeter.o test_gobject_greeter-status.o -L../../liblightdm-gobject -llightdm-gobject-1 -lglib-2.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lxcb 
> libtool: link: gcc -I../../liblightdm-gobject -Wall -Wstrict-prototypes -Wnested-externs -Werror=missing-prototypes -Werror=implicit-function-declaration -Werror=pointer-arith -Werror=init-self -Werror=format-security -Werror=format=2 -Werror=missing-include-dirs -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -pthread -I/usr/include/gio-unix-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,--as-needed -Wl,-O1 -o .libs/test-gobject-greeter test_gobject_greeter-test-gobject-greeter.o test_gobject_greeter-status.o  -L../../liblightdm-gobject /<<PKGBUILDDIR>>/liblightdm-gobject/.libs/liblightdm-gobject-1.so -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lxcb -pthread
> /bin/bash ../../libtool  --tag=CC   --mode=link gcc -Wall                  -Wstrict-prototypes                  -Wnested-externs                  -Werror=missing-prototypes                  -Werror=implicit-function-declaration                  -Werror=pointer-arith                  -Werror=init-self                  -Werror=format-security                  -Werror=format=2                  -Werror=missing-include-dirs -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -pthread -I/usr/include/gio-unix-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security  -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -Wl,-O1 -o test-greeter-wrapper test_greeter_wrapper-test-greeter-wrapper.o test_greeter_wrapper-status.o -lglib-2.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0 
> /bin/bash ../../libtool  --tag=CC   --mode=link gcc -Wall                  -Wstrict-prototypes                  -Wnested-externs                  -Werror=missing-prototypes                  -Werror=implicit-function-declaration                  -Werror=pointer-arith                  -Werror=init-self                  -Werror=format-security                  -Werror=format=2                  -Werror=missing-include-dirs -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -pthread -I/usr/include/gio-unix-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security  -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -Wl,-O1 -o test-guest-wrapper test_guest_wrapper-test-guest-wrapper.o test_guest_wrapper-status.o -lglib-2.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0 
> cc1: some warnings being treated as errors
> make[4]: *** [Makefile:1086: libsystem_la-libsystem.lo] Error 1


The full build log is available from:
http://qa-logs.debian.net/2021/12/20/lightdm_1.26.0-7_unstable.log

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 marking 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.


Reply to: