Hi Gary, On Mon, 2011-02-28 at 17:40 +0000, Gary Pennington wrote: > Here's the line from the pkgdepend .dep file output from nightly: > > depend fmri=__TBD pkg.debug.depend.file=perl > pkg.debug.depend.path=usr/perl5/bin > pkg.debug.depend.reason=usr/bin/pgstat pkg.debug.depend.type=script > type=require > > That makes me now wonder if pkgdepend is doing the right thing. Also, I > wonder now how pkgdepend goes on to resolve this dependency correctly?
It follows the links. > I'm trying to figure out which package "__TBD" represents using pkg > search for the path and the file. Perhaps there is a better way to do this? Yep, by using the resolve code :-) > (If you are curious why I'm doing this. It's so I can examine specific > (i.e. action level) dependencies rather than seeing the output of > resolve which reduces all specific action dependencies to package > dependencies. i.e. I'd like to see all the detail under the discovered > package dependencies.) Right, add the -v flag to "pkgdepend resolve", and it'll leave in the pkg.debug.depend information in the dependencies that are resolved (and in particular, you get to see pkg.debug.depend.reason and pkg.debug.depend.file values) So for the pgstat example, depend fmri=pkg:/runtime/[email protected] pkg.debug.depend.file=usr/perl5/bin/perl pkg.debug.depend.file=usr/perl5/5.8.4/bin/perl pkg.debug.depend. reason=usr/bin/kstat pkg.debug.depend.reason=usr/sbin/projadd pkg.debug.depend.reason=usr/sbin/projmod pkg.debug.depend.reason=usr/bin/pginfo pkg.debug.depend.reason=usr/bin/pgstat pkg.debug.depend.reason=usr/sbin/projdel pkg.debug.depend.reason=usr/bin/lgrpinfo pkg.debug.depend.target=usr/perl5/5.8.4 /bin/perl pkg.debug.depend.target=usr/perl5/5.8.4/bin/perl5.8.4 pkg.debug.depend.type=link pkg.debug.depend.type=script type=require cheers, tim _______________________________________________ pkg-discuss mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/pkg-discuss
