Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 905434

Summary: app-editors/xemacs-21.5.34-r13: Compile error with use freewnn - wnnerror.h: No such file or directory (fixincludes)
Product: Gentoo Linux Reporter: Mats Lidell <matsl>
Component: Current packagesAssignee: XEmacs team <xemacs>
Status: RESOLVED FIXED    
Severity: normal CC: sam, toolchain
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 865117    
Attachments: emerge-info.txt
Build log

Description Mats Lidell gentoo-dev 2023-05-01 18:15:13 UTC
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.
Comment 1 Mats Lidell gentoo-dev 2023-05-01 18:16:27 UTC
Created attachment 861023 [details]
emerge-info.txt
Comment 2 Mats Lidell gentoo-dev 2023-05-01 18:17:11 UTC
Created attachment 861024 [details]
Build log
Comment 3 Larry the Git Cow gentoo-dev 2023-05-10 21:09:57 UTC
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(-)