Bitbake配方无法抓取各种文件和目录



我正在做一个定制的poky设置,这似乎给了我一些问题。我已经从branch"dunfell"中重构了poky,并添加了一些层。最初,我移动了所有的图层,包括base poky目录中的图层到一个新目录layers"我重构了blayer .conf以指向这个新位置,并尝试构建core-image-minimal。没有运气。连续得到一些错误,其中db-native (meta/recipes-support/db/db_5.3.28.bb)中的配方在do_install()中失败,其中chown -R root:root…被称为.

在一些无用的混乱之后,我决定删除所有额外的层,以及我自己的自定义层来隔离问题。我现在只剩下bblayer .conf指向我的新图层目录(poky/layers/meta*)中的meta, meta-yocto-bsp和meta-poky。我所知道的一切都需要重构,以确保这个新的图层目录已经(据我所知)得到了处理。我重构的所有东西都是e-init-build-env, .templateconf和blayers.conf.sample.

现在只有这三个层,所有的东西都重构了,我试图再次构建core-image-minimal,但无济于事。我得到了完全相同的错误,在这里删节:

oc/articles/inmemory': Operation not permitted
| chown: changing ownership of '[redacted]/test/build/tmp/work/x86_64-linux/db-native/1_5.3.28-r1/image/[redacted]/test/build/tmp/work/x86_64-linux/db-native/1_5.3.28-r1/recipe-sysroot-native/usr/share/doc/articles': Operation not permitted
| chown: changing ownership of '[redacted]/build/tmp/work/x86_64-linux/db-native/1_5.3.28-r1/image/[redacted]/test/build/tmp/work/x86_64-linux/db-native/1_5.3.28-r1/recipe-sysroot-native/usr/share/doc': Operation not permitted
| chown: changing ownership of '[redacted]/test/build/tmp/work/x86_64-linux/db-native/1_5.3.28-r1/image/[redacted]/test/build/tmp/work/x86_64-linux/db-native/1_5.3.28-r1/recipe-sysroot-native/usr/share': Operation not permitted
| chown: changing ownership of '[redacted]/test/build/tmp/work/x86_64-linux/db-native/1_5.3.28-r1/image/[redacted]/test/build/tmp/work/x86_64-linux/db-native/1_5.3.28-r1/recipe-sysroot-native/usr': Operation not permitted
| chown: changing ownership of '[redacted]/test/build/tmp/work/x86_64-linux/db-native/1_5.3.28-r1/image/[redacted]/test/build/tmp/work/x86_64-linux/db-native/1_5.3.28-r1/recipe-sysroot-native': Operation not permitted
| chown: changing ownership of '[redacted]/test/build/tmp/work/x86_64-linux/db-native/1_5.3.28-r1/image/[redacted]/test/build/tmp/work/x86_64-linux/db-native/1_5.3.28-r1': Operation not permitted
| chown: changing ownership of '[redacted]/test/build/tmp/work/x86_64-linux/db-native/1_5.3.28-r1/image/[redacted]/test/build/tmp/work/x86_64-linux/db-native': Operation not permitted
| chown: changing ownership of '[redacted]/test/build/tmp/work/x86_64-linux/db-native/1_5.3.28-r1/image/[redacted]/test/build/tmp/work/x86_64-linux': Operation not permitted
| chown: changing ownership of '[redacted]/test/build/tmp/work/x86_64-linux/db-native/1_5.3.28-r1/image/[redacted]/test/build/tmp/work': Operation not permitted
| chown: changing ownership of '[redacted]/test/build/tmp/work/x86_64-linux/db-native/1_5.3.28-r1/image/[redacted]/test/build/tmp': Operation not permitted
| chown: changing ownership of '[redacted]/test/build/tmp/work/x86_64-linux/db-native/1_5.3.28-r1/image/[redacted]/test/build': Operation not permitted
| chown: changing ownership of '[redacted]/test/build/tmp/work/x86_64-linux/db-native/1_5.3.28-r1/image/[redacted]/test': Operation not permitted
| chown: changing ownership of '[redacted]/test/build/tmp/work/x86_64-linux/db-native/1_5.3.28-r1/image/[redacted]': Operation not permitted
| chown: changing ownership of '[redacted]/test/build/tmp/work/x86_64-linux/db-native/1_5.3.28-r1/image/[redacted]': Operation not permitted
| chown: changing ownership of '[redacted]/test/build/tmp/work/x86_64-linux/db-native/1_5.3.28-r1/image/space': Operation not permitted
| chown: changing ownership of '[redacted]/test/build/tmp/work/x86_64-linux/db-native/1_5.3.28-r1/image': Operation not permitted
| WARNING: [redacted]/test/build/tmp/work/x86_64-linux/db-native/1_5.3.28-r1/temp/run.do_install.6001:1 exit 1 from 'chown -R root:root [redacted]/test/build/tmp/work/x86_64-linux/db-native/1_5.3.28-r1/image'
| ERROR: Execution of '[redacted]/test/build/tmp/work/x86_64-linux/db-native/1_5.3.28-r1/temp/run.do_install.6001' failed with exit code 1
ERROR: Task (virtual:native:[redacted]/test/layers/meta/recipes-support/db/db_5.3.28.bb:do_install) failed with exit code '1'
NOTE: Tasks Summary: Attempted 392 tasks of which 370 didn't need to be rerun and 1 failed.
Summary: 1 task failed:
virtual:native:[redacted]/test/layers/meta/recipes-support/db/db_5.3.28.bb:do_install
Summary: There was 1 ERROR message shown, returning a non-zero exit code.

作为背景,我的fork poky是这样设置的:

./
.git/
.repo/
bitbake/
build/
contrib/
documentation/
scripts/
layers/
meta-skeleton/
oe-init-build-env*
.gitignore
.templateconf
MEMORIAM
下面是图层目录:
./
meta-openembedded/
meta-poky/
meta-qt5/
meta-raspberrypi/
meta-rpi/
meta-yocto-bsp/
meta/

bblayer .conf如下:

# POKY_BBLAYERS_CONF_VERSION is increased each time build/conf/bblayers.conf
# changes incompatibly
POKY_BBLAYERS_CONF_VERSION = "2"
BBPATH = "${TOPDIR}"
BBFILES ?= ""
BBLAYERS ?= " 
[redacted]/test/layers/meta 
[redacted]/test/layers/meta-poky 
[redacted]/test/layers/meta-yocto-bsp 

我在网上发现了很多类似的问题,尽管许多问题似乎在某种程度上是不同的,所以它不适用(例如网络相关,不同的配方等)。我发现与此直接相关的几个极其相似的问题从未得到回答。

我非常感谢任何愿意帮助我的人!谢谢!

看起来scripts/native-intercept目录是空的?

相关内容

最新更新