[meta-xilinx] [yocto] Problems to build xen-guest-image-minimal
Sandeep Gundlupet Raju
sandeep.gundlupet-raju at xilinx.com
Mon Jun 12 11:08:21 PDT 2017
Hi Pello,
From your log.do_configure looks like you are using wrong version of sdk tool chain to build 2017.1 yocto. You need to fix this first.
WARNING: [Hsi 61-9] Current Software design may not be compatible with "zynqmp_pmufw" app. Tool is ignoring the MSS file specified in the app directory
Application project 'pmu-firmware' created successfully.
/opt/Xilinx/SDK/2016.4/gnu/microblaze/lin
XFPGA generate ...
Thanks,
Sandeep
From: Pello Heriz [mailto:pello.heriz at alumni.mondragon.edu]
Sent: Monday, June 12, 2017 1:46 AM
To: Sandeep Gundlupet Raju; meta-xilinx at yoctoproject.org
Subject: Re: [yocto] Problems to build xen-guest-image-minimal
Hi Sandeep,
The Linux host that I am using to build Yocto is Ubuntu 16.04.2 LTS.
I can't see any error describing what you seem in the log.do_compile file, anyway here there are both files:
Thank you for helping,
Best regards,
Pello
2017-06-09 17:26 GMT+02:00 Sandeep Gundlupet Raju <sandeep.gundlupet-raju at xilinx.com<mailto:sandeep.gundlupet-raju at xilinx.com>>:
Hi Pello,
Also can you send below files. I suspect you have this error “mb-gcc: error while loading shared libraries: libstdc++.so.6: wrong ELF class: ELFCLASS64” in log.do_compile file.
/opt/repo_yocto_GE/build/tmp/work/zcu102_zynqmp-xilinx-linux/pmu-firmware/2017.1+gitAUTOINC+3813f14966-r0/temp/log.do_configure
/opt/repo_yocto_GE/build/tmp/work/zcu102_zynqmp-xilinx-linux/pmu-firmware/2017.1+gitAUTOINC+3813f14966-r0/temp/log.do_compile
Thanks,
Sandeep
From: Sandeep G.R [mailto:grsandeep85 at gmail.com<mailto:grsandeep85 at gmail.com>]
Sent: Friday, June 9, 2017 9:19 AM
To: Pello Heriz; Sandeep Gundlupet Raju
Subject: Re: [yocto] Problems to build xen-guest-image-minimal
Hi Pello,
Which Linux host are you using to build yocto?
Thanks,
Sandeep
On Fri, Jun 9, 2017 at 2:31 AM, Pello Heriz <pello.heriz at alumni.mondragon.edu<mailto:pello.heriz at alumni.mondragon.edu>> wrote:
Hi Sandeep,
I have solved the problem in which I was stuck, anyway, now I'm having another error:
generalelectric at mlan11214m117linux:/opt/repo_yocto_GE/build$ bitbake xen-guest-image-minimal
Loading cache: 100% |############################################################################################| Time: 0:00:01
Loaded 3232 entries from dependency cache.
Parsing recipes: 100% |##########################################################################################| Time: 0:00:01
Parsing of 2443 .bb files complete (2441 cached, 2 parsed). 3233 targets, 224 skipped, 0 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies
Build Configuration:
BB_VERSION = "1.32.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "universal"
TARGET_SYS = "aarch64-xilinx-linux"
MACHINE = "zcu102-zynqmp"
DISTRO = "petalinux"
DISTRO_VERSION = "2017.1"
TUNE_FEATURES = "aarch64"
TARGET_FPU = ""
meta
meta-poky = "rel-v2017.1:b37e6d969f27d92ef8b323678598c4ad879243c3"
meta-perl
meta-systemd
meta-gpe
meta-python
meta-efl
meta-ruby
meta-filesystems
meta-gnome
meta-multimedia
meta-networking
meta-webserver
meta-xfce
meta-initramfs
meta-oe = "rel-v2017.1:1efa5d623bc64659b57389e50be2568b1355d5f7"
meta-linaro-toolchain = "rel-v2017.1:39860f6c7af0858981cc004bbe4f4c421f6be607"
meta-qt5 = "rel-v2017.1:50bf34517e3e2258e722ee9f40998c60f660caf6"
meta-xilinx = "rel-v2017.1:33014f8bdcbc89910880f9577d766cb32956c434"
meta-xilinx-tools = "rel-v2017.1:64847a5afcffcb73e4bcf2137911819b55537308"
meta-petalinux = "rel-v2017.1:931753a88efcaf0ef9bda76dfd0fe8c7119d1822"
meta-virtualization = "rel-v2017.1:610887495c01f0b17db6084e1426cc55a3f806ea"
meta-openamp = "rel-v2017.1:c92f1e072b1939172658a5f01a68197282342305"
Initialising tasks: 100% |#######################################################################################| Time: 0:00:09
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
ERROR: pmu-firmware-2017.1+gitAUTOINC+3813f14966-r0 do_deploy: Function failed: do_deploy (log file is located at /opt/repo_yocto_GE/build/tmp/work/zcu102_zynqmp-xilinx-linux/pmu-firmware/2017.1+gitAUTOINC+3813f14966-r0/temp/log.do_deploy.14811)
ERROR: Logfile of failure stored in: /opt/repo_yocto_GE/build/tmp/work/zcu102_zynqmp-xilinx-linux/pmu-firmware/2017.1+gitAUTOINC+3813f14966-r0/temp/log.do_deploy.14811
Log data follows:
| DEBUG: Executing python function sstate_task_prefunc
| DEBUG: Python function sstate_task_prefunc finished
| DEBUG: Executing shell function do_deploy
| install: cannot stat '/opt/repo_yocto_GE/build/tmp/work/zcu102_zynqmp-xilinx-linux/pmu-firmware/2017.1+gitAUTOINC+3813f14966-r0/build/pmu-firmware/Release/pmu-firmware.elf': No such file or directory
| WARNING: /opt/repo_yocto_GE/build/tmp/work/zcu102_zynqmp-xilinx-linux/pmu-firmware/2017.1+gitAUTOINC+3813f14966-r0/temp/run.do_deploy.14811:1 exit 1 from 'install -m 0644 /opt/repo_yocto_GE/build/tmp/work/zcu102_zynqmp-xilinx-linux/pmu-firmware/2017.1+gitAUTOINC+3813f14966-r0/build/pmu-firmware/Release/pmu-firmware.elf /opt/repo_yocto_GE/build/tmp/work/zcu102_zynqmp-xilinx-linux/pmu-firmware/2017.1+gitAUTOINC+3813f14966-r0/deploy-pmu-firmware/pmu-firmware-2017.1+gitAUTOINC+3813f14966-r0-zcu102-zynqmp-20170609082331.elf'
| ERROR: Function failed: do_deploy (log file is located at /opt/repo_yocto_GE/build/tmp/work/zcu102_zynqmp-xilinx-linux/pmu-firmware/2017.1+gitAUTOINC+3813f14966-r0/temp/log.do_deploy.14811)
ERROR: Task (/opt/repo_yocto_GE/sources/core/../meta-xilinx-tools/recipes-bsp/pmu/pmu-firmware_git.bb:do_deploy) failed with exit code '1'
NOTE: Tasks Summary: Attempted 3009 tasks of which 3007 didn't need to be rerun and 1 failed.
Summary: 1 task failed:
/opt/repo_yocto_GE/sources/core/../meta-xilinx-tools/recipes-bsp/pmu/pmu-firmware_git.bb:do_deploy
Summary: There was 1 ERROR message shown, returning a non-zero exit code.
generalelectric at mlan11214m117linux:/opt/repo_yocto_GE/build$ gedit /opt/repo_yocto_GE/build/tmp/work/zcu102_zynqmp-xilinx-linux/pmu-firmware/2017.1+gitAUTOINC+3813f14966-r0/temp/log.do_deploy.14811
Can you please help me with this?
Thanks,
Pello
2017-06-08 8:32 GMT+02:00 Pello Heriz <pello.heriz at alumni.mondragon.edu<mailto:pello.heriz at alumni.mondragon.edu>>:
Hi Sandeep,
thanks for helping, here you are the local.conf and bblayers.conf files,
Regards,
Pello
2017-06-07 19:01 GMT+02:00 Sandeep G.R <grsandeep85 at gmail.com<mailto:grsandeep85 at gmail.com>>:
Hi Pello,
Can you send your local.conf I can take a look. FYI http://www.wiki.xilinx.com/Xen+Hypervisor+through+Yocto+Flow
Thanks,
Sandeep
On Wed, Jun 7, 2017 at 12:38 AM, Pello Heriz <pello.heriz at alumni.mondragon.edu<mailto:pello.heriz at alumni.mondragon.edu>> wrote:
Hi Sandeep,
I have tried what you told me, but anyway I'm still having a compiling issue. Here is the screenshot that shows the error:
generalelectric at mlan11214m117linux:/opt/repo_yocto_GE/build$ bitbake xen-guest-image-minimal
Parsing recipes: 100% |##########################################################################################| Time: 0:03:02
Parsing of 2443 .bb files complete (0 cached, 2443 parsed). 3233 targets, 224 skipped, 0 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies
Build Configuration:
BB_VERSION = "1.32.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "universal"
TARGET_SYS = "aarch64-xilinx-linux"
MACHINE = "zcu102-zynqmp"
DISTRO = "petalinux"
DISTRO_VERSION = "2017.1"
TUNE_FEATURES = "aarch64"
TARGET_FPU = ""
meta
meta-poky = "rel-v2017.1:b37e6d969f27d92ef8b323678598c4ad879243c3"
meta-perl
meta-systemd
meta-gpe
meta-python
meta-efl
meta-ruby
meta-filesystems
meta-gnome
meta-multimedia
meta-networking
meta-webserver
meta-xfce
meta-initramfs
meta-oe = "rel-v2017.1:1efa5d623bc64659b57389e50be2568b1355d5f7"
meta-linaro-toolchain = "rel-v2017.1:39860f6c7af0858981cc004bbe4f4c421f6be607"
meta-qt5 = "rel-v2017.1:50bf34517e3e2258e722ee9f40998c60f660caf6"
meta-xilinx = "rel-v2017.1:33014f8bdcbc89910880f9577d766cb32956c434"
meta-xilinx-tools = "rel-v2017.1:64847a5afcffcb73e4bcf2137911819b55537308"
meta-petalinux = "rel-v2017.1:931753a88efcaf0ef9bda76dfd0fe8c7119d1822"
meta-virtualization = "rel-v2017.1:610887495c01f0b17db6084e1426cc55a3f806ea"
meta-openamp = "rel-v2017.1:c92f1e072b1939172658a5f01a68197282342305"
Initialising tasks: 100% |#######################################################################################| Time: 0:00:09
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
ERROR: device-tree-generation-xilinx+gitAUTOINC+94fc615234-r0 do_configure: Function failed: do_configure (log file is located at /opt/repo_yocto_GE/build/tmp/work/zcu102_zynqmp-xilinx-linux/device-tree-generation/xilinx+gitAUTOINC+94fc615234-r0/temp/log.do_configure.13481)
ERROR: Logfile of failure stored in: /opt/repo_yocto_GE/build/tmp/work/zcu102_zynqmp-xilinx-linux/device-tree-generation/xilinx+gitAUTOINC+94fc615234-r0/temp/log.do_configure.13481
Log data follows:
| DEBUG: Executing python function sysroot_cleansstate
| DEBUG: Python function sysroot_cleansstate finished
| DEBUG: Executing shell function do_configure
| MISC_ARG is -yamlconf /opt/repo_yocto_GE/build/tmp/work/zcu102_zynqmp-xilinx-linux/device-tree-generation/xilinx+gitAUTOINC+94fc615234-r0/device-tree-generation.yaml
| APP_ARG is -app "device-tree"
| cmd is: xsct /opt/repo_yocto_GE/build/tmp/work/zcu102_zynqmp-xilinx-linux/device-tree-generation/xilinx+gitAUTOINC+94fc615234-r0/dtgen.tcl -ws /opt/repo_yocto_GE/build/tmp/work/zcu102_zynqmp-xilinx-linux/device-tree-generation/xilinx+gitAUTOINC+94fc615234-r0/build -pname device-tree-generation -rp /opt/repo_yocto_GE/build/tmp/work/zcu102_zynqmp-xilinx-linux/device-tree-generation/xilinx+gitAUTOINC+94fc615234-r0/git -processor psu_cortexa53_0 -hdf /opt/repo_yocto_GE/build/tmp/deploy/images/zcu102-zynqmp/Xilinx-zcu102-zynqmp.hdf -arch 64 -app "device-tree" -yamlconf /opt/repo_yocto_GE/build/tmp/work/zcu102_zynqmp-xilinx-linux/device-tree-generation/xilinx+gitAUTOINC+94fc615234-r0/device-tree-generation.yaml
| /opt/repo_yocto_GE/build/tmp/work/zcu102_zynqmp-xilinx-linux/device-tree-generation/xilinx+gitAUTOINC+94fc615234-r0/temp/run.do_configure.13481: line 122: xsct: command not found
| WARNING: /opt/repo_yocto_GE/build/tmp/work/zcu102_zynqmp-xilinx-linux/device-tree-generation/xilinx+gitAUTOINC+94fc615234-r0/temp/run.do_configure.13481:1 exit 127 from 'eval xsct /opt/repo_yocto_GE/build/tmp/work/zcu102_zynqmp-xilinx-linux/device-tree-generation/xilinx+gitAUTOINC+94fc615234-r0/dtgen.tcl -ws /opt/repo_yocto_GE/build/tmp/work/zcu102_zynqmp-xilinx-linux/device-tree-generation/xilinx+gitAUTOINC+94fc615234-r0/build -pname device-tree-generation -rp /opt/repo_yocto_GE/build/tmp/work/zcu102_zynqmp-xilinx-linux/device-tree-generation/xilinx+gitAUTOINC+94fc615234-r0/git -processor psu_cortexa53_0 -hdf /opt/repo_yocto_GE/build/tmp/deploy/images/zcu102-zynqmp/Xilinx-zcu102-zynqmp.hdf -arch 64 ${APP_ARG} ${MISC_ARG}'
| ERROR: Function failed: do_configure (log file is located at /opt/repo_yocto_GE/build/tmp/work/zcu102_zynqmp-xilinx-linux/device-tree-generation/xilinx+gitAUTOINC+94fc615234-r0/temp/log.do_configure.13481)
ERROR: Task (/opt/repo_yocto_GE/sources/core/../meta-xilinx-tools/recipes-bsp/device-tree/device-tree-generation_git.bb<http://device-tree-generation_git.bb>:do_configure) failed with exit code '1'
NOTE: Tasks Summary: Attempted 2715 tasks of which 2712 didn't need to be rerun and 1 failed.
Summary: 1 task failed:
/opt/repo_yocto_GE/sources/core/../meta-xilinx-tools/recipes-bsp/device-tree/device-tree-generation_git.bb<http://device-tree-generation_git.bb>:do_configure
Summary: There was 1 ERROR message shown, returning a non-zero exit code.
generalelectric at mlan11214m117linux:/opt/repo_yocto_GE/build$ gedit /opt/repo_yocto_GE/build/tmp/work/zcu102_zynqmp-xilinx-linux/device-tree-generation/xilinx+gitAUTOINC+94fc615234-r0/temp/log.do_configure.13481
generalelectric at mlan11214m117linux:/opt/repo_yocto_GE/build$
I don't know what is failing now. Can you please help me with this?
Regards,
Pello
2017-06-05 17:15 GMT+02:00 Sandeep G.R <grsandeep85 at gmail.com<mailto:grsandeep85 at gmail.com>>:
Hi Pello,
You can use like this.
repo init -u git://github.com/Xilinx/yocto-manifests.git<http://github.com/Xilinx/yocto-manifests.git> -b rel-v2017.1
repo sync
repo start rel-v2017.1 --all
MACHINE=zcu102-zynqmp bitbake xen-image-minimal
Thanks,
Sandeep
On Mon, Jun 5, 2017 at 2:59 AM, Pello Heriz <pello.heriz at alumni.mondragon.edu<mailto:pello.heriz at alumni.mondragon.edu>> wrote:
How can I clone that release?
Regards,
Pello
2017-06-02 18:07 GMT+02:00 Sandeep G.R <grsandeep85 at gmail.com<mailto:grsandeep85 at gmail.com>>:
On Wed, May 31, 2017 at 10:13 AM, Khem Raj <raj.khem at gmail.com<mailto:raj.khem at gmail.com>> wrote:
On Wed, May 31, 2017 at 12:22 AM Pello Heriz <pello.heriz at alumni.mondragon.edu<mailto:pello.heriz at alumni.mondragon.edu>> wrote:
Hi,
I'm trying to build xen-guest-image-minimal with master branch of Yocto, but I keep stuck in the next error:
bitbake xen-guest-image-minimal
NOTE: /opt/yocto_GE/poky/meta-qt5/recipes-qt/qt5/qtbase_git.bb<http://qtbase_git.bb>: base_contains is deprecated, please use bb.utils.contains instead.
NOTE: /opt/yocto_GE/poky/meta-qt5/recipes-qt/qt5/qtbase_git.bb<http://qtbase_git.bb>: base_contains is deprecated, please use bb.utils.contains instead.
WARNING: /opt/yocto_GE/poky/meta-petalinux/recipes-external/external-xilinx-toolchain/libgcc-xilinx.bb<http://libgcc-xilinx.bb>: LICENSE_libgcov-dev includes licenses (GPL-3.0) that are not listed in LICENSE
Parsing recipes: 100% |##########################################| Time: 0:04:34
Parsing of 2477 .bb files complete (0 cached, 2477 parsed). 3310 targets, 312 skipped, 0 masked, 0 errors.
WARNING: No recipes available for:
/opt/yocto_GE/poky/meta-petalinux/recipes-devtools/python/python-smartpm_%.bbappend
WARNING: No bb files matched BBFILE_PATTERN_gpe-layer '^/opt/yocto_GE/poky/meta-openembedded/meta-gpe/'
NOTE: Resolving any missing task queue dependencies
ERROR: Nothing PROVIDES 'rpmresolve-native'. Close matches:
meson-native
rpm-native
perl-native
ERROR: Required build target 'xen-guest-image-minimal' has no buildable providers.
Missing or unbuildable dependency chain was: ['xen-guest-image-minimal', 'rpmresolve-native']
It's possible that you do not have matching releases of various layers I would first check that
Yes master is not stable you need to clone rel-v2017.1 tag
The bblayers that I have included to the project are the next ones:
BBLAYERS ?= " \
${MY_META_DIR}/meta \
${MY_META_DIR}/meta-poky \
${MY_META_DIR}/meta-yocto-bsp \
${MY_META_DIR}/meta-openembedded/meta-perl \
${MY_META_DIR}/meta-openembedded/meta-systemd \
${MY_META_DIR}/meta-openembedded/meta-gpe \
${MY_META_DIR}/meta-openembedded/meta-python \
${MY_META_DIR}/meta-openembedded/meta-efl \
${MY_META_DIR}/meta-openembedded/meta-ruby \
${MY_META_DIR}/meta-openembedded/meta-filesystems \
${MY_META_DIR}/meta-openembedded/meta-gnome \
${MY_META_DIR}/meta-openembedded/meta-multimedia \
${MY_META_DIR}/meta-openembedded/meta-networking \
${MY_META_DIR}/meta-openembedded/meta-webserver \
${MY_META_DIR}/meta-openembedded/meta-xfce \
${MY_META_DIR}/meta-openembedded/meta-initramfs \
${MY_META_DIR}/meta-openembedded/meta-oe \
${MY_META_DIR}/meta-qt5 \
${MY_META_DIR}/meta-selftest \
${MY_META_DIR}/meta-skeleton \
${MY_META_DIR}/meta-xilinx \
${MY_META_DIR}/meta-xilinx-tools \
${MY_META_DIR}/meta-petalinux \
${MY_META_DIR}/meta-virtualization \
${MY_META_DIR}/meta-xzd \
"
How can I solve this issue?
Regards,
Pello
--
_______________________________________________
yocto mailing list
yocto at yoctoproject.org<mailto:yocto at yoctoproject.org>
https://lists.yoctoproject.org/listinfo/yocto
--
_______________________________________________
yocto mailing list
yocto at yoctoproject.org<mailto:yocto at yoctoproject.org>
https://lists.yoctoproject.org/listinfo/yocto
This email and any attachments are intended for the sole use of the named recipient(s) and contain(s) confidential information that may be proprietary, privileged or copyrighted under applicable law. If you are not the intended recipient, do not read, copy, or forward this email message or any attachments. Delete this email message and any attachments immediately.
This email and any attachments are intended for the sole use of the named recipient(s) and contain(s) confidential information that may be proprietary, privileged or copyrighted under applicable law. If you are not the intended recipient, do not read, copy, or forward this email message or any attachments. Delete this email message and any attachments immediately.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/meta-xilinx/attachments/20170612/b29fa2a6/attachment.html>
More information about the meta-xilinx
mailing list