I know that our symlinks in the X packages to the (non-packaged/SMF created)
/var/run/GL paths is just asking for all kinds of fun, but they used to work.

We recently got a pair of matching bug reports though:
7015365 x11/server/xephyr package has missing dependency
7015340 x11/diagnostic/x11-info-clients package has missing dependency

Both of these contain binaries linked against the symlinked libraries:

>From elfdump -d proto/root_i386/usr/bin/xdriinfo:
       [3]  NEEDED            0x1d5               libGL.so.1
       [7]  RUNPATH           0x1e0               /usr/lib

>From elfdump -d elfdump -d proto/root_i386/usr/bin/amd64/Xephyr:
      [33]  NEEDED            0x20311             libGL.so.1
      [45]  RUNPATH           0x20328             
/usr/lib/xorg/amd64:/usr/lib/amd64

The pkgdepend generate output still shows the dependency:

depend fmri=__TBD pkg.debug.depend.file=libGL.so.1 pkg.debug.depend.path=lib
pkg.debug.depend.path=usr/lib pkg.debug.depend.reason=usr/bin/xdriinfo
pkg.debug.depend.type=elf type=require

During resolution, it should be able to find the link in the manifest for
service-opengl-ogl-select which is part of the set being resolved (the X
pkgdepend steps are copied from ON's usr/src/pkg/Makefile):

link path=usr/lib/libGL.so.1 target=GL/libGL.so.1
link path=usr/lib/GL/libGL.so.1 target=../../../var/run/opengl/lib/libGL.so.1

But after resolution, it no longer lists a dependency on the
pkg:/service/opengl/ogl-select that delivers the /usr/lib/libGL.so.1 ->
/var/run/opengl/libGL.so.1 links (which in turn are linked to the correct
backend by the SMF service in that package at runtime).

The dependency was included up through our build 157 delivery, but disappeared
in 158, which would have been build with ipkg from build 156.   I can't see
anything in the few changesets we integrated in build 158 that would have broken
it - is there a change to pkgdepend that would explain this?   Do I just need to
manually include this dependency in our packages?

-- 
        -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

Reply via email to