Hello all,
I am beginner in Toradex and Yocto project, during image construction i recive these errors!
VirtualBox:~/MT/toradex/build$ bitbake -k angstrom-lxde-imageWARNING: /home/luc/MT/toradex/build/../layers/openembedded-core/meta/lib/oe/maketype.py:99: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
if not isinstance(obj, collections.Callable):
Loading cache: 100% |############################################| Time: 0:00:01
Loaded 3416 entries from dependency cache.
WARNING: No recipes available for:
/home/luc/MT/toradex/build/../layers/meta-jetson-tk1/recipes-graphics/mesa/mesa_11.1.1.bbappend
/home/luc/MT/toradex/build/../layers/meta-angstrom/recipes-tweaks/ecj/ecj-initial-native.bbappend
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-angstrom-linux-gnueabi"
MACHINE = "colibri-imx6"
DISTRO = "angstrom"
DISTRO_VERSION = "v2016.12"
TUNE_FEATURES = "arm armv7a vfp thumb neon callconvention-hard"
TARGET_FPU = "hard"
meta-angstrom = "HEAD:24b75bcfbcdc05e6db95e90ba11ca7ee2236934a"
meta-toradex-nxp = "HEAD:df9c83c20b21e5a64b3315672a52877af34d18e5"
meta-freescale = "HEAD:05681fdf8298bb441c15135eae424c7601b07e98"
meta-freescale-3rdparty = "HEAD:e55167c3c2770c07a475342f99cc2a3a23fbfa0c"
meta-toradex-tegra = "HEAD:645c9e54cd35a8c33a4a1ee66c11a82784148d56"
meta-jetson-tk1 = "HEAD:e8b87fe8da7c6fcffa37ab245f50082953cc1ee1"
meta-toradex-bsp-common = "HEAD:8a7f5e352d1fc651e46fd6e8bb50f8be7623e1ee"
meta-linaro-toolchain = "HEAD:5d2cb685217794293ea2bab18d7e62019c329d06"
meta-oe
meta-efl
meta-gpe
meta-gnome
meta-xfce
meta-initramfs
meta-systemd
meta-networking
meta-multimedia
meta-python = "HEAD:b40116cf457b88a2db14b86fda9627fb34d56ae6"
meta-lxde = "HEAD:1bd36a4d0f7e1e9fdea9c4c991188bc1dc9da421"
meta-browser = "HEAD:1569eeb9cc1b87632abbf35fbb05f4ac4eeb3987"
meta-qt4 = "HEAD:f389368dc86e745df14cab9eeb9a94bc02bd273e"
meta-qt5 = "HEAD:2c9f0e4eb0e9097f6f872ec1e1d81768a8ab5f1b"
meta-freescale-distro = "HEAD:cd5c7a2539f40004f74126e9fdf08254fd9a6390"
meta-toradex-demos = "HEAD:e5912482be3873414fe5b18df06505b352038cbd"
meta = "HEAD:7b7cbba0bb93893029118e5798ec5831838a5bd9"
Initialising tasks: 100% |#######################################| Time: 0:00:18
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
ERROR: imx-loader-native-git-r1 do_compile: oe_runmake failed
ERROR: imx-loader-native-git-r1 do_compile: Function failed: do_compile (log file is located at /home/luc/MT/toradex/build/tmp-glibc/work/x86_64-linux/imx-loader-native/git-r1/temp/log.do_compile.22128)
ERROR: Logfile of failure stored in: /home/luc/MT/toradex/build/tmp-glibc/work/x86_64-linux/imx-loader-native/git-r1/temp/log.do_compile.22128
Log data follows:
| DEBUG: Executing shell function do_compile
| NOTE: make -j 2 CC=gcc -m32 CXX=g++ -m32
| ERROR: oe_runmake failed
| gcc -m32 -o imx_usb imx_usb.o imx_sdp.o -L/home/luc/MT/toradex/build/tmp-glibc/sysroots/x86_64-linux/usr/lib -L/home/luc/MT/toradex/build/tmp-glibc/sysroots/x86_64-linux/lib -Wl,-rpath-link,/home/luc/MT/toradex/build/tmp-glibc/sysroots/x86_64-linux/usr/lib -Wl,-rpath-link,/home/luc/MT/toradex/build/tmp-glibc/sysroots/x86_64-linux/lib -Wl,-rpath,/home/luc/MT/toradex/build/tmp-glibc/sysroots/x86_64-linux/usr/lib -Wl,-rpath,/home/luc/MT/toradex/build/tmp-glibc/sysroots/x86_64-linux/lib -Wl,-O1 `pkg-config --libs libusb-1.0`
| /usr/bin/ld: skipping incompatible /home/luc/MT/toradex/build/tmp-glibc/sysroots/x86_64-linux/lib/libusb-1.0.so when searching for -lusb-1.0
| /usr/bin/ld: skipping incompatible /home/luc/MT/toradex/build/tmp-glibc/sysroots/x86_64-linux/lib/libusb-1.0.a when searching for -lusb-1.0
| /usr/bin/ld: skipping incompatible /home/luc/MT/toradex/build/tmp-glibc/sysroots/x86_64-linux/lib/libusb-1.0.so when searching for -lusb-1.0
| /usr/bin/ld: skipping incompatible /home/luc/MT/toradex/build/tmp-glibc/sysroots/x86_64-linux/lib/libusb-1.0.a when searching for -lusb-1.0
| /usr/bin/ld: cannot find -lusb-1.0
| collect2: error: ld returned 1 exit status
| Makefile:27: recipe for target 'imx_usb' failed
| make: *** [imx_usb] Error 1
| WARNING: exit code 1 from a shell command.
| ERROR: Function failed: do_compile (log file is located at /home/luc/MT/toradex/build/tmp-glibc/work/x86_64-linux/imx-loader-native/git-r1/temp/log.do_compile.22128)
ERROR: Task (virtual:native:/home/luc/MT/toradex/build/../layers/meta-toradex-nxp/recipes-devtools/imx-loader/imx-loader_git.bb:do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 7236 tasks of which 7235 didn't need to be rerun and 1 failed.
NOTE: Writing buildhistory
Summary: 1 task failed:
virtual:native:/home/luc/MT/toradex/build/../layers/meta-toradex-nxp/recipes-devtools/imx-loader/imx-loader_git.bb:do_compile
Summary: There were 2 WARNING messages shown.
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.
Any thoughts as to what might be causing the build to fail? Thanks!!