114 Star 0 Fork 3

src-openEuler / xdelta

 / 详情

【23.09 round2】【arm/x86】xdelta自编译失败

已取消
缺陷
创建于  
2023-09-04 17:25

【环境信息】
软件信息:
1) OS版本及分支:openEuler 23.09
2) 内核信息:openEuler 6.4.0-3.0.0.11.oe2309

【操作步骤】
1、yumdownloader --source xdelta
2、rpm -i xdelta-3.1.0-7.oe2309.src.rpm
3、cd ~/rpmbuild/SPECS/
4、yum builddep xdelta.spec
5、rpmbuild -ba xdelta.spec
输入图片说明

【预期结果】编译成功
【实际结果】编译失败
【附件】
[source]
name=source
baseurl=http://121.36.84.172/dailybuild/EBS-openEuler-23.09/rc2_openeuler-2023-08-30-23-34-40/source/
enabled=1
gpgcheck=1
gpgkey=http://121.36.84.172/dailybuild/EBS-openEuler-23.09/rc2_openeuler-2023-08-30-23-34-40/source/RPM-GPG-KEY-openEuler

[everything]
name=everything
baseurl=http://121.36.84.172/dailybuild/EBS-openEuler-23.09/rc2_openeuler-2023-08-30-23-34-40/everything/$basearch/
enabled=1
gpgcheck=1
gpgkey=http://121.36.84.172/dailybuild/EBS-openEuler-23.09/rc2_openeuler-2023-08-30-23-34-40/everything/$basearch/RPM-GPG-KEY-openEuler

[epol]
name=epol
baseurl=http://121.36.84.172/dailybuild/EBS-openEuler-23.09/rc2_openeuler-2023-08-30-23-34-40/EPOL/main/$basearch/
enabled=1
gpgcheck=1
gpgkey=http://121.36.84.172/dailybuild/EBS-openEuler-23.09/rc2_openeuler-2023-08-30-23-34-40/OS/$basearch/RPM-GPG-KEY-openEuler

评论 (3)

张鹭 创建了缺陷

Hi zhanglu626, 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: Programming-language, and any of the maintainers: @薄皮小笼包 , @Charlie_Li , @algorithmofdish , @lyn , @caodongxia

openeuler-ci-bot 添加了
 
sig/Programming-lang
标签
张鹭 负责人设置为caodongxia
张鹭 计划截止日期设置为2023-09-06
张鹭 计划开始日期设置为2023-09-04
张鹭 优先级设置为次要
张鹭 里程碑设置为openEuler-23.09-round-2

自编译要在非root用户下运行
输入图片说明
上图左侧为非root用户下运行自编译,是成功的。右侧在root用户下运行,出现了issue中提到的失败。
原因:root用户下的no_output用例调用了system('xdelta3 -q -f -e'),在root用户下才会执行成功。对比如下图:
输入图片说明
而测试用例期望的结果是失败。所以,自编译要在非root用户下进行

王歌 任务状态待办的 修改为已完成

在非root用户下编译成功
输入图片说明

张鹭 任务状态已完成 修改为已取消

登录 后才可以发表评论

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

搜索帮助

344bd9b3 5694891 D2dac590 5694891