11 Star 0 Fork 12

src-openEuler / debugedit

 / 详情

debugedit命令目录与find-debuginfo.sh不完全一致,导致find-debuginfo.sh可能无法调用到debugedit

已完成
缺陷
创建于  
2022-09-07 12:03

优先级:

次要

详细描述:

debugedit包含两个关键组件:debugedit、find-debuginfo.sh,rpmbuild会调用find-debuginfo.sh生成debuginfo文件,而find-debuginfo.sh会在脚本所在目录查找debugedit命令,并调用。

当前find-debuginfo.sh存在于/usr/bin目录,并有/usr/lib/rpm/find-debuginfo.sh的软链接指向/usr/bin/find-debuginfo.sh。而debugedit只存在于/usr/bin目录。

如果某个软件包硬编码调用/usr/lib/rpm/find-debuginfo.sh,会出现无法找到/usr/lib/rpm/debugedit的问题。

原因分析:

【是否新引入rpm包,是否进行了安全编译选项扫描】

【定位分析】(有效问题请“先对原有功能进行描述,重点描述与当前故障现象相关的技术点、以及缺陷出现的触发条件、错误出现的函数等”;非问题“需要澄清技术细节,描述技术实现原理以及当前现象合理性的解释”;重复问题请“说明重复问题单号”)

软件包硬编码调用/usr/lib/rpm/find-debuginfo.sh,知会从当前目录搜索debugedit,当前目录下没有debugedit文件,因此出现失败。

【对外部(配置、头文件、外部函数)是否有影响】

评论 (1)

peulerosci 创建了缺陷

Hi peulerosci, 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: Base-service, and any of the maintainers: @syyhao , @zhujianwei001 , @Monday , @谢志鹏 , @hexiaowen , @licunlong , @chenjiayi , @xujing , @const

登录 后才可以发表评论

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

搜索帮助