[oi-dev] problems dependency checks

Stephan Althaus Stephan.Althaus at Duedinghausen.eu
Tue Feb 22 21:13:53 UTC 2022


On 12/30/21 23:33, Gary Mills wrote:
> On Thu, Dec 30, 2021 at 09:08:31PM +0100, Friedrich Kink via oi-dev wrote:
>>     I've some packages (clamav update to latest version and dovecot) I'd
>>     like to commit but dependency check fails:
>>
> [...]
>>     mav-clamdtop.depend has unresolved dependency '
>>         depend type=require fmri=__TBD pkg.debug.depend.file=libclamav.so.9
>>     \
>>             pkg.debug.depend.reason=usr/bin/clamdtop
>>     pkg.debug.depend.type=elf \
>>             pkg.debug.depend.path=lib \
>>             pkg.debug.depend.path=usr/gcc/7/lib \
>>             pkg.debug.depend.path=usr/lib'.
> This error implies that libclamav.so.9 could not be found.  It's looking
> in /lib, /usr/gcc/7/lib, and /usr/lib for the SO file.  The first and
> last are default locations for the runtime linker.  The middle one is
> unlikely.  Where is that SO file?
>
>
Hello!

Sorry to pick up this thread for a new topic.

I have an issue building wxwidgets-3 on my machine. Theres a comment on 
leaving out a lib, but the dependency is still there somehow.

 From the Makefile:

# We don't want to depend on packages from encumbered. Thus, make sure 
gstreamer1/plugin/bad is not installed.
#REQUIRED_PACKAGES += library/audio/gstreamer1/plugin/bad


gmake publish error:

oi-userland/components/library/wxwidgets-3/build/manifest-i386-wxwidgets-3.depend 
has unresolved dependency '
     depend type=require fmri=__TBD 
pkg.debug.depend.file=libgstplayer-1.0.so.0 \
pkg.debug.depend.reason=usr/lib/amd64/libwx_gtk3u_media-3.1.so.5 \
         pkg.debug.depend.type=elf \
         pkg.debug.depend.path=lib/64 \
         pkg.debug.depend.path=usr/gcc/7/lib/amd64 \
         pkg.debug.depend.path=usr/lib/64'.
gmake: *** [oi-userland/make-rules/ips.mk:502: 
oi-userland/components/library/wxwidgets-3/build/.resolved-i386] Error 1

The file is in /usr/lib/amd64

$ ls -l /usr/lib/amd64/libgstplayer-1.0.so*
lrwxrwxrwx   1 root     root          21 Nov 12 22:21 
/usr/lib/amd64/libgstplayer-1.0.so -> libgstplayer-1.0.so.0
lrwxrwxrwx   1 root     root          28 Nov 12 22:21 
/usr/lib/amd64/libgstplayer-1.0.so.0 -> libgstplayer-1.0.so.0.1805.0
-r-xr-xr-x   1 root     bin         172K Feb  2 13:05 
/usr/lib/amd64/libgstplayer-1.0.so.0.1805.0

Maybe the 32bit build is trying to find the lib that is non-existent for 
i386 but only for amd64 ? I didn't find the piece where the dependency 
to libgstplayer is triggered.

Any hints ?


I had the idea of building codeblocks with OI's package wxwidgets, and 
for that it seems i need -fPIC in wxwidgets...


Greetings,

Stephan





More information about the oi-dev mailing list