Subject: Re: autoload of dependencies failed when ispkgpattern()
To: Hubert Feyrer <hubert@feyrer.de>
From: Jeremy C. Reed <reed@reedmedia.net>
List: tech-pkg
Date: 04/08/2004 14:27:37
On Thu, 8 Apr 2004, Hubert Feyrer wrote:

> On Thu, 8 Apr 2004, Jeremy C. Reed wrote:
> > -sh-2.05b# pkg_add /packages/dillo-0.8.0.tbz
>
> What does 'pkg_add -v' say?

I have 19 saved outputs from pkg_add -v (several with my extra debugging
output).

Please note that due to some buffering of output by pkg_add, sometimes
output is out-of-order.

At first, I couldn't reproduce :( or should that be :)

It worked when I removed gtk+ and dillo and reinstalling dillo also
installed gtk+ too.

But then I pkg_delete'd by glib, gtk+ and dillo.

And then ran: pkg_add -v /packages/dillo-0.8.0.tbz

Note that /packages/glib-1.2.10nb6.tbz does exist.

Here is the output:

Requested space: 895228 bytes, free space: 2965946368 bytes in /var/tmp/instmp.6cSe0D
Requested space: 26257252 bytes, free space: 2965114880 bytes in /var/tmp/instmp.oTwoRh
pkg_add: no pkg found for 'glib-1.2.10nb5', sorry.
pkg_add: 1 package addition failed
parsing: /packages;//.
path: /packages
path: //.
increasing RLIMIT_NOFILE to max. 1024 open files
trying PKG_PATH /packages
trying PKG_PATH //.
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
parsing: /packages;//.
path: /packages
path: //.
increasing RLIMIT_NOFILE to max. 1024 open files
trying PKG_PATH /packages
trying PKG_PATH //.
pkg_add: autoload of dependency `glib>=1.2.10nb5' failed!
pkg_add: 1 package addition failed
parsing: /packages;//.
path: /packages
path: //.
increasing RLIMIT_NOFILE to max. 1024 open files
trying PKG_PATH /packages
running: /usr/bin/tar --fast-read --use-compress-program bzip2 -xpf /packages/gtk+-1.2.10nb7.tbz +CONTENTS
Extracting to staging area: /var/tmp/instmp.oTwoRh.
running: /usr/bin/tar  --use-compress-program bzip2 -xpf /packages/gtk+-1.2.10nb7.tbz
Depends pre-scan: `XFree86-libs>=4.4.0' required.
Depends pre-scan: `glib>=1.2.10nb5' required.
Depends pre-scan: `pkg_install-info-[0-9]*' required.
Depends pre-scan: `xdg-x11-dirs>=1.1' required.
Package `gtk+-1.2.10nb7' depends on `XFree86-libs>=4.4.0'.
 - XFree86-libs-4.4.0 already installed.
Package `gtk+-1.2.10nb7' depends on `glib>=1.2.10nb5'.
Loading it from glib-1.2.10nb5.
PKG_PATH = /packages;//.
Loading it from glib>=1.2.10nb5.
PKG_PATH = /packages;//.
Package `gtk+-1.2.10nb7' depends on `pkg_install-info-[0-9]*'.
 - pkg_install-info-4.5nb2 already installed.
Package `gtk+-1.2.10nb7' depends on `xdg-x11-dirs>=1.1'.
 - xdg-x11-dirs-1.1 already installed.
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
parsing: /packages;//.
path: /packages
path: //.
increasing RLIMIT_NOFILE to max. 1024 open files
trying PKG_PATH /packages
trying PKG_PATH //.
pkg_add: autoload of dependency `gtk+>=1.2.10' failed!
pkg_add: 1 package addition failed
parsing: .
path: //.
increasing RLIMIT_NOFILE to max. 1024 open files
running: /usr/bin/tar --fast-read --use-compress-program bzip2 -xpf /packages/dillo-0.8.0.tbz +CONTENTS
Extracting to staging area: /var/tmp/instmp.6cSe0D.
running: /usr/bin/tar  --use-compress-program bzip2 -xpf /packages/dillo-0.8.0.tbz
Depends pre-scan: `XFree86-libs>=4.4.0' required.
Depends pre-scan: `gtk+>=1.2.10' required.
Depends pre-scan: `jpeg>=6b' required.
Depends pre-scan: `png>=1.2.4' required.
Package `dillo-0.8.0' depends on `XFree86-libs>=4.4.0'.
 - XFree86-libs-4.4.0 already installed.
Package `dillo-0.8.0' depends on `gtk+>=1.2.10'.
Loading it from gtk+-1.2.10nb7.
PKG_PATH = /packages;//.
Loading it from gtk+>=1.2.10.
PKG_PATH = /packages;//.
Package `dillo-0.8.0' depends on `jpeg>=6b'.
 - jpeg-6bnb1 already installed.
Package `dillo-0.8.0' depends on `png>=1.2.4'.
 - png-1.2.5nb3 already installed.

So then I tried: pkg_add -v /packages/gtk+-1.2.10nb7.tbz

Requested space: 26257252 bytes, free space: 2965934080 bytes in /var/tmp/instmp.DICOHp
pkg_add: no pkg found for 'glib-1.2.10nb5', sorry.
pkg_add: 1 package addition failed
parsing: /packages;//.
path: /packages
path: //.
increasing RLIMIT_NOFILE to max. 1024 open files
trying PKG_PATH /packages
trying PKG_PATH //.
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
parsing: /packages;//.
path: /packages
path: //.
increasing RLIMIT_NOFILE to max. 1024 open files
trying PKG_PATH /packages
trying PKG_PATH //.
pkg_add: autoload of dependency `glib>=1.2.10nb5' failed!
pkg_add: 1 package addition failed
parsing: .
path: //.
increasing RLIMIT_NOFILE to max. 1024 open files
running: /usr/bin/tar --fast-read --use-compress-program bzip2 -xpf /packages/gtk+-1.2.10nb7.tbz +CONTENTS
Extracting to staging area: /var/tmp/instmp.DICOHp.
running: /usr/bin/tar  --use-compress-program bzip2 -xpf /packages/gtk+-1.2.10nb7.tbz
Depends pre-scan: `XFree86-libs>=4.4.0' required.
Depends pre-scan: `glib>=1.2.10nb5' required.
Depends pre-scan: `pkg_install-info-[0-9]*' required.
Depends pre-scan: `xdg-x11-dirs>=1.1' required.
Package `gtk+-1.2.10nb7' depends on `XFree86-libs>=4.4.0'.
 - XFree86-libs-4.4.0 already installed.
Package `gtk+-1.2.10nb7' depends on `glib>=1.2.10nb5'.
Loading it from glib-1.2.10nb5.
PKG_PATH = /packages;//.
Loading it from glib>=1.2.10nb5.
PKG_PATH = /packages;//.
Package `gtk+-1.2.10nb7' depends on `pkg_install-info-[0-9]*'.
 - pkg_install-info-4.5nb2 already installed.
Package `gtk+-1.2.10nb7' depends on `xdg-x11-dirs>=1.1'.
 - xdg-x11-dirs-1.1 already installed.

And glib still didn't install.

This worked fine:
 pkg_add -v /packages/glib-1.2.10nb6.tbz
by itself.

So then (now that glib was installed) I did:

 pkg_add -v /packages/dillo-0.8.0.tbz

and that worked too (including installing gtk+>=1.2.10 which is
/packages/gtk+-1.2.10nb7.tbz).



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