Michael Opdenacker via lists.yoctoproject.org <michael.opdenacker=
bootlin....@lists.yoctoproject.org> escreveu no dia sexta, 3/11/2023 à(s)
15:05:

> Greetings,
>
> On 02.11.23 at 19:16, Michael Opdenacker wrote:
> > Greetings,
> >
> > I compiled rsyslog from meta-oe:
> > bitbake rsyslog
> >
> > I set up a binary feed ("bitbake package-index") and a webserver to
> > serve it, and when I try to install the rsyslog package, I get:
> > $ opkg install rsyslog
> >  * Solver encountered 1 problem(s):
> >  * Problem 1/1:
> >  *   - conflicting requests
> >  *   - nothing provides libestr0 >= 0.1.11 needed by
> > rsyslog-8.2306.0-r0.core2-64
> >
> > Indeed, no "*libestr*" package(s) got generated. Why not?
> >
> > I checked RDEPENDS:rsyslog and it contains "logrotate" for which a
> > package was indeed generated. I thought that shared libraries
> > dependencies were automatically detected and added to runtime
> > dependencies. That's confirmed by
> >
> https://docs.yoctoproject.org/dev/overview-manual/concepts.html#automatically-added-runtime-dependencies
> > . Why didn't it happen?
> >
> > I checked that libestr got compiled (it's part of the DEPENDS for
> > rsyslog), but I can't find any package for it, even in the working area.
> >
> > It sounds like a very basic misconception between my keyboard and my
> > chair. What did I get wrong?
> >
> > Thanks in advance for your insights.
>
> A simpler way to ask this...
>
> When I build rsyslogd ("bitbake rsyslog"), an ipk package is built for
> this software, but not for its shared library dependencies, for example
> for libestr.
> How to explain this?
>

Maybe because rsyslog uses dlopen to load the libestr at runtime,
if this is the case the recipe should explicitly add a runtime dependency
for them.

+RDEPENDS:${PN} += "logrotate libestr"

I'm just thinking out loud and I have no idea if this is the case.

Jose


> Thanks in advance
> Cheers
> Michael.
>
> --
> Michael Opdenacker, Bootlin
> Embedded Linux and Kernel engineering
> https://bootlin.com
>
>
> 
>
>

-- 
Best regards,

José Quaresma
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#61601): https://lists.yoctoproject.org/g/yocto/message/61601
Mute This Topic: https://lists.yoctoproject.org/mt/102348862/21656
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to