tetex-3.0-r2 is broken. It builds and installs a lot of stuff, but I get a lot of errors like the following: tcfmgr: config file `tcfmgr.map' (usually in $TEXMFMAIN/texconfig) not found. fmtutil: config file `fmtutil.cnf' not found. make: [install] Error 1 (ignored) ... man: gzipping man page: afm2tfm.1 gzipping man page: allcm.1 /usr/lib/portage/bin/prepman: line 1: readlink: command not found ... strip: strip --strip-unneeded strip: strip --strip-unneeded Traceback (most recent call last): File "<string>", line 1, in ? OSError: [Errno 2] No such file or directory: '/var/tmp/portage/tetex-3.0-r2/image///usr/bin/pdfvirtex' !!! ERROR: app-text/tetex-3.0-r2 failed. !!! Function stat_perms, Line 1067, Exitcode 1 !!! Failed to perform stat operation on file: /var/tmp/portage/tetex-3.0-r2/image///usr/bin/pdfvirtex !!! If you need support, post the topmost build error, NOT this status message. The final error that makes the build fail: !!! failed to properly create symlink: !!! /usr/bin/pdfvirtex -> /usr/bin/pdftex !!! [Errno 2] No such file or directory: '/usr/bin/pdfvirtex' !!! Failed to move file. !!! /usr/bin/pdfvirtex -> /usr/bin/pdftex
# emerge info Invalid package name in package.provided: sys-devel/gdb-5.3-20030128 Invalid package name in package.provided: app-crypt/mit-krb5 !!! Relying on the shell to locate gcc, this may break !!! DISTCC, installing gcc-config and setting your current gcc !!! profile will fix this Portage 2.0.51.20-r5 (default-darwin/macos/10.3, gcc-3.3, libsystem-7.1-r0, 7.9.0 Power Macintosh) ================================================================= System uname: 7.9.0 Power Macintosh powerpc macos-20041118 distcc 2.0.1-zeroconf powerpc-apple-darwin7.0 (protocol 1) (default port 3632) [disabled] ccache version 2.4 [disabled] dev-lang/python: [Not Present] sys-apps/sandbox: [Not Present] sys-devel/autoconf: [Not Present] sys-devel/automake: [Not Present] sys-devel/binutils: [Not Present] sys-devel/libtool: [Not Present] virtual/os-headers: 7.1 ACCEPT_KEYWORDS="ppc-macos ~ppc-macos" AUTOCLEAN="yes" CBUILD="powerpc-apple-darwin" CFLAGS="-O2 -pipe -mcpu=7450" CHOST="powerpc-apple-darwin" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-O2 -pipe -mcpu=7450" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig collision-protect distlocks strict userpriv" GENTOO_MIRRORS="http://ftp.uni-erlangen.de/pub/mirrors/gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://localhost:8730/gentoo-portage" USE="ppc X altivec aqua bzip2 cdr crypt emboss gdbm idea imagemagick imap ldap libwww mbox ncurses nls nntp png ppc-macos readline ruby sqlite ssl threads zlib" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
`emerge freebsd-stat` then try again. Should have been installed when you first emerged system, but perhaps it was added after you installed...
I have the same problem here. The reason why the symlink can't be created is that pdftex has never been build along with other programs (even latex). I've been looking for a solution but without success.
I get a completely different error, during the install phase: ... >>> /var/lib/texmf/web2c/pdfetex-pl.pool >>> /var/lib/texmf/web2c/pdfetex.pool >>> /var/lib/texmf/web2c/pdfxtex.pool >>> /var/lib/texmf/web2c/tex.pool !!! failed to properly create symlink: !!! /var/lib/texmf/web2c/fmtutil.cnf -> /etc/texmf/web2c/fmtutil.cnf !!! [Errno 2] No such file or directory: '/var/lib/texmf/web2c/fmtutil.cnf' !!! Failed to move file. !!! /var/lib/texmf/web2c/fmtutil.cnf -> /etc/texmf/web2c/fmtutil.cnf I nailed this down to the tetex-3 eclass which does this: # take care of updmap.cfg, fmtutil.cnf and texmf.cnf dodir /etc/texmf/{updmap.d,fmtutil.d,texmf.d} #cp ${D}/usr/share/texmf/web2c/updmap.cfg ${D}/etc/texmf/updmap.d/00updmap.cfg dosym /etc/texmf/web2c/updmap.cfg ${TEXMF_PATH}/web2c/updmap.cfg mv ${D}/usr/share/texmf/web2c/updmap.cfg ${D}/etc/texmf/updmap.d/00updmap.cfg mv ${D}/etc/texmf/web2c/fmtutil.cnf ${D}/etc/texmf/fmtutil.d/00fmtutil.cnf mv ${D}/etc/texmf/web2c/texmf.cnf ${D}/etc/texmf/texmf.d/00texmf.cnf Above this piece of code in /var/lib/texmf/web2c are made symlinks to the files in ${D}/etc/texmf/web2c. These are above moved so the symlinks do not point to a valid location anymore. On linux this seems to be no problem (are the files recreated afterwards perhaps?).
I commented out those lines, but it didn't seem like I got any longer. However, I did get a new error message: >>> /usr/share/man/man1/lambda.1.gz -> omega.1.gz >>> /usr/share/man/man1/mf-nowin.1.gz -> mf.1.gz >>> /usr/share/man/man1/texconfig-sys.1.gz -> texconfig.1.gz >>> /usr/share/man/man1/updmap-sys.1.gz -> updmap.1.gz !!! failed to properly create symlink: !!! /usr/bin/pdfvirtex -> /usr/bin/pdftex !!! [Errno 2] No such file or directory: '/usr/bin/pdfvirtex' !!! Failed to move file. !!! /usr/bin/pdfvirtex -> /usr/bin/pdftex I'd LOVE if this could be fixed soon. If it will help, I have a log of the whole emerge session available.
Until the ideal solution to portage a) not caring about the order in which files are merged to the live filesystem b) raising an exception when trying to merge empty symlinks on Darwin, try : touch /usr/bin/pdftex Then emerge again. If thats the only symlink its having problems with, it might work.
Yes, it was the symlinks that were the problem. This is the band-aid that makes it emerge properly, so run this before you emerge tetex: touch /etc/texmf/web2c/fmtutil.cnf touch /etc/texmf/web2c/texmf.cnf touch /etc/texmf/web2c/updmap.cfg touch /usr/bin/pdftex touch /usr/bin/pdfvirtex
after installing not all (or not any?) files seem to get chgrp-ed to portage. Needs more investigation.
These appear to be orphaned files. My x86 install has them, but equery doesn't know to what package they belong. Added the text-markup herd to the CC list.
*** Bug 106886 has been marked as a duplicate of this bug. ***
previous bug is not a duplicate of this bug. Sorry.
this ebuild is not any more in portage. See bug #106886 for the follow up revision.
This error looks very familiar to me, as it is the same as for -r2, IMHO. >>> /usr/share/man/man1/kpsepath.1.gz -> kpsetool.1.gz >>> /usr/share/man/man1/lambda.1.gz -> omega.1.gz >>> /usr/share/man/man1/mf-nowin.1.gz -> mf.1.gz >>> /usr/share/man/man1/oxdvi.1.gz -> xdvi.1.gz >>> /usr/share/man/man1/texconfig-sys.1.gz -> texconfig.1.gz >>> /usr/share/man/man1/updmap-sys.1.gz -> updmap.1.gz !!! failed to properly create symlink: !!! /usr/bin/pdfvirtex -> /usr/bin/pdftex !!! [Errno 2] No such file or directory: '/usr/bin/pdfvirtex' !!! Failed to move file. !!! /usr/bin/pdfvirtex -> /usr/bin/pdftex