busybox构建问题

版本:

docker:openubmc/ubuntu:24.04.2_25.09
bingo:0.6.80
conan:2.13.0

构建busybox流程如下:

cd conan_index/recipes2/busybox/all

conan create . -pr profile.ini --version 1.34.0 --user=openubmc --channel=stable

更改manifest.yml为:
debug_dependencies:

  • conan: busybox/1.34.0@openUBMC.release/stable
    action: delete

执行bingo build -sc qemu/bingo build报错如下

提问:
1,为什么会报错,如何解决
2,busybox能否bingo build -sc qemu,在仿真环境运行

  1. 更改manifest.yml有误:debug_dependencies:
    • conan: busybox
      action: delete 即可
  2. 社区当然可以使用busybox,版本号需要维护为1.34.1

我这边显示没有1.34.1

git clone https://gitcode.com/openUBMC/conan_index.git

cd conan_index/recipes2/busybox/all

conan create . --name=busybox --version=1.34.0 --user=openubmc --channel=release --profile=profile.ini

配置 manifest.yml,增加 debug_dependencies 配置

debug_dependencies:
- conan: busybox/1.34.0@openUBMC.release/stable

以上是正确步骤,可以比对下

完全按照你的步骤来做了,manifest只更改了manifest.yml

微信图片_2025-11-13_170450_919

依然报错如下

使用bingo build不更改manifest.yml是可以构建成功的

manifest.yml去掉action: delete

请问一下,
debug_dependencies:

  • conan: busybox/1.34.0@openUBMC.release/stable
    这样配置在执行release出包的时候,bingo build -b openUBMC -bt release 遇到过把busybox编译进去的问题吗?

1.如果想使用busybox,在conan_index将busybox制作一个1.34.1版本

2.如果不想使用busybox,在manifest.yml文件配置

debug_dependencies:

conan: busybox

action:delete

也可在重定义busybox版本,

debug_dependencies:

conan: busybox/xxx(版本)

overwrite: true

  1. debug_dependencies 跟 hpm包和组件的build_type(debug、release) 不是一个概念。
  2. debug_dependencies 是在个人构建调试场景下使用的,即执行bingo build命令(bingo build -t personal), 执行 bingo build -h 可以查看支持的target
-t TARGET, --target TARGET
                        构建目标,请查看build/target目录, 支持的目标:
                        install_sdk
                        personal
                        publish
                        app
  1. 如果是产品发布,请使用bingo build -t publish -bt release

我当前的问题解决了,因为我之前是改的原本yml文件的busybox

现在把

debug_dependencies:

  • conan: busybox/1.34.0@openUBMC.release/stable
    action: delete

直接加到signature下,就可以了