Subject: pkg/34441: imake error messages during 'make install clean'
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <peter@kerwien.homeip.net>
List: pkgsrc-bugs
Date: 08/31/2006 15:10:00
>Number:         34441
>Category:       pkg
>Synopsis:       imake error messages during 'make install clean'
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Aug 31 15:10:00 +0000 2006
>Originator:     Peter Kerwien
>Release:        NetBSD 4.0-BETA
>Organization:
N/A
>Environment:
NetBSD netbsd 4.0_BETA NetBSD 4.0_BETA (GENERIC) #0: Tue Aug 29 22:54:31 CEST 2006  root@netbsd:/usr/obj/sys/arch/amd64/compile/GENERIC amd64

>Description:
During make install clean some error messages are printed out from imake:

...
===> Cleaning for xorg-dirs-1.1nb2
===> Cleaning for xorg-imake-6.9.0nb4
===> Cleaning for MesaLib-6.4.2nb2
Imakefile.c:16: error: Imake.tmpl: No such file or directory
/usr/pkg/xorg/bin/imake: Exit code 1.
  Stop.
make: don't know how to make builtin-test. Stop
===> Cleaning for glitz-0.5.6nb2
===> Cleaning for cairo-1.2.4
===> Cleaning for freetype2-2.2.1nb2
===> Cleaning for jpeg-6bnb3
===> Cleaning for png-1.2.12
===> Cleaning for tiff-3.8.2nb3
===> Cleaning for Xrandr-1.0.2nb3
===> Cleaning for Xrender-0.9.0nb1
===> Cleaning for xcursor-1.1.2nb2
===> Cleaning for xorg-libs-6.9.0nb8
Imakefile.c:16: error: Imake.tmpl: No such file or directory
/usr/pkg/xorg/bin/imake: Exit code 1.
  Stop.
make: don't know how to make builtin-test. Stop
===> Cleaning for gtk2+-2.8.20nb1
===> Cleaning for glade-2.12.1nb2
===> Cleaning for gmake-3.81
===> Cleaning for esound-0.2.36nb1
===> Cleaning for libaudiofile-0.2.6nb1
===> Cleaning for bison-2.3
...

I have defined CLEANDEPENDS in my /etc/mk.conf, so a recursive clean is made. Then some error messages are printed out.

My system uses a system from netbsd-4 branch and pkgsrc from HEAD.
>How-To-Repeat:
1. Install xorg-6.9.0nb3 (meta pkg)

2. Then install some application that requires X e.g. firefox with:

make install clean CLEANDEPENDS=yes

Look for error message during the clean step.
>Fix: