Subject: Imakefile.c:15: error: Imake.tmpl: No such file or directory
To: None <tech-pkg@NetBSD.org>
From: Thomas Klausner <wiz@NetBSD.org>
List: tech-pkg
Date: 01/31/2007 22:56:12
Hi!

Why does a (bulk) build of a package sometimes spew lots
of messages like:
[wrapper.sh] note: The real command line, after the pkgsrc wrapper, was:
/usr/obj/x11/mlterm/work.x86_64/.gcc/bin/gcc -I. -D__AMD64__ -D__amd64__ -traditional -DUseInstalled -I/usr/obj/x11/mlterm/work.x86_64/.x11-buildlink/lib/X11/config -E Imakefile.c -I/usr/obj/x11/mlterm/work.x86_64/.buildlink/include -L/usr/obj/x11/mlterm/work.x86_64/.buildlink/lib
/usr/X11R6/bin/imake: Exit code 1.
  Stop.
make: don't know how to make builtin-test. Stop
Imakefile.c:15: error: Imake.tmpl: No such file or directory

This particular example was seen in a successful build of x11/mlterm
during the packaging step, but it also often happens when a build fails.
 Thomas