On 03.11.23 at 19:07, Michael Opdenacker via lists.yoctoproject.org wrote:
Hi Khem,

Thank you for helping!

On 03.11.23 at 18:36, Khem Raj wrote:
On Thu, Nov 2, 2023 at 11:16 AM Michael Opdenacker via
lists.yoctoproject.org
<michael.opdenacker=bootlin....@lists.yoctoproject.org> 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
I see you ran bitbake package-index so thats good. maybe you did but
let me ask did you run opkg update before doing opkg install ?


Yes, I did. And anyway I checked in tmp/deploy/ipk that no ipk package for libestr got generated.
Weird.


I took another example, this time "opus-tools" from from meta-multimedia:

$ bitbake opus-tools
$ bitbake package-index

And on the target:
root@qemux86-64:~# opkg update
Downloading http://10.0.2.2:8000/all/Packages.gz.
Updated source 'uri-all-0'.
Downloading http://10.0.2.2:8000/core2-64/Packages.gz.
Updated source 'uri-core2-64-0'.
Downloading http://10.0.2.2:8000/qemux86_64/Packages.gz.
Updated source 'uri-qemux86_64-0'.

root@qemux86-64:~# opkg install opus-tools
 * Solver encountered 1 problem(s):
 * Problem 1/1:
 *   - conflicting requests
 *   - nothing provides libopus0 >= 1.4 needed by opus-tools-0.2-r0.core2-64
 *
 * Solution 1:
 *   - do not ask to install a package providing opus-tools

So, that's the exact same issue. I am missing a bitbake target or variable for building the packages for dependencies as well?

I also ran "bitbake world" on OE-core, and got no problem to install a package and its dependencies got pulled automatically too. It seems the issue happens when I build a package alone.

Cheers
Michael.

--
Michael Opdenacker, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#61606): https://lists.yoctoproject.org/g/yocto/message/61606
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