[yocto] [Chicken and Egg problem] Defining RDEPENDS of the package itself!

Zoran Stojsavljevic zoran.stojsavljevic at gmail.com
Wed Jul 18 07:04:40 PDT 2018


Yep. Did it. Some symlink is missing (I guess, symlink to
/usr/local/lib/libcannelloni-common.so???

Initialising tasks: 100%
|#############################################################################################################################################################|
Time: 0:00:00
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks

*ERROR: cannelloni-1.0-r0 do_package_qa: QA Issue: cannelloni rdepends on
cannelloni-dev [dev-deps]ERROR: cannelloni-1.0-r0 do_package_qa: QA Issue:
-dev package contains non-symlink .so: cannelloni-dev path
'/work/cortexa8hf-neon-poky-linux-gnueabi/cannelloni/1.0-r0/packages-split/cannelloni-dev/usr/lib/libcannelloni-common.so'
[dev-elf]*
ERROR: cannelloni-1.0-r0 do_package_qa: QA run found fatal errors. Please
consider fixing them.
ERROR: cannelloni-1.0-r0 do_package_qa: Function failed: do_package_qa
ERROR: Logfile of failure stored in:
/home/netmodule.intranet/stojsavljevic/projects/beaglebone-black/yocto-rocko/poky/build/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/cannelloni/1.0-r0/temp/log.do_package_qa.7896
ERROR: Task
(/home/netmodule.intranet/stojsavljevic/projects/beaglebone-black/yocto-rocko/poky/meta-test-layer/recipes-canapp/cannelloni/cannelloni.bb:do_package_qa)
failed with exit code '1'
NOTE: Tasks Summary: Attempted 539 tasks of which 532 didn't need to be
rerun and 1 failed.

Summary: 1 task failed:

/home/netmodule.intranet/stojsavljevic/projects/beaglebone-black/yocto-rocko/poky/meta-test-layer/recipes-canapp/cannelloni/cannelloni.bb:
do_package_qa
Summary: There were 2 WARNING messages shown.
Summary: There were 4 ERROR messages shown, returning a non-zero exit code.

How I can add this symlink (!) to this recipe?

Thank you,
Zoran

On Wed, Jul 18, 2018 at 1:49 PM, Alexander Kanavin <alex.kanavin at gmail.com>
wrote:

> 2018-07-18 13:37 GMT+02:00 Zoran Stojsavljevic <
> zoran.stojsavljevic at gmail.com>:
> > do_install() {
> >     install -d ${D}${bindir}
> >     install -m 0755 cannelloni ${D}${bindir}
> > }
>
> You are installing only the executable binary here, but not the
> corresponding library. Just remove the do_install function altogether,
> and cmake class should take care of the installation properly.
>
> Alex
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20180718/0baf8ca0/attachment.html>


More information about the yocto mailing list