ports/55881: make install fails for ports

Fernan Aguero fernan at iib.unsam.edu.ar
Tue Aug 26 12:29:20 UTC 2003


+----[ Joe Marcus Clarke <marcus at FreeBSD.org> (26.Aug.2003 02:06):
|
| State-Changed-Why: 
| Can you send me the output of ls -ld /var/db/pkg (or whatever your PKGDB is
| set to).  I would also like to see the output of pkg_info -q -O devel/gettext.
| Also, with what user do you build ports?
|
+----]

pi# ls -ld /var/db/pkg/
drwxr-xr-x  401 root  wheel  10752 Aug 25 11:51 /var/db/pkg/

pi# echo $PKGDB
PKGDB: Undefined variable.

pi# pkg_info -q -O devel/gettext
pkg_info: /var/db/pkg/imake-4.2.0_1/+CONTENTS: No such file or directory

Marcus,

thanks for your questions. Now I can see that my problems
are perhaps with PKGDB or with my /var/db/pkg tree. I'm
inclined to suspect that the latter is the cause of my
install problems.

I'm using the default of /var/db/pkg ... should PKGDB be
set? 

Now with the error with pkg_info. There is no +CONTENTS file
for imake-4.2..., if I create one (touch +CONTENTS) now
pkg_info says:

pi# pkg_info -q -O devel/gettext
pkg_info: package imake-4.2.0_1 has no origin recorded
pkg_info: /var/db/pkg/tcl-8.0.5/+CONTENTS: No such file or directory

Now tcl-8.0.5 has no +CONTENTS file ... should I go on like
this? Perhaps I should run pkg_delete -f on all ports that
show problems in /var/db/pkg and then reinstall them?

If the problem is /var/db/pkg ... can I make a backup and
recreate it? From what I've read it appears that this is not
possible ... I'm just checking.

Thanks for pointing your questions to the problem.

Fernan

-- 
F e r n a n   A g u e r o
http://genoma.unsam.edu.ar/~fernan



More information about the freebsd-ports-bugs mailing list