8 Star 0 Fork 7

src-openEuler / gupnp-av

 / 详情

[OBS] gupnp-av build problem in openEuler:23.09

已验收
缺陷
创建于  
2023-08-10 16:09

评论 (3)

small_leek 创建了缺陷
small_leek 添加了
 
block
标签
展开全部操作日志

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: Base-service, and any of the maintainers: @谢志鹏 , @Monday , @zhujianwei001 , @hexiaowen , @caodongxia , @陈棋德

openeuler-ci-bot 添加了
 
sig/Base-service
标签

具体报错:

[   91s] ../libgupnp-av/gupnp-feature-list-parser.c: In function ‘gupnp_feature_list_parser_parse_text’:
[   91s] ../libgupnp-av/gupnp-feature-list-parser.c:117:9: error: ‘xmlRecoverMemory’ is deprecated [-Werror=deprecated-declarations]
[   91s]   117 |         doc = xmlRecoverMemory (text, strlen (text));
[   91s]       |         ^~~
[   91s] In file included from /usr/include/libxml2/libxml/globals.h:18,
[   91s]                  from /usr/include/libxml2/libxml/threads.h:35,
[   91s]                  from /usr/include/libxml2/libxml/xmlmemory.h:222,
[   91s]                  from /usr/include/libxml2/libxml/tree.h:1310,
[   91s]                  from ../libgupnp-av/gupnp-didl-lite-object.h:20,
[   91s]                  from ../libgupnp-av/gupnp-av.h:13,
[   91s]                  from ../libgupnp-av/gupnp-feature-list-parser.c:23:
[   91s] /usr/include/libxml2/libxml/parser.h:872:17: note: declared here
[   91s]   872 |                 xmlRecoverMemory        (const char *buffer,
[   91s]       |                 ^~~~~~~~~~~~~~~~
[   91s] cc1: some warnings being treated as errors

问题分析:由于gupnp升级至1.6.4版本,弃用了对xmlRecoverMemory的使用,gupnp-av依赖其编译时报错。
详情见:https://github.com/GNOME/gupnp/blob/master/NEWS

解决办法:从gupnp-av包的源码中同样删除对xmlRecoverMemory的使用。
参考链接:https://github.com/GNOME/gupnp-av/commit/9557768121d54fdcedabe7544863515d6a813354

openeuler-sync-bot 通过src-openeuler/gupnp-av Pull Request !8任务状态待办的 修改为已完成
small_leek 任务状态已完成 修改为已验收

登录 后才可以发表评论

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

搜索帮助