Subject: Re: pkgsrc calls pkgchk on Solaris
To: grant beattie <grant@NetBSD.org>
From: None <segv@netctl.net>
List: tech-pkg
Date: 11/20/2005 00:39:03
On Sun, 20 Nov 2005 10:42:40 +1100
grant beattie <grant@NetBSD.org> wrote:

> On Sat, Nov 19, 2005 at 02:57:40AM +0000, segv@netctl.net wrote:
> 
> > When building editors/vim-gtk2 inside chroot jail, I get the following error
> > messages
> > 
> > pkgchk: ERROR: unable to create contents file </var/sadm/install/contents>:
> > No such file or directory (errno 2: No such file or directory)
> > pkgchk: ERROR: unable to create contents file </var/sadm/install/contents>:
> > No such file or directory (errno 2: No such file or directory)
> > ===> Checking for vulnerabilities in vim-gtk2-6.4.0
> > pkgchk: ERROR: unable to create contents file </var/sadm/install/contents>:
> > No such file or directory (errno 2: No such file or directory)
> > 
> > Anyone knows why pkgchk is called?
> 
> to determine the builtin status of various libraries which are shipped
> with Solaris.
> 
> you can use the mksandbox script in mk/bulk for creating your chroot
> jail, which includes /var/sadm (read-only) for this reason.
> 
> grant.
> 

OK, that's cool, I was getting a bit suspicious, I wouldn't want some scripts
to mess around with Solaris native packages behind by back, etc. But I guess
there is no harm in calling pkgchk.