imx8 bitbake imx-image-full error

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

imx8 bitbake imx-image-full error

3,117 次查看
mollygqs
Contributor II

Execute the command bitmake imx-image-full, and the following error occurs. What is a good solution? 

error:imx-image-full-1.0-r0 do_rootfs:the postinstall intercep hook 'update_mime_database' failed.

标签 (1)
4 回复数

3,065 次查看
josephzhou1
Contributor V

go

https://www.nxp.com/design/software/embedded-software/i-mx-software/embedded-linux-for-i-mx-applicat...

 

fellow 

see 

3.2 Host packages
A Yocto Project build requires that some packages be installed for the build that are documented under the Yocto Project. Go to
Yocto Project Quick Start and check for the packages that must be installed for your build machine.
Essential Yocto Project host packages are:


$ 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 python3-git python3-jinja2 libegl1-mesa libsdl1.2-dev \
pylint3 xterm rsync curl


The configuration tool uses the default version of grep that is on your build machine. If there is a different version of grep in your
path, it may cause builds to fail. One workaround is to rename the special version to something not containing "grep".

Best Regards,
Joseph Zhou Jianhui / Senior Embedded Software Engineer, Singapore
0 项奖励
回复

3,005 次查看
mollygqs
Contributor II

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 python3-git python3-jinja2 libegl1-mesa libsdl1.2-dev \
pylint3 xterm rsync curl

I have installed these host packages and I don't quite understand: a different version of grep in your path, it may cause builds to fail.
Please help me to give a detailed example. Thanks a lot.

 

标记 (1)
0 项奖励
回复

3,000 次查看
josephzhou1
Contributor V

this is only a reminder only if u never install others version of grep then it may be OK.

 

you can chk it 

 

whereis -b grep

grep: /usr/bin/grep   

 

you have only default grep, means it is OK

Best Regards,
Joseph Zhou Jianhui / Senior Embedded Software Engineer, Singapore
0 项奖励
回复

3,100 次查看
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Please make sure that you have installed all needed  Yocto Project host packages