2

使用 yocto 构建策略工具包(polkit:存在于 meta-openembedded [branch : pyro] 中)并在构建期间出现以下错误:

Log data follows:
| DEBUG: SITE files ['endian-little', 'bit-64', 'arm-common', 'arm-64', 'common-linux', 'common-glibc', 'aarch64-linux', 'common']
| DEBUG: Executing shell function autotools_preconfigure
| DEBUG: Shell function autotools_preconfigure finished
| DEBUG: Executing python function autotools_aclocals
| DEBUG: SITE files ['endian-little', 'bit-64', 'arm-common', 'arm-64', 'common-linux', 'common-glibc', 'aarch64-linux', 'common']
| DEBUG: Python function autotools_aclocals finished
| DEBUG: Executing shell function do_configure
| cp: cannot stat '/home/user/Music/poky/build/tmp-glibc/work/aarch64-oe-linux/polkit/0.113-r0/recipe-sysroot//usr/share/aclocal/introspection.m4': No such file or directory
| WARNING: /home/user/Music/poky/build/tmp-glibc/work/aarch64-oe-linux/polkit/0.113-r0/temp/run.do_configure.4300:1 exit 1 from 'cp /home/user/Music/poky/build/tmp-glibc/work/aarch64-oe-linux/polkit/0.113-r0/recipe-sysroot/usr/share/aclocal/introspection.m4 /home/user/Music/poky/build/tmp-glibc/work/aarch64-oe-linux/polkit/0.113-r0/polkit-0.113/m4'
| ERROR: Function failed: do_configure (log file is located at /home/user/Music/poky/build/tmp-glibc/work/aarch64-oe-linux/polkit/0.113-r0/temp/log.do_configure.4300)

请告诉我,如何解决这个问题?

4

1 回答 1

0

您在 usr 之前看到一个额外的斜杠 (/) 吗?

...recipe-sysroot//usr/share/aclocal...

这是造成问题,并说没有这样的目录。

修复此问题,检查您设置的任何前缀路径,否则可能是拼写错误。

于 2020-01-07T04:02:19.867 回答