When emerging tetex-1.0.7-r12 I get following error: make[2]: Entering directory `/var/tmp/portage/tetex-1.0.7-r12/work/teTeX-1.0/texk/kpathsea' ./../klibtool compile "gcc" tex-file.c -DHAVE_CONFIG_H -I. -I. -I.. -I./.. -march=athlon-xp -O2 -pipe -c gcc tex-file.c -DHAVE_CONFIG_H -I. -I. -I.. -I./.. -march=athlon-xp -O2 -pipe -c -o STATIC/tex-file.o tex-file.c: In function `kpse_init_format': tex-file.c:360: `DEFAULT_GFFONTS' undeclared (first use in this function) tex-file.c:360: (Each undeclared identifier is reported only once tex-file.c:360: for each function it appears in.) tex-file.c:367: `DEFAULT_PKFONTS' undeclared (first use in this function) tex-file.c:374: `DEFAULT_GLYPHFONTS' undeclared (first use in this function) tex-file.c:381: `DEFAULT_TFMFONTS' undeclared (first use in this function) tex-file.c:387: `DEFAULT_AFMFONTS' undeclared (first use in this function) tex-file.c:396: `DEFAULT_BIBINPUTS' undeclared (first use in this function) tex-file.c:400: `DEFAULT_BSTINPUTS' undeclared (first use in this function) tex-file.c:404: `DEFAULT_TEXMFCNF' undeclared (first use in this function) tex-file.c:408: `DEFAULT_TEXMFDBS' undeclared (first use in this function) tex-file.c:413: `DEFAULT_TEXFORMATS' undeclared (first use in this function) tex-file.c:420: `DEFAULT_TEXFONTMAPS' undeclared (first use in this function) tex-file.c:430: `DEFAULT_MFINPUTS' undeclared (first use in this function) tex-file.c:434: `DEFAULT_MFTINPUTS' undeclared (first use in this function) tex-file.c:442: `DEFAULT_MPINPUTS' undeclared (first use in this function) tex-file.c:450: `DEFAULT_MPSUPPORT' undeclared (first use in this function) tex-file.c:454: `DEFAULT_OCPINPUTS' undeclared (first use in this function) tex-file.c:461: `DEFAULT_OFMFONTS' undeclared (first use in this function) tex-file.c:468: `DEFAULT_OPLFONTS' undeclared (first use in this function) tex-file.c:473: `DEFAULT_OTPINPUTS' undeclared (first use in this function) tex-file.c:478: `DEFAULT_OVFFONTS' undeclared (first use in this function) tex-file.c:484: `DEFAULT_OVPFONTS' undeclared (first use in this function) tex-file.c:489: `DEFAULT_TEXINPUTS' undeclared (first use in this function) tex-file.c:503: `DEFAULT_TEXPSHEADERS' undeclared (first use in this function) tex-file.c:510: `DEFAULT_TEXDOCS' undeclared (first use in this function) tex-file.c:513: `DEFAULT_TEXPOOL' undeclared (first use in this function) tex-file.c:517: `DEFAULT_TEXSOURCES' undeclared (first use in this function) tex-file.c:520: `DEFAULT_TRFONTS' undeclared (first use in this function) tex-file.c:524: `DEFAULT_T1FONTS' undeclared (first use in this function) tex-file.c:530: `DEFAULT_VFFONTS' undeclared (first use in this function) tex-file.c:536: `DEFAULT_TEXCONFIG' undeclared (first use in this function) tex-file.c:539: `DEFAULT_INDEXSTYLE' undeclared (first use in this function) tex-file.c:543: `DEFAULT_TTFONTS' undeclared (first use in this function) tex-file.c:550: `DEFAULT_T42FONTS' undeclared (first use in this function) tex-file.c:554: `DEFAULT_WEB2C' undeclared (first use in this function) tex-file.c:570: `DEFAULT_MISCFONTS' undeclared (first use in this function) make[2]: *** [tex-file.lo] Error 1 make[2]: Leaving directory `/var/tmp/portage/tetex-1.0.7-r12/work/teTeX-1.0/texk/kpathsea' make[1]: *** [do-kpathsea] Error 2 make[1]: Leaving directory `/var/tmp/portage/tetex-1.0.7-r12/work/teTeX-1.0/texk' make: *** [all] Error 1 !!! ERROR: app-text/tetex-1.0.7-r12 failed. !!! Function einstall, Line 287, Exitcode 2 !!! einstall failed Reproducible: Always Steps to Reproduce: 1.emerge tetex Actual Results: fails to compile Expected Results: should compile Portage 2.0.47-r10 (default-x86-1.4, gcc-3.2.2, glibc-2.3.1-r4) ================================================================= System uname: 2.5.66 i686 AMD Duron(tm) processor GENTOO_MIRRORS="ftp://ftp.gentoo.linux.no/pub/gentoo http://www.ibiblio.org/pub/Linux/distributions/gentoo" CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" PORTDIR="/usr/portage" DISTDIR="/usr/portage/distfiles" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR_OVERLAY="" USE="x86 oss 3dnow apm avi crypt cups encode gif jpeg kde libg++ mikmod mmx mpeg ncurses nls pdflib png quicktime truetype xml2 xmms xv zlib gtkhtml gdbm berkdb slang readline arts bonobo guile X sdl gpm tcpd pam libwww ssl python imlib oggvorbis gtk qt motif opengl gnome -svga -spell apache2 cdr esd flash gtk2 imap java lcms ldap maildir mbox mozilla mysql perl ruby samba sasl sse tcltk tiff" COMPILER="gcc3" CHOST="i686-pc-linux-gnu" CFLAGS="-march=athlon-xp -O2 -pipe" CXXFLAGS="-march=athlon-xp -O2 -pipe -Wno-deprecated" ACCEPT_KEYWORDS="x86" MAKEOPTS="-j2" AUTOCLEAN="yes" SYNC="rsync://rsync.gentoo.org/gentoo-portage" FEATURES="sandbox ccache"
try to turn off ccache
How do I do it?
/etc/make.conf uncomment FEATURE
ähm, COMMENT it (add # before)
It is already commented out.
the same error with tetex-2.0.2. :(
Unmerge tetex and libwww. Unmerge ccache, just in case. Then merge tetex. Tell me what happens. :-)
how should I unmerge tetex when I have never sucessfully built it. unmerged libwww. ccache has never been emerged, so I can't unmerge it. emerge tetex emerged libwww again and when emerging tetex-2.0.2, the same error occured again. >>paths.tmp cp paths.tmp paths.h rm -f paths.tmp date >stamp-paths ./../klibtool compile "gcc" tex-file.c -DHAVE_CONFIG_H -I. -I. -I.. -I./.. -march=athlon-xp -O2 -pipe -fomit-frame-pointer -frerun-cse-after-loop -frerun-loop-opt -fexpensive-optimizations -fPIC -c mkdir STATIC gcc tex-file.c -DHAVE_CONFIG_H -I. -I. -I.. -I./.. -march=athlon-xp -O2 -pipe -fomit-frame-pointer -frerun-cse-after-loop -frerun-loop-opt -fexpensive-optimizations -fPIC -c -o STATIC/tex-file.o tex-file.c: In function `kpse_init_format': tex-file.c:395: `DEFAULT_GFFONTS' undeclared (first use in this function) tex-file.c:395: (Each undeclared identifier is reported only once tex-file.c:395: for each function it appears in.) tex-file.c:402: `DEFAULT_PKFONTS' undeclared (first use in this function) tex-file.c:409: `DEFAULT_GLYPHFONTS' undeclared (first use in this function) tex-file.c:416: `DEFAULT_TFMFONTS' undeclared (first use in this function) tex-file.c:422: `DEFAULT_AFMFONTS' undeclared (first use in this function) tex-file.c:432: `DEFAULT_BIBINPUTS' undeclared (first use in this function) tex-file.c:437: `DEFAULT_BSTINPUTS' undeclared (first use in this function) tex-file.c:441: `DEFAULT_TEXMFCNF' undeclared (first use in this function) tex-file.c:445: `DEFAULT_TEXMFDBS' undeclared (first use in this function) tex-file.c:451: `DEFAULT_TEXFORMATS' undeclared (first use in this function) tex-file.c:458: `DEFAULT_TEXFONTMAPS' undeclared (first use in this function) tex-file.c:469: `DEFAULT_MFINPUTS' undeclared (first use in this function) tex-file.c:473: `DEFAULT_MFTINPUTS' undeclared (first use in this function) tex-file.c:481: `DEFAULT_MPINPUTS' undeclared (first use in this function) tex-file.c:489: `DEFAULT_MPSUPPORT' undeclared (first use in this function) tex-file.c:493: `DEFAULT_OCPINPUTS' undeclared (first use in this function) tex-file.c:500: `DEFAULT_OFMFONTS' undeclared (first use in this function) tex-file.c:507: `DEFAULT_OPLFONTS' undeclared (first use in this function) tex-file.c:512: `DEFAULT_OTPINPUTS' undeclared (first use in this function) tex-file.c:517: `DEFAULT_OVFFONTS' undeclared (first use in this function) tex-file.c:523: `DEFAULT_OVPFONTS' undeclared (first use in this function) tex-file.c:528: `DEFAULT_TEXINPUTS' undeclared (first use in this function) tex-file.c:542: `DEFAULT_TEXPSHEADERS' undeclared (first use in this function) tex-file.c:549: `DEFAULT_TEXDOCS' undeclared (first use in this function) tex-file.c:552: `DEFAULT_TEXPOOL' undeclared (first use in this function) tex-file.c:556: `DEFAULT_TEXSOURCES' undeclared (first use in this function) tex-file.c:559: `DEFAULT_TRFONTS' undeclared (first use in this function) tex-file.c:563: `DEFAULT_T1FONTS' undeclared (first use in this function) tex-file.c:569: `DEFAULT_VFFONTS' undeclared (first use in this function) tex-file.c:575: `DEFAULT_TEXCONFIG' undeclared (first use in this function) tex-file.c:578: `DEFAULT_INDEXSTYLE' undeclared (first use in this function) tex-file.c:582: `DEFAULT_TTFONTS' undeclared (first use in this function) tex-file.c:589: `DEFAULT_T42FONTS' undeclared (first use in this function) tex-file.c:593: `DEFAULT_WEB2C' undeclared (first use in this function) tex-file.c:609: `DEFAULT_MISCFONTS' undeclared (first use in this function) tex-file.c:613: `DEFAULT_WEBINPUTS' undeclared (first use in this function) tex-file.c:618: `DEFAULT_CWEBINPUTS' undeclared (first use in this function) make[2]: *** [tex-file.lo] Error 1 make[2]: Leaving directory `/var/tmp/portage/tetex-2.0.2/work/tetex-src-2.0.2/texk/kpathsea' make[1]: *** [do-kpathsea] Error 2 make[1]: Leaving directory `/var/tmp/portage/tetex-2.0.2/work/tetex-src-2.0.2/texk' make: *** [all] Error 1 !!! ERROR: app-text/tetex-2.0.2 failed. !!! Function src_compile, Line 96, Exitcode 2 !!! (no error message)
is there some way i could get it compiled?
yes, set your locale to C :) *** This bug has been marked as a duplicate of 17051 ***