problem uploading a package due to solaris 11

Riccardo Mottola rmottola at opencsw.org
Tue Mar 31 09:13:17 CEST 2015


Hi Maciej,

the error we are investigating is:

soname-not-found 
<http://wiki.opencsw.org/checkpkg-error-tags#soname-not-found> 
libXcursor.so.1 is needed by 
opt/csw/GNUstep/System/Library/Bundles/libgnustep-back-024.bundle/libgnustep-back-024

Maciej Bliziński wrote:
> Checks are done the same way on all systems. Checkpkg has an list of
> shared libraries on all Solaris versions, and when a library says it
> needs, say, libfoo.so.1, checkpkg tries to see if that library would be
> found. When it doesn't find that library, it prints this message.
>
> There can be false positives, for example checkpkg can't know about
> LD_LIBRARY_PATH or other tricks done at runtime.
>
> If you can, try to figure out what happens with libgnustep-back-024 on
> Solaris 11 (ssh unstable11s; ldd .../libgnustep-back-024).
>
> Also, does the functionality from libgnustep-back-024 run correctly on
> S11? If so, you can add an override.
>
> Maciej
>
here the output of ldd on untable10s (without runnin the GNUtep.sh 
script, so GS intern libraries are missing):

./trunk/work/solaris10-sparc/pkgroot/opt/csw/GNUstep/System/Library/Bundles/libgnustep-back-024.bundle/libgnustep-back-024

         libcairo.so.2 =>         /opt/csw/lib/libcairo.so.2
         libfreetype.so.6 =>      /opt/csw/lib/libfreetype.so.6
         libXrender.so.1 =>       /opt/csw/lib/libXrender.so.1
         libXext.so.0 =>  /usr/openwin/lib/libXext.so.0
         libX11.so.4 =>   /usr/openwin/lib/libX11.so.4
         libXft.so.2 =>   /usr/openwin/lib/libXft.so.2
         libfontconfig.so.1 =>    /opt/csw/lib/libfontconfig.so.1
         libXcursor.so.1 =>       /usr/lib/libXcursor.so.1
         libXmu.so.4 =>   /usr/openwin/lib/libXmu.so.4
         libXt.so.4 =>    /usr/openwin/lib/libXt.so.4
         libsocket.so.1 =>        /lib/libsocket.so.1
         libnsl.so.1 =>   /lib/libnsl.so.1
         libGL.so.1 =>    /usr/openwin/lib/libGL.so.1
         libgnustep-gui.so.0.24 =>        (file not found)
         libgnustep-base.so.1.24 =>       (file not found)
         libobjc.so.4 =>  /opt/csw/lib/libobjc.so.4
         libm.so.2 =>     /lib/libm.so.2
         libgcc_s.so.1 =>         /opt/csw/lib/libgcc_s.so.1
         libpthread.so.1 =>       /lib/libpthread.so.1
         libc.so.1 =>     /lib/libc.so.1
         libpixman-1.so.0 => /opt/csw/lib/sparcv8/libpixman-1.so.0
         libpng15.so.15 => /opt/csw/lib/sparcv8plus+vis2/libpng15.so.15
         libz.so.1 =>     /opt/csw/lib/sparcv8plus+vis/libz.so.1
         librt.so.1 =>    /lib/librt.so.1
         libbz2.so.1.0 => /opt/csw/lib/sparcv8/libbz2.so.1.0
         libXrender.so.1 =>       /usr/sfw/lib/libXrender.so.1
         libfontconfig.so.1 =>    /usr/lib/libfontconfig.so.1
         libexpat.so.0 =>         /usr/sfw/lib/libexpat.so.0
         libfreetype.so.6 =>      /usr/sfw/lib/libfreetype.so.6
         libexpat.so.1 => /opt/csw/lib/sparcv8/libexpat.so.1
         libXfixes.so.1 => /usr/openwin/sfw/lib/libXfixes.so.1
         libSM.so.6 =>    /usr/openwin/lib/libSM.so.6
         libICE.so.6 =>   /usr/openwin/lib/libICE.so.6
         libmp.so.2 =>    /lib/libmp.so.2
         libmd.so.1 =>    /lib/libmd.so.1
         libscf.so.1 =>   /lib/libscf.so.1
         libdga.so.1 =>   /usr/openwin/lib/libdga.so.1
         libm.so.1 =>     /lib/libm.so.1
         libaio.so.1 =>   /lib/libaio.so.1
         libz.so.1 =>     /usr/lib/libz.so.1
         libdl.so.1 =>    /lib/libdl.so.1
         libdoor.so.1 =>  /lib/libdoor.so.1
         libuutil.so.1 =>         /lib/libuutil.so.1
         libgen.so.1 =>   /lib/libgen.so.1
         /platform/SUNW,SPARC-Enterprise-T5220/lib/libc_psr.so.1
         /platform/SUNW,SPARC-Enterprise-T5220/lib/libmd_psr.so.1

