On 10/26/11 09:54, Alan Coopersmith wrote:
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.

The other option would be to change these packages to use mediated links and have the service run pkg to change the mediation as needed.

That would in theory allow pkgdepend to resolve the links and give better control over the link resolution.

-Shawn

_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to