[MacPorts] #68246: ImageMagick fails to build on 10.6: error: ‘struct jpeg_decompress_struct’ has no member named ‘process’

MacPorts noreply at macports.org
Tue Sep 26 09:17:38 UTC 2023


#68246: ImageMagick fails to build on 10.6: error: ‘struct jpeg_decompress_struct’
has no member named ‘process’
----------------------------------+-------------------------
 Reporter:  barracuda156          |      Owner:  ryandesign
     Type:  defect                |     Status:  assigned
 Priority:  Normal                |  Milestone:
Component:  ports                 |    Version:  2.8.1
 Keywords:  snowleopard, leopard  |       Port:  ImageMagick
----------------------------------+-------------------------
 {{{
 :info:build libtool: compile:  /usr/bin/gcc-4.2 -std=gnu99 -DHAVE_CONFIG_H
 -I. -I./config -I. -I. -I/opt/local/include -DMAGICKCORE_HDRI_ENABLE=0
 -DMAGICKCORE_QUANTUM_DEPTH=16 -I/opt/local/include
 -I/opt/local/include/libxml2 -I/opt/local/include/webp
 -I/opt/local/include/webp -I/opt/local/include/libraw
 -I/opt/local/include/libpng16 -pthread -I/opt/local/include/OpenEXR
 -I/opt/local/include/Imath -I/opt/local/include/openjpeg-2.5
 -I/opt/local/include/freetype2 -I/opt/local/include/libpng16
 -I/opt/local/include/freetype2 -I/opt/local/include/libpng16 -Wall -pipe
 -Os -arch ppc -fexceptions -D_FORTIFY_SOURCE=0 -pthread
 -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -MT coders
 /jbig_la-jbig.lo -MD -MP -MF coders/.deps/jbig_la-jbig.Tpo -c
 coders/jbig.c -o coders/jbig_la-jbig.o >/dev/null 2>&1
 :info:build libtool: compile:  /usr/bin/gcc-4.2 -std=gnu99 -DHAVE_CONFIG_H
 -I. -I./config -I/opt/local/include -DMAGICKCORE_HDRI_ENABLE=0
 -DMAGICKCORE_QUANTUM_DEPTH=16 -I/opt/local/include
 -I/opt/local/include/libxml2 -I/opt/local/include/webp
 -I/opt/local/include/webp -I/opt/local/include/libraw
 -I/opt/local/include/libpng16 -pthread -I/opt/local/include/OpenEXR
 -I/opt/local/include/Imath -I/opt/local/include/openjpeg-2.5
 -I/opt/local/include/freetype2 -I/opt/local/include/libpng16
 -I/opt/local/include/freetype2 -I/opt/local/include/libpng16 -Wall -pipe
 -Os -arch ppc -fexceptions -D_FORTIFY_SOURCE=0 -pthread
 -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -MT coders
 /heic_la-heic.lo -MD -MP -MF coders/.deps/heic_la-heic.Tpo -c
 coders/heic.c -o coders/heic_la-heic.o >/dev/null 2>&1
 :info:build /bin/sh ./libtool  --tag=CC   --mode=compile /usr/bin/gcc-4.2
 -std=gnu99 -DHAVE_CONFIG_H -I. -I./config  -I. -I.  -I/opt/local/include
 -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16
 -I/opt/local/include  -I/opt/local/include/libxml2
 -I/opt/local/include/webp -I/opt/local/include/webp
 -I/opt/local/include/libraw -I/opt/local/include/libpng16 -pthread
 -I/opt/local/include/OpenEXR -I/opt/local/include/Imath
 -I/opt/local/include/openjpeg-2.5   -I/opt/local/include/freetype2
 -I/opt/local/include/libpng16 -I/opt/local/include/freetype2
 -I/opt/local/include/libpng16     -Wall -pipe -Os -arch ppc -fexceptions
 -D_FORTIFY_SOURCE=0 -pthread -DMAGICKCORE_HDRI_ENABLE=0
 -DMAGICKCORE_QUANTUM_DEPTH=16 -MT coders/tiff_la-tiff.lo -MD -MP -MF
 coders/.deps/tiff_la-tiff.Tpo -c -o coders/tiff_la-tiff.lo `test -f
 'coders/tiff.c' || echo './'`coders/tiff.c
 :info:build coders/jpeg.c: In function ‘ReadJPEGImage_’:
 :info:build coders/jpeg.c:1263: error: ‘struct jpeg_decompress_struct’ has
 no member named ‘process’
 :info:build coders/jpeg.c:1263: error: ‘JPROC_PROGRESSIVE’ undeclared
 (first use in this function)
 :info:build coders/jpeg.c:1263: error: (Each undeclared identifier is
 reported only once
 :info:build coders/jpeg.c:1263: error: for each function it appears in.)
 :info:build coders/jpeg.c:1265: error: ‘struct jpeg_decompress_struct’ has
 no member named ‘process’
 :info:build coders/jpeg.c:1265: error: ‘JPROC_LOSSLESS’ undeclared (first
 use in this function)
 :info:build coders/jpeg.c: In function ‘WriteJPEGImage_’:
 :info:build coders/jpeg.c:2507: warning: implicit declaration of function
 ‘jpeg_simple_lossless’
 :info:build make[1]: *** [coders/jpeg_la-jpeg.lo] Error 1
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/68246>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list