libcursor is mapped to:
         libXcursor.so.1 =>       /usr/lib/libXcursor.so.1


if I login on unstable11s I see:
         libcairo.so.2 =>         /opt/csw/lib/libcairo.so.2
         libfreetype.so.6 =>      /opt/csw/lib/libfreetype.so.6
         libXrender.so.1 =>       /usr/openwin/lib/libXrender.so.1
         libXext.so.0 =>  /usr/openwin/lib/libXext.so.0
         libX11.so.4 =>   /usr/openwin/lib/libX11.so.4
         libXft.so.2 =>   /usr/openwin/lib/libXft.so.2
         libfontconfig.so.1 =>    /opt/csw/lib/libfontconfig.so.1
         libXcursor.so.1 =>       /usr/openwin/lib/libXcursor.so.1
         libXmu.so.4 =>   /usr/openwin/lib/libXmu.so.4
         libXt.so.4 =>    /usr/openwin/lib/libXt.so.4
         libsocket.so.1 =>        /lib/libsocket.so.1
         libnsl.so.1 =>   /lib/libnsl.so.1
         libGL.so.1 =>    /opt/csw/lib/libGL.so.1
         libgnustep-gui.so.0.24 =>        (file not found)
         libgnustep-base.so.1.24 =>       (file not found)
         libobjc.so.4 =>  /opt/csw/lib/libobjc.so.4
         libm.so.2 =>     /lib/libm.so.2
         libgcc_s.so.1 =>         /opt/csw/lib/libgcc_s.so.1
         libpthread.so.1 =>       /lib/libpthread.so.1
         libc.so.1 =>     /lib/libc.so.1
         libpixman-1.so.0 => /opt/csw/lib/sparcv8/libpixman-1.so.0
         libpng15.so.15 => /opt/csw/lib/sparcv8plus+vis2/libpng15.so.15
         libXrender.so.1 => /opt/csw/lib/sparcv8/libXrender.so.1
         libz.so.1 =>     /opt/csw/lib/sparcv8plus+vis/libz.so.1
         librt.so.1 =>    /lib/librt.so.1
         libbz2.so.1.0 => /opt/csw/lib/sparcv8/libbz2.so.1.0
         libxcb.so.1 =>   /usr/lib/libxcb.so.1
         libfontconfig.so.1 =>    /usr/lib/libfontconfig.so.1
         libfreetype.so.6 =>      /usr/lib/libfreetype.so.6
         libexpat.so.1 => /opt/csw/lib/sparcv8/libexpat.so.1
         libXfixes.so.1 =>        /usr/lib/libXfixes.so.1
         libSM.so.6 =>    /usr/lib/libSM.so.6
         libICE.so.6 =>   /usr/lib/libICE.so.6
         libmp.so.2 =>    /lib/libmp.so.2
         libmd.so.1 =>    /lib/libmd.so.1
         libm.so.1 =>     /lib/libm.so.1
         libXau.so.6 =>   /usr/lib/libXau.so.6
         libXdmcp.so.6 =>         /usr/lib/libXdmcp.so.6
         libexpat.so.1 =>         /usr/lib/libexpat.so.1
         libz.so.1 =>     /usr/lib/libz.so.1
         libbz2.so.1 =>   /usr/lib/libbz2.so.1
         libsoftcrypto.so.1 =>    /lib/libsoftcrypto.so.1
         libelf.so.1 =>   /lib/libelf.so.1
         libcryptoutil.so.1 =>    /lib/libcryptoutil.so.1
         libXevie.so.1 =>         /usr/lib/libXevie.so.1
         libXss.so.1 =>   /usr/lib/libXss.so.1
         libXmuu.so.1 =>  /usr/lib/libXmuu.so.1

xcursor is resolved:
         libXcursor.so.1 =>       /usr/openwin/lib/libXcursor.so.1

it is resolved to a different place in solaris11s, perhaps checkpkg 
doesn't know about that?


Riccardo

PS: About running on unstable11s. To be honest I haven't tested anything 
yet, I have packaged the three ore gnustep libraries with this, 
afterwards I actually need to package an application!
I don't know how to export X11 display thorugh two ssh hosts ad thus 
"live test"
I would test on my home machine, which runs 10, but currently this 
package fails to build/package there. It does package on unstable10s and 
unstable10x, so my box at home must have something different in how mgar 
runs.


More information about the maintainers mailing list