imx8 bitbake imx-image-full error

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

imx8 bitbake imx-image-full error

3,145件の閲覧回数
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,093件の閲覧回数
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,033件の閲覧回数
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,028件の閲覧回数
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,128件の閲覧回数
Zhiming_Liu
NXP TechSupport
NXP TechSupport

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