Sign in
Sign up
Explore
Enterprise
Education
Search
Help
Terms of use
About Us
Explore
Enterprise
Education
Gitee Premium
Gitee AI
AI teammates
Sign in
Sign up
Fetch the repository succeeded.
Donate
Please sign in before you donate.
Cancel
Sign in
Scan WeChat QR to Pay
Cancel
Complete
Prompt
Switch to Alipay.
OK
Cancel
Watch
Unwatch
Watching
Releases Only
Ignoring
27
Star
92
Fork
269
openEuler
/
yocto-meta-openeuler
Code
Issues
23
Pull Requests
12
Wiki
Insights
Pipelines
Service
JavaDoc
PHPDoc
Quality Analysis
Jenkins for Gitee
Tencent CloudBase
Tencent Cloud Serverless
悬镜安全
Aliyun SAE
Codeblitz
SBOM
Don’t show this again
Update failed. Please try again later!
Remove this flag
Content Risk Flag
This task is identified by
as the content contains sensitive information such as code security bugs, privacy leaks, etc., so it is only accessible to contributors of this repository.
【OBMC】openeuler-image-obmc 构建失败
Done
#IB5N6A
Task
otomam
Opened this issue
2024-11-20 10:36
【分支】 master 【环境信息】 主机Ubuntu 23.10 构建环境:oebuild容器 【问题复现步骤】 oebuild generate,机型qemu-aarch64,启用openeuler-obmc特性,执行构建命令 bitbake openeuler-image-obmc 1. phosphor-hwmon 失败: ERROR: phosphor-hwmon-1.0-r1 do_install: No substitution found for 'HW_SENSOR_ID' in file 'xyz.openbmc_project.Hwmon@.service' https://gitee.com/openeuler/yocto-meta-openeuler/commit/b628c59cb2484219bf859457abc3506c0dc76149 该次提交修改了下载目录,并将OPENEULER_DL_DIR路径添加到配方SRC_URI文件查找目录中;  在构建继承了obmc-phosphor-systemd.bbclass的配方时,会去FILESPATH变量中的路径下查找systemd模板文件,原来的FILESPATH中只包含yocto工程中的路径,但是该次改动使得FILESPATH中也包含了源码的存放路径,并在phosphor-hwmon的源码中发现了systemd模板文件,导致在do_install任务中触发了模板的实例化动作并且失败了。    2. bmcweb 失败: ERROR: bmcweb-1.0-r0 do_prepare_recipe_sysroot: The file /usr/include/boost/url.hpp is installed by both boost and boost-url, aborting https://gitee.com/openeuler/yocto-meta-openeuler/commit/1a94ab033124bf87c0966f84bec702028a85863e 该次提交修改了meta-openeuler/dynamic-layers/phosphor-layer/recipes-support/boost/boost_%.bbappend文件,升级boost到1.83.0,但是当前的openbmc layer未适配1.83.0,应保持1.78.0
【分支】 master 【环境信息】 主机Ubuntu 23.10 构建环境:oebuild容器 【问题复现步骤】 oebuild generate,机型qemu-aarch64,启用openeuler-obmc特性,执行构建命令 bitbake openeuler-image-obmc 1. phosphor-hwmon 失败: ERROR: phosphor-hwmon-1.0-r1 do_install: No substitution found for 'HW_SENSOR_ID' in file 'xyz.openbmc_project.Hwmon@.service' https://gitee.com/openeuler/yocto-meta-openeuler/commit/b628c59cb2484219bf859457abc3506c0dc76149 该次提交修改了下载目录,并将OPENEULER_DL_DIR路径添加到配方SRC_URI文件查找目录中;  在构建继承了obmc-phosphor-systemd.bbclass的配方时,会去FILESPATH变量中的路径下查找systemd模板文件,原来的FILESPATH中只包含yocto工程中的路径,但是该次改动使得FILESPATH中也包含了源码的存放路径,并在phosphor-hwmon的源码中发现了systemd模板文件,导致在do_install任务中触发了模板的实例化动作并且失败了。    2. bmcweb 失败: ERROR: bmcweb-1.0-r0 do_prepare_recipe_sysroot: The file /usr/include/boost/url.hpp is installed by both boost and boost-url, aborting https://gitee.com/openeuler/yocto-meta-openeuler/commit/1a94ab033124bf87c0966f84bec702028a85863e 该次提交修改了meta-openeuler/dynamic-layers/phosphor-layer/recipes-support/boost/boost_%.bbappend文件,升级boost到1.83.0,但是当前的openbmc layer未适配1.83.0,应保持1.78.0
Comments (
1
)
Sign in
to comment
Status
Done
Backlog
Doing
Done
Declined
Assignees
Not set
Labels
sig/sig-Yocto
Not set
Projects
Unprojected
Unprojected
Milestones
No related milestones
No related milestones
Pull Requests
None yet
None yet
Successfully merging a pull request will close this issue.
Branches
No related branch
Branches (14)
Tags (7)
master
gitee_pages
openEuler-24.03-LTS
openEuler-25.03
openEuler-24.09
openEuler-22.03-LTS-SP1
openEuler-22.03-LTS-SP4
openEuler-22.03-LTS-SP3
openEuler-23.09
openEuler-22.03-LTS-SP2
openEuler-22.03-LTS
openEuler-23.03
openEuler-22.09
openEuler-21.09
nativesdk-v0.1.3
toolchains-v0.1.8
toolchains-v0.1.7
24.03-lts
llvm-toolchain-v0.1.1
toolchains-v0.1.5
nativesdk-v0.1.2
Planed to start   -   Planed to end
-
Top level
Not Top
Top Level: High
Top Level: Medium
Top Level: Low
Priority
Not specified
Serious
Main
Secondary
Unimportant
Duration
(hours)
参与者(1)
1
https://gitee.com/openeuler/yocto-meta-openeuler.git
git@gitee.com:openeuler/yocto-meta-openeuler.git
openeuler
yocto-meta-openeuler
yocto-meta-openeuler
Going to Help Center
Search
Git 命令在线学习
如何在 Gitee 导入 GitHub 仓库
Git 仓库基础操作
企业版和社区版功能对比
SSH 公钥设置
如何处理代码冲突
仓库体积过大,如何减小?
如何找回被删除的仓库数据
Gitee 产品配额说明
GitHub仓库快速导入Gitee及同步更新
什么是 Release(发行版)
将 PHP 项目自动发布到 packagist.org
Repository Report
Back to the top
Login prompt
This operation requires login to the code cloud account. Please log in before operating.
Go to login
No account. Register