7 Star 0 Fork 3

src-openEuler / tcmu-runner

 / 详情

【EBS】tcmu-runner build problem in openEuler:23.03:Epol

已验收
缺陷
创建于  
2023-02-24 15:08

编译日志见附件

评论 (24)

dongjie110 创建了缺陷
dongjie110 上传了附件tcmu-runner_x86_64_cbs.984651.txt
展开全部操作日志

Hi dongjie110, 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: Storage, and any of the maintainers: @zero , @liuzhiqiang , @linfeilong835 , @louhongxiang , @openeuler-ci-bot

openeuler-ci-bot 添加了
 
sig/Storage
标签
dongjie110 负责人设置为liuzhiqiang

看错像是缺少glusterfs的库,编译环境有安装吗?

%if %{with glfs}
BuildRequires: glusterfs-api-devel
Requires(pre): glusterfs-api
%endif

这个要怎么解决?

@zhangdaolong, 你本地构建看看

输入图片说明

上图是obs构建的日志
EBS构建日志中出现了cmake兼容问题
2023-02-24 09:07:02 + exit 0
2023-02-24 09:07:02 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.aPkkYz
2023-02-24 09:07:02 + umask 022
2023-02-24 09:07:02 + cd /home/lkp/rpmbuild/BUILD
2023-02-24 09:07:02 + cd tcmu-runner-1.6.0
2023-02-24 09:07:02 + sed -i s/-Werror//g CMakeLists.txt
2023-02-24 09:07:02 + /usr/bin/cmake -DSUPPORT_SYSTEMD=ON -DCMAKE_INSTALL_PREFIX=/usr .
2023-02-24 09:07:02 CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required):
2023-02-24 09:07:02 Compatibility with CMake < 2.8.12 will be removed from a future version of
2023-02-24 09:07:02 CMake.
2023-02-24 09:07:02
2023-02-24 09:07:02 Update the VERSION argument value or use a ... suffix to tell
2023-02-24 09:07:02 CMake that the project does not need compatibility with older versions.
2023-02-24 09:07:02

dongjie110 上传了附件tcmu-runner_x86_64_cbs.1037160 (1).txt

@zhangdaolong,最新的日志显示使用的CMake版本是这个3.24版本,你本地使用这个版本的CMake测试下
最新失败日志

应该是这些依赖库路径找不到
输入图片说明

编译结果
输入图片说明
系统信息
输入图片说明
cmake 版本
输入图片说明

应该是这些依赖库路径找不到
输入图片说明
这些依赖库没有添加到spec里面?
@zhangdaolong

spec有的,看日志是安装了,我这个我在看一下

你还试过在EBS环境中线下编译?

@dongjie110 EBS支持离线编译吗?

暂不支持

@zhangdaolong,这里我用22.09的环境编译也出现这个错误

你这个报错是缺少依赖,确认一下这个包有没有安装libgfapi-devel ?

刚刚验证了一下libgfapi-devel这个包不安装会影响的

small_leek 优先级设置为次要

这个包是安装的:
输入图片说明

libgfapi0-10.0-6.oe2203sp1.x86_64 这个包也安装了吗?

@zhangdaolong spec里缺少这个libgfapi0的依赖,麻烦提pr修改下

swf504 任务状态待办的 修改为已完成
dongjie110 任务状态已完成 修改为已验收

登录 后才可以发表评论

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

搜索帮助