make[5]: Entering directory '/build/xorg-server-21.1.13/hw/xfree86/utils/man'
GEN gtf.1
make[5]: Leaving directory '/build/xorg-server-21.1.13/hw/xfree86/utils/man'
make[5]: Entering directory '/build/xorg-server-21.1.13/hw/xfree86/utils'
make[5]: Nothing to be done for 'all-am'.
make[5]: Leaving directory '/build/xorg-server-21.1.13/hw/xfree86/utils'
make[4]: Leaving directory '/build/xorg-server-21.1.13/hw/xfree86/utils'
Making all in doc
make[4]: Entering directory '/build/xorg-server-21.1.13/hw/xfree86/doc'
make[4]: Nothing to be done for 'all'.
make[4]: Leaving directory '/build/xorg-server-21.1.13/hw/xfree86/doc'
Making all in man
make[4]: Entering directory '/build/xorg-server-21.1.13/hw/xfree86/man'
GEN Xorg.1
GEN xorg.conf.5
GEN xorg.conf.d.5
make[4]: Leaving directory '/build/xorg-server-21.1.13/hw/xfree86/man'
Making all in glamor_egl
make[4]: Entering directory '/build/xorg-server-21.1.13/hw/xfree86/glamor_egl'
CC glamor_egl.lo
CC glamor_eglmodule.lo
CC glamor_xf86_xv.lo
CCLD libglamoregl.la
/nix/store/bgcaxhhxswzvmxjbbgvvaximm5hwghz1-binutils-2.41/bin/ld: skipping incompatible /nix/store/a24cv9wrz8x2a639k8b7kzkhyk52bkm7-mesa-aarch64-unknown-linux-gnu-24.0.1/lib/libgbm.so when searching for -lgbm
/nix/store/bgcaxhhxswzvmxjbbgvvaximm5hwghz1-binutils-2.41/bin/ld: skipping incompatible /nix/store/a24cv9wrz8x2a639k8b7kzkhyk52bkm7-mesa-aarch64-unknown-linux-gnu-24.0.1/lib/libgbm.so when searching for -lgbm
/nix/store/bgcaxhhxswzvmxjbbgvvaximm5hwghz1-binutils-2.41/bin/ld: cannot find -lgbm: No such file or directory
/nix/store/bgcaxhhxswzvmxjbbgvvaximm5hwghz1-binutils-2.41/bin/ld: skipping incompatible /nix/store/a24cv9wrz8x2a639k8b7kzkhyk52bkm7-mesa-aarch64-unknown-linux-gnu-24.0.1/lib/libgbm.so when searching for -lgbm
/nix/store/bgcaxhhxswzvmxjbbgvvaximm5hwghz1-binutils-2.41/bin/ld: skipping incompatible /nix/store/a24cv9wrz8x2a639k8b7kzkhyk52bkm7-mesa-aarch64-unknown-linux-gnu-24.0.1/lib/libgbm.so when searching for -lgbm
collect2: error: ld returned 1 exit status
make[4]: *** [Makefile:660: libglamoregl.la] Error 1
make[4]: Leaving directory '/build/xorg-server-21.1.13/hw/xfree86/glamor_egl'
make[3]: *** [Makefile:840: all-recursive] Error 1
make[3]: Leaving directory '/build/xorg-server-21.1.13/hw/xfree86'
make[2]: *** [Makefile:649: all] Error 2
make[2]: Leaving directory '/build/xorg-server-21.1.13/hw/xfree86'
make[1]: *** [Makefile:582: all-recursive] Error 1
make[1]: Leaving directory '/build/xorg-server-21.1.13/hw'
make: *** [Makefile:791: all-recursive] Error 1
Steps To Reproduce
Build log