[oi-dev] pkgdepend can not find existing file

Till Wegmüller toasterson at gmail.com
Wed Mar 23 19:33:02 UTC 2016


Hi

While Packaging mate-screensaver i stumbled upon a funny error message

pkgdepend says:

 >/root/workspace/oi-userland/components/mate/mate-screensaver/build/manifest-i386-mate-screensaver.depend has unresolved dependency '
 >    depend type=require fmri=__TBD pkg.debug.depend.file=libGL.so.1 \
 > pkg.debug.depend.reason=usr/libexec/mate-screensaver-gl-helper \
 >        pkg.debug.depend.type=elf \
 >        pkg.debug.depend.path=lib \
 >        pkg.debug.depend.path=usr/lib'.

So as far as i understand it it cannot find libGL.so.1
Funny is that, this file exists in /usr/lib

 >root at openindiana:/root/workspace/oi-userland/components/mate/mate-screensaver# ls -al /usr/lib | grep libGL
 >lrwxrwxrwx   1 root root        10 Mar 10 20:20 libGL.so -> libGL.so.1
 >lrwxrwxrwx   1 root root        13 Mar 10 20:20 libGL.so.1 -> 
GL/libGL.so.1
 ><snip>

Using ldd on mate-screensaver-gl-helper also finds libGL.so.1
 >root at openindiana:/root/workspace/oi-userland/components/mate/mate-screensaver# ldd build/prototype/i386/usr/libexec/mate-screensaver-gl-helper | grep libGL
 >        libGL.so.1 =>    /usr/lib/libGL.so.1

libGL.so.1 is 32-bit mate-screensaver aswell.

Does pkgdepend want that libGL.so.1 is a file and not a link to 
/usr/lib/mesa/libGL.so.1 ?

Side note usr/lib/libGL is linked to usr/lib/GL/libGL which is linked to 
var/run/opengl/lib/libGL which finaly links to usr/lib/mesa/libGL.
Why do those links not directly link to usr/lib/mesa/libGL?
Can that trigger a max follow links limit in pkgdepend?

Thanks and Greetings
Till Wegmueller







More information about the oi-dev mailing list