[3/560] Compiling C object os/liblibxserver_os.a.p/access.c.o FAILED: os/liblibxserver_os.a.p/access.c.o cc -Ios/liblibxserver_os.a.p -Ios -I../xorg-server/os -IXext -I../xorg-server/Xext -IXi -I../xorg-server/Xi -Icomposite -I../xorg-server/composite -Idamageext -I../xorg-server/damageext -Iexa -I../xorg-server/exa -Ifb -I../xorg-server/fb -Iglamor -I../xorg-server/glamor -Imi -I../xorg-server/mi -Imiext/damage -I../xorg-server/miext/damage -Imiext/shadow -I../xorg-server/miext/shadow -Imiext/sync -I../xorg-server/miext/sync -Idbe -I../xorg-server/dbe -Idri3 -I../xorg-server/dri3 -Iinclude -I../xorg-server/include -Ipresent -I../xorg-server/present -Irandr -I../xorg-server/randr -Irender -I../xorg-server/render -Ixfixes -I../xorg-server/xfixes -I/usr/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/tirpc -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -march=x86-64 -mtune=generic -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -flto=auto -fPIC -isystem /usr/include/bsd -DLIBBSD_OVERLAY -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -DCLIENTIDS -MD -MQ os/liblibxserver_os.a.p/access.c.o -MF os/liblibxserver_os.a.p/access.c.o.d -o os/liblibxserver_os.a.p/access.c.o -c ../xorg-server/os/access.c ../xorg-server/os/access.c: In function ‘siHostnameAddrMatch’: ../xorg-server/os/access.c:1873:27: error: assignment to ‘const char **’ from incompatible pointer type ‘char **’ [-Wincompatible-pointer-types] 1873 | for (addrlist = hp->h_addr_list; *addrlist; addrlist++) | ^ [10/560] Compiling C object os/liblibxserver_os.a.p/rpcauth.c.o In file included from ../xorg-server/os/rpcauth.c:47: /usr/include/tirpc/rpc/rpc.h:83:12: warning: redundant redeclaration of ‘bindresvport’ [-Wredundant-decls] 83 | extern int bindresvport(int, struct sockaddr_in *); | ^~~~~~~~~~~~ In file included from /usr/include/tirpc/rpc/rpc.h:40: /usr/include/netinet/in.h:527:12: note: previous declaration of ‘bindresvport’ with type ‘int(int, struct sockaddr_in *)’ 527 | extern int bindresvport (int __sockfd, struct sockaddr_in *__sock_in) __THROW; | ^~~~~~~~~~~~ [12/560] Compiling C object composite/liblibxserver_composite.a.p/compalloc.c.o ninja: build stopped: subcommand failed. ==> ERROR: A failure occurred in build().