[yocto] RDEPENDS is ignored when building rootfs
rtillet at free.fr
rtillet at free.fr
Wed Mar 28 15:14:18 PDT 2018
All,
I figured out and solved my issue.
In fact the trouble was not due to the RDEPENDS value, but only to the fact that the recipe name (folder and bb file) contained one upper case later in their names.
It seems that to avoid any issue, this is important to not use upper case letter in recipe folder and file names.
Thanks.
Raphaël.
----- Mail original -----
De: rtillet at free.fr
À: "Ross Burton" <ross.burton at intel.com>
Cc: yocto at yoctoproject.org
Envoyé: Mercredi 28 Mars 2018 18:17:12
Objet: Re: [yocto] RDEPENDS is ignored when building rootfs
Hello Ross,
Thanks for your quick reply, but I have already tried your suggests:
Without "RDEPENDS", libncurses.is is not in the rootFs,
With "REDEPENDS=ncurses-libncurses", is not in the rootFs also.
I'm sure that the library is not called from a dlopen. The only way to make to work is to add "ncurses-libform" to the "local.conf" file.
I've spent the whole day to try to understand this issue, and I'm stuck and surprised that a so basic example does not work as it should.
As a reminder:
- I try to add a very basic recipe to a core-minimal-image
- For the beaglebone.
If you have any others suggestions, feel free.
Raphaël.
----- Mail original -----
De: "Ross Burton" <ross.burton at intel.com>
À: "Raphaël TILLET" <rtillet at free.fr>
Cc: yocto at yoctoproject.org
Envoyé: Mercredi 28 Mars 2018 17:57:17
Objet: Re: [yocto] RDEPENDS is ignored when building rootfs
On 28 March 2018 at 16:00, Raphaël TILLET <rtillet at free.fr> wrote:
> I’m using « Pyro », and have built a very simple recipe. The build program
> Inside the recipe needs « libncurses.so » at run time, so I have added to my
> recipe the following :
>
> DEPENDS_{PN} = « ncurses »
> RDEPENDS_${PN}= « ncurses-libform »
>
>
>
> The build is ok, but my final RootFs does not contain the expected «
> libncurses.so » Library.
>
>
>
> The only way to force the build to include « libncurses.so » in the rootfs
> is to add « ncurses-libform » to my « IMAGE_INSTALL » in « my local.conf »
> file, and normally I should not have to do this…..
If your application links to libncurses normally then you won't need
to do RDEPENDS at all, because the dependency will be added
automatically.
libncurses.so.5 is actually in ncurses-libncurses, so that is what you
should add to RDEPENDS if your application dlopen()s ncurses instead
of linking.
Ross
--
_______________________________________________
yocto mailing list
yocto at yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto
More information about the yocto
mailing list