编译日志见附件
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
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。
看错像是缺少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
@zhangdaolong,最新的日志显示使用的CMake版本是这个3.24版本,你本地使用这个版本的CMake测试下
应该是这些依赖库路径找不到
编译结果
系统信息
cmake 版本
应该是这些依赖库路径找不到
这些依赖库没有添加到spec里面?
@zhangdaolong
spec有的,看日志是安装了,我这个我在看一下
你还试过在EBS环境中线下编译?
@dongjie110 EBS支持离线编译吗?
暂不支持
@zhangdaolong,这里我用22.09的环境编译也出现这个错误
你这个报错是缺少依赖,确认一下这个包有没有安装libgfapi-devel ?
刚刚验证了一下libgfapi-devel这个包不安装会影响的
这个包是安装的:
libgfapi0-10.0-6.oe2203sp1.x86_64 这个包也安装了吗?
@zhangdaolong spec里缺少这个libgfapi0的依赖,麻烦提pr修改下
登录 后才可以发表评论