One more thing: If I add to this recipe the following line (in
do_install()):
install -m 0755 ${WORKDIR}/build/libcannelloni-common.so ${D}${libdir}

I have now less ERRORs (only two, not three reported).

ERROR: cannelloni-1.0-r0 do_package: QA Issue: cannelloni:
Files/directories were installed but not shipped in any package:
  /usr/lib
Please set FILES such that these items are packaged. Alternatively if they
are unneeded, avoid installing them or delete them within do_install.
cannelloni: 1 installed and not shipped files. [installed-vs-shipped]
ERROR: cannelloni-1.0-r0 do_package: Fatal QA errors found, failing task.
ERROR: Logfile of failure stored in:
/home/user/projects2/beaglebone-black/bbb-yocto/build/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/cannelloni/1.0-r0/temp/log.do_package.256858
ERROR: Task
(/home/user/projects2/beaglebone-black/bbb-yocto/meta-socketcan/recipes-can/cannelloni/cannelloni.bb:do_package)
failed with exit code '1'

Strange, isnt it?

Zoran
_______

On Fri, Feb 14, 2020 at 11:27 AM Zoran via Lists.Yoctoproject.Org
<zoran.stojsavljevic=gmail....@lists.yoctoproject.org> wrote:

> Hello List,
>
> I am trying to solve very interesting ERROR I am getting with slightly
> modified GENIVI Canneloni recipe:
>
> https://github.com/ZoranStojsavljevic/meta-socketcan/blob/master/recipes-can/cannelloni/cannelloni.bb
>
> If I take the recipe as is, everything works fine, with:
> ## SRCREV = "${AUTOREV}"
> SRCREV = "0fb6880b719b8acf2b4210b264b7140135e4be8a"
>
> Everything works fine, but if I swap the static hash with auto latest hash
> (SRCREV = "${AUTOREV}":
> SRCREV = "${AUTOREV}"
> ## SRCREV = "0fb6880b719b8acf2b4210b264b7140135e4be8a"
>
> I am getting these ERRORS, which seems to me very strange?!
> _______
>
> Sstate summary: Wanted 11 Found 6 Missed 5 Current 1398 (54% match, 99%
> complete)
> NOTE: Executing Tasks
> NOTE: Setscene tasks completed
> ERROR: cannelloni-1.0-r0 do_package_qa: QA Issue: package cannelloni
> contains bad RPATH
> /home/user/projects2/beaglebone-black/bbb-yocto/build/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/cannelloni/1.0-r0/build:
> in file
> /home/user/projects2/beaglebone-black/bbb-yocto/build/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/cannelloni/1.0-r0/packages-split/cannelloni/usr/bin/cannelloni
> [rpaths]
> ERROR: cannelloni-1.0-r0 do_package_qa: QA Issue: /usr/bin/cannelloni
> contained in package cannelloni requires libcannelloni-common.so.0, but no
> providers found in RDEPENDS_cannelloni? [file-rdeps]
> ERROR: cannelloni-1.0-r0 do_package_qa: QA run found fatal errors. Please
> consider fixing them.
> ERROR: Logfile of failure stored in:
> /home/user/projects2/beaglebone-black/bbb-yocto/build/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/cannelloni/1.0-r0/temp/log.do_package_qa.255490
> ERROR: Task
> (/home/user/projects2/beaglebone-black/bbb-yocto/meta-socketcan/recipes-can/cannelloni/cannelloni.bb:do_package_qa)
> failed with exit code '1'
> NOTE: Tasks Summary: Attempted 3791 tasks of which 3788 didn't need to be
> rerun and 1 failed.
> _______
>
> Any advise how to make GENIVI Cannelloni recipe to work with: SRCREV =
> "${AUTOREV}" ???
>
> Thank you,
> Zoran
>
> 
>
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#48413): https://lists.yoctoproject.org/g/yocto/message/48413
Mute This Topic: https://lists.yoctoproject.org/mt/71267241/21656
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub  
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to