[yocto] Issue populate_sdk_ext

Zoran Stojsavljevic zoran.stojsavljevic at gmail.com
Wed Dec 27 11:07:01 PST 2017


Interesting... I did the same thing with core-image-sato. Just to see
if it'll pass (YOCTO Project referent poky build)!?

CLI transcript follows:
_______

[user at localhost build]$ bitbake core-image-sato
WARNING: Host distribution "fedora-27" has not been validated with
this version of the build system; you may possibly experience
unexpected failures. It is recommended that you use a tested
distribution.
Loading cache: 100%
|###############################################################################################|
Time: 0:00:00
Loaded 1275 entries from dependency cache.
NOTE: Resolving any missing task queue dependencies

Build Configuration:
BB_VERSION           = "1.37.0"
BUILD_SYS            = "x86_64-linux"
NATIVELSBSTRING      = "universal"
TARGET_SYS           = "x86_64-poky-linux"
MACHINE              = "qemux86-64"
DISTRO               = "poky"
DISTRO_VERSION       = "2.4+snapshot-20171227"
TUNE_FEATURES        = "m64 core2"
TARGET_FPU           = ""
meta
meta-poky
meta-yocto-bsp
meta-mylayer         = "master:370483fce1c2429c81b19dcf8a36394dc3fc3d92"

Initialising tasks: 100%
|##########################################################################################|
Time: 0:00:24
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
NOTE: Tasks Summary: Attempted 7044 tasks of which 7040 didn't need to
be rerun and all succeeded.
NOTE: Writing buildhistory

Summary: There was 1 WARNING message shown.
[user at localhost build]$ bitbake core-image-sato
WARNING: Host distribution "fedora-27" has not been validated with
this version of the build system; you may possibly experience
unexpected failures. It is recommended that you use a tested
distribution.
Parsing recipes: 100%
|#############################################################################################|
Time: 0:00:47
Parsing of 816 .bb files complete (0 cached, 816 parsed). 1273
targets, 44 skipped, 0 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies

Build Configuration:
BB_VERSION           = "1.37.0"
BUILD_SYS            = "x86_64-linux"
NATIVELSBSTRING      = "fedora-27"
TARGET_SYS           = "x86_64-poky-linux"
MACHINE              = "qemux86-64"
DISTRO               = "poky"
DISTRO_VERSION       = "2.4+snapshot-20171227"
TUNE_FEATURES        = "m64 core2"
TARGET_FPU           = ""
meta
meta-poky
meta-yocto-bsp
meta-mylayer         = "master:370483fce1c2429c81b19dcf8a36394dc3fc3d92"

NOTE: Fetching uninative binary shim from
http://downloads.yoctoproject.org/releases/uninative/1.7/x86_64-nativesdk-libc.tar.bz2;sha256sum=ed033c868b87852b07957a4400f3b744c00aef5d6470346ea1a59b6d3e03075e
Initialising tasks: 100%
|##########################################################################################|
Time: 0:00:24
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
WARNING: core-image-sato-1.0-r0 do_rootfs: Package
packagegroup-core-ssh-dropbear, set to be excluded, is in
core-image-sato PACKAGE_INSTALL (['packagegroup-core-boot',
'packagegroup-base-extended', 'strace', 'openssh', 'ptest-runner',
'run-postinsts', 'rpm', 'dnf', 'psplash',
'packagegroup-core-ssh-dropbear', 'packagegroup-core-x11-base',
'packagegroup-core-x11-sato']).  It will be removed from the list.
NOTE: Tasks Summary: Attempted 7044 tasks of which 5615 didn't need to
be rerun and all succeeded.
NOTE: Writing buildhistory

