124 Star 0 Fork 17

src-openEuler / motif

 / 详情

[OBS] motif build problem in openEuler:23.09

已验收
缺陷 成员
创建于  
2023-08-25 16:10

评论 (3)

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: Runtime, and any of the maintainers: @zhenyu , @small_leek , @Charlie_Li , @mdche , @王歌 , @starlet_dx

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

报错日志:
[ 123s] gcc -DHAVE_CONFIG_H -I. -I../../include -I../../lib/Xm -I../../lib -I./../../lib -I./../../include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/libxml2 -I/usr/include/libpng16 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/generic-hardened-cc1 -fstack-protector-strong -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -D_FILE_OFFSET_BITS=64 -Wall -g -fstack-protector-strong -fno-strict-aliasing -Wno-unused -Wno-comment -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libxml2 -MT wmlouth.o -MD -MP -MF .deps/wmlouth.Tpo -c -o wmlouth.o wmlouth.c
[ 123s] wmlouth.c: In function 'wmlOutputUilConst':
[ 123s] wmlouth.c:802:1: error: format not a string literal and no format arguments [-Werror=format-security]
[ 123s] 802 | fprintf (outfil, canned1a);
[ 123s] | ^~~~~~~
[ 123s] cc1: some warnings being treated as errors
[ 123s] make[2]: *** [Makefile:531: wmlouth.o] Error 1

问题原因:fprintf没有格式参数
解决办法:添加%s

xu_ping 通过src-openeuler/motif Pull Request !23任务状态待办的 修改为已完成
small_leek 任务状态已完成 修改为已验收

登录 后才可以发表评论

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

搜索帮助