Bug 2264352 - GraphicsMagick-1.3.40-7.fc41 FTBFS: coders/jpeg.c:1466:15: error: ‘struct jpeg_decompress_struct’ has no member named ‘process’
Summary: GraphicsMagick-1.3.40-7.fc41 FTBFS: coders/jpeg.c:1466:15: error: ‘struct jpe...
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: GraphicsMagick
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Andreas Thienemann
QA Contact: Fedora Extras Quality Assurance
URL: https://koschei.fedoraproject.org/pac...
Whiteboard:
Depends On:
Blocks: F41FTBFS, RAWHIDEFTBFS
TreeView+ depends on / blocked
 
Reported: 2024-02-15 07:40 UTC by Petr Pisar
Modified: 2024-03-03 18:37 UTC (History)
7 users (show)

Fixed In Version: GraphicsMagick-1.3.42-1.fc41
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2024-03-03 18:37:31 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Petr Pisar 2024-02-15 07:40:41 UTC
GraphicsMagick-1.3.40-7.fc41 fails to build in Fedora 41:

libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I. -I/usr/include/freetype2 -I/usr/include/libxml2 -fopenmp -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -c coders/jpeg.c  -fPIC -DPIC -o coders/.libs/jpeg_la-jpeg.o
[...]
coders/jpeg.c: In function ‘ReadJPEGImage’:
coders/jpeg.c:1466:15: error: ‘struct jpeg_decompress_struct’ has no member named ‘process’; did you mean ‘progress’?
 1466 |     jpeg_info.process == JPROC_PROGRESSIVE ? LineInterlace : NoInterlace;
      |               ^~~~~~~
      |               progress
coders/jpeg.c:1466:26: error: ‘JPROC_PROGRESSIVE’ undeclared (first use in this function)
 1466 |     jpeg_info.process == JPROC_PROGRESSIVE ? LineInterlace : NoInterlace;
      |                          ^~~~~~~~~~~~~~~~~
coders/jpeg.c:1466:26: note: each undeclared identifier is reported only once for each function it appears in
coders/jpeg.c:1467:32: error: ‘struct jpeg_decompress_struct’ has no member named ‘process’; did you mean ‘progress’?
 1467 |   image->compression=jpeg_info.process == JPROC_LOSSLESS ?
      |                                ^~~~~~~
      |                                progress
coders/jpeg.c:1467:43: error: ‘JPROC_LOSSLESS’ undeclared (first use in this function)
 1467 |   image->compression=jpeg_info.process == JPROC_LOSSLESS ?
      |                                           ^~~~~~~~~~~~~~
coders/jpeg.c: In function ‘WriteJPEGImage’:
coders/jpeg.c:2911:11: error: implicit declaration of function ‘jpeg_simple_lossless’; did you mean ‘jpeg_enable_lossless’? [-Wimplicit-function-declaration]
 2911 |           jpeg_simple_lossless(&jpeg_info,predictor,point_transform);
      |           ^~~~~~~~~~~~~~~~~~~~
      |           jpeg_enable_lossless
make[1]: *** [Makefile:7088: coders/jpeg_la-jpeg.lo] Error 1

A difference between passing and failing build roots is at <https://koschei.fedoraproject.org/build/17400444>. This failure is probably triggered by upgrading libjpeg-turbo-devel from 2.1.4-6.fc40 to 3.0.2-1.fc40.


Note You need to log in before you can comment on or make changes to this bug.