Danek Duvall wrote: > The problem I see with /platform is that finding dependencies that live > there requires that you know what platform you'll be linking against at > runtime, but there's nothing in the (platform-generic) kernel modules that > lets you know whether you should find bits in, say, /platform/i86pc or > /platform/i86xpv.
Right - with SVR4 packages, my code checks the ARCH in pkginfo - if it's got a arch.platform pattern, it uses that platform, otherwise assumes sun4u for sparc, i86pc for i386. Only a few generic modules seem to have dependencies on platform modules though - many more are the other way around. > It's not clear to me that a package delivering an i86pc driver which > satisfies a dependency of a generic driver should necessarily fulfil that > dependency, since it's not actually the package you'd want to install on an > xvm instance (if I'm understanding the way xvm works, but I think the > argument is right regardless). Since my script is intended as input to humans to decide if the dependencies are correctly listed or not, it relies on some level of human oversight to figure out if that's the right thing or not, while pkg has to be more conservative when auto-generating dependencies. > I can point you at / send you a list of the ELF dependencies we can't > resolve. Looking not terribly closely at your list, it looks like we get a > bunch that you're finding missing in the static depend files, can't find > the ones where you do your $ARCH trick, and then there are few where > neither one of us can find them. One of the other changes I made to check-deps.pl was to run against an IPS installation as well, and I've got a list of dependencies from that I found that pkg didn't, but that's a mail I'll be sending to pkg-discuss once I've gotten some remaining bugs worked out of it. -- -Alan Coopersmith- alan.coopersm...@sun.com Sun Microsystems, Inc. - X Window System Engineering _______________________________________________ opensolaris-code mailing list opensolaris-code@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/opensolaris-code