Compile error when download and make i.MX Yocto project

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Compile error when download and make i.MX Yocto project

3,476 Views
zhangjiansheng
Contributor II

Hi,

I am using the imx 6sx SABRE-SDB development board. I want to download and build the i.MX Yocto project following the i.MX Yocto Project User's Guide, Rev. L4.9.11_1.0.0-ga+mx8-alpha, 09/2017. But it report an error when executing "bitbake fsl-image-validation-imx" command. The host environment is ubuntu 16.04 LTS on vmware. I don't know why it report the error. I have tried several times and the error remains.

Please tell me how resolve or avoid this problem. Thank you. 

The error log is as following, 

linkpro@linkpro-virtual-machine:~/Desktop/fsl-release-bsp/build_imx_x11$ bitbake fsl-image-validation-imx
WARNING: Host distribution "Ubuntu-16.04" has not been validated with this version of the build system; you may possibly experience unexpected failures. It is recommended that you use a tested distribution.
Loading cache: 100% |############################################| Time: 0:00:01
Loaded 3049 entries from dependency cache.
NOTE: Resolving any missing task queue dependencies
Build Configuration:
BB_VERSION        = "1.32.0"
BUILD_SYS         = "x86_64-linux"
NATIVELSBSTRING   = "Ubuntu-16.04"
TARGET_SYS        = "arm-poky-linux-gnueabi"
MACHINE           = "imx6sxsabresd"
DISTRO            = "fsl-imx-x11"
DISTRO_VERSION    = "4.9.11-1.0.0"
TUNE_FEATURES     = "arm armv7a vfp  neon        callconvention-hard        cortexa9"
TARGET_FPU        = "hard"
meta             
meta-poky         = "HEAD:78890ea22750804e3e9113e76f7ca3d7234c8342"
meta-oe          
meta-multimedia   = "HEAD:fe5c83312de11e80b85680ef237f8acb04b4b26e"
meta-freescale    = "HEAD:a398b50b7fc084a9e68cc3000c218d5028522a25"
meta-freescale-3rdparty = "HEAD:68314612e236cab1da82d72a0da62635a3523f84"
meta-freescale-distro = "HEAD:cd5c7a2539f40004f74126e9fdf08254fd9a6390"
meta-bsp         
meta-sdk          = "HEAD:daba3340ecd8b358e0c6c415baeee0fcae95c525"
meta-browser      = "HEAD:10f6e3778d823ee1be106c126216c6f941088fbf"
meta-gnome       
meta-networking  
meta-python      
meta-filesystems  = "HEAD:fe5c83312de11e80b85680ef237f8acb04b4b26e"
meta-qt5          = "HEAD:ff073f04109900fc07bf81e2f1df63c626caf342"
Initialising tasks: 100% |#######################################| Time: 0:00:27
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
ERROR: assimp-3.3.1-r0 do_compile: oe_runmake failed
ERROR: assimp-3.3.1-r0 do_compile: Function failed: do_compile (log file is located at /home/linkpro/Desktop/fsl-release-bsp/build_imx_x11/tmp/work/cortexa9hf-neon-mx6sx-poky-linux-gnueabi/assimp/3.3.1-r0/temp/log.do_compile.119442)
ERROR: Logfile of failure stored in: /home/linkpro/Desktop/fsl-release-bsp/build_imx_x11/tmp/work/cortexa9hf-neon-mx6sx-poky-linux-gnueabi/assimp/3.3.1-r0/temp/log.do_compile.119442
Log data follows:
| DEBUG: Executing shell function do_compile
| NOTE: make -j 2
| /home/linkpro/Desktop/fsl-release-bsp/build_imx_x11/tmp/sysroots/x86_64-linux/usr/bin/cmake -H/home/linkpro/Desktop/fsl-release-bsp/build_imx_x11/tmp/work/cortexa9hf-neon-mx6sx-poky-linux-gnueabi/assimp/3.3.1-r0/assimp-3.3.1 -B/home/linkpro/Desktop/fsl-release-bsp/build_imx_x11/tmp/work/cortexa9hf-neon-mx6sx-poky-linux-gnueabi/assimp/3.3.1-r0/build --check-build-system CMakeFiles/Makefile.cmake 0
| /home/linkpro/Desktop/fsl-release-bsp/build_imx_x11/tmp/sysroots/x86_64-linux/usr/bin/cmake -E cmake_progress_start /home/linkpro/Desktop/fsl-release-bsp/build_imx_x11/tmp/work/cortexa9hf-neon-mx6sx-poky-linux-gnueabi/assimp/3.3.1-r0/build/CMakeFiles /home/linkpro/Desktop/fsl-release-bsp/build_imx_x11/tmp/work/cortexa9hf-neon-mx6sx-poky-linux-gnueabi/assimp/3.3.1-r0/build/CMakeFiles/progress.marks
| make -f CMakeFiles/Makefile2 all
| make[1]: Entering directory '/home/linkpro/Desktop/fsl-release-bsp/build_imx_x11/tmp/work/cortexa9hf-neon-mx6sx-poky-linux-gnueabi/assimp/3.3.1-r0/build'
| make -f code/CMakeFiles/assimp.dir/build.make code/CMakeFiles/assimp.dir/depend
| make[2]: Entering directory '/home/linkpro/Desktop/fsl-release-bsp/build_imx_x11/tmp/work/cortexa9hf-neon-mx6sx-poky-linux-gnueabi/assimp/3.3.1-r0/build'
| cd /home/linkpro/Desktop/fsl-release-bsp/build_imx_x11/tmp/work/cortexa9hf-neon-mx6sx-poky-linux-gnueabi/assimp/3.3.1-r0/build && /home/linkpro/Desktop/fsl-release-bsp/build_imx_x11/tmp/sysroots/x86_64-linux/usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/linkpro/Desktop/fsl-release-bsp/build_imx_x11/tmp/work/cortexa9hf-neon-mx6sx-poky-linux-gnueabi/assimp/3.3.1-r0/assimp-3.3.1 /home/linkpro/Desktop/fsl-release-bsp/build_imx_x11/tmp/work/cortexa9hf-neon-mx6sx-poky-linux-gnueabi/assimp/3.3.1-r0/assimp-3.3.1/code /home/linkpro/Desktop/fsl-release-bsp/build_imx_x11/tmp/work/cortexa9hf-neon-mx6sx-poky-linux-gnueabi/assimp/3.3.1-r0/build /home/linkpro/Desktop/fsl-release-bsp/build_imx_x11/tmp/work/cortexa9hf-neon-mx6sx-poky-linux-gnueabi/assimp/3.3.1-r0/build/code /home/linkpro/Desktop/fsl-release-bsp/build_imx_x11/tmp/work/cortexa9hf-neon-mx6sx-poky-linux-gnueabi/assimp/3.3.1-r0/build/code/CMakeFiles/assimp.dir/DependInfo.cmake --color=
| make[2]: Leaving directory '/home/linkpro/Desktop/fsl-release-bsp/build_imx_x11/tmp/work/cortexa9hf-neon-mx6sx-poky-linux-gnueabi/assimp/3.3.1-r0/build'
| make -f code/CMakeFiles/assimp.dir/build.make code/CMakeFiles/assimp.dir/build
| make[2]: Entering directory '/home/linkpro/Desktop/fsl-release-bsp/build_imx_x11/tmp/work/cortexa9hf-neon-mx6sx-poky-linux-gnueabi/assimp/3.3.1-r0/build'
| [  0%] Building CXX object code/CMakeFiles/assimp.dir/IFCBoolean.cpp.o
| [  1%] Building CXX object code/CMakeFiles/assimp.dir/IFCReaderGen.cpp.o
| cd /home/linkpro/Desktop/fsl-release-bsp/build_imx_x11/tmp/work/cortexa9hf-neon-mx6sx-poky-linux-gnueabi/assimp/3.3.1-r0/build/code && /home/linkpro/Desktop/fsl-release-bsp/build_imx_x11/tmp/sysroots/x86_64-linux/usr/bin/arm-poky-linux-gnueabi/arm-poky-linux-gnueabi-g++   -DASSIMP_BUILD_DLL_EXPORT -DASSIMP_BUILD_NO_C4D_IMPORTER -DASSIMP_BUILD_NO_OWN_ZLIB -DOPENDDLPARSER_BUILD -DOPENDDL_NO_USE_CPP11 -Dassimp_EXPORTS -I/home/linkpro/Desktop/fsl-release-bsp/build_imx_x11/tmp/work/cortexa9hf-neon-mx6sx-poky-linux-gnueabi/assimp/3.3.1-r0/assimp-3.3.1/. -I/home/linkpro/Desktop/fsl-release-bsp/build_imx_x11/tmp/work/cortexa9hf-neon-mx6sx-poky-linux-gnueabi/assimp/3.3.1-r0/build -I/home/linkpro/Desktop/fsl-release-bsp/build_imx_x11/tmp/work/cortexa9hf-neon-mx6sx-poky-linux-gnueabi/assimp/3.3.1-r0/assimp-3.3.1/include -I/home/linkpro/Desktop/fsl-release-bsp/build_imx_x11/tmp/sysroots/imx6sxsabresd/usr/include -I/home/linkpro/Desktop/fsl-release-bsp/build_imx_x11/tmp/work/cortexa9hf-neon-mx6sx-poky-linux-gnueabi/assimp/3.3.1-r0/assimp-3.3.1/code/../contrib/rapidjson/include -I/home/linkpro/Desktop/fsl-release-bsp/build_imx_x11/tmp/work/cortexa9hf-neon-mx6sx-poky-linux-gnueabi/assimp/3.3.1-r0/assimp-3.3.1/code/../contrib/openddlparser/include -I/home/linkpro/Desktop/fsl-release-bsp/build_imx_x11/tmp/work/cortexa9hf-neon-mx6sx-poky-linux-gnueabi/assimp/3.3.1-r0/assimp-3.3.1/code/..  -march=armv7-a -mfpu=neon  -mfloat-abi=hard -mcpu=cortex-a9  --sysroot=/home/linkpro/Desktop/fsl-release-bsp/build_imx_x11/tmp/sysroots/imx6sxsabresd  -O2 -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=/home/linkpro/Desktop/fsl-release-bsp/build_imx_x11/tmp/work/cortexa9hf-neon-mx6sx-poky-linux-gnueabi/assimp/3.3.1-r0=/usr/src/debug/assimp/3.3.1-r0 -fdebug-prefix-map=/home/linkpro/Desktop/fsl-release-bsp/build_imx_x11/tmp/sysroots/x86_64-linux= -fdebug-prefix-map=/home/linkpro/Desktop/fsl-release-bsp/build_imx_x11/tmp/sysroots/imx6sxsabresd=  -fvisibility-inlines-hidden  -march=armv7-a -mfpu=neon  -mfloat-abi=hard -mcpu=cortex-a9  --sysroot=/home/linkpro/Desktop/fsl-release-bsp/build_imx_x11/tmp/sysroots/imx6sxsabresd -fvisibility=hidden -Wall -std=c++0x -fPIC   -o CMakeFiles/assimp.dir/IFCReaderGen.cpp.o -c /home/linkpro/Desktop/fsl-release-bsp/build_imx_x11/tmp/work/cortexa9hf-neon-mx6sx-poky-linux-gnueabi/assimp/3.3.1-r0/assimp-3.3.1/code/IFCReaderGen.cpp
| cd /home/linkpro/Desktop/fsl-release-bsp/build_imx_x11/tmp/work/cortexa9hf-neon-mx6sx-poky-linux-gnueabi/assimp/3.3.1-r0/build/code && /home/linkpro/Desktop/fsl-release-bsp/build_imx_x11/tmp/sysroots/x86_64-linux/usr/bin/arm-poky-linux-gnueabi/arm-poky-linux-gnueabi-g++   -DASSIMP_BUILD_DLL_EXPORT -DASSIMP_BUILD_NO_C4D_IMPORTER -DASSIMP_BUILD_NO_OWN_ZLIB -DOPENDDLPARSER_BUILD -DOPENDDL_NO_USE_CPP11 -Dassimp_EXPORTS -I/home/linkpro/Desktop/fsl-release-bsp/build_imx_x11/tmp/work/cortexa9hf-neon-mx6sx-poky-linux-gnueabi/assimp/3.3.1-r0/assimp-3.3.1/. -I/home/linkpro/Desktop/fsl-release-bsp/build_imx_x11/tmp/work/cortexa9hf-neon-mx6sx-poky-linux-gnueabi/assimp/3.3.1-r0/build -I/home/linkpro/Desktop/fsl-release-bsp/build_imx_x11/tmp/work/cortexa9hf-neon-mx6sx-poky-linux-gnueabi/assimp/3.3.1-r0/assimp-3.3.1/include -I/home/linkpro/Desktop/fsl-release-bsp/build_imx_x11/tmp/sysroots/imx6sxsabresd/usr/include -I/home/linkpro/Desktop/fsl-release-bsp/build_imx_x11/tmp/work/cortexa9hf-neon-mx6sx-poky-linux-gnueabi/assimp/3.3.1-r0/assimp-3.3.1/code/../contrib/rapidjson/include -I/home/linkpro/Desktop/fsl-release-bsp/build_imx_x11/tmp/work/cortexa9hf-neon-mx6sx-poky-linux-gnueabi/assimp/3.3.1-r0/assimp-3.3.1/code/../contrib/openddlparser/include -I/home/linkpro/Desktop/fsl-release-bsp/build_imx_x11/tmp/work/cortexa9hf-neon-mx6sx-poky-linux-gnueabi/assimp/3.3.1-r0/assimp-3.3.1/code/..  -march=armv7-a -mfpu=neon  -mfloat-abi=hard -mcpu=cortex-a9  --sysroot=/home/linkpro/Desktop/fsl-release-bsp/build_imx_x11/tmp/sysroots/imx6sxsabresd  -O2 -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=/home/linkpro/Desktop/fsl-release-bsp/build_imx_x11/tmp/work/cortexa9hf-neon-mx6sx-poky-linux-gnueabi/assimp/3.3.1-r0=/usr/src/debug/assimp/3.3.1-r0 -fdebug-prefix-map=/home/linkpro/Desktop/fsl-release-bsp/build_imx_x11/tmp/sysroots/x86_64-linux= -fdebug-prefix-map=/home/linkpro/Desktop/fsl-release-bsp/build_imx_x11/tmp/sysroots/imx6sxsabresd=  -fvisibility-inlines-hidden  -march=armv7-a -mfpu=neon  -mfloat-abi=hard -mcpu=cortex-a9  --sysroot=/home/linkpro/Desktop/fsl-release-bsp/build_imx_x11/tmp/sysroots/imx6sxsabresd -fvisibility=hidden -Wall -std=c++0x -fPIC   -o CMakeFiles/assimp.dir/IFCBoolean.cpp.o -c /home/linkpro/Desktop/fsl-release-bsp/build_imx_x11/tmp/work/cortexa9hf-neon-mx6sx-poky-linux-gnueabi/assimp/3.3.1-r0/assimp-3.3.1/code/IFCBoolean.cpp
| [  2%] Building CXX object code/CMakeFiles/assimp.dir/IFCOpenings.cpp.o
| cd /home/linkpro/Desktop/fsl-release-bsp/build_imx_x11/tmp/work/cortexa9hf-neon-mx6sx-poky-linux-gnueabi/assimp/3.3.1-r0/build/code && /home/linkpro/Desktop/fsl-release-bsp/build_imx_x11/tmp/sysroots/x86_64-linux/usr/bin/arm-poky-linux-gnueabi/arm-poky-linux-gnueabi-g++   -DASSIMP_BUILD_DLL_EXPORT -DASSIMP_BUILD_NO_C4D_IMPORTER -DASSIMP_BUILD_NO_OWN_ZLIB -DOPENDDLPARSER_BUILD -DOPENDDL_NO_USE_CPP11 -Dassimp_EXPORTS -I/home/linkpro/Desktop/fsl-release-bsp/build_imx_x11/tmp/work/cortexa9hf-neon-mx6sx-poky-linux-gnueabi/assimp/3.3.1-r0/assimp-3.3.1/. -I/home/linkpro/Desktop/fsl-release-bsp/build_imx_x11/tmp/work/cortexa9hf-neon-mx6sx-poky-linux-gnueabi/assimp/3.3.1-r0/build -I/home/linkpro/Desktop/fsl-release-bsp/build_imx_x11/tmp/work/cortexa9hf-neon-mx6sx-poky-linux-gnueabi/assimp/3.3.1-r0/assimp-3.3.1/include -I/home/linkpro/Desktop/fsl-release-bsp/build_imx_x11/tmp/sysroots/imx6sxsabresd/usr/include -I/home/linkpro/Desktop/fsl-release-bsp/build_imx_x11/tmp/work/cortexa9hf-neon-mx6sx-poky-linux-gnueabi/assimp/3.3.1-r0/assimp-3.3.1/code/../contrib/rapidjson/include -I/home/linkpro/Desktop/fsl-release-bsp/build_imx_x11/tmp/work/cortexa9hf-neon-mx6sx-poky-linux-gnueabi/assimp/3.3.1-r0/assimp-3.3.1/code/../contrib/openddlparser/include -I/home/linkpro/Desktop/fsl-release-bsp/build_imx_x11/tmp/work/cortexa9hf-neon-mx6sx-poky-linux-gnueabi/assimp/3.3.1-r0/assimp-3.3.1/code/..  -march=armv7-a -mfpu=neon  -mfloat-abi=hard -mcpu=cortex-a9  --sysroot=/home/linkpro/Desktop/fsl-release-bsp/build_imx_x11/tmp/sysroots/imx6sxsabresd  -O2 -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=/home/linkpro/Desktop/fsl-release-bsp/build_imx_x11/tmp/work/cortexa9hf-neon-mx6sx-poky-linux-gnueabi/assimp/3.3.1-r0=/usr/src/debug/assimp/3.3.1-r0 -fdebug-prefix-map=/home/linkpro/Desktop/fsl-release-bsp/build_imx_x11/tmp/sysroots/x86_64-linux= -fdebug-prefix-map=/home/linkpro/Desktop/fsl-release-bsp/build_imx_x11/tmp/sysroots/imx6sxsabresd=  -fvisibility-inlines-hidden  -march=armv7-a -mfpu=neon  -mfloat-abi=hard -mcpu=cortex-a9  --sysroot=/home/linkpro/Desktop/fsl-release-bsp/build_imx_x11/tmp/sysroots/imx6sxsabresd -fvisibility=hidden -Wall -std=c++0x -fPIC   -o CMakeFiles/assimp.dir/IFCOpenings.cpp.o -c /home/linkpro/Desktop/fsl-release-bsp/build_imx_x11/tmp/work/cortexa9hf-neon-mx6sx-poky-linux-gnueabi/assimp/3.3.1-r0/assimp-3.3.1/code/IFCOpenings.cpp
| ERROR: oe_runmake failed
| [  3%] Building CXX object code/CMakeFiles/assimp.dir/STEPFileReader.cpp.o
| cd /home/linkpro/Desktop/fsl-release-bsp/build_imx_x11/tmp/work/cortexa9hf-neon-mx6sx-poky-linux-gnueabi/assimp/3.3.1-r0/build/code && /home/linkpro/Desktop/fsl-release-bsp/build_imx_x11/tmp/sysroots/x86_64-linux/usr/bin/arm-poky-linux-gnueabi/arm-poky-linux-gnueabi-g++   -DASSIMP_BUILD_DLL_EXPORT -DASSIMP_BUILD_NO_C4D_IMPORTER -DASSIMP_BUILD_NO_OWN_ZLIB -DOPENDDLPARSER_BUILD -DOPENDDL_NO_USE_CPP11 -Dassimp_EXPORTS -I/home/linkpro/Desktop/fsl-release-bsp/build_imx_x11/tmp/work/cortexa9hf-neon-mx6sx-poky-linux-gnueabi/assimp/3.3.1-r0/assimp-3.3.1/. -I/home/linkpro/Desktop/fsl-release-bsp/build_imx_x11/tmp/work/cortexa9hf-neon-mx6sx-poky-linux-gnueabi/assimp/3.3.1-r0/build -I/home/linkpro/Desktop/fsl-release-bsp/build_imx_x11/tmp/work/cortexa9hf-neon-mx6sx-poky-linux-gnueabi/assimp/3.3.1-r0/assimp-3.3.1/include -I/home/linkpro/Desktop/fsl-release-bsp/build_imx_x11/tmp/sysroots/imx6sxsabresd/usr/include -I/home/linkpro/Desktop/fsl-release-bsp/build_imx_x11/tmp/work/cortexa9hf-neon-mx6sx-poky-linux-gnueabi/assimp/3.3.1-r0/assimp-3.3.1/code/../contrib/rapidjson/include -I/home/linkpro/Desktop/fsl-release-bsp/build_imx_x11/tmp/work/cortexa9hf-neon-mx6sx-poky-linux-gnueabi/assimp/3.3.1-r0/assimp-3.3.1/code/../contrib/openddlparser/include -I/home/linkpro/Desktop/fsl-release-bsp/build_imx_x11/tmp/work/cortexa9hf-neon-mx6sx-poky-linux-gnueabi/assimp/3.3.1-r0/assimp-3.3.1/code/..  -march=armv7-a -mfpu=neon  -mfloat-abi=hard -mcpu=cortex-a9  --sysroot=/home/linkpro/Desktop/fsl-release-bsp/build_imx_x11/tmp/sysroots/imx6sxsabresd  -O2 -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=/home/linkpro/Desktop/fsl-release-bsp/build_imx_x11/tmp/work/cortexa9hf-neon-mx6sx-poky-linux-gnueabi/assimp/3.3.1-r0=/usr/src/debug/assimp/3.3.1-r0 -fdebug-prefix-map=/home/linkpro/Desktop/fsl-release-bsp/build_imx_x11/tmp/sysroots/x86_64-linux= -fdebug-prefix-map=/home/linkpro/Desktop/fsl-release-bsp/build_imx_x11/tmp/sysroots/imx6sxsabresd=  -fvisibility-inlines-hidden  -march=armv7-a -mfpu=neon  -mfloat-abi=hard -mcpu=cortex-a9  --sysroot=/home/linkpro/Desktop/fsl-release-bsp/build_imx_x11/tmp/sysroots/imx6sxsabresd -fvisibility=hidden -Wall -std=c++0x -fPIC   -o CMakeFiles/assimp.dir/STEPFileReader.cpp.o -c /home/linkpro/Desktop/fsl-release-bsp/build_imx_x11/tmp/work/cortexa9hf-neon-mx6sx-poky-linux-gnueabi/assimp/3.3.1-r0/assimp-3.3.1/code/STEPFileReader.cpp
| arm-poky-linux-gnueabi-g++: internal compiler error: Killed (program cc1plus)
| Please submit a full bug report,
| with preprocessed source if appropriate.
| See <http://gcc.gnu.org/bugs.html> for instructions.
| code/CMakeFiles/assimp.dir/build.make:2681: recipe for target 'code/CMakeFiles/assimp.dir/IFCReaderGen.cpp.o' failed
| make[2]: *** [code/CMakeFiles/assimp.dir/IFCReaderGen.cpp.o] Error 4
| make[2]: *** Deleting file 'code/CMakeFiles/assimp.dir/IFCReaderGen.cpp.o'
| make[2]: *** Waiting for unfinished jobs....
| make[2]: Leaving directory '/home/linkpro/Desktop/fsl-release-bsp/build_imx_x11/tmp/work/cortexa9hf-neon-mx6sx-poky-linux-gnueabi/assimp/3.3.1-r0/build'
| CMakeFiles/Makefile2:120: recipe for target 'code/CMakeFiles/assimp.dir/all' failed
| make[1]: *** [code/CMakeFiles/assimp.dir/all] Error 2
| make[1]: Leaving directory '/home/linkpro/Desktop/fsl-release-bsp/build_imx_x11/tmp/work/cortexa9hf-neon-mx6sx-poky-linux-gnueabi/assimp/3.3.1-r0/build'
| Makefile:130: recipe for target 'all' failed
| make: *** [all] Error 2
| ERROR: Function failed: do_compile (log file is located at /home/linkpro/Desktop/fsl-release-bsp/build_imx_x11/tmp/work/cortexa9hf-neon-mx6sx-poky-linux-gnueabi/assimp/3.3.1-r0/temp/log.do_compile.119442)
ERROR: Task (/home/linkpro/Desktop/fsl-release-bsp/sources/meta-fsl-bsp-release/imx/meta-sdk/recipes-graphics/assimp/assimp_3.3.1.bb:do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 3242 tasks of which 3239 didn't need to be rerun and 1 failed.
Summary: 1 task failed:
  /home/linkpro/Desktop/fsl-release-bsp/sources/meta-fsl-bsp-release/imx/meta-sdk/recipes-graphics/assimp/assimp_3.3.1.bb:do_compile
Summary: There was 1 WARNING message shown.
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.
Tags (2)
0 Kudos
4 Replies

2,206 Views
m919040_cheng
Contributor I

All,

In past few day, I met the same problem with Yocto BSP compile, no matter the BSP version of L4.9.11 or L4.9.99 even L4.14.78.

below compile error message:

WARNING: iso-codes-3.75-r0 do_fetch: Failed to fetch URL https://pkg-isocodes.alioth.debian.org/downloads/iso-codes-3.75.tar.xz, attempting MIRRORS if available
WARNING: chrpath-native-0.16-r0 do_fetch: Failed to fetch URL https://alioth.debian.org/frs/download.php/file/3979/chrpath-0.16.tar.gz, attempting MIRRORS if available
WARNING: coreutils-8.27-r0 do_fetch: Failed to fetch URL http://distfiles.gentoo.org/distfiles/coreutils-8.27-man.tar.xz;name=manpages, attempting MIRRORS if available
WARNING: nbench-byte-2.2.3-r0 do_fetch: Failed to fetch URL https://fossies.org/linux/misc/nbench-byte-2.2.3.tar.gz, attempting MIRRORS if available
WARNING: linux-firmware-1_0.0+gitAUTOINC+bf04291309_a0026b646c-r0 do_fetch: Failed to fetch URL https://git.kernel.org/cgit/linux/kernel/git/iwlwifi/linux-firmware.git/plain/iwlwifi-8000C-19.ucode..., attempting MIRRORS if available
WARNING: vlan-1.9-r0 do_fetch: Checksum mismatch for local file /media/eric/OS/imx-yocto-bsp/downloads/vlan_1.9.orig.tar.gz
Cleaning and trying again.
WARNING: vlan-1.9-r0 do_fetch: Renaming /media/eric/OS/imx-yocto-bsp/downloads/vlan_1.9.orig.tar.gz to /media/eric/OS/imx-yocto-bsp/downloads/vlan_1.9.orig.tar.gz_bad-checksum_bd349456f4d44cf065d81b2360922098
WARNING: vlan-1.9-r0 do_fetch: Checksum failure encountered with download of http://vlan.sourcearchive.com/downloads/1.9-3ubuntu9/vlan_1.9.orig.tar.gz - will attempt other sources if available
WARNING: minicom-2.7.1-r0 do_fetch: Failed to fetch URL https://alioth.debian.org/frs/download.php/latestfile/3/minicom-2.7.1.tar.gz, attempting MIRRORS if available
ERROR: gcc-runtime-7.3.0-r0 do_compile: oe_runmake failed
ERROR: gcc-runtime-7.3.0-r0 do_compile: Function failed: do_compile (log file is located at /media/eric/OS/imx-yocto-bsp/build-wayland/tmp/work/aarch64-poky-linux/gcc-runtime/7.3.0-r0/temp/log.do_compile.11131)
ERROR: Logfile of failure stored in: /media/eric/OS/imx-yocto-bsp/build-wayland/tmp/work/aarch64-poky-linux/gcc-runtime/7.3.0-r0/temp/log.do_compile.11131

ERROR: qemu-native-2.10.0-r0 do_populate_sysroot: runstrip: '['strip', '--remove-section=.comment', '--remove-section=.note', '/media/eric/OS/imx-yocto-bsp/build-wayland/tmp/work/x86_64-linux/qemu-native/2.10.0-r0/sysroot-destdir/media/eric/OS/imx-yocto-bsp/build-wayland/tmp/work/x86_64-linux/qemu-native/2.10.0-r0/recipe-sysroot-native/usr/share/qemu/palcode-clipper']' strip command failed with 1 (b"strip: Unable to recognise the format of the input file `/media/eric/OS/imx-yocto-bsp/build-wayland/tmp/work/x86_64-linux/qemu-native/2.10.0-r0/sysroot-destdir/media/eric/OS/imx-yocto-bsp/build-wayland/tmp/work/x86_64-linux/qemu-native/2.10.0-r0/recipe-sysroot-native/usr/share/qemu/palcode-clipper'\n")

Does anyone met same problem when build image? How can solve the problem?

0 Kudos

2,206 Views
joanxie
NXP TechSupport
NXP TechSupport

do you build imx6sx using L4.9.11_1.0.0-ga+mx8-alpha? this bsp is for imx8, if you need to build imx6sx, pls refer to the bsp for imx6sx, you can find them from nxp official website.

i.MX 6SoloX SABRE Development Board|NXP 

the latest version is 4.9.88

0 Kudos

2,206 Views
zhangjiansheng
Contributor II

Hi Joan, 

I followed the guide i.MX_Yocto_Project_User's_Guide_4.9.88 to download and make the 4.9.88 BSP. It seems successful. That is great.  Thank you!

I have another two questions.

1.  But there are 28 warnings like this, does this matter about the BSP compile?

WARNING: libsndfile1-1.0.28-r0 do_fetch: Failed to fetch URL http://www.mega-nerd.com/libsndfile/files/libsndfile-1.0.28.tar.gz, attempting MIRRORS if available
WARNING: iso-codes-3.75-r0 do_fetch: Failed to fetch URL https://pkg-isocodes.alioth.debian.org/downloads/iso-codes-3.75.tar.xz, attempting MIRRORS if available
WARNING: python-native-2.7.13-r1.1 do_fetch: Failed to fetch URL http://www.python.org/ftp/python/2.7.13/Python-2.7.13.tar.xz, attempting MIRRORS if available
WARNING: coreutils-8.27-r0 do_fetch: Failed to fetch URL http://distfiles.gentoo.org/distfiles/coreutils-8.27-man.tar.xz;name=manpages, attempting MIRRORS if available
WARNING: neon-0.30.2-r0 do_fetch: Failed to fetch URL http://www.webdav.org/neon/neon-0.30.2.tar.gz, attempting MIRRORS if available
WARNING: bjam-native-1.64.0-r0 do_fetch: Failed to fetch URL http://downloads.sourceforge.net/project/boost/boost/1.64.0/boost_1_64_0.tar.bz2, attempting MIRRORS if available

2. About the 4.9.11_1.0.0, previous I referred to the 4.9.11 guide i.MX_Yocto_Project_User's_Guide, it includes the IMX6sxsabresd and other IMX6 series. I can't see it is just for imx8 if I don't look at the document revision.  Should NXP update the document for 4.9.11 to specify this?

0 Kudos

2,206 Views
joanxie
NXP TechSupport
NXP TechSupport

1) don't worry about the warning if you bulit successfully

2) the bsp you metioned L4.9.11_1.0.0-ga+mx8-alpha is for mx8, you can tell from the name, if you need 4.9.11 for imx6sx, you can download from nxp official website as below:

i.MX 6SoloX SABRE Development Board|NXP 

 the name is L4.9.11_1.0.0_MX6QDLSOLOX, for how to build, you can refer to the doucment named L4.9.11_1.0.0_LINUX_DOCS

i.MX 6SoloX SABRE Development Board|NXP  

0 Kudos