gcc 14 is not happy with: [...] ../xorg-server-21.1.14/hw/xfree86/common/xf86sbusBus.c: In function ‘xf86SbusConfigureNewDev’: ../xorg-server-21.1.14/hw/xfree86/common/xf86sbusBus.c:751:21: error: passing argument 1 of ‘XNFasprintf’ from incompatible pointer type [-Wincompatible-pointer-types] 751 | XNFasprintf(&GDev->busID, "SBUS:%s", promPath); | ^~~~~~~~~~~~ | | | const char ** In file included from ../xorg-server-21.1.14/include/os.h:272, from ../xorg-server-21.1.14/hw/xfree86/common/xf86sbusBus.c:32: ../xorg-server-21.1.14/include/Xprintf.h:58:20: note: expected ‘char **’ but argument is of type ‘const char **’ 58 | XNFasprintf(char **ret, const char *_X_RESTRICT_KYWD fmt, ...) | ~~~~~~~^~~ ../xorg-server-21.1.14/hw/xfree86/common/xf86sbusBus.c:755:21: error: passing argument 1 of ‘XNFasprintf’ from incompatible pointer type [-Wincompatible-pointer-types] 755 | XNFasprintf(&GDev->busID, "SBUS:fb%d", sBus->fbNum); | ^~~~~~~~~~~~ | | | const char ** ../xorg-server-21.1.14/include/Xprintf.h:58:20: note: expected ‘char **’ but argument is of type ‘const char **’ 58 | XNFasprintf(char **ret, const char *_X_RESTRICT_KYWD fmt, ...) [...] I think it should happen when not cross compiling. Reproducible: Always
Created attachment 907307 [details] sparc64-unknown-linux-gnu-emerge --info '=x11-base/xorg-server-21.1.14::gentoo'
Created attachment 907308 [details] build log error
Created attachment 907309 [details, diff] fix_compile.patch
Did 21.1.13 compile successfully?
Nope, I used the same patch to pass the compilation error.
Also happened now on catbus testing container, so not a cross issue
Looks like this file wasn't built until https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/813 -- 6c1a1fcc4 ("hw/xfree86: fix sbus build for SPARC") This commit was cherry picked to the server-21.1-branch and was included in 21.1.2 as commit 9fe2991075aca3321d59d03f3e45faca6cb718b8.
Fix here: https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1751
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8f735ba59e17bfa4b79060b6090e604cab90bdc1 commit 8f735ba59e17bfa4b79060b6090e604cab90bdc1 Author: Matt Turner <mattst88@gentoo.org> AuthorDate: 2024-12-17 18:02:23 +0000 Commit: Matt Turner <mattst88@gentoo.org> CommitDate: 2024-12-17 18:09:34 +0000 x11-base/xorg-server: Version bump to 21.1.15 Closes: https://bugs.gentoo.org/942506 Signed-off-by: Matt Turner <mattst88@gentoo.org> x11-base/xorg-server/Manifest | 1 + x11-base/xorg-server/xorg-server-21.1.15.ebuild | 195 ++++++++++++++++++++++++ 2 files changed, 196 insertions(+)