V853编译buildroot的meson时报错,显示成功了但是调用失败
-
编译buildroot的时候,显示meson已经安装成功了:
>>> host-meson 0.49.0 Installing to host directory ... Installing meson script to /home/oushaojun/tina_linux_sdk/out/v853/vision/buildroot/buildroot/host/bin
后面开始使用meson编译libinput,结果显示meson安装是失败的,有点不知道什么情况了
>>> libinput 1.12.5 Configuring rm -rf /home/oushaojun/tina_linux_sdk/out/v853/vision/buildroot/buildroot/build/libinput-1.12.5//build mkdir -p /home/oushaojun/tina_linux_sdk/out/v853/vision/buildroot/buildroot/build/libinput-1.12.5//build sed -e "s%@TARGET_CROSS@%/home/oushaojun/tina_linux_sdk/out/v853/vision/buildroot/buildroot/host/bin/arm-linux-gnueabihf-%g" -e "s%@TARGET_ARCH@%arm%g" -e "s%@TARGET_CPU@%cortex-a7%g" -e "s%@TARGET_ENDIAN@%"little"%g" -e "s%@TARGET_CFLAGS@%`printf '"%s", ' -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os `%g" -e "s%@TARGET_LDFLAGS@%%g" -e "s%@TARGET_CXXFLAGS@%`printf '"%s", ' -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os `%g" -e "s%@HOST_DIR@%/home/oushaojun/tina_linux_sdk/out/v853/vision/buildroot/buildroot/host%g" package/meson/cross-compilation.conf.in > /home/oushaojun/tina_linux_sdk/out/v853/vision/buildroot/buildroot/build/libinput-1.12.5//build/cross-compilation.conf PATH="/home/oushaojun/tina_linux_sdk/out/v853/vision/buildroot/buildroot/host/bin:/home/oushaojun/tina_linux_sdk/out/v853/vision/buildroot/buildroot/host/sbin:/home/oushaojun/.local/bin:/home/oushaojun/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/home/oushaojun/repo:/snap/bin" PYTHONNOUSERSITE=y /home/oushaojun/tina_linux_sdk/out/v853/vision/buildroot/buildroot/host/bin/meson --prefix=/usr --libdir=lib --default-library=shared --buildtype=release --cross-file=/home/oushaojun/tina_linux_sdk/out/v853/vision/buildroot/buildroot/build/libinput-1.12.5//build/cross-compilation.conf -Dtests=false -Dlibwacom=false -Ddocumentation=false -Ddebug-gui=false /home/oushaojun/tina_linux_sdk/out/v853/vision/buildroot/buildroot/build/libinput-1.12.5/ /home/oushaojun/tina_linux_sdk/out/v853/vision/buildroot/buildroot/build/libinput-1.12.5//build Traceback (most recent call last): File "/home/oushaojun/tina_linux_sdk/out/v853/vision/buildroot/buildroot/host/bin/meson", line 11, in <module> load_entry_point('meson==0.49.0', 'console_scripts', 'meson')() File "/home/oushaojun/tina_linux_sdk/out/v853/vision/buildroot/buildroot/host/lib/python3.7/site-packages/mesonbuild/mesonmain.py", line 294, in main return run(sys.argv[1:], launcher) File "/home/oushaojun/tina_linux_sdk/out/v853/vision/buildroot/buildroot/host/lib/python3.7/site-packages/mesonbuild/mesonmain.py", line 285, in run return CommandLineParser().run(args) File "/home/oushaojun/tina_linux_sdk/out/v853/vision/buildroot/buildroot/host/lib/python3.7/site-packages/mesonbuild/mesonmain.py", line 73, in __init__ from . import mconf, mdist, minit, minstall, mintro, msetup, mtest, rewriter, msubprojects, munstable_coredata, mcompile, mdevenv File "/home/oushaojun/tina_linux_sdk/out/v853/vision/buildroot/buildroot/host/lib/python3.7/site-packages/mesonbuild/mconf.py", line 23, in <module> from . import build File "/home/oushaojun/tina_linux_sdk/out/v853/vision/buildroot/buildroot/host/lib/python3.7/site-packages/mesonbuild/build.py", line 28, in <module> from . import coredata File "/home/oushaojun/tina_linux_sdk/out/v853/vision/buildroot/buildroot/host/lib/python3.7/site-packages/mesonbuild/coredata.py", line 25, in <module> from .mesonlib import ( ImportError: cannot import name 'default_datadir' from 'mesonbuild.mesonlib' (/home/oushaojun/tina_linux_sdk/out/v853/vision/buildroot/buildroot/host/lib/python3.7/site-packages/mesonbuild/mesonlib/__init__.py) make[1]: *** [package/pkg-generic.mk:231: /home/oushaojun/tina_linux_sdk/out/v853/vision/buildroot/buildroot/build/libinput-1.12.5/.stamp_configured] Error 1 make: *** [Makefile:96: _all] Error 2 make: Leaving directory '/home/oushaojun/tina_linux_sdk/buildroot/buildroot-201902' ERROR: build buildroot Failed INFO: build_buildroot_rootfs failed
直接调用meson是失败的:
/home/oushaojun/tina_linux_sdk/out/v853/vision/buildroot/buildroot/host/bin/meson -v Traceback (most recent call last): File "/home/oushaojun/tina_linux_sdk/out/v853/vision/buildroot/buildroot/host/bin/meson", line 11, in <module> load_entry_point('meson==0.49.0', 'console_scripts', 'meson')() File "/home/oushaojun/tina_linux_sdk/out/v853/vision/buildroot/buildroot/host/lib/python3.7/site-packages/mesonbuild/mesonmain.py", line 294, in main return run(sys.argv[1:], launcher) File "/home/oushaojun/tina_linux_sdk/out/v853/vision/buildroot/buildroot/host/lib/python3.7/site-packages/mesonbuild/mesonmain.py", line 285, in run return CommandLineParser().run(args) File "/home/oushaojun/tina_linux_sdk/out/v853/vision/buildroot/buildroot/host/lib/python3.7/site-packages/mesonbuild/mesonmain.py", line 73, in __init__ from . import mconf, mdist, minit, minstall, mintro, msetup, mtest, rewriter, msubprojects, munstable_coredata, mcompile, mdevenv File "/home/oushaojun/tina_linux_sdk/out/v853/vision/buildroot/buildroot/host/lib/python3.7/site-packages/mesonbuild/mconf.py", line 23, in <module> from . import build File "/home/oushaojun/tina_linux_sdk/out/v853/vision/buildroot/buildroot/host/lib/python3.7/site-packages/mesonbuild/build.py", line 28, in <module> from . import coredata File "/home/oushaojun/tina_linux_sdk/out/v853/vision/buildroot/buildroot/host/lib/python3.7/site-packages/mesonbuild/coredata.py", line 25, in <module> from .mesonlib import ( ImportError: cannot import name 'default_datadir' from 'mesonbuild.mesonlib' (/home/oushaojun/tina_linux_sdk/out/v853/vision/buildroot/buildroot/host/lib/python3.7/site-packages/mesonbuild/mesonlib/__init__.py)
有大佬帮忙看看吗
Copyright © 2023 深圳全志在线有限公司 粤ICP备2021084185号 粤公网安备44030502007680号