On 10/25/11 22:48, [email protected] wrote:
7071092 pkg:/library/graphics/wxwidgets has missing dependency
http://monaco.us.oracle.com/detail.jsf?cr=7071092
Webrev is at:
http://jurassic.us.oracle.com/~richb/7071092-v1
I'm unclear as to why pkgdepend(1) wasn't able to determine this
dependency. Was service/opengl/ogl-select installed on the build
system?
Because pkgdepend can't follow unpackaged symlinks, like the ones
via /var/run, err /system/volatile, that the libGL.so.1 links in
that package go through.
In the X gate, where service/opengl/ogl-select is created, I worked
around this by including fake links in the ogl-select manifest that
pkgdepend could follow:
<transform dir link path=system/volatile.* -> set org.opensolaris.nopublish
true>
link path=system/volatile/opengl/lib/libGL.so.1 \
target=../../../../usr/lib/mesa/libGL.so.1
and then after pkgdepend resolve, but before publication, doing an
additional pkgmogrify pass with:
<transform file dir link org.opensolaris.nopublish=true -> drop>
Perhaps we could work out some way to provide those in the delivered
packages as hints for pkgdepend to follow but which pkg would never
try installing (variant.<something>=noinstall?), but until we do that,
manual dependencies are the only solution I know of for other
consolidations.
--
-Alan Coopersmith- [email protected]
Oracle Solaris Platform Engineering: X Window System
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss