Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 21488 - xemacs-21.4.12 fails to build with freewnn useflag and gcc 3.2.3
Summary: xemacs-21.4.12 fails to build with freewnn useflag and gcc 3.2.3
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Please assign to toolchain
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-05-22 12:30 UTC by Frantz Dhin
Modified: 2003-10-01 23:10 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Frantz Dhin 2003-05-22 12:30:52 UTC
gcc -c -march=pentium3 -Os -pipe  -Demacs -I. -DHAVE_CONFIG_H
-I/usr/X11R6/include mule-wnnfns.c
In file included from mule-wnnfns.c:273:
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/include/wnn/commonhd.h:54:22:
wnnerror.h: No such file or directory
make[1]: *** [mule-wnnfns.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/xemacs-21.4.12/work/xemacs-21.4.12/src'
make: *** [src] Error 2

I have all use flags on and freewnn-1.1.1_alpha19 installed.
The requested file I have at /usr/include/wnn/wnnerror.h
If I dump wnnerror.h into /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/include/wnn/
then xemacs compiles smoothly. However I wonder why gcc installs this at this
particular path:
grep -ri 'commonhd.h' /var/db/pkg/
/var/db/pkg/app-i18n/freewnn-1.1.1_alpha19/CONTENTS:obj
/usr/include/wnn/commonhd.h 4f81335ee860f486fe3424e7c00ee68e 1053614873
/var/db/pkg/sys-devel/gcc-3.2.3-r1/CONTENTS:obj
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/include/wnn/commonhd.h
8b03446cb3b48a0eecc3374f34528758 1053611787

Also worth a mention is that removing wnn subfolder entirely from gcc's include
directory makes xemacs successfully build.
Comment 1 Robert Coie (RETIRED) gentoo-dev 2003-06-04 15:04:34 UTC
Can you try upgrading gcc-config and maybe working with your gcc-config profile?
I just merged 21.4.12 with no problems with frewnn enabled and your same freewnn
version using gcc 3.2.3-r1.
Comment 2 Martin Holzer (RETIRED) gentoo-dev 2003-09-16 11:03:43 UTC
any news on this ?
Comment 3 Joshua Kinard gentoo-dev 2003-10-01 23:10:33 UTC
Resolving as NEEDINFO.  It is possible this issue was fixed in later versions
of gcc as well.