ports/79353: zh-CJK Makefile broken for teTeX 3.0

Edmund Lian elian at juscom.com
Wed Mar 30 06:00:11 UTC 2005


>Number:         79353
>Category:       ports
>Synopsis:       zh-CJK Makefile broken for teTeX 3.0
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Mar 30 06:00:09 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Edmund Lian
>Release:        FreeBSD 5.3-RELEASE-p5 i386
>Organization:
>Environment:
System: FreeBSD eagle.juscom.com 5.3-RELEASE-p5 FreeBSD 5.3-RELEASE-p5 #0: Fri Feb 25 10:54:10 CST 2005 root at eagle.juscom.com:/usr/obj/usr/src/sys/EAGLE i386


>Description:
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.

>Fix:




>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list