Created attachment 814777 [details] build.log + emerge --info.txt With any clang there's the usual return value issues: button.c:1268:50: error: non-void function 'TrackText' should return a value [-Wreturn-type] trow == old_endrow && tcol == old_endcol) return; With clang16 there will be wall of implicit failures: cursor.c:47:2: error: call to undeclared function 'TrackText'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] TrackText(0, 0, 0, 0); Haven't looked deeper for further issues. There's also the imake cpp bit but I'll fix that one soon.
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7f04a2241960a2de4b91f9ae55e26cb1b4f81ae0 commit 7f04a2241960a2de4b91f9ae55e26cb1b4f81ae0 Author: Ionen Wolkens <ionen@gentoo.org> AuthorDate: 2022-09-30 10:17:07 +0000 Commit: Ionen Wolkens <ionen@gentoo.org> CommitDate: 2022-09-30 10:48:14 +0000 x11-terms/kterm: force gcc -E for imake's generation Requires traditional cpp support and is broken in all sort of ways with clang-cpp / -E. Can still use clang & friends for everything else. Ideally these packages need to be built another way or last rited, imake will just accumulate more problems. wrt #873631, this only helps a bit and still has several clang issues. Bug: https://bugs.gentoo.org/873631 Signed-off-by: Ionen Wolkens <ionen@gentoo.org> x11-terms/kterm/kterm-6.2.0-r7.ebuild | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)