From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Mar 30 06:00:10 2005 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D973916A4CE for ; Wed, 30 Mar 2005 06:00:10 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6A9FE43D5F for ; Wed, 30 Mar 2005 06:00:10 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j2U60AIj098490 for ; Wed, 30 Mar 2005 06:00:10 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j2U60AP2098485; Wed, 30 Mar 2005 06:00:10 GMT (envelope-from gnats) Resent-Date: Wed, 30 Mar 2005 06:00:10 GMT Resent-Message-Id: <200503300600.j2U60AP2098485@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Edmund Lian Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E08CA16A4CE for ; Wed, 30 Mar 2005 05:54:14 +0000 (GMT) Received: from eagle.juscom.com (60-248-108-70.HINET-IP.hinet.net [60.248.108.70]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2A29343D5D for ; Wed, 30 Mar 2005 05:54:14 +0000 (GMT) (envelope-from elian@juscom.com) Received: from localhost (localhost [127.0.0.1]) by eagle.juscom.com (Postfix) with ESMTP id 9FBE495B86 for ; Wed, 30 Mar 2005 13:54:12 +0800 (CST) Received: from eagle.juscom.com ([127.0.0.1]) by localhost (eagle.juscom.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 61747-03 for ; Wed, 30 Mar 2005 13:54:12 +0800 (CST) Received: by eagle.juscom.com (Postfix, from userid 1001) id 1FBD595B84; Wed, 30 Mar 2005 13:54:12 +0800 (CST) Message-Id: <20050330055412.1FBD595B84@eagle.juscom.com> Date: Wed, 30 Mar 2005 13:54:12 +0800 (CST) From: Edmund Lian To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/79353: zh-CJK Makefile broken for teTeX 3.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Edmund Lian List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Mar 2005 06:00:11 -0000 >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: