Hey Edwin,

I'm not sure if what you're seeing is the same problem I had almost a year ago or not. I fixed it by adding the pkg.depend.runpath to my p5m file, I thought others had the problem but I'm only seeing it in meld right now:

[kcrowe@jade2:/builds1/kc28005/userland-u1-doxygen/components ] $ find . -name *.p5m | xargs grep -i "pkg.depend.runpath" ./meld/meld.p5m: pkg.depend.runpath=/usr/lib/meld:/usr/lib/python2.6:/usr/lib/python2.6/vendor-packages/gtk-2.0 \
[kcrowe@jade2:/builds1/kc28005/userland-u1-doxygen/components ] $

Here is the email where Danek helped me with the problem I had, it has more info that might help you if this is indeed what you are seeing, if not I don't mean to lead you astray:
http://mail.opensolaris.org/pipermail/userland-discuss/2011-May/000880.html

Thanks,
Kevin.


On 03/ 9/12 12:55 PM, Edwin Beasant wrote:
Hi there all:
I've having a few issues trying to solve package dependencies in Userland - I have a 64-bit utility that links aginst the libthread.so.1/libc.so.1/libm.so.1 libraries provided in usr/lib/64, but pkgdepend is having none of it:

<snip from the log file>
/usr/bin/pkgdepend resolve -m /builds/ebeasant/gate/components/ksh93/build/manifest-i386-developer-astdev.depend /builds/ebeasant/gate/components/ksh93/build/manifest-i386-ksh93.depend /builds/ebeasant/gate/components/ksh93/build/manifest-i386-developer-astdev.depend has unresolved dependency '
    depend type=require fmri=__TBD pkg.debug.depend.file=libc.so.1 \
pkg.debug.depend.reason=usr/ast/bin/msggen pkg.debug.depend.type=elf \
        pkg.debug.depend.path=lib/64 \
        pkg.debug.depend.path=usr/ast/bin/../lib \
        pkg.debug.depend.path=usr/lib/64'.
/builds/ebeasant/gate/components/ksh93/build/manifest-i386-developer-astdev.depend has unresolved dependency '
    depend type=require fmri=__TBD pkg.debug.depend.file=libm.so.2 \
pkg.debug.depend.reason=usr/ast/bin/msgget pkg.debug.depend.type=elf \
        pkg.debug.depend.path=lib/64 \
        pkg.debug.depend.path=usr/ast/bin/../lib \
        pkg.debug.depend.path=usr/lib/64'.
/builds/ebeasant/gate/components/ksh93/build/manifest-i386-developer-astdev.depend has unresolved dependency '
    depend type=require fmri=__TBD pkg.debug.depend.file=libthread.so.1 \
pkg.debug.depend.reason=usr/ast/bin/msggen pkg.debug.depend.type=elf \
        pkg.debug.depend.path=lib/64 \
        pkg.debug.depend.path=usr/ast/bin/../lib \
        pkg.debug.depend.path=usr/lib/64'.
</snip>

These appear to be auto generated from the binaries themselves:

-bash-4.1$ ldd build/prototype/i386/amd64/bin/msggen
        libm.so.2 =>     /lib/64/libm.so.2
        libthread.so.1 =>        /lib/64/libthread.so.1
        libc.so.1 =>     /lib/64/libc.so.1

Does anyone have any advice as to how to rid myself of this troublesome problem? Have I missed a depends path in the package manifest, or a mangler somewhere?

Many thanks,
-- Edwin Beasant
_______________________________________________
userland-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/userland-discuss

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

Reply via email to