Hi Laca,
latest nightly KDE build error brought me this weird situation:
test at vbox1:C: ~/src/kde4-specs-42/specs
$ pkginfo SUNWmysql5
ERROR: information for "SUNWmysql5" was not found
test at vbox1:C: ~/src/kde4-specs-42/specs
$ pkg info SUNWmysql5
Name: SUNWmysql5
Summary: MySQL Database Management System (usr component)
Category: System/Databases
State: Installed
Publisher: osol-ips
Version: 5.0.67
Build Release: 5.11
Branch: 0.111
Packaging Date: Sat Apr 18 19:28:14 2009
Size: 241.56 MB
FMRI: pkg:/SUNWmysql5 at 5.0.67,5.11-0.111:20090418T192814Z
Because SUNWmysql is both in BuildRequires and Requires, the dep
is resolved twice:
- first pass of is_provided() fails on pkginfo (but caches the result)
and passes on IPS
- second pass then fails (provides the cached result)
and makes pkgbuild look for a spec .. which is bad
While the pkginfo vs. 'pkg info' inconsistency is probably a bug,
pkgbuild could be smart enough to workaround this.
I'll provide a patch if given more time :)
Regards,
hnhn
--
Jan Hnatek
jan.hnatek at sun.com