Summary: There were 2 WARNING messages shown.
[user at localhost build]$
[user at localhost build]$
[user at localhost build]$
[user at localhost build]$ bitbake core-image-sato -c populate_sdk_ext
WARNING: Host distribution "fedora-27" has not been validated with
this version of the build system; you may possibly experience
unexpected failures. It is recommended that you use a tested
distribution.
Parsing recipes: 100%
|#############################################################################################|
Time: 0:00:51
Parsing of 816 .bb files complete (0 cached, 816 parsed). 1273
targets, 44 skipped, 0 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies

Build Configuration:
BB_VERSION           = "1.37.0"
BUILD_SYS            = "x86_64-linux"
NATIVELSBSTRING      = "universal"
TARGET_SYS           = "x86_64-poky-linux"
MACHINE              = "qemux86-64"
DISTRO               = "poky"
DISTRO_VERSION       = "2.4+snapshot-20171227"
TUNE_FEATURES        = "m64 core2"
TARGET_FPU           = ""
meta
meta-poky
meta-yocto-bsp
meta-mylayer         = "master:370483fce1c2429c81b19dcf8a36394dc3fc3d92"

Initialising tasks: 100%
|##########################################################################################|
Time: 0:00:19
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
WARNING: core-image-sato-1.0-r0 do_rootfs: Package
packagegroup-core-ssh-dropbear, set to be excluded, is in
core-image-sato PACKAGE_INSTALL (['packagegroup-core-boot',
'packagegroup-base-extended', 'strace', 'openssh', 'ptest-runner',
'run-postinsts', 'rpm', 'dnf', 'psplash',
'packagegroup-core-ssh-dropbear', 'packagegroup-core-x11-base',
'packagegroup-core-x11-sato']).  It will be removed from the list.
WARNING: core-image-sato-1.0-r0 do_populate_sdk_ext: Package
packagegroup-core-ssh-dropbear, set to be excluded, is in
core-image-sato PACKAGE_INSTALL (['packagegroup-core-boot',
'packagegroup-base-extended', 'strace', 'openssh', 'ptest-runner',
'run-postinsts', 'rpm', 'dnf', 'psplash',
'packagegroup-core-ssh-dropbear', 'packagegroup-core-x11-base',
'packagegroup-core-x11-sato']).  It will be removed from the list.
NOTE: Tasks Summary: Attempted 6179 tasks of which 6166 didn't need to
be rerun and all succeeded.
NOTE: Writing buildhistory

Summary: There were 3 WARNING messages shown.
[user at localhost build]$
_______

For me, it passed. I recommend/suggest to delete tmp/ and downloads/
directories in .../poky/build, then rebuild the whole thing in two
stages:
[1] bitbake core-image-minimal
[2] bitbake core-image-minimal -c populate_sdk_ext

Zoran

On Wed, Dec 27, 2017 at 1:44 PM, Peter Balazovic
<balazovic.peter at gmail.com> wrote:
> Hello,
>
> I follow recommendation to build and populate extensible SDK per Yocto
> manual.
>
> https://www.yoctoproject.org/docs/current/adt-manual/adt-manual.html#sdk-building-an-sdk-installer
>
> I am got stuck what's the problem to build?
>
> pokyuser at 7ca01572e73f:/workdir/poky/build$ bitbake core-image-minimal -c
> populate_sdk_ext
> L
>
> getting this
>
> ERROR: core-image-minimal-1.0-r0 do_populate_sdk_ext: Failed to generate
> filtered task list for extensible SDK:
>
> ERROR: core-image-minimal-1.0-r0 do_populate_sdk_ext: Function failed:
> copy_buildsystem
> ERROR: Logfile of failure stored in:
> /workdir/poky/build/tmp/work/qemux86-poky-linux/core-image-minimal/1.0-r0/temp/log.do_populate_sdk_ext.151
> ERROR: Task
> (/workdir/poky/meta/recipes-core/images/core-image-minimal.bb:do_populate_sdk_ext)
> failed with exit code '1'
>
>
> what's the issue to do a clean build?
>
>
>
> --
> _______________________________________________
> yocto mailing list
> yocto at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
>



More information about the yocto mailing list