Subject: pkg/28511: print/teTeX-bin fails to build
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <dgriffi@cs.csubak.edu>
List: pkgsrc-bugs
Date: 12/02/2004 08:33:00
>Number:         28511
>Category:       pkg
>Synopsis:       print/teTeX-bin fails to build
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Dec 02 08:33:00 +0000 2004
>Originator:     David Griffith
>Release:        1.6.2
>Organization:
>Environment:
NetBSD zaphod 1.6.2 NetBSD 1.6.2 (ZAPHOD) #0: Sat Jun  5 04:50:05 PDT 2004     dave@arthur:/usr/src/sys/arch/i386/compile/ZAPHOD i386

>Description:
Due to a crashed hard drive, I reinstalled the operating system on Zaphod.  While reinstalling teTeX, this happened:

gmake[2]: Entering directory `/usr/tmp/pkg_build/print/teTeX-bin/work.zaphod/tetex-src-2.0.2/texk/kpathsea'
/bin/sh config.status
creating Makefile
creating c-auto.h
c-auto.h is unchanged
gmake[2]: Leaving directory `/usr/tmp/pkg_build/print/teTeX-bin/work.zaphod/tetex-src-2.0.2/texk/kpathsea'
gmake[2]: Entering directory `/usr/tmp/pkg_build/print/teTeX-bin/work.zaphod/tetex-src-2.0.2/texk/kpathsea'
gmake[2]: *** No rule to make target `../klibtool.config', needed by `tex-file.lo'.  Stop.
gmake[2]: Leaving directory `/usr/tmp/pkg_build/print/teTeX-bin/work.zaphod/tetex-src-2.0.2/texk/kpathsea'
gmake[1]: *** [do-kpathsea] Error 2
gmake[1]: Leaving directory `/usr/tmp/pkg_build/print/teTeX-bin/work.zaphod/tetex-src-2.0.2/texk'
gmake: *** [all] Error 1
*** Error code 2

Stop.
make: stopped in /usr/pkgsrc/print/teTeX-bin
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/print/teTeX-bin
zaphod:/usr/pkgsrc/print/teTeX-bin$ 

The pkgsrc tree is NFS mounted from a system that has previously allowed teTeX* to compile without a problem.  Interestingly enough, I tried building teTeX* there and got the same problem.
>How-To-Repeat:
cd /usr/pkgsrc/print/teTeX-bin ; make


>Fix: