6 Star 0 Fork 2

src-openEuler / NetworkManager-l2tp

 / 详情

【EulerMaker】NetworkManager-l2tp install problem in openEuler:23.09:Epol

已验收
缺陷
创建于  
2023-08-29 10:27

nothing provides ppp = bad needed by NetworkManager-l2tp-1.20.10-1.oe2309.aarch64

评论 (4)

small_leek 创建了缺陷

Hi small_leek, 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: Networking, and any of the maintainers: @Apricity , @seuzw , @luzhihao , @kircher , @gebidelidaye , @robertxw , @孙苏皖

openeuler-ci-bot 添加了
 
sig/Networking
标签
small_leek 负责人设置为robertxw

NetworkManager-l2tp依赖指定版本的ppp包

Requires: ppp = %{ppp_version}

ppp版本从编译环境中过滤pppd的头文件所得,失败则显示版本号为bad

%global ppp_version %(sed -n 's/^#define\\s*VERSION\\s*"\\([^\\s]*\\)"$/\\1/p' %{_includedir}/pppd/patchlevel.h 2>/dev/null | grep . || 
echo bad)

ppp包升级到2.5.0版本后,不再提供patchlevel.h文件,因此版本号过滤失败
输入图片说明

建议解决方案:
修改ppp版本号过滤方法为:

%global ppp_version %(pkg-config --modversion pppd 2>/dev/null || sed -n 's/^#define\\s*VERSION\\s*"\\([^\\s]*\\)"$/\\1/p' %{_includedir}/pppd/patchlevel.h 2>/dev/null | grep . || echo bad)

登录 后才可以发表评论

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

搜索帮助