Subject: Re: bin-install at pkgviews packages fails to create views
To: C=C3=A9sar_Catri=C3=A1n?= C. <ccatrian@eml.cc>
From: =?UTF-8?Q?C=C3=A9sar_Catri=C3=A1n?= C. <ccatrian@eml.cc>
List: tech-pkg
Date: 06/25/2005 13:11:59
On Fri, 24 Jun 2005 11:59:24 -0400
"César Catrián C." <ccatrian@eml.cc> wrote:

> Hello
> 
> This is the error message:
> 
> pkg_comp:default.conf# make real-su-bin-install                         
> Installing from binary pkg /pkg_comp/packages/All/xvidcore-1.0.3.tgz
> Usage: pkg_view [-n] [-v] [-i ignore] [-k pkg_dbdir_dflt] [-w viewname] [-d stowdir] [-W viewbase] add|check|delete pkgname...

pkg_comp:default.conf# pkg_add -v -w /usr/pkg -W /usr/pkg ../../packages/All/gmake-3.80nb4
parsing: .
path: /usr/pkgsrc/devel/gmake/.
increasing RLIMIT_NOFILE to max. 1772 open files
trying PKG_PATH /usr/pkgsrc/devel/gmake/../../packages/All
Requested space: 1299456 bytes, free space: 481657856 bytes in /var/tmp/instmp.17129a
running: /bin/tar --fast-read --use-compress-program gzip -xpf /usr/pkgsrc/devel/gmake/../../packages/All/../../packages/All/gmake-3.80nb4.tgz +CONTENTS
running: /bin/tar  --use-compress-program gzip -xpf /usr/pkgsrc/devel/gmake/../../packages/All/../../packages/All/gmake-3.80nb4.tgz 
Running install with PRE-INSTALL for gmake-3.80nb4.
extract: Package name is gmake-3.80nb4
...
Running install with POST-INSTALL for gmake-3.80nb4.
Attempting to record package into /usr/pkg/packages/gmake-3.80nb4.
Package gmake-3.80nb4 registered in /usr/pkg/packages/gmake-3.80nb4
/usr/sbin/pkg_view -d /usr/pkg/packages -w /usr/pkg  -v add gmake-3.80nb4
Usage: pkg_view [-n] [-v] [-i ignore] [-k pkg_dbdir_dflt] [-w viewname] [-d stowdir] [-W viewbase] add|check|delete pkgname...

pkg_comp:default.conf# pkg_view -d /usr/pkg/packages -w /usr/pkg -v check gmake-3.80nb4                                                                   
Checking gmake-3.80nb4 in /usr/pkg//usr/pkg.

It seems that pkg_add is broken with -w or -W, or pkg_view is broken. Any ideas?

César