Subject: pkg/30765: Failied to build inputmethod/canna-*
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <obata@lins.jp>
List: pkgsrc-bugs
Date: 07/17/2005 03:23:00
>Number:         30765
>Category:       pkg
>Synopsis:       Failed to build inputmethod/canna-*
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Sun Jul 17 03:23:00 +0000 2005
>Originator:     OBATA Akio
>Release:        NetBSD 2.0.2_STABLE
>Organization:
	Lins, Japan.
>Environment:
System: NetBSD momiji 2.0.2_STABLE NetBSD 2.0.2_STABLE (MOMIJI) #0: Sat Apr 16 06:27:21 JST 2005 obata@miki.lins.jp:/usr/src/sys/arch/i386/compile/MOMIJI i386
Architecture: i386
Machine: i386
>Description:
	Canna use xmkmf for building.
	So, it depends on devel/nbitools (overwrite XMKMF_CMD),
	but also define "USE_TOOLS+=imake". it confuse build tools. 

	===> Required package Canna-lib>=3.6pl4: NOT found
	===> Verifying package for ../../inputmethod/canna-lib
	===> Checking for vulnerabilities in Canna-lib-3.6pl4
	=> Checksum SHA1 OK for Canna36p4.tar.gz.
	=> Checksum RMD160 OK for Canna36p4.tar.gz.
	===> Extracting for Canna-lib-3.6pl4
	===> Required installed package xpkgwedge>=1.14: xpkgwedge-1.14 found
	===> Required installed package nbitools>=6.3: nbitools-6.3nb2 found
	===> Patching for Canna-lib-3.6pl4
	===> Applying pkgsrc patches for Canna-lib-3.6pl4
	===> Overriding tools for Canna-lib-3.6pl4
	===> Creating toolchain wrappers for Canna-lib-3.6pl4
	===> Configuring for Canna-lib-3.6pl4
	imake -DUseInstalled -I/usr/pkg/lib/X11/config -I/usr/X11R6/lib/X11/config
	Imakefile.c:15: Imake.tmpl: No such file or directory
	imake: Exit code 1.
	  Stop.
	*** Error code 1

	  Stop.
	make: stopped in /usr/pkgsrc/inputmethod/canna-lib


>How-To-Repeat:
	cd pkgsrc/inputmethod/canna-lib and 'make'
>Fix:
	remove "USE_TOOLS+=imake" from inputmethod/canna/Makefile.common