19 Star 63 Fork 169

openEuler / yocto-meta-openeuler

 / 详情

master 目前 devtool modify linux-openeuler 存在报错

待办的
缺陷
创建于  
2024-05-18 01:29

【标题描述】能够简要描述问题:说明什么场景下,做了什么操作,出现什么问题(尽量使用正向表达方式)

一、缺陷信息

内核信息:
5.10
缺陷归属组件:
meta-openeuler
缺陷归属的版本:
master: a47949c4d05bfa362723fe2ceda7de6d87a31db2
缺陷简述:
devtool modify 失败
【环境信息】
硬件信息
默认 oebuild generate 配置
qemu-aarch64,未开启其他 features
软件信息
oebuild v0.0.45.5
ubuntu 22.04 indocker 构建
网络信息
\

【问题复现步骤】,请描述具体的操作步骤

oebuild bitbake
devtool modify linux-openeuler

【实际结果】,请描述出问题的结果和影响
在 devtool 内部处理脚本中报错
【其他相关附件信息】

输入图片说明

[openeuler@thinkbook-virtual-machine qemu-aarch64]$ devtool modify linux-openeuler
NOTE: Starting bitbake server...
INFO: Creating workspace layer in /home/openeuler/build/qemu-aarch64/workspace
Loading cache: 100% |                                                                                                                                                                         | ETA:  --:--:--
Loaded 0 entries from dependency cache.
Parsing recipes: 100% |########################################################################################################################################################################| Time: 0:04:55
Parsing of 2633 .bb files complete (0 cached, 2633 parsed). 4162 targets, 411 skipped, 0 masked, 0 errors.
INFO: SRC_URI contains some conditional appends/prepends - will create branches to represent these
NOTE: Resolving any missing task queue dependencies

Build Configuration:
BB_VERSION           = "2.0.0"
BUILD_SYS            = "x86_64-linux"
NATIVELSBSTRING      = "openeuler-23.09"
TARGET_SYS           = "aarch64-openeuler-linux"
MACHINE              = "qemu-aarch64"
DISTRO               = "openeuler"
DISTRO_VERSION       = "24.03-LTS"
TUNE_FEATURES        = "aarch64"
TARGET_FPU           = ""
EXTERNAL_TOOLCHAIN   = "/usr1/openeuler/gcc/openeuler_gcc_arm64le"
EXTERNAL_TARGET_SYS  = "aarch64-openeuler-linux-gnu"
GCC_VERSION          = "12.3.1"
OPENEULER_TOOLCHAIN_VERSION = "12.3.1"
meta                 = "HEAD:603b1062776bb70321f790db715ef51b305d52e0"
meta-oe              
meta-python          
meta-networking      
meta-filesystems     = "HEAD:a82d92c8a6525da01524bf8f4a60bf6b35dcbb3d"
meta-openeuler       
meta-openeuler-bsp   = "master:369dd5fe4f4d48cf84d36f99d4ad4a6244d0abf0"
workspace            = "<unknown>:<unknown>"

Initialising tasks: 100% |#####################################################################################################################################################################| Time: 0:00:01
Sstate summary: Wanted 13 Local 0 Mirrors 0 Missed 13 Current 0 (0% match, 0% complete)
NOTE: Executing Tasks
ERROR: Error executing a python function in exec_func_python() autogenerated:

The stack trace of python calls that resulted in this exception/failure was:
File: 'exec_func_python() autogenerated', lineno: 2, function: <module>
     0001:
 *** 0002:devtool_post_patch(d)
     0003:
File: '/usr1/openeuler/src/yocto-poky/meta/classes/devtool-source.bbclass', lineno: 169, function: devtool_post_patch
     0165:
     0166:python devtool_post_patch() {
     0167:    import shutil
     0168:    tempdir = d.getVar('DEVTOOL_TEMPDIR')
 *** 0169:    with open(os.path.join(tempdir, 'srcsubdir'), 'r') as f:
     0170:        srcsubdir = f.read()
     0171:    with open(os.path.join(tempdir, 'initial_rev'), 'r') as f:
     0172:        initial_rev = f.read()
     0173:
Exception: FileNotFoundError: [Errno 2] No such file or directory: '/home/openeuler/build/qemu-aarch64/tmp/work/qemu_aarch64-openeuler-linux/linux-openeuler/5.10-r0/devtooltmp-jskyhpcv/srcsubdir'

ERROR: Logfile of failure stored in: /home/openeuler/build/qemu-aarch64/tmp/work/qemu_aarch64-openeuler-linux/linux-openeuler/5.10-r0/devtooltmp-jskyhpcv/temp/log.do_patch.7861
Setscene tasks: 13 of 13
Currently  1 running tasks (45 of 63)  69% |################################################################################################################                                                 |
0: pkgconfig-native-0.29.2-r0 do_configure - 35s (pid 7132)

缺陷详情参考链接:

缺陷分析指导链接:

评论 (2)

huangyan 创建了缺陷

Hi huangyan_jrlc, welcome to the openEuler Community.
I'm the Bot here serving you. You can find the instructions on how to interact with me at Here.
If you have any questions, please contact the SIG: sig-Yocto, and any of the maintainers: @ilisimin , @fanglinxu , @Wayne Ren

openeuler-ci-bot 添加了
 
sig/sig-Yocto
标签
huangyan 修改了描述
huangyan 修改了描述
# the following tasks in kernel-yocto.bbclass does not work for openeuler
deltask do_validate_branches
deltask do_kernel_checkout

尝试移除 linux-openeuler.inc 中的 deltask 后 devtool modify 成功,如果要正常使用 devtool 可能需要在这里做一些改动

登录 后才可以发表评论

状态
负责人
项目
里程碑
Pull Requests
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
开始日期   -   截止日期
-
置顶选项
优先级
预计工期 (小时)
参与者(2)
5329419 openeuler ci bot 1632792936
1
https://gitee.com/openeuler/yocto-meta-openeuler.git
git@gitee.com:openeuler/yocto-meta-openeuler.git
openeuler
yocto-meta-openeuler
yocto-meta-openeuler

搜索帮助