Common problems and solutions for Yocto compilation

Source: Internet
Author: User
Tags imx6 yocto

1./opt/yocto-rel/share/downloads/exists but you don't appear to have write access to it.

This is not a permission to write to the specified directory,

WORKAROUND: Delete the corresponding engineering file in the build directory (Dashboard-lanvender) and then init to specify the directory where the file will be generated at compile time

Make Dl_dir=/home/guguangyu/yocto-share-dev/downloads Imx6dlwisehmi-lanverder_init

Finally execute make Imx6dlwisehmi-lanverder


2.ExpansionError during parsing/home/yangmengkui/yocto/sources/meta-autorock/recipes-autorock/dashboards/ Dashboard-lavender.bb:failure expanding variable s:expansionerror:failure expanding variable SRCPV, expression was ${@b B.fetch2.get_srcrev (d)} which triggered exception malformedurl:the URL: ' Git@zkgit.iask.in/yangmengkui/hengyi.git; Branch=master;protocol=ssh ' is invalid and cannot are interpreted

Workaround: This is caused by the incorrect code path for the QT project


3.ExpansionError during parsing/home/yangmengkui/yocto/sources/meta-imx6-autorock/recipes-bsp/u-boot/ U-boot-imx6-autorock.bb:failure expanding variable s:expansionerror:failure expanding variable SRCPV, expression was ${ @bb. Fetch2.get_srcrev (d)} which triggered exception Fetcherror:fetcher Failure:fetch command failed with exit code 128, Output
Ssh_exchange_identification:connection Closed by remote host
Fatal:could not read from remote repository.

Solution: This is due to git@zkgit.iask.in:yangmengkui/hengyi.git needs to be changed into git@zkgit.iask.in/yangmengkui/hengyi.git


4.http://download.qt.io.official ... 5.4.2 ... fetch failed

WORKAROUND: 1. Change the path to the correct path of the official website

2, you will be able to compile the package QTBASE-OPENSOURCE-SRC-5.4.2.TAR.XZ under the project normally Qtbase-opensource-src-5.4.2.tar.xz.done

Qtgraphicaleffects-opensource-src-5.4.2.tar.xz Qtgraphicaleffects-opensource-src-5.4.2.tar.xz.done

Copied to the project under the package, due to the existence of Qtbase-opensource-src-5.4.2.tar.xz.done this sign, compile-time will not have to fetch from the official web, so you can skip

The URL is wrong, copy, and may also report the same mistake, this is the need to bitbake-c cleansstate clear cache, so the problem can be solved


Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.