Subject: autoload of dependencies failed when ispkgpattern()
To: None <tech-pkg@netbsd.org>
From: Jeremy C. Reed <reed@reedmedia.net>
List: tech-pkg
Date: 04/08/2004 13:32:55
It appears that automatically adding dependencies based on ranges are
failing for me.

It happens when the package name matches ispkgpattern(). If the @blddep
(exact package filename) exists then it works fine.

-sh-2.05b# pkg_add /packages/dillo-0.8.0.tbz
pkg_add: no pkg found for 'glib-1.2.10nb5', sorry.
pkg_add: 1 package addition failed
pkg_add: autoload of dependency `glib-1.2.10nb5' failed!
pkg_add: no pkg found for 'glib>=1.2.10nb5', sorry.
pkg_add: 1 package addition failed
pkg_add: autoload of dependency `glib>=1.2.10nb5' failed!
pkg_add: 1 package addition failed
pkg_add: autoload of dependency `gtk+-1.2.10nb7' failed!
pkg_add: no pkg found for 'gtk+>=1.2.10', sorry.
pkg_add: 1 package addition failed
pkg_add: autoload of dependency `gtk+>=1.2.10' failed!
pkg_add: 1 package addition failed

-sh-2.05b# pkg_add /packages/glib-1.2.10nb6.tbz

followed by

-sh-2.05b# pkg_add /packages/dillo-0.8.0.tbz

worked for me

I have seen this problem on this system with many packages. I added a
bunch of debugging messages to lib/file.c and lib/str.c but don't know
where the problem is yet.

Has anyone else noticed this?

   Jeremy C. Reed
   http://www.reedmedia.net/