hi,i am using yocto to compile linux 4.9.88 ,and i encounter the problem below
ERROR: Task (/home/cc/yocto/yocto-4.9.88/sources/meta-fsl-bsp-release/imx/meta-bsp/recipes-graphics/opencv/opencv_3.4.bb:do_compile) failed with exit code '1'
my configure command is
repo init -u https://source.codeaurora.org/external/imx/imx-manifest -b imx-linux-rocko -m imx-4.9.88-2.0.0_ga.xml
repo sync
DISTRO=fsl-imx-fb MACHINE=imx6qpdlsolox source fsl-setup-release.sh -b build
bitbake fsl-image-qt5
now i don't have idea where reason cause this problem,can you help me ,thank you very much
Hello Cheng Chao,
The imx6qpdlsolox MACHINE is a consolidated i.MX6 machine and is meant for testing. Are you able to bake the qt5 image with a specific i.MX6 MACHINE?
Regards,
hi ,gusarambula
thanks for you answering
i didn't mean to bake the qt5 image with a specific i.MX6 MACHINE
and i baked the yocto project all by new,i delete the ubuntu,and set up a new ubuntu machine,the ubuntu release version is 14.04-LTS
and the problem still exists
i will show you the detail steps,and hope you help analysis the reason for me
1.check the host python version,exec command "ls /usr/bin/python*",both python2.7 and python3.4 had been installed
2.reference the document: https://www.nxp.com/docs/en/user-guide/i.MX_Yocto_Project_User
ubuntu host setup:
sudo apt-get install gawk wget git-core diffstat unzip texinfo gcc-multilib build-essential chrpath socat libsdl1.2-dev
sudo apt-get install libsdl1.2-dev xterm sed cvs subversion coreutils texi2html \
docbook-utils python-pysqlite2 help2man make gcc g++ desktop-file-utils \
libgl1-mesa-dev libglu1-mesa-dev mercurial autoconf automake groff curl lzop asciidoc
sudo apt-get install u-boot-tools
reference the document:Yocto Project Reference Manual
ubuntu host setup:
sudo apt-get build-dep qemu
sudo apt-get remove oss4-dev
sudo apt-get install gawk wget git-core diffstat unzip texinfo gcc-multilib \
build-essential chrpath socat cpio python python3 python3-pip python3-pexpect \
xz-utils debianutils iputils-ping
sudo apt-get install libsdl1.2-dev xterm
sudo apt-get install make xsltproc docbook-utils fop dblatex xmlto //可选择不要这个
sudo apt-get install python-git
3.my critical yocto project steps: //my ubuntu user name is "cc"
sudo curl https://storage.googleapis.com/git-repo-downloads/repo > /home/cc/yocto/bin/repo
sudo chmod a+x /home/cc/yocto/bin/repo
export PATH=$PATH:/home/cc/yocto/bin
git config --global user.name cc
git config --global user.email 260701463@qq.com
cd /home/cc/yocto
sudo mkdir yocto-4.9.88-imx6dl-wayland
sudo chown cc: yocto-4.9.88-imx6dl-wayland/
cd yocto-4.9.88-imx6dl-wayland
repo init -u https://source.codeaurora.org/external/imx/imx-manifest -b imx-linux-rocko -m imx-4.9.88-2.0.0_ga.xml
repo sync
DISTRO=fsl-imx-wayland MACHINE=imx6dlsabresd source fsl-setup-release.sh -b imx6dl-wayland-qt5
bitbake fsl-image-qt5-validation-imx
unfortunately,the problem below still exsit like a ghost,no matter what i do ,the "qtbase-5.9.4+gitAUTOINC+0d9208cecb-r0" compile always can not pass
"ERROR: qtbase-5.9.4+gitAUTOINC+0d9208cecb-r0 do_compile: oe_runmake failed
ERROR: qtbase-5.9.4+gitAUTOINC+0d9208cecb-r0 do_compile: Function failed: "
i beg for your suggest
I also encountered such a problem, did you solve it?