Subject: pkg/29037: ja-ptex-bin-3.1.2nb2 won't build on Mac OS X 10.3.7 (Darwin 7.7.0)
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: Masahiro =Rhythm Drive= Ishiyama <masahiro@wide.ad.jp>
List: pkgsrc-bugs
Date: 01/21/2005 16:14:00
>Number:         29037
>Category:       pkg
>Synopsis:       ja-ptex-bin-3.1.2nb2 won't build on Mac OS X 10.3.7 (Darwin 7.7.0)
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Jan 21 16:14:00 +0000 2005
>Originator:     Masahiro =Rhythm Drive= Ishiyama <masahiro@wide.ad.jp>
>Release:        Darwin 7.7.0
>Organization:
>Environment:
System: Darwin grayswandir 7.7.0 Darwin Kernel Version 7.7.0: Sun Nov 7 16:06:51 PST 2004; root:xnu/xnu-517.9.5.obj~1/RELEASE_PPC Power Macintosh powerpc
Architecture: powerpc
Machine: Power Macintosh
>Description:
        teTeX-bin-2.0.2nb4 won't build on Mac OS X 10.3.7 because
        ${TURE} is not set correctly in Makefile.

masahiro@grayswandir[ja-ptex-bin] pwd
/usr/pkgsrc/print/ja-ptex-bin
masahiro@grayswandir[ja-ptex-bin] bmake
===> Checking for vulnerabilities in ja-ptex-bin-3.1.2nb2
[snip]
rm -f pjbibtex
ln -s jbibtex pjbibtex
/bin/sh ./mkconf ../../kpathsea/texmf.cnf > texmf.cnf
TEXMFCNF=../../kpathsea TEXINPUTS=.:..:{../../../texmf,../../../texmf.local}/ptex//: TEXFONTS={../../../texmf,../../../texmf.local}/fonts/tfm/ptex//: /usr/bin/gnumake  files="--progname=ptex ptex.tex min10.tfm" prereq-check
TEXMFCNF=../../kpathsea TEXINPUTS=.:..:{../../../texmf,../../../texmf.local}/ptex//: TEXFONTS={../../../texmf,../../../texmf.local}/fonts/tfm/ptex//: ../../kpathsea/kpsewhich --progname=ptex ptex.tex min10.tfm >/dev/null \
        || /usr/bin/gnumake prereq-lose >/dev/null
TEXMFCNF=../../kpathsea TEXINPUTS=.:..:{../../../texmf,../../../texmf.local}/ptex//: TEXFONTS={../../../texmf,../../../texmf.local}/fonts/tfm/ptex//: ./ptex -ini --kanji=euc --jobname=ptex-euc \\input ptex \\dump </dev/null ||  # XXX
/bin/sh: -c: line 2: syntax error: unexpected end of file
gnumake: *** [ptex-euc.fmt] Error 2
*** Error code 2

Stop.
bmake: stopped in /usr/pkgsrc/print/ja-ptex-bin

>How-To-Repeat:
        cd /usr/pkgsrc/print/teTex-bin; bmake
>Fix:

        Does s/${TRUE}/true/g work on all platforms? (BTW, Makefile.in
        in print/teTeX-bin just uses "true", not ${TRUE}...). Or we
        have to detect and set an appropriate "true" command.