Subject: pkgview and PKGSRC_COMPILER
To: None <tech-pkg@NetBSD.org>
From: Ossi Herrala <oherrala@ee.oulu.fi>
List: tech-pkg
Date: 02/03/2004 00:03:37
Hi

I have pkg_comp setup for playing with pkgviews and pkgsrc is just updated.
I have lines 

	PKG_INSTALLATION_PREFS= pkgviews overwrite
	PKGSRC_COMPILER=ccache gcc

in my chroot's /etc/mk.conf. And I have ccache 2.3 installed:

pkg_comp:default.conf# pkg_info|grep ccache
ccache-2.3          Cache for C/C++ compilers

pkg_comp:default.conf# file /usr/pkg/bin/ccache                                
/usr/pkg/bin/ccache: ELF 32-bit LSB executable, Intel 80386, version 1
(SYSV), for NetBSD 1.6ZH, dynamically linked (uses shared libs), not
stripped

Now when I try to build software, the system fails to find ccache:

pkg_comp:default.conf# make
===> Checking for vulnerabilities in mng-1.0.5
[...]
===> Required package ccache-[0-9]*: NOT found
===> Verifying package for ../../devel/ccache

I think this have something to do with pkgviews as commenting out
PKG_INSTALLATION_PREFS from /etc/mk.conf makes the system find ccache:

pkg_comp:default.conf# make
===> Checking for vulnerabilities in mng-1.0.5
[...]
===> Required installed package ccache-[0-9]*: ccache-2.3 found


I tried to look and find problem, but couldn't find it. Can someone give
me hand? 


-- 
Ossi Herrala, OH8HUB
PGP key ID:  0x78CD0337
Fingerprint: D343 F9C4 C739 DFFF F619  6170 8D28 8189 78CD 0337