[yocto] Error while sdk creation of custom weston-wayland image
Pandey, Kamal
Kamal.Pandey at ifm.com
Sat Sep 1 04:34:48 PDT 2018
Hi,
I am trying to create sdk for core-image-weston image. Although my image is compiled and $bitbake core-image-weston -c populate_sdk executed till 99%. But throwing error almost in the end as follows:
Build Configuration:
BB_VERSION = "1.36.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "universal"
TARGET_SYS = "aarch64-pdm3-linux"
MACHINE = "pdm3-rev-b-zynqmp"
DISTRO = "pdm3-linux"
DISTRO_VERSION = "0.2.0.0"
TUNE_FEATURES = "aarch64"
TARGET_FPU = ""
meta = "rocko:f7a8c088ae1db6c2ebaa5e0aa4c7c8ed352bb045"
meta-xilinx-bsp
meta-xilinx-contrib = "rel-v2018.1:8710079c0720086c081f3340c2c233ab0e874cfe"
meta-xilinx-tools = "rel-v2018.1:93d6b87bdc451ee81d6d716809e0d7e9bc3b7021"
meta-oe
meta-perl
meta-python
meta-multimedia
meta-networking
meta-filesystems
meta-webserver = "rocko:352531015014d1957d6444d114f4451e241c4d23"
meta-ifm-pdm3-bsp
meta-ifm-pdm3 = "rocko-2.4-xlnx2018.1+wayland:959d08d1b1ad575803c62b0029779798ad6bf8b0"
meta-qt5 = "rocko:682ad61c071a9710e9f9d8a32ab1b5f3c14953d1"
Initialising tasks: 100% |###############################################################################################################################################################################################| Time: 0:00:10
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
ERROR: core-image-weston-pdm3-1.0-r0 do_populate_sdk: Could not invoke dnf. Command '/home/kamal/work/yocto_build/poky/build_weston/tmp/work/pdm3_rev_b_zynqmp-pdm3-linux/core-image-weston-pdm3/1.0-r0/recipe-sysroot-native/usr/bin/dnf -y -c /home/kamal/work/yocto_build/poky/build_weston/tmp/work/pdm3_rev_b_zynqmp-pdm3-linux/core-image-weston-pdm3/1.0-r0/sdk/image/etc/dnf/dnf.conf --setopt=reposdir=/home/kamal/work/yocto_build/poky/build_weston/tmp/work/pdm3_rev_b_zynqmp-pdm3-linux/core-image-weston-pdm3/1.0-r0/sdk/image/etc/yum.repos.d --repofrompath=oe-repo,/home/kamal/work/yocto_build/poky/build_weston/tmp/work/pdm3_rev_b_zynqmp-pdm3-linux/core-image-weston-pdm3/1.0-r0/oe-sdk-repo --installroot=/home/kamal/work/yocto_build/poky/build_weston/tmp/work/pdm3_rev_b_zynqmp-pdm3-linux/core-image-weston-pdm3/1.0-r0/sdk/image --setopt=logdir=/home/kamal/work/yocto_build/poky/build_weston/tmp/work/pdm3_rev_b_zynqmp-pdm3-linux/core-image-weston-pdm3/1.0-r0/temp --nogpgcheck install nativesdk-dbus nativesdk-dbus-glib nativesdk-libpam nativesdk-packagegroup-qt5-toolchain-host nativesdk-packagegroup-sdk-host nativesdk-qtbase-tools packagegroup-cross-canadian-pdm3-rev-b-zynqmp' returned 1:
Added oe-repo repo from /home/kamal/work/yocto_build/poky/build_weston/tmp/work/pdm3_rev_b_zynqmp-pdm3-linux/core-image-weston-pdm3/1.0-r0/oe-sdk-repo
Last metadata expiration check: 0:00:01 ago on Sat 01 Sep 2018 11:08:11 AM UTC.
Dependencies resolved.
================================================================================
Package Arch Version Repository
Size
================================================================================
Installing:
nativesdk-dbus-1 x86_64_nativesdk 1.10.20-r0 oe-repo 111 k
nativesdk-libdbus-glib-1-2 x86_64_nativesdk 0.108-r0 oe-repo 56 k
nativesdk-libpam x86_64_nativesdk 1.3.0-r5 oe-repo 34 k
nativesdk-packagegroup-qt5-toolchain-host
x86_64_nativesdk 1.0-r0 oe-repo 5.6 k
nativesdk-packagegroup-sdk-host x86_64_nativesdk 1.0-r12 oe-repo 5.7 k
nativesdk-qtbase-tools x86_64_nativesdk 5.9.6+git0+9c50112304-r0
oe-repo 4.2 M
packagegroup-cross-canadian-pdm3-rev-b-zynqmp
x86_64_nativesdk 1.0-r0 oe-repo 5.6 k
Installing dependencies:
binutils-cross-canadian-aarch64 x86_64_nativesdk 2.29.1-r0 oe-repo 4.8 M
gcc-cross-canadian-aarch64 x86_64_nativesdk 7.3.0-r0 oe-repo 16 M
gdb-cross-canadian-aarch64 x86_64_nativesdk 8.0-r0 oe-repo 1.9 M
meta-environment-pdm3-rev-b-zynqmp
x86_64_nativesdk 1.0-r8 oe-repo 11 k
nativesdk-autoconf x86_64_nativesdk 2.69-r11 oe-repo 276 k
nativesdk-automake x86_64_nativesdk 1.15.1-r0 oe-repo 324 k
nativesdk-cmake x86_64_nativesdk 3.8.2-r0 oe-repo 3.8 M
nativesdk-db x86_64_nativesdk 1:5.3.28-r1 oe-repo 454 k
nativesdk-dnf x86_64_nativesdk 2.6.3-r0 oe-repo 165 k
nativesdk-dtc x86_64_nativesdk 1.4.4-r0 oe-repo 58 k
nativesdk-elfutils x86_64_nativesdk 0.170-r0 oe-repo 112 k
nativesdk-flex x86_64_nativesdk 2.6.0-r0 oe-repo 110 k
nativesdk-glib-2.0 x86_64_nativesdk 1:2.52.3-r0 oe-repo 951 k
nativesdk-gnu-config x86_64_nativesdk 20150728+git0+b576fa87c1-r0
oe-repo 29 k
nativesdk-libarchive x86_64_nativesdk 3.3.2-r0 oe-repo 284 k
nativesdk-libasm1 x86_64_nativesdk 0.170-r0 oe-repo 18 k
nativesdk-libbz2-1 x86_64_nativesdk 1.0.6-r5 oe-repo 33 k
nativesdk-libc6 x86_64_nativesdk 2.26-r0 oe-repo 1.3 M
nativesdk-libcrypto1.0.2 x86_64_nativesdk 1.0.2o-r0 oe-repo 811 k
nativesdk-libcurl4 x86_64_nativesdk 7.58.0-r0 oe-repo 163 k
nativesdk-libdbus-1-3 x86_64_nativesdk 1.10.20-r0 oe-repo 115 k
nativesdk-libdw1 x86_64_nativesdk 0.170-r0 oe-repo 195 k
nativesdk-libelf1 x86_64_nativesdk 0.170-r0 oe-repo 43 k
nativesdk-libexpat1 x86_64_nativesdk 2.2.3-r0 oe-repo 64 k
nativesdk-libffi6 x86_64_nativesdk 3.2.1-r0 oe-repo 21 k
nativesdk-libgcc1 x86_64_nativesdk 7.3.0-r0 oe-repo 43 k
nativesdk-libgmp10 x86_64_nativesdk 6.1.2-r0 oe-repo 213 k
nativesdk-liblzma5 x86_64_nativesdk 5.2.3-r0 oe-repo 76 k
nativesdk-liblzo2-2 x86_64_nativesdk 2.10-r0 oe-repo 47 k
nativesdk-libmpc3 x86_64_nativesdk 1.0.3-r0 oe-repo 42 k
nativesdk-libmpfr4 x86_64_nativesdk 3.1.5-r0 oe-repo 156 k
nativesdk-libncurses5 x86_64_nativesdk 6.0+20171125-r0 oe-repo 64 k
nativesdk-libopkg1 x86_64_nativesdk 1:0.3.5-r0 oe-repo 68 k
nativesdk-libpcre1 x86_64_nativesdk 8.41-r0 oe-repo 90 k
nativesdk-libpixman-1-0 x86_64_nativesdk 1:0.34.0-r0 oe-repo 224 k
nativesdk-libpython3.5m1.0 x86_64_nativesdk 3.5.3-r1.0 oe-repo 746 k
nativesdk-libreadline7 x86_64_nativesdk 7.0-r0 oe-repo 116 k
nativesdk-libsdl-1.2-0 x86_64_nativesdk 1.2.15-r3 oe-repo 132 k
nativesdk-libsolv x86_64_nativesdk 0.6.28-r0 oe-repo 296 k
nativesdk-libssl1.0.2 x86_64_nativesdk 1.0.2o-r0 oe-repo 144 k
nativesdk-libssp0 x86_64_nativesdk 7.3.0-r0 oe-repo 10 k
nativesdk-libstdc++6 x86_64_nativesdk 7.3.0-r0 oe-repo 337 k
nativesdk-libtinfo5 x86_64_nativesdk 6.0+20171125-r0 oe-repo 52 k
nativesdk-libtirpc3 x86_64_nativesdk 1.0.2-r0 oe-repo 69 k
nativesdk-libtool x86_64_nativesdk 2.4.6-r0 oe-repo 287 k
nativesdk-libx11-6 x86_64_nativesdk 1:1.6.5-r0 oe-repo 548 k
nativesdk-libxau6 x86_64_nativesdk 1:1.0.8-r0 oe-repo 11 k
nativesdk-libxcb1 x86_64_nativesdk 1.12-r0 oe-repo 40 k
nativesdk-libxdmcp6 x86_64_nativesdk 1:1.1.2-r0 oe-repo 14 k
nativesdk-libxext6 x86_64_nativesdk 1:1.3.3-r0 oe-repo 29 k
nativesdk-libxml2 x86_64_nativesdk 2.9.5-r0 oe-repo 529 k
nativesdk-libxrandr2 x86_64_nativesdk 1:1.5.1-r0 oe-repo 20 k
nativesdk-libxrender1 x86_64_nativesdk 1:0.9.10-r0 oe-repo 21 k
nativesdk-libz1 x86_64_nativesdk 1.2.11-r0 oe-repo 49 k
nativesdk-m4 x86_64_nativesdk 1.4.18-r0 oe-repo 103 k
nativesdk-makedevs x86_64_nativesdk 1.0.1-r0 oe-repo 13 k
nativesdk-openssl x86_64_nativesdk 1.0.2o-r0 oe-repo 201 k
nativesdk-openssl-conf x86_64_nativesdk 1.0.2o-r0 oe-repo 10 k
nativesdk-opkg x86_64_nativesdk 1:0.3.5-r0 oe-repo 16 k
nativesdk-pam-plugin-deny x86_64_nativesdk 1.3.0-r5 oe-repo 8.2 k
nativesdk-pam-plugin-permit x86_64_nativesdk 1.3.0-r5 oe-repo 8.5 k
nativesdk-pam-plugin-unix x86_64_nativesdk 1.3.0-r5 oe-repo 32 k
nativesdk-pam-plugin-warn x86_64_nativesdk 1.3.0-r5 oe-repo 8.7 k
nativesdk-pkgconfig x86_64_nativesdk 0.29.2+git0+edf8e6f0ea-r0
oe-repo 174 k
nativesdk-postinst-intercept x86_64_nativesdk 1.0-r0 oe-repo 8.5 k
nativesdk-pseudo x86_64_nativesdk 1.8.2-r0 oe-repo 555 k
nativesdk-python3-argparse x86_64_nativesdk 3.5.3-r1.0 oe-repo 45 k
nativesdk-python3-codecs x86_64_nativesdk 3.5.3-r1.0 oe-repo 732 k
nativesdk-python3-compression x86_64_nativesdk 3.5.3-r1.0 oe-repo 107 k
nativesdk-python3-core x86_64_nativesdk 3.5.3-r1.0 oe-repo 217 k
nativesdk-python3-crypt x86_64_nativesdk 3.5.3-r1.0 oe-repo 31 k
nativesdk-python3-datetime x86_64_nativesdk 3.5.3-r1.0 oe-repo 88 k
nativesdk-python3-enum x86_64_nativesdk 3.5.3-r1.0 oe-repo 19 k
nativesdk-python3-fcntl x86_64_nativesdk 3.5.3-r1.0 oe-repo 13 k
nativesdk-python3-html x86_64_nativesdk 3.5.3-r1.0 oe-repo 60 k
nativesdk-python3-importlib x86_64_nativesdk 3.5.3-r1.0 oe-repo 68 k
nativesdk-python3-io x86_64_nativesdk 3.5.3-r1.0 oe-repo 185 k
nativesdk-python3-lang x86_64_nativesdk 3.5.3-r1.0 oe-repo 195 k
nativesdk-python3-logging x86_64_nativesdk 3.5.3-r1.0 oe-repo 76 k
nativesdk-python3-math x86_64_nativesdk 3.5.3-r1.0 oe-repo 48 k
nativesdk-python3-mime x86_64_nativesdk 3.5.3-r1.0 oe-repo 17 k
nativesdk-python3-netclient x86_64_nativesdk 3.5.3-r1.0 oe-repo 269 k
nativesdk-python3-pickle x86_64_nativesdk 3.5.3-r1.0 oe-repo 73 k
nativesdk-python3-re x86_64_nativesdk 3.5.3-r1.0 oe-repo 38 k
nativesdk-python3-reprlib x86_64_nativesdk 3.5.3-r1.0 oe-repo 8.4 k
nativesdk-python3-selectors x86_64_nativesdk 3.5.3-r1.0 oe-repo 16 k
nativesdk-python3-shell x86_64_nativesdk 3.5.3-r1.0 oe-repo 45 k
nativesdk-python3-signal x86_64_nativesdk 3.5.3-r1.0 oe-repo 9.1 k
nativesdk-python3-stringold x86_64_nativesdk 3.5.3-r1.0 oe-repo 14 k
nativesdk-python3-subprocess x86_64_nativesdk 3.5.3-r1.0 oe-repo 37 k
nativesdk-python3-textutils x86_64_nativesdk 3.5.3-r1.0 oe-repo 63 k
nativesdk-python3-threading x86_64_nativesdk 3.5.3-r1.0 oe-repo 39 k
nativesdk-qemu x86_64_nativesdk 2.10.0-r0 oe-repo 27 M
nativesdk-qemu-helper x86_64_nativesdk 1.0-r9 oe-repo 28 k
nativesdk-qttools-tools x86_64_nativesdk 5.9.6+git0+c9eeabc7a7-r0
oe-repo 1.2 M
nativesdk-shadow x86_64_nativesdk 4.2.1-r0 oe-repo 210 k
nativesdk-unfs3 x86_64_nativesdk 0.9.22.r497-r0 oe-repo 43 k
nativesdk-update-alternatives-opkg
x86_64_nativesdk 0.3.5-r0 oe-repo 9.0 k
nativesdk-util-linux x86_64_nativesdk 2.30-r0 oe-repo 678 k
Installing weak dependencies:
nativesdk-ca-certificates x86_64_nativesdk 20170717-r0 oe-repo 203 k
nativesdk-libpam-runtime x86_64_nativesdk 1.3.0-r5 oe-repo 16 k
nativesdk-ncurses-terminfo-base x86_64_nativesdk 6.0+20171125-r0 oe-repo 14 k
nativesdk-python3-readline x86_64_nativesdk 3.5.3-r1.0 oe-repo 20 k
nativesdk-shared-mime-info x86_64_nativesdk 1.8-r0 oe-repo 364 k
Transaction Summary
================================================================================
Install 111 Packages
Total size: 74 M
Installed size: 345 M
Downloading Packages:
Running transaction check
Transaction check succeeded.
Running transaction test
Error: Transaction check error:
file /usr/local/oecore-x86_64/sysroots/x86_64-pdm3sdk-linux/environment-setup.d conflicts between attempted installs of nativesdk-cmake-3.8.2-r0.x86_64_nativesdk and nativesdk-qtbase-tools-5.9.6+git0+9c50112304-r0.x86_64_nativesdk
Error Summary
-------------
ERROR: core-image-weston-pdm3-1.0-r0 do_populate_sdk: Function failed: do_populate_sdk
ERROR: Logfile of failure stored in: /home/kamal/work/yocto_build/poky/build_weston/tmp/work/pdm3_rev_b_zynqmp-pdm3-linux/core-image-weston-pdm3/1.0-r0/temp/log.do_populate_sdk.11674
ERROR: Task (/home/kamal/work/yocto_build/poky/../meta-pdm3-weston/meta-ifm-pdm3/recipes-core/images/core-image-weston-pdm3.bb:do_populate_sdk) failed with exit code '1'
NOTE: Tasks Summary: Attempted 6266 tasks of which 6265 didn't need to be rerun and 1 failed.
NOTE: No commit since BUILDHISTORY_COMMIT != '1'
Summary: 1 task failed:
/home/kamal/work/yocto_build/poky/../meta-pdm3-weston/meta-ifm-pdm3/recipes-core/images/core-image-weston-pdm3.bb:do_populate_sdk
Summary: There were 5 WARNING messages shown.
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.
I have no idea how to solve this error.
Should I clean dnf and build again.
Any help will be appreciated.
More information about the yocto
mailing list