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.