I copied the 0.8.1 version of the ebuild, added a ppc-macos keyword, and it compiled just fine. Reproducible: Always Steps to Reproduce: 1. 2. 3.
I should probably add that the command "cp -a" should be changed to "cp -pPR" on line 30, since the cp function in OS X does not understand the '-a' switch.
Another comment: This ebuild doesn't work with tetex 3 when collision-protect is enabled.
it appears to me tetex3 is heavily broken when installing because all files seem not to be owned by root.portage. Bug #90765
I tried to "chgrp -R portage /usr/share/texmf", but I still get the same error message when emerging preview-latex: ---------8<---------- * checking 44 files for package collisions existing file /usr/share/texmf/tex/latex/preview/prauctex.cfg is not owned by this package existing file /usr/share/texmf/tex/latex/preview/prauctex.def is not owned by this package existing file /usr/share/texmf/tex/latex/preview/prcounters.def is not owned by this package existing file /usr/share/texmf/tex/latex/preview/preview.sty is not owned by this package existing file /usr/share/texmf/tex/latex/preview/prfootnotes.def is not owned by this package existing file /usr/share/texmf/tex/latex/preview/prlyx.def is not owned by this package existing file /usr/share/texmf/tex/latex/preview/prshowbox.def is not owned by this package existing file /usr/share/texmf/tex/latex/preview/prshowlabels.def is not owned by this package existing file /usr/share/texmf/tex/latex/preview/prtightpage.def is not owned by this package existing file /usr/share/texmf/tex/latex/preview/prtracingall.def is not owned by this package * spent 0.0260989665985 seconds checking for file collisions * This package is blocked because it wants to overwrite * files belonging to other packages (see messages above). * If you have no clue what this is all about report it * as a bug for this package on http://bugs.gentoo.org -------->8--------- It seems collision-protect doesn't even check the filesystem-level owner of the files, but checks whether or not the files to be merged are already installed on the system.
portage keeps track of which files it merged and which it didn't, regardless of their permissions/ ownership. collision-protect is based on this file-tracking.
Ok, with tex 2 ("stable" on x86) this package compiles and installs fine. I don't use emacs, and won't drag myself into a dangerous operation of trying to start it, hence: how am I supposed to test this? Anyone suggestions?
in prefix