On 6/22/20 3:47 AM, Robert Varga wrote:
Hello Yocto Community,
I am new to the Yocto Project and need some help regarding creating the
SDK installer for my image on a Ubuntu 18.04 host machine...
So far I was able to build an image for my target (based on latest
Warrior branch). The image is based on the core-image-full-cmdline as it
gets referenced by the corresponding recipe my-image.bb (see attachment):
Additional, I created an distro configuration file mydistro.conf which
includes the poky.conf distro configuration file (see attachment).
When I execute bitbake my-image -c populate_sdk, I get following errors
within last task (while the do_populate_skd task):
<snip>
| NOTE: Executing create_sdk_files ...
| DEBUG: Executing shell function create_sdk_files
| DEBUG: Shell function create_sdk_files finished
| NOTE: Executing check_sdk_sysroots ...
| DEBUG: Executing python function check_sdk_sysroots
| DEBUG: Python function check_sdk_sysroots finished
| NOTE: Executing tar_sdk ...
| DEBUG: Executing shell function tar_sdk
| DEBUG: Shell function tar_sdk finished
| NOTE: Executing create_shar ...
| DEBUG: Executing shell function create_shar
| sed: -e expression #6, char 21: unterminated `s' command
are there any aliases etc. to common programs like install in your
environment ?
maybe do bitbake -e my-image and inspect the output especially
do_populate_sdk function and see if you find some sed cmd being called
with invalid options.
| WARNING: exit code 1 from a shell command.
| DEBUG: Python function do_populate_sdk finished
| ERROR: Function failed: create_shar (log file is located at
/home/varga-r/projects/yocto/build/tmp/work/mymachine-poky-linux-gnueabi/my-image/1.0-r0/temp/log.do_populate_sdk.126574)
ERROR: Task
(/home/varga-r/projects/yocto/poky/meta-robert/recipes-core/images/my-image.bb:do_populate_sdk)
failed with exit code '1'
NOTE: Tasks Summary: Attempted 3588 tasks of which 2265 didn't need to
be rerun and 1 failed.
Summary: 1 task failed:
/home/varga-r/projects/yocto/poky/meta-robert/recipes-core/images/my-image.bb:do_populate_sdk
Summary: There were 13 WARNING messages shown.
Summary: There was 1 ERROR message shown, returning a non-zero exit code.
</snip>
The complete log log.do_populate_sdk.126574 is also attached.
Could some help me to find the root cause of this issue? Any help would
be appreciated.
--
Rob
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#49719): https://lists.yoctoproject.org/g/yocto/message/49719
Mute This Topic: https://lists.yoctoproject.org/mt/75035545/21656
Mute #sdk: https://lists.yoctoproject.org/g/yocto+yocto/mutehashtag/sdk
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-