I'm trying to install Gentoo on my emachines m6805 for the first time. I got past the bootstrap but while emerging the system it failed while compiling xorg-x11. I retried while setting USE="" but got the same result back. Here is a dump of the output. The amount of errors generated is extensive so I'll snip out some of the repetitive bits. Problem starts here... gcc -c -ansi -pedantic -Wno-return-type -w -I/usr/X11R6/include -I../.. -I../../exports/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -DFUNCPROTO=15 -DNARROWPROTO -DDEFAULT_RESOURCE_PATH=\"NULL\" -DXVENDORNAME='"The X.Org Foundation"' -DXVENDORNAMESHORT='"X.Org"' -O3 -pipe -fomit-frame-pointer -fno-strict-aliasing FontSample.c -o unshared/FontSample.o FontSample.c:47:19: Xm/Xm.h: No such file or directory FontSample.c:54:20: Xm/XmP.h: No such file or directory FontSample.c:57:21: Xm/Form.h: No such file or directory FontSample.c:58:21: Xm/List.h: No such file or directory FontSample.c:59:22: Xm/Label.h: No such file or directory FontSample.c:60:23: Xm/LabelG.h: No such file or directory FontSample.c:61:22: Xm/PushB.h: No such file or directory FontSample.c:62:23: Xm/PanedW.h: No such file or directory FontSample.c:63:23: Xm/PushBG.h: No such file or directory FontSample.c:64:26: Xm/SeparatoG.h: No such file or directory FontSample.c:65:22: Xm/TextF.h: No such file or directory FontSample.c:66:26: Xm/RowColumn.h: No such file or directory FontSample.c:67:25: Xm/DrawingA.h: No such file or directory FontSample.c:68:26: Xm/ScrolledW.h: No such file or directory FontSample.c:69:25: Xm/ToggleBG.h: No such file or directory FontSample.c:70:22: Xm/Frame.h: No such file or directory FontSample.c:71:26: Xm/RowColumn.h: No such file or directory In file included from FontSample.c:76: ../../exports/include/DPS/FontSBP.h:53: error: syntax error before "XmString" ../../exports/include/DPS/FontSBP.h:54: error: ISO C forbids data definition with no type or storage class ../../exports/include/DPS/FontSBP.h:57: error: syntax error before '}' token ../../exports/include/DPS/FontSBP.h:57: error: ISO C forbids data definition with no type or storage class ../../exports/include/DPS/FontSBP.h:67: error: syntax error before "BlendRec" ../../exports/include/DPS/FontSBP.h:68: error: ISO C forbids data definition with no type or storage class ../../exports/include/DPS/FontSBP.h:73: error: syntax error before "XmString" ../../exports/include/DPS/FontSBP.h:78: error: conflicting types for `next' ../../exports/include/DPS/FontSBP.h:56: error: previous declaration of `next' ../../exports/include/DPS/FontSBP.h:81: error: syntax error before '*' token ../../exports/include/DPS/FontSBP.h:81: error: ISO C forbids data definition with no type or storage class ../../exports/include/DPS/FontSBP.h:82: error: syntax error before '}' token ../../exports/include/DPS/FontSBP.h:82: error: ISO C forbids data definition wi etc,etc... with some more errors like: In file included from FontSample.c:78: FontSBI.h:44: error: syntax error before '*' token FontSBI.h:46: error: syntax error before "_FSBCreateSharedCS" FontSBI.h:46: error: ISO C forbids data definition with no type or storage class FontSBI.h:47: error: syntax error before "FontFamilyRec" FontSBI.h:49: error: syntax error before "FontRec" FontSBI.h:50: error: syntax error before "FontRec" FontSBI.h:52: error: syntax error before "BlendDataRec" FontSBI.h:53: error: syntax error before "BlendDataRec" FontSBI.h:54: error: syntax error before "BlendDataRec" In file included from FontSample.c:79: ../../exports/include/DPS/FontSamplP.h:55: error: syntax error before "FontRec" ../../exports/include/DPS/FontSamplP.h:56: error: ISO C forbids data definition with no type or storage class ../../exports/include/DPS/FontSamplP.h:58: error: conflicting types for `next' ../../exports/include/DPS/FontSBP.h:89: error: previous declaration of `next' ../../exports/include/DPS/FontSamplP.h:59: error: syntax error before '}' token etc, etc... then a ton of errors like: FontSample.c:187: error: initializer element is not constant FontSample.c:187: error: (near initialization for `resources[32]') FontSample.c:207: error: syntax error before "fontSamplerClassRec" FontSample.c:210: error: `xmManagerClassRec' undeclared here (not in a function) FontSample.c:210: error: initializer element is not constant FontSample.c:210: error: (near initialization for `fontSamplerClassRec') FontSample.c:242: error: initializer element is not constant FontSample.c:242: error: (near initialization for `fontSamplerClassRec') FontSample.c:245: error: initializer element is not computable at load time FontSample.c:245: error: (near initialization for `fontSamplerClassRec') FontSample.c:263: error: initializer element is not computable at load time FontSample.c:263: error: (near initialization for `fontSamplerClassRec') FontSample.c:268: error: `XmInheritParentProcess' undeclared here (not in a function) FontSample.c:273: error: initializer element is not computable at load time FontSample.c:273: error: (near initialization for `fontSamplerClassRec') FontSample.c:276: error: ISO C forbids data definition with no type or storage class And then finally: FontSample.c:1776: error: dereferencing pointer to incomplete type FontSample.c: In function `Cancel': FontSample.c:1786: error: dereferencing pointer to incomplete type FontSample.c:1787: error: dereferencing pointer to incomplete type FontSample.c: In function `FSBCancelSampler': FontSample.c:1795: error: called object is not a function make[4]: *** [FontSample.o] Error 1 make[4]: Leaving directory `/var/tmp/portage/xorg-x11-6.7.0-r2/work/xc/lib/dpstk' make[3]: *** [all] Error 2 make[3]: Leaving directory `/var/tmp/portage/xorg-x11-6.7.0-r2/work/xc/lib' make[2]: *** [all] Error 2 make[2]: Leaving directory `/var/tmp/portage/xorg-x11-6.7.0-r2/work/xc' make[1]: *** [World] Error 2 make[1]: Leaving directory `/var/tmp/portage/xorg-x11-6.7.0-r2/work/xc' make: *** [World] Error 2 !!! ERROR: x11-base/xorg-x11-6.7.0-r2 failed. !!! Function src_compile, Line 583, Exitcode 2 !!! (no error message) Calculating dependencies ...done! >>> emerge (1 of 9) x11-base/xorg-x11-6.7.0-r2 to / >>> md5 src_uri ;-) eurofonts-X11.tar.bz2 >>> md5 src_uri ;-) xfsft-encodings-0.1.tar.bz2 >>> md5 src_uri ;-) gentoo-cursors-tad-0.3.1.tar.bz2 >>> md5 src_uri ;-) gemini-koi8-u.tar.bz2 >>> md5 src_uri ;-) xorg-x11-6.7.0-files-0.2.tar.bz2 >>> md5 src_uri ;-) xorg-x11-6.7.0-patches-1.2.tar.bz2 >>> md5 src_uri ;-) X11R6.7.0-src1.tar.gz >>> md5 src_uri ;-) X11R6.7.0-src2.tar.gz >>> md5 src_uri ;-) X11R6.7.0-src3.tar.gz >>> md5 src_uri ;-) X11R6.7.0-src4.tar.gz >>> md5 src_uri ;-) X11R6.7.0-src5.tar.gz Reproducible: Always Steps to Reproduce: 1.Bootstrap an m6805 with ACCEPT_KEYWORDS="~amd64" in make.conf 2.Set USE flags 3.emerge system Actual Results: emerge failed when compiling xorg-x11. Expected Results: Emerged the base system. Gentoo Base System version 1.5.1 Portage 2.0.50-r9 (default-amd64-2004.0, gcc-3.3.4, glibc-2.3.4.20040619-r0, 2.6.3-gentoo-r1-emachines) ================================================================= System uname: 2.6.3-gentoo-r1-emachines x86_64 Autoconf: sys-devel/autoconf-2.59-r4 Automake: sys-devel/automake-1.8.5-r1 ACCEPT_KEYWORDS="amd64 ~amd64" AUTOCLEAN="yes" CFLAGS="-O2 -march=athlon64 -pipe -fomit-frame-pointer -maccumulate-outgoing-args" CHOST="x86_64-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=athlon64 -pipe -fomit-frame-pointer -maccumulate-outgoing-args" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache" GENTOO_MIRRORS="ftp:///ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://gentoo.osuosl.org/ http://mirror.datapipe.net/gentoo ftp://mirrors.sec.informatik.tu-darmstadt.de/gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X amd64 apm arts avi berkdb crypt encode foomaticdb gdbm gif gnome gpm gtk gtk2 imlib jpeg kde libg++ libwww mikmod motif mpeg ncurses nls nogcj oggvorbis opengl oss pam pdflib perl png python quicktime readline sdl slang spell ssl tcpd truetype xml2 xmms xv zlib"
*** This bug has been marked as a duplicate of 57271 ***