系统是deepin 社区办20.9, 一直出现这个错误:
‘cmake_root’: temp_parser.get_cmake_var(‘MESON_CMAKE_ROOT’)[0],
IndexError: list index out of range
不知怎么解决
Program env found: YES (/usr/bin/env)
Configuring glibconfig.h using configuration
Configuring gtester-report using configuration
Configuring libglib-2.0.so.0.6200.5-gdb.py using configuration
Configuring glib-genmarshal using configuration
Program /home/shell/workspace/imx6ull/100ask_imx6ull-sdk/Buildroot_2020.02.x/output/build/host-libglib2-2.62.5/build/gobject/glib-genmarshal found: YES (/home/shell/workspace/imx6ull/100ask_imx6ull-sdk/Buildroot_2020.02.x/output/build/host-libglib2-2.62.5/build/gobject/glib-genmarshal)
Configuring glib-mkenums using configuration
Program /home/shell/workspace/imx6ull/100ask_imx6ull-sdk/Buildroot_2020.02.x/output/build/host-libglib2-2.62.5/build/gobject/glib-mkenums found: YES (/home/shell/workspace/imx6ull/100ask_imx6ull-sdk/Buildroot_2020.02.x/output/build/host-libglib2-2.62.5/build/gobject/glib-mkenums)
Configuring libgobject-2.0.so.0.6200.5-gdb.py using configuration
Checking if “dlsym() preceding underscores” with dependency -ldl runs: NO (1)
Checking for function “dlerror” with dependency -ldl: YES
Configuring gmoduleconf.h using configuration
Checking if “C_IN in public headers (no arpa/nameser_compat.h needed)” compiles: YES
Checking if “res_query()” links: NO
Checking if “res_query() in -lresolv” links: YES
Library resolv found: YES
Checking if “socket()” links: YES
Checking if “res_init()” links: YES
Checking if “res_nclose()” links: YES
Checking if “res_ndestroy()” links: NO
Checking if “res_ninit()” links: YES
Checking if “res_nquery()” links: YES
Checking for type “struct ip_mreqn” : YES
Checking if “ioctl with request SIOCGIFADDR” compiles: YES
Configuring gnetworking.h using configuration
Configuring gdbus-codegen using configuration
Program /home/shell/workspace/imx6ull/100ask_imx6ull-sdk/Buildroot_2020.02.x/output/build/host-libglib2-2.62.5/build/gio/gdbus-2.0/codegen/gdbus-codegen found: YES (/home/shell/workspace/imx6ull/100ask_imx6ull-sdk/Buildroot_2020.02.x/output/build/host-libglib2-2.62.5/build/gio/gdbus-2.0/codegen/gdbus-codegen)
Configuring config.py using configuration
Found CMake: /usr/bin/cmake (3.22.1)
Appending CXXFLAGS from environment: ‘-O2 -I/home/shell/workspace/imx6ull/100ask_imx6ull-sdk/Buildroot_2020.02.x/output/host/include’
Appending LDFLAGS from environment: [‘-L/home/shell/workspace/imx6ull/100ask_imx6ull-sdk/Buildroot_2020.02.x/output/host/lib’, ‘-Wl,-rpath,/home/shell/workspace/imx6ull/100ask_imx6ull-sdk/Buildroot_2020.02.x/output/host/lib’]
Appending CPPFLAGS from environment: ‘-I/home/shell/workspace/imx6ull/100ask_imx6ull-sdk/Buildroot_2020.02.x/output/host/include’
Traceback (most recent call last):
File “/home/shell/workspace/imx6ull/100ask_imx6ull-sdk/Buildroot_2020.02.x/output/host/lib/python3.8/site-packages/mesonbuild/mesonmain.py”, line 129, in run
return options.run_func(options)
File “/home/shell/workspace/imx6ull/100ask_imx6ull-sdk/Buildroot_2020.02.x/output/host/lib/python3.8/site-packages/mesonbuild/msetup.py”, line 245, in run
app.generate()
File “/home/shell/workspace/imx6ull/100ask_imx6ull-sdk/Buildroot_2020.02.x/output/host/lib/python3.8/site-packages/mesonbuild/msetup.py”, line 159, in generate
self._generate(env)
File “/home/shell/workspace/imx6ull/100ask_imx6ull-sdk/Buildroot_2020.02.x/output/host/lib/python3.8/site-packages/mesonbuild/msetup.py”, line 192, in _generate
intr.run()
File “/home/shell/workspace/imx6ull/100ask_imx6ull-sdk/Buildroot_2020.02.x/output/host/lib/python3.8/site-packages/mesonbuild/interpreter.py”, line 4165, in run
super().run()
File “/home/shell/workspace/imx6ull/100ask_imx6ull-sdk/Buildroot_2020.02.x/output/host/lib/python3.8/site-packages/mesonbuild/interpreterbase.py”, line 412, in run
self.evaluate_codeblock(self.ast, start=1)
File “/home/shell/workspace/imx6ull/100ask_imx6ull-sdk/Buildroot_2020.02.x/output/host/lib/python3.8/site-packages/mesonbuild/interpreterbase.py”, line 436, in evaluate_codeblock
raise e
File “/home/shell/workspace/imx6ull/100ask_imx6ull-sdk/Buildroot_2020.02.x/output/host/lib/python3.8/site-packages/mesonbuild/interpreterbase.py”, line 430, in evaluate_codeblock
self.evaluate_statement(cur)
File “/home/shell/workspace/imx6ull/100ask_imx6ull-sdk/Buildroot_2020.02.x/output/host/lib/python3.8/site-packages/mesonbuild/interpreterbase.py”, line 441, in evaluate_statement
return self.function_call(cur)
File “/home/shell/workspace/imx6ull/100ask_imx6ull-sdk/Buildroot_2020.02.x/output/host/lib/python3.8/site-packages/mesonbuild/interpreterbase.py”, line 788, in function_call
return func(node, posargs, kwargs)
File “/home/shell/workspace/imx6ull/100ask_imx6ull-sdk/Buildroot_2020.02.x/output/host/lib/python3.8/site-packages/mesonbuild/interpreterbase.py”, line 285, in wrapped
return f(*wrapped_args, **wrapped_kwargs)
File “/home/shell/workspace/imx6ull/100ask_imx6ull-sdk/Buildroot_2020.02.x/output/host/lib/python3.8/site-packages/mesonbuild/interpreterbase.py”, line 174, in wrapped
return f(*wrapped_args, **wrapped_kwargs)
File “/home/shell/workspace/imx6ull/100ask_imx6ull-sdk/Buildroot_2020.02.x/output/host/lib/python3.8/site-packages/mesonbuild/interpreter.py”, line 3687, in func_subdir
self.evaluate_codeblock(codeblock)
File “/home/shell/workspace/imx6ull/100ask_imx6ull-sdk/Buildroot_2020.02.x/output/host/lib/python3.8/site-packages/mesonbuild/interpreterbase.py”, line 436, in evaluate_codeblock
raise e
File “/home/shell/workspace/imx6ull/100ask_imx6ull-sdk/Buildroot_2020.02.x/output/host/lib/python3.8/site-packages/mesonbuild/interpreterbase.py”, line 430, in evaluate_codeblock
self.evaluate_statement(cur)
File “/home/shell/workspace/imx6ull/100ask_imx6ull-sdk/Buildroot_2020.02.x/output/host/lib/python3.8/site-packages/mesonbuild/interpreterbase.py”, line 443, in evaluate_statement
return self.assignment(cur)
File “/home/shell/workspace/imx6ull/100ask_imx6ull-sdk/Buildroot_2020.02.x/output/host/lib/python3.8/site-packages/mesonbuild/interpreterbase.py”, line 1064, in assignment
value = self.evaluate_statement(node.value)
File “/home/shell/workspace/imx6ull/100ask_imx6ull-sdk/Buildroot_2020.02.x/output/host/lib/python3.8/site-packages/mesonbuild/interpreterbase.py”, line 441, in evaluate_statement
return self.function_call(cur)
File “/home/shell/workspace/imx6ull/100ask_imx6ull-sdk/Buildroot_2020.02.x/output/host/lib/python3.8/site-packages/mesonbuild/interpreterbase.py”, line 788, in function_call
return func(node, posargs, kwargs)
File “/home/shell/workspace/imx6ull/100ask_imx6ull-sdk/Buildroot_2020.02.x/output/host/lib/python3.8/site-packages/mesonbuild/interpreterbase.py”, line 285, in wrapped
return f(*wrapped_args, **wrapped_kwargs)
File “/home/shell/workspace/imx6ull/100ask_imx6ull-sdk/Buildroot_2020.02.x/output/host/lib/python3.8/site-packages/mesonbuild/interpreterbase.py”, line 285, in wrapped
return f(*wrapped_args, **wrapped_kwargs)
File “/home/shell/workspace/imx6ull/100ask_imx6ull-sdk/Buildroot_2020.02.x/output/host/lib/python3.8/site-packages/mesonbuild/interpreterbase.py”, line 285, in wrapped
return f(*wrapped_args, **wrapped_kwargs)
[Previous line repeated 2 more times]
File “/home/shell/workspace/imx6ull/100ask_imx6ull-sdk/Buildroot_2020.02.x/output/host/lib/python3.8/site-packages/mesonbuild/interpreterbase.py”, line 155, in wrapped
ret = f(*wrapped_args, **wrapped_kwargs)
File “/home/shell/workspace/imx6ull/100ask_imx6ull-sdk/Buildroot_2020.02.x/output/host/lib/python3.8/site-packages/mesonbuild/interpreterbase.py”, line 174, in wrapped
return f(*wrapped_args, **wrapped_kwargs)
File “/home/shell/workspace/imx6ull/100ask_imx6ull-sdk/Buildroot_2020.02.x/output/host/lib/python3.8/site-packages/mesonbuild/interpreter.py”, line 3234, in func_dependency
d = self.dependency_impl(name, display_name, kwargs)
File “/home/shell/workspace/imx6ull/100ask_imx6ull-sdk/Buildroot_2020.02.x/output/host/lib/python3.8/site-packages/mesonbuild/interpreter.py”, line 3281, in dependency_impl
dep = dependencies.find_external_dependency(name, self.environment, kwargs)
File “/home/shell/workspace/imx6ull/100ask_imx6ull-sdk/Buildroot_2020.02.x/output/host/lib/python3.8/site-packages/mesonbuild/dependencies/base.py”, line 2237, in find_external_dependency
d = c()
File “/home/shell/workspace/imx6ull/100ask_imx6ull-sdk/Buildroot_2020.02.x/output/host/lib/python3.8/site-packages/mesonbuild/dependencies/base.py”, line 1111, in init
CMakeDependency.class_cmakeinfo[self.for_machine] = self._get_cmake_info()
File “/home/shell/workspace/imx6ull/100ask_imx6ull-sdk/Buildroot_2020.02.x/output/host/lib/python3.8/site-packages/mesonbuild/dependencies/base.py”, line 1204, in _get_cmake_info
‘cmake_root’: temp_parser.get_cmake_var(‘MESON_CMAKE_ROOT’)[0],
IndexError: list index out of range
make: *** [package/pkg-generic.mk:259:/home/shell/workspace/imx6ull/100ask_imx6ull-sdk/Buildroot_2020.02.x/output/build/host-libglib2-2.62.5/.stamp_configured] 错误 2