完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
我正在尝试升级到 5.15 内核。我试图让我们的元层在元 imx 层之上工作。
我有一个名为 `apt_%.bbappend` 的食谱,它添加了我们的自定义 sources.list 文件。但我一直收到这个错误。 ERROR: Task (/home/bherrera/winYocto5.15/sources/meta-freescale/recipes-bsp/imx-mkimage/imx-boot_1.0.bb:do_compile) failed with exit code '1' ERROR: useradd-winsys-1.0-r0 do_prepare_recipe_sysroot: useradd-winsys: useradd command did not succeed. ERROR: useradd-winsys-1.0-r0 do_prepare_recipe_sysroot: ExecutionError('/home/bherrera/winYocto5.15/build/tmp/work/armv8a-mx8m-poky-linux/useradd-winsys/1.0-r0/temp/run.useradd_sysroot.3443507', 1, None, None) ERROR: Logfile of failure stored in: /home/bherrera/winYocto5.15/build/tmp/work/armv8a-mx8m-poky-linux/useradd-winsys/1.0-r0/temp/log.do_prepare_recipe_sysroot.3443507 ERROR: Task (/home/bherrera/winYocto5.15/sources/meta-winsys/recipes-winsys/useradd/useradd-winsys.bb:do_prepare_recipe_sysroot) failed with exit code '1' ERROR: apt-native-2.4.4-r0 do_install: ExecutionError('/home/bherrera/winYocto5.15/build/tmp/work/x86_64-linux/apt-native/2.4.4-r0/temp/run.do_install.3443553', 1, None, None) ERROR: Logfile of failure stored in: /home/bherrera/winYocto5.15/build/tmp/work/x86_64-linux/apt-native/2.4.4-r0/temp/log.do_install.3443553 Log data follows: | DEBUG: Executing shell function do_install | NOTE: DESTDIR=/home/bherrera/winYocto5.15/build/tmp/work/x86_64-linux/apt-native/2.4.4-r0/image VERBOSE=1 cmake --build /home/bherrera/winYocto5.15/build/tmp/work/x86_64-linux/apt-native/2.4.4-r0/build --target install -- | [1/36] /home/bherrera/winYocto5.15/build/tmp/hosttools/g++ -D_WITH_GETLINE=1 -Dapt_pkg_EXPORTS -I/home/bherrera/winYocto5.15/build/tmp/work/x86_64-linux/apt-native/2.4.4-r0/build/include -I/home/bherrera/winYocto5.15/build/tmp/work/x86_64-linux/apt-native/2.4.4-r0/build/include/apt-pkg -isystem/home/bherrera/winYocto5.15/build/tmp/work/x86_64-linux/apt-native/2.4.4-r0/recipe-sysroot-native/usr/include -O2 -pipe -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -Wall -Wextra -Wcast-align -Wlogical-op -Wredundant-decls -Wmissing-declarations -Wunsafe-loop-optimizations -Wctor-dtor-privacy -Wdisabled-optimization -Winit-self -Wmissing-include-dirs -Wnoexcept -Wsign-promo -Wundef -Wdouble-promotion -Wsuggest-override -Werror=suggest-override -Werror=return-type -std=gnu++17 -MD -MT apt-pkg/CMakeFiles/apt-pkg.dir/tagfile-keys.cc.o -MF apt-pkg/CMakeFiles/apt-pkg.dir/tagfile-keys.cc.o.d -o apt-pkg/CMakeFiles/apt-pkg.dir/tagfile-keys.cc.o -c /home/bherrera/winYocto5.15/build/tmp/work/x86_64-linux/apt-native/2.4.4-r0/build/apt-pkg/tagfile-keys.cc | FAILED: apt-pkg/CMakeFiles/apt-pkg.dir/tagfile-keys.cc.o | /home/bherrera/winYocto5.15/build/tmp/hosttools/g++ -D_WITH_GETLINE=1 -Dapt_pkg_EXPORTS -I/home/bherrera/winYocto5.15/build/tmp/work/x86_64-linux/apt-native/2.4.4-r0/build/include -I/home/bherrera/winYocto5.15/build/tmp/work/x86_64-linux/apt-native/2.4.4-r0/build/include/apt-pkg -isystem/home/bherrera/winYocto5.15/build/tmp/work/x86_64-linux/apt-native/2.4.4-r0/recipe-sysroot-native/usr/include -O2 -pipe -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -Wall -Wextra -Wcast-align -Wlogical-op -Wredundant-decls -Wmissing-declarations -Wunsafe-loop-optimizations -Wctor-dtor-privacy -Wdisabled-optimization -Winit-self -Wmissing-include-dirs -Wnoexcept -Wsign-promo -Wundef -Wdouble-promotion -Wsuggest-override -Werror=suggest-override -Werror=return-type -std=gnu++17 -MD -MT apt-pkg/CMakeFiles/apt-pkg.dir/tagfile-keys.cc.o -MF apt-pkg/CMakeFiles/apt-pkg.dir/tagfile-keys.cc.o.d -o apt-pkg/CMakeFiles/apt-pkg.dir/tagfile-keys.cc.o -c /home/bherrera/winYocto5.15/build/tmp/work/x86_64-linux/apt-native/2.4.4-r0/build/apt-pkg/tagfile-keys.cc | /home/bherrera/winYocto5.15/build/tmp/work/x86_64-linux/apt-native/2.4.4-r0/build/apt-pkg/tagfile-keys.cc:1:10: fatal error: /include/apt-pkg/tagfile-keys.h: No such file or directory | 1 | #include "/include/apt-pkg/tagfile-keys.h" | | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | compilation terminated. | ninja: build stopped: subcommand failed. | WARNING: exit code 1 from a shell command. ERROR: Task (virtual:native:/home/bherrera/winYocto5.15/sources/poky/meta/recipes-devtools/apt/apt_2.4.4.bb:do_install) failed with exit code '1' ERROR: chromium-ozone-wayland-96.0.4664.110-r0 do_compile: ExecutionError('/home/bherrera/winYocto5.15/build/tmp/work/armv8a-mx8m-poky-linux/chromium-ozone-wayland/96.0.4664.110-r0/temp/run.do_compile.3443508', 1, None, None) 不管怎样,我们添加的配方具有以下代码。 FILESEXTRAPATHS:prepend := "${THISDIR}/${BPN}:" FILES:${PN} = "/var/* /usr/* /etc/*" SRC_URI += "file://winsys-20.list" do_install:append() { install -m 0644 ${WORKDIR}/winsys-20.list ${D}${sysconfdir}/apt/sources.list.d/ } 从清单上看,这是我们正在使用的 meta-imx 和 poky 修订版。这些与 linux-imx 5.15.32 项目的默认清单中的相同。 我似乎找不到解决方案。我怀疑 Poky APT 和 meta-imx 之间存在兼容性问题。我尝试将 poky 版本更改为更新的版本,但随后 meta-imx 层的很多东西都崩溃了。 |
|
相关推荐
|
|
只有小组成员才能发言,加入小组>>
1932个成员聚集在这个小组
加入小组我的项目我做主,使用GN+Ninja来完成构建系统(VSCode开发RT106X)
36420 浏览 0 评论
NXP IMX8应用处理器快速入门必备:技巧、使用、设计指南
4860 浏览 1 评论
6107 浏览 1 评论
6817 浏览 0 评论
NXP i.MX6UL开发板(linux系统烧录+规格+硬件+模块移植)使用手册
4248 浏览 0 评论
645浏览 2评论
求助,S32G上Core M启动后如何让Core A在Flash指定位置加载uboot?
641浏览 2评论
ESP32-WROVER-IE + LAN8720以太网,GPIO0电压只有1.6v,无法正常进入spi flash boot模式如何解决?
643浏览 2评论
求分享适用于PN7160 Android的NFC工厂测试应用程序
729浏览 2评论
844浏览 2评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-12-23 02:02 , Processed in 1.147554 second(s), Total 75, Slave 58 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号