Hello!
I recentrly started to work with Verdin imx8 m plus, before that I worked with Colibri imx6-ull and imx7d with BSP 5.6.0.
Now I am trying to build a Yocto image with Toradex bs version 6.0.
I downladed layer doing:
$ mkdir ${HOME}/oe-core
$ cd ${HOME}/oe-core
$ repo init -u git://git.toradex.com/toradex-manifest.git -b kirkstone-6.x.y -m tdxref/default.xml
$ repo sync
I build a Docker image to run a Ubuntu 20.04 and installing necesary packages as said in Required-packages-for-Ubuntu
In my local.conf set MACHINE ?= “verdin-imx8mp”
DISTRO ?= “tdx-xwayland”
When I try to build a refference image as tdx-reference-multimedia-image bitbake exites with ERROR in perl-native recipe:
NOTE: Executing Tasks
ERROR: perl-native-5.34.1-r0 do_compile: oe_runmake failed
ERROR: perl-native-5.34.1-r0 do_compile: ExecutionError('/home/fgs/cuffia-oe-core/build/tmp/work/x86_64-linux/perl-native/5.34.1-r0/temp/run.do_compile.137493', 1, None, None)
ERROR: Logfile of failure stored in: /home/fgs/cuffia-oe-core/build/tmp/work/x86_64-linux/perl-native/5.34.1-r0/temp/log.do_compile.137493
Log data follows:
| DEBUG: Executing shell function do_compile
| NOTE: make -j 4
| make: find: Operation not permitted
| make: find: Operation not permitted
| make: find: Operation not permitted
| make: /bin/sh: Operation not permitted
| make: /bin/sh: Operation not permitted
| make crosspatch
| make: make: Operation not permitted
| make: *** [Makefile:79: all] Error 127
| ERROR: oe_runmake failed
| WARNING: /home/fgs/cuffia-oe-core/build/tmp/work/x86_64-linux/perl-native/5.34.1-r0/temp/run.do_compile.137493:185 exit 1 from 'exit 1'
| WARNING: Backtrace (BB generated script):
| #1: bbfatal_log, /home/fgs/cuffia-oe-core/build/tmp/work/x86_64-linux/perl-native/5.34.1-r0/temp/run.do_compile.137493, line 185
| #2: die, /home/fgs/cuffia-oe-core/build/tmp/work/x86_64-linux/perl-native/5.34.1-r0/temp/run.do_compile.137493, line 169
| #3: oe_runmake, /home/fgs/cuffia-oe-core/build/tmp/work/x86_64-linux/perl-native/5.34.1-r0/temp/run.do_compile.137493, line 164
| #4: do_compile, /home/fgs/cuffia-oe-core/build/tmp/work/x86_64-linux/perl-native/5.34.1-r0/temp/run.do_compile.137493, line 142
| #5: main, /home/fgs/cuffia-oe-core/build/tmp/work/x86_64-linux/perl-native/5.34.1-r0/temp/run.do_compile.137493, line 189
ERROR: Task (virtual:native:/home/fgs/cuffia-oe-core/build/../layers/openembedded-core/meta/recipes-devtools/perl/perl_5.34.1.bb:do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 162 tasks of which 0 didn't need to be rerun and 1 failed.
NOTE: Writing buildhistory
NOTE: Writing buildhistory took: 7 seconds
I clean bulding and try to comile only perl-native recipe and always failed with the same error.
For the error message I think that is some permission error in a directory but I build and run the Docker image as I always did.
I did a test compiling the Yocto image in a Host PC with Ubuntu 20.04 (not docker) and build the image succesfully.
I search on web about the error but I didn’t find an issue similar to this.
It can be a bad Docker setting?
It can be a issue with make tool o make-native tool?