From: "bojankoce" <bojanjov@gmail.com>
To: yocto@lists.yoctoproject.org
Subject: Re: Cross-compile custom ROS2 package for Yocto #bitbake
Date: Wed, 10 Nov 2021 06:29:56 -0800 [thread overview]
Message-ID: <11037.1636554596013489582@lists.yoctoproject.org> (raw)
In-Reply-To: <1ff40696-f207-70f0-1cd6-7aa47a18bdde@googlemail.com>
[-- Attachment #1: Type: text/plain, Size: 3064 bytes --]
Hello, Matthias.
I added `amente-cmake-native` inti DEPENDS and, indeed, I got a different error this time:
>
> Initialising tasks: 100%
> |######################################################################################################|
> Time: 0:00:02
> Sstate summary: Wanted 0 Local 0 Network 0 Missed 0 Current 578 (0% match,
> 100% complete)
> NOTE: Executing Tasks
> NOTE: my-first-yocto-pkg: compiling from external source tree
> /home/bojan/var-fslc-yocto-playground/build_xwayland/workspace/sources/my-first-yocto-pkg
>
> ERROR: my-first-yocto-pkg-0.1.0-r0 do_package: QA Issue:
> my-first-yocto-pkg: Files/directories were installed but not shipped in
> any package:
> /usr/share/my_first_yocto_pkg
> /usr/share/my_first_yocto_pkg/local_setup.zsh
> /usr/share/my_first_yocto_pkg/local_setup.bash
> /usr/share/my_first_yocto_pkg/package.xml
> /usr/share/my_first_yocto_pkg/local_setup.sh
> /usr/share/my_first_yocto_pkg/package.dsv
> /usr/share/my_first_yocto_pkg/local_setup.dsv
> /usr/share/my_first_yocto_pkg/environment
> /usr/share/my_first_yocto_pkg/cmake
> /usr/share/my_first_yocto_pkg/environment/path.sh
> /usr/share/my_first_yocto_pkg/environment/path.dsv
> /usr/share/my_first_yocto_pkg/environment/ament_prefix_path.dsv
> /usr/share/my_first_yocto_pkg/environment/ament_prefix_path.sh
> /usr/share/my_first_yocto_pkg/cmake/my_first_yocto_pkgConfig.cmake
> /usr/share/my_first_yocto_pkg/cmake/my_first_yocto_pkgConfig-version.cmake
>
> /usr/lib/my_first_yocto_pkg/talker
> /usr/lib/my_first_yocto_pkg/listener
> Please set FILES such that these items are packaged. Alternatively if they
> are unneeded, avoid installing them or delete them within do_install.
> my-first-yocto-pkg: 17 installed and not shipped files.
> [installed-vs-shipped]
> ERROR: my-first-yocto-pkg-0.1.0-r0 do_package: Fatal QA errors found,
> failing task.
> ERROR: Logfile of failure stored in:
> /home/bojan/var-fslc-yocto-playground/build_xwayland/tmp/work/cortexa53-crypto-fslc-linux/my-first-yocto-pkg/0.1.0-r0/temp/log.do_package.15149
>
> ERROR: Task
> (/home/bojan/var-fslc-yocto-playground/build_xwayland/workspace/recipes/my-first-yocto-pkg/my-first-yocto-pkg_git.bb:do_package)
> failed with exit code '1'
> NOTE: Tasks Summary: Attempted 2200 tasks of which 2192 didn't need to be
> rerun and 1 failed.
> NOTE: Writing buildhistory
> NOTE: Writing buildhistory took: 3 seconds
>
> Summary: 1 task failed:
> /home/bojan/var-fslc-yocto-playground/build_xwayland/workspace/recipes/my-first-yocto-pkg/my-first-yocto-pkg_git.bb:do_package
>
> Summary: There was 1 WARNING message shown.
> Summary: There were 2 ERROR messages shown, returning a non-zero exit
> code.
I needed to append the following lines at the end of my-first-yocto-pkg_git.bb file in order to resolve it:
>
>
> FILES_${PN} += "/usr/share/my_first_yocto_pkg/*"
> FILES_${PN} += "/usr/lib/my_first_yocto_pkg/*"
> FILES_${PN}-dev = "/usr/share/my_first_yocto_pkg/*
> /usr/lib/my_first_yocto_pkg/* ${includedir}"
[-- Attachment #2: Type: text/html, Size: 3259 bytes --]
next parent reply other threads:[~2021-11-10 14:29 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <1ff40696-f207-70f0-1cd6-7aa47a18bdde@googlemail.com>
2021-11-10 14:29 ` bojankoce [this message]
2021-11-10 19:37 ` Cross-compile custom ROS2 package for Yocto #bitbake bojankoce
[not found] <55121fce-4a5c-381d-6829-958f1789b5de@googlemail.com>
2021-11-12 19:38 ` bojankoce
2021-11-08 14:39 bojankoce
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=11037.1636554596013489582@lists.yoctoproject.org \
--to=bojanjov@gmail.com \
--cc=yocto@lists.yoctoproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox