app-editors/xemacs-21.5.34-r13 with use freewnn fails to compile. The error message: x86_64-pc-linux-gnu-gcc -c -Wall -Wno-switch -Wundef -Wsign-compare -Wno-char-subscripts -Wpacked -Wshadow -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wdeclaration-after-statement -Wunused-parameter -O3 -fno-strict-aliasing -march=native -O2 -pipe -no-pie -Demacs -I. -I/var/tmp/portage/app-editors/xemacs-21.5.34-r13/work/xemacs-21.5.34/src -DHAVE_CONFIG_H -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include mule-wnnfns.c In file included from mule-wnnfns.c:273: /usr/lib/gcc/x86_64-pc-linux-gnu/13/include-fixed/wnn/commonhd.h:54:10: fatal error: wnnerror.h: No such file or directory 54 | #include "wnnerror.h" | ^~~~~~~~~~~~ compilation terminated. Reason is that gcc-13 installs "fixed" includes for wnn that makes commonhd.h be picked up from /usr/lib/gcc/x86_64-pc-linux-gnu/13/include-fixed/wnn/commonhd.h where wnnerror.h is not located, so wnnerror.h is not found.
Created attachment 861023 [details] emerge-info.txt
Created attachment 861024 [details] Build log
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=61270ab31f594d9b8a697012ff99aece9f1c3a83 commit 61270ab31f594d9b8a697012ff99aece9f1c3a83 Author: Mats Lidell <matsl@gentoo.org> AuthorDate: 2023-05-10 21:02:01 +0000 Commit: Mats Lidell <matsl@gentoo.org> CommitDate: 2023-05-10 21:09:42 +0000 app-editors/xemacs: use freewnn with gcc-13 Closes: https://bugs.gentoo.org/905434 Signed-off-by: Mats Lidell <matsl@gentoo.org> app-editors/xemacs/xemacs-21.4.24-r10.ebuild | 4 +++- app-editors/xemacs/xemacs-21.5.34-r13.ebuild | 4 +++- app-editors/xemacs/xemacs-21.5.9999.ebuild | 4 +++- 3 files changed, 9 insertions(+), 3 deletions(-)