portinstall chinese/CJK fails with teTeX 3.0 since makefile contains lines: @${LN} -s ${PREFIX}/share/fonts/TrueType/bkai00mp.ttf ${ARPHICDIR}/arb5_ kai.ttf @${LN} -s ${PREFIX}/share/fonts/TrueType/bsmi00lp.ttf ${ARPHICDIR}/arb5_ sung.ttf @${LN} -s ${PREFIX}/share/fonts/TrueType/gbsn00lp.ttf ${ARPHICDIR}/argb_ sung.ttf @${LN} -s ${PREFIX}/share/fonts/TrueType/gkai00mp.ttf ${ARPHICDIR}/argb_ kai.ttf @${LN} -s ttf2pk ${PREFIX}/share/texmf/ttf2tfm However: 1. Symbolic links to Arphic fonts were already in place, perhaps due to a previous failed installation attempt. So makefile should be able to deal with this situation, and also guarantee proper removal of symlinks on installation failure. Error message seen is: ln: /usr/local/share/texmf/fonts/truetype/arphic/arb5_kai.ttf: File exists *** Error code 1 2. Manually removing symlinks that cause failure above (#1) still results in failure. This time error message seen is: grep: /usr/local/share/texmf/ttf2pk/ttfonts.map: No such file or directory /usr/ports/chinese/CJK/scripts/post-install: cannot create /usr/local/share/texmf/ttf2pk/ttfonts.map: No such file or directory *** Error code 2 How-To-Repeat: portinstall chinese/CJK when teTeX 3.0 is installed.
To confirm the problem, teTeX 3.0 was completely removed as per instructions in http://people.freebsd.org/~hrs/tetex-upgrade.txt (referenced in /usr/ports/UPDATING, 20050206). Then, running make install in /usr/ports/chinese/CJK fails with the following error messages: <snip> /bin/cp -R /usr/ports/chinese/CJK/work/cjk-4.5.2/examples /usr/local/share/examples/CJK ln: /usr/local/share/texmf/fonts/truetype/arphic/arb5_kai.ttf: File exists *** Error code 1 Stop in /usr/ports/chinese/CJK. *** Error code 1 Stop in /usr/ports/chinese/CJK. cp: data: No such file or directory grep: /usr/local/share/texmf/fontname/special.map: No such file or directory /usr/ports/chinese/CJK/scripts/post-install: cannot create /usr/local/share/texmf/fontname/special.map: No such file or directory *** Error code 2 Stop in /usr/ports/chinese/CJK. *** Error code 1 Stop in /usr/ports/chinese/CJK.
Responsible Changed From-To: freebsd-ports-bugs->lawrance Track
State Changed From-To: open->feedback Maintainer was asked for feedback.
Hello, you are the maintainer of chinese/CJK Could you please look into this problem and determine if a fix is required: http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/79353
State Changed From-To: feedback->open Maintainer address bounces
State Changed From-To: open->closed Superseded by ports/84415