123 Star 0 Fork 14

src-openEuler / GraphicsMagick

 / 详情

[OBS] GraphicsMagick build problem in openEuler:23.09

已验收
缺陷 成员
创建于  
2023-08-04 12:43

评论 (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: Application, and any of the maintainers: @朱春意 , @Alex_Chao , @small_leek , @jimmy_hero , @caodongxia

openeuler-ci-bot 添加了
 
sig/Application
标签

问题现象:
[ 150s] coders/jpeg.c: In function 'ReadJPEGImage':
[ 150s] coders/jpeg.c:1466:15: error: 'struct jpeg_decompress_struct' has no member named 'process'; did you mean 'progress'?
[ 150s] 1466 | jpeg_info.process == JPROC_PROGRESSIVE ? LineInterlace : NoInterlace;
[ 150s] | ^~~~~~~
[ 150s] | progress
[ 150s] coders/jpeg.c:1466:26: error: 'JPROC_PROGRESSIVE' undeclared (first use in this function)
[ 150s] 1466 | jpeg_info.process == JPROC_PROGRESSIVE ? LineInterlace : NoInterlace;
[ 150s] | ^~~~~~~~~~~~~~~~~
[ 150s] coders/jpeg.c:1466:26: note: each undeclared identifier is reported only once for each function it appears in
[ 150s] coders/jpeg.c:1467:32: error: 'struct jpeg_decompress_struct' has no member named 'process'; did you mean 'progress'?
[ 150s] 1467 | image->compression=jpeg_info.process == JPROC_LOSSLESS ?
[ 150s] | ^~~~~~~
[ 150s] | progress
[ 150s] coders/jpeg.c:1467:43: error: 'JPROC_LOSSLESS' undeclared (first use in this function)
[ 150s] 1467 | image->compression=jpeg_info.process == JPROC_LOSSLESS ?
[ 150s] | ^~~~~~~~~~~~~~
[ 150s] coders/jpeg.c: In function 'WriteJPEGImage':
[ 150s] coders/jpeg.c:2911:11: warning: implicit declaration of function 'jpeg_simple_lossless'; did you mean 'jpeg_enable_lossless'? [-Wimplicit-function-declaration]
[ 150s] 2911 | jpeg_simple_lossless(&jpeg_info,predictor,point_transform);
[ 150s] | ^~~~~~~~~~~~~~~~~~~~
[ 150s] | jpeg_enable_lossless
[ 150s] make[1]: *** [Makefile:7088: coders/jpeg_la-jpeg.lo] Error 1

问题原因: libjpeg-turbo 升级后将D_LOSSLESS_SUPPORTED这个宏控打开支持了LOSSLESS模式,但是他们最新的代码是会导致编译报错,引入问题pr:https://gitee.com/src-openeuler/libjpeg-turbo/pulls/35
解决办法:先disable这段代码

参考上游:ImageMagick最新的上游修复https://github.com/ImageMagick/ImageMagick/commit/1175c9c3197cfcd21970772a62b1a6135c8d68f0

xu_ping 任务状态待办的 修改为已完成
small_leek 任务状态已完成 修改为已验收

登录 后才可以发表评论

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

搜索帮助