I was upgrading gcc according to the advice in the gentoo newsletter from 13.1.2003. The situation only occurs when some texinfo fonts are missing that it obviously requires during compilation. Which is at least the case, if texinfo was never installed before.. As a quick solve for this problem, I went to /var/tmp/portage/gcc-2.95.3-r8/work/gcc-2.95.3/ and ran "./configure" there once, which allowed for configure to create the required stuff in /var/lib/texmf. I then re-ran "emerge -u gcc" and it seemed to go ok. I don't know if this is to be taken as a portage issue (maybe exclude texinfo paths from sandbox write-protection) or if the gcc ebuild should be fixed somehow. Counting on you guys =) >>> Source unpacked. * Configuring GCC... Created "Makefile" in /var/tmp/portage/gcc-2.95.3-r8/work/build using "mh-frag" and "mt-frag" Configuring libiberty... creating cache ../config.cache checking host system type... i686-pc-linux-gnu checking build system type... i686-pc-linux-gnu checking for ar... ar checking for ranlib... ranlib checking for gcc... gcc checking whether we are using GNU C... yes checking whether gcc accepts -g... yes checking for POSIXized ISC... no checking for a BSD compatible install... /bin/install -c Appending /var/tmp/portage/gcc-2.95.3-r8/work/gcc-2.95.3/libiberty/config/../../config/mh-x86pic to xhost-mkfrag checking how to run the C preprocessor... gcc -E checking for sys/file.h... yes checking for sys/param.h... yes checking for stdlib.h... yes checking for string.h... yes checking for unistd.h... yes checking for strings.h... yes checking for sys/time.h... yes checking for sys/resource.h... yes checking for sys/wait.h that is POSIX.1 compatible... yes checking whether the C compiler (gcc -march=i686 -pipe ) works... yes checking whether the C compiler (gcc -march=i686 -pipe ) is a cross-compiler... no checking for asprintf... yes checking for atexit... yes checking for basename... yes checking for bcmp... yes checking for bcopy... yes checking for bzero... yes checking for calloc... yes checking for clock... yes checking for getcwd... yes checking for getpagesize... yes checking for index... yes checking for insque... yes checking for memchr... yes checking for memcmp... yes checking for memcpy... yes checking for memmove... yes checking for memset... yes checking for mkstemps... no checking for putenv... yes checking for random... yes checking for rename... yes checking for rindex... yes checking for setenv... yes checking for sigsetmask... yes checking for strcasecmp... yes checking for strchr... yes checking for strdup... yes checking for strncasecmp... yes checking for strrchr... yes checking for strstr... yes checking for strtod... yes checking for strtol... yes checking for strtoul... yes checking for tmpnam... yes checking for vasprintf... yes checking for vfprintf... yes checking for vprintf... yes checking for vsprintf... yes checking for waitpid... yes checking for working alloca.h... yes checking for alloca... yes checking for ANSI C header files... yes checking for pid_t... yes checking for vfork.h... no checking for working vfork... yes checking for sys_errlist... yes checking for sys_nerr... yes checking for sys_siglist... yes checking for getrusage... yes checking for on_exit... yes checking for psignal... yes checking for strerror... yes checking for strsignal... yes checking for sysconf... yes checking for times... yes checking for sbrk... yes checking for gettimeofday... yes updating cache ../config.cache creating ./config.status creating Makefile creating testsuite/Makefile creating config.h Configuring texinfo... loading cache ../config.cache checking for a BSD compatible install... (cached) /bin/install -c checking whether build environment is sane... yes checking whether make sets ${MAKE}... yes checking for working aclocal... found checking for working autoconf... found checking for working automake... found checking for working autoheader... found checking for working makeinfo... found checking for gcc... (cached) gcc checking whether the C compiler (gcc -march=i686 -pipe ) works... yes checking whether the C compiler (gcc -march=i686 -pipe ) is a cross-compiler... no checking whether we are using GNU C... (cached) yes checking whether gcc accepts -g... (cached) yes checking how to run the C preprocessor... (cached) gcc -E checking whether gcc needs -traditional... no checking for a BSD compatible install... /bin/install -c checking for ranlib... (cached) ranlib checking for texconfig... true ACCESS DENIED mkdir: /var/lib/texmf/dvips mkdir: cannot create directory `/var/lib/texmf/dvips': Permission denied kpsestat: /var/lib/texmf/dvips/..: No such file or directory chmod: too few arguments Try `chmod --help' for more information. ACCESS DENIED mkdir: /var/lib/texmf/dvips/config mkdir: cannot create directory `/var/lib/texmf/dvips/config': Permission denied kpsestat: /var/lib/texmf/dvips/config/..: No such file or directory chmod: too few arguments Try `chmod --help' for more information. ACCESS DENIED mkdir: /var/lib/texmf/pdftex mkdir: cannot create directory `/var/lib/texmf/pdftex': Permission denied kpsestat: /var/lib/texmf/pdftex/..: No such file or directory chmod: too few arguments Try `chmod --help' for more information. ACCESS DENIED mkdir: /var/lib/texmf/pdftex/config mkdir: cannot create directory `/var/lib/texmf/pdftex/config': Permission denied kpsestat: /var/lib/texmf/pdftex/config/..: No such file or directory chmod: too few arguments Try `chmod --help' for more information. ACCESS DENIED mkdir: /var/lib/texmf/web2c mkdir: cannot create directory `/var/lib/texmf/web2c': Permission denied kpsestat: /var/lib/texmf/web2c/..: No such file or directory chmod: too few arguments Try `chmod --help' for more information. ACCESS DENIED mkdir: /var/lib/texmf/web2c mkdir: cannot create directory `/var/lib/texmf/web2c': Permission denied kpsestat: /var/lib/texmf/web2c/..: No such file or directory chmod: too few arguments Try `chmod --help' for more information. ACCESS DENIED mkdir: /var/lib/texmf/web2c mkdir: cannot create directory `/var/lib/texmf/web2c': Permission denied kpsestat: /var/lib/texmf/web2c/..: No such file or directory chmod: too few arguments Try `chmod --help' for more information. ACCESS DENIED mkdir: /var/lib/texmf/xdvi mkdir: cannot create directory `/var/lib/texmf/xdvi': Permission denied kpsestat: /var/lib/texmf/xdvi/..: No such file or directory chmod: too few arguments Try `chmod --help' for more information. ACCESS DENIED mkdir: /var/lib/texmf/tex mkdir: cannot create directory `/var/lib/texmf/tex': Permission denied kpsestat: /var/lib/texmf/tex/..: No such file or directory chmod: too few arguments Try `chmod --help' for more information. ACCESS DENIED mkdir: /var/lib/texmf/tex/generic mkdir: cannot create directory `/var/lib/texmf/tex/generic': Permission denied kpsestat: /var/lib/texmf/tex/generic/..: No such file or directory chmod: too few arguments Try `chmod --help' for more information. ACCESS DENIED mkdir: /var/lib/texmf/tex/generic/config mkdir: cannot create directory `/var/lib/texmf/tex/generic/config': Permission denied kpsestat: /var/lib/texmf/tex/generic/config/..: No such file or directory chmod: too few arguments Try `chmod --help' for more information. ACCESS DENIED mkdir: /var/lib/texmf/etex mkdir: cannot create directory `/var/lib/texmf/etex': Permission denied kpsestat: /var/lib/texmf/etex/..: No such file or directory chmod: too few arguments Try `chmod --help' for more information. ACCESS DENIED mkdir: /var/lib/texmf/etex/plain mkdir: cannot create directory `/var/lib/texmf/etex/plain': Permission denied kpsestat: /var/lib/texmf/etex/plain/..: No such file or directory chmod: too few arguments Try `chmod --help' for more information. ACCESS DENIED mkdir: /var/lib/texmf/etex/plain/config mkdir: cannot create directory `/var/lib/texmf/etex/plain/config': Permission denied kpsestat: /var/lib/texmf/etex/plain/config/..: No such file or directory chmod: too few arguments Try `chmod --help' for more information. ACCESS DENIED mkdir: /var/lib/texmf/tex mkdir: cannot create directory `/var/lib/texmf/tex': Permission denied kpsestat: /var/lib/texmf/tex/..: No such file or directory chmod: too few arguments Try `chmod --help' for more information. ACCESS DENIED mkdir: /var/lib/texmf/tex/context mkdir: cannot create directory `/var/lib/texmf/tex/context': Permission denied kpsestat: /var/lib/texmf/tex/context/..: No such file or directory chmod: too few arguments Try `chmod --help' for more information. ACCESS DENIED mkdir: /var/lib/texmf/tex/context/config mkdir: cannot create directory `/var/lib/texmf/tex/context/config': Permission denied kpsestat: /var/lib/texmf/tex/context/config/..: No such file or directory chmod: too few arguments Try `chmod --help' for more information. ACCESS DENIED mkdir: /var/lib/texmf/web2c mkdir: cannot create directory `/var/lib/texmf/web2c': Permission denied kpsestat: /var/lib/texmf/web2c/..: No such file or directory chmod: too few arguments Try `chmod --help' for more information. ACCESS DENIED open_wr: /var/lib/texmf/web2c/mktex.cnf cp: cannot create regular file `/var/lib/texmf/web2c/mktex.cnf': Permission denied chmod: failed to get attributes of `/var/lib/texmf/web2c/mktex.cnf': No such file or directory /usr/share/texmf/web2c/mktexupd: /var/lib/texmf/web2c not a directory. ACCESS DENIED open_wr: /var/lib/texmf/xdvi/XDvi cp: cannot create regular file `/var/lib/texmf/xdvi/XDvi': Permission denied chmod: failed to get attributes of `/var/lib/texmf/xdvi/XDvi': No such file or directory /usr/share/texmf/web2c/mktexupd: /var/lib/texmf/xdvi not a directory. ACCESS DENIED open_wr: /var/lib/texmf/dvips/config/config.ps cp: cannot create regular file `/var/lib/texmf/dvips/config/config.ps': Permission denied chmod: failed to get attributes of `/var/lib/texmf/dvips/config/config.ps': No such file or directory /usr/share/texmf/web2c/mktexupd: /var/lib/texmf/dvips/config not a directory. ACCESS DENIED open_wr: /var/lib/texmf/tex/generic/config/language.dat cp: cannot create regular file `/var/lib/texmf/tex/generic/config/language.dat': Permission denied chmod: failed to get attributes of `/var/lib/texmf/tex/generic/config/language.dat': No such file or directory /usr/share/texmf/web2c/mktexupd: /var/lib/texmf/tex/generic/config not a directory. ACCESS DENIED open_wr: /var/lib/texmf/etex/plain/config/language.def cp: cannot create regular file `/var/lib/texmf/etex/plain/config/language.def': Permission denied chmod: failed to get attributes of `/var/lib/texmf/etex/plain/config/language.def': No such file or directory /usr/share/texmf/web2c/mktexupd: /var/lib/texmf/etex/plain/config not a directory. ACCESS DENIED open_wr: /var/lib/texmf/tex/context/config/cont-usr.tex cp: cannot create regular file `/var/lib/texmf/tex/context/config/cont-usr.tex': Permission denied chmod: failed to get attributes of `/var/lib/texmf/tex/context/config/cont-usr.tex': No such file or directory /usr/share/texmf/web2c/mktexupd: /var/lib/texmf/tex/context/config not a directory. ACCESS DENIED open_wr: /var/lib/texmf/web2c/fmtutil.cnf cp: cannot create regular file `/var/lib/texmf/web2c/fmtutil.cnf': Permission denied chmod: failed to get attributes of `/var/lib/texmf/web2c/fmtutil.cnf': No such file or directory /usr/share/texmf/web2c/mktexupd: /var/lib/texmf/web2c not a directory. checking for POSIXized ISC... no ... >>> Done. --------------------------- ACCESS VIOLATION SUMMARY --------------------------- LOG FILE = "/tmp/sandbox-gcc-2.95.3-r8-10057.log" mkdir: /var/lib/texmf/dvips mkdir: /var/lib/texmf/dvips/config mkdir: /var/lib/texmf/pdftex mkdir: /var/lib/texmf/pdftex/config mkdir: /var/lib/texmf/web2c mkdir: /var/lib/texmf/web2c mkdir: /var/lib/texmf/web2c mkdir: /var/lib/texmf/xdvi mkdir: /var/lib/texmf/tex mkdir: /var/lib/texmf/tex/generic mkdir: /var/lib/texmf/tex/generic/config mkdir: /var/lib/texmf/etex mkdir: /var/lib/texmf/etex/plain mkdir: /var/lib/texmf/etex/plain/config mkdir: /var/lib/texmf/tex mkdir: /var/lib/texmf/tex/context mkdir: /var/lib/texmf/tex/context/config mkdir: /var/lib/texmf/web2c open_wr: /var/lib/texmf/web2c/mktex.cnf open_wr: /var/lib/texmf/xdvi/XDvi open_wr: /var/lib/texmf/dvips/config/config.ps open_wr: /var/lib/texmf/tex/generic/config/language.dat open_wr: /var/lib/texmf/etex/plain/config/language.def open_wr: /var/lib/texmf/tex/context/config/cont-usr.tex open_wr: /var/lib/texmf/web2c/fmtutil.cnf --------------------------------------------------------------------------------
Hi sorry for late response. It should be taken as a portage issue, as you do not want packages to install directly into /, as that breaks the binary versions. For now gcc2 is not really supported anymore, and I do not have the time to properly fix this, and never ran into this myself. If you have the same issue in future with current gcc3, feel free to open a bug. Thanks.