Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Mar 2005 13:54:12 +0800 (CST)
From:      Edmund Lian <elian@juscom.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/79353: zh-CJK Makefile broken for teTeX 3.0
Message-ID:  <20050330055412.1FBD595B84@eagle.juscom.com>
Resent-Message-ID: <200503300600.j2U60AP2098485@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050330055412.1FBD595B84>