[MacPorts] #74289: imlib2 @1.12.6 does not build on PPC Leopard, Mac OS X 10.5.8, because of redefinition of typedef 'heif_image_handle'

MacPorts noreply at macports.org
Sun Aug 2 11:05:28 UTC 2026


#74289: imlib2 @1.12.6 does not build on PPC Leopard, Mac OS X 10.5.8, because of
redefinition of typedef 'heif_image_handle'
-------------------------+--------------------
 Reporter:  ballapete    |      Owner:  (none)
     Type:  defect       |     Status:  new
 Priority:  Normal       |  Milestone:
Component:  ports        |    Version:  2.12.5
 Keywords:  ppc leopard  |       Port:  imlib2
-------------------------+--------------------
 {{{
 make[4]: Entering directory
 `/opt/local/var/macports/build/imlib2-d3d33cc1/work/imlib2-1.12.6/src/modules/loaders'
   CC       loader_ani.lo
 loader_ani.c: In function '_load':
 loader_ani.c:248: warning: missing initializer
 loader_ani.c:248: warning: (near initialization for 'ctx.nest')
   CCLD     ani.la
 warning: no debug symbols in executable (-arch ppc7400)
   CC       loader_argb.lo
   CCLD     argb.la
 warning: no debug symbols in executable (-arch ppc7400)
   CC       loader_bmp.lo
   CCLD     bmp.la
 warning: no debug symbols in executable (-arch ppc7400)
   CC       loader_ff.lo
   CCLD     ff.la
 warning: no debug symbols in executable (-arch ppc7400)
   CC       loader_ico.lo
 loader_ico.c: In function 'ico_read_icon':
 loader_ico.c:178: warning: comparison between signed and unsigned
 loader_ico.c:212: warning: comparison between signed and unsigned
   CCLD     ico.la
 warning: no debug symbols in executable (-arch ppc7400)
   CC       loader_lbm.lo
 loader_lbm.c: In function '_load':
 loader_lbm.c:286: warning: 'b' may be used uninitialized in this function
 loader_lbm.c:286: note: 'b' was declared here
 loader_lbm.c:286: warning: 'g' may be used uninitialized in this function
 loader_lbm.c:286: note: 'g' was declared here
 loader_lbm.c:286: warning: 'r' may be used uninitialized in this function
 loader_lbm.c:286: note: 'r' was declared here
   CCLD     lbm.la
 warning: no debug symbols in executable (-arch ppc7400)
   CC       loader_pnm.lo
   CCLD     pnm.la
 warning: no debug symbols in executable (-arch ppc7400)
   CC       loader_qoi.lo
 loader_qoi.c: In function 'qoi_dec':
 loader_qoi.c:104: warning: missing braces around initializer
 loader_qoi.c:104: warning: (near initialization for 't[0]')
 loader_qoi.c:104: warning: missing initializer
 loader_qoi.c:104: warning: (near initialization for 't[0].g')
 loader_qoi.c: In function 'qoi_enc':
 loader_qoi.c:251: warning: missing braces around initializer
 loader_qoi.c:251: warning: (near initialization for 'res.data')
 loader_qoi.c:251: warning: missing initializer
 loader_qoi.c:251: warning: (near initialization for 'res.len')
 loader_qoi.c: In function 'qoi_enc_finish':
 loader_qoi.c:322: warning: missing braces around initializer
 loader_qoi.c:322: warning: (near initialization for 'res.data')
 loader_qoi.c:322: warning: missing initializer
 loader_qoi.c:322: warning: (near initialization for 'res.len')
 loader_qoi.c: In function '_save':
 loader_qoi.c:377: warning: missing braces around initializer
 loader_qoi.c:377: warning: (near initialization for 'ctx[0]')
 loader_qoi.c:377: warning: missing initializer
 loader_qoi.c:377: warning: (near initialization for 'ctx[0].run')
   CCLD     qoi.la
 warning: no debug symbols in executable (-arch ppc7400)
   CC       loader_tga.lo
   CCLD     tga.la
 warning: no debug symbols in executable (-arch ppc7400)
   CC       loader_xbm.lo
   CCLD     xbm.la
 warning: no debug symbols in executable (-arch ppc7400)
   CC       loader_xpm.lo
   CCLD     xpm.la
 warning: no debug symbols in executable (-arch ppc7400)
   CC       loader_gif.lo
 loader_gif.c: In function '_load':
 loader_gif.c:59: warning: unused variable 'err'
   CCLD     gif.la
 warning: no debug symbols in executable (-arch ppc7400)
   CC       heif_la-loader_heif.lo
 In file included from /opt/local/include/libheif/heif.h:26,
                  from loader_heif.c:13:
 /opt/local/include/libheif/heif_image.h:144: error: redefinition of
 typedef 'heif_image_handle'
 /opt/local/include/libheif/heif_library.h:90: error: previous declaration
 of 'heif_image_handle' was here
 In file included from /opt/local/include/libheif/heif.h:27,
                  from loader_heif.c:13:
 /opt/local/include/libheif/heif_color.h:31: error: redefinition of typedef
 'heif_image'
 /opt/local/include/libheif/heif_image.h:143: error: previous declaration
 of 'heif_image' was here
 In file included from /opt/local/include/libheif/heif.h:34,
                  from loader_heif.c:13:
 /opt/local/include/libheif/heif_security.h:88: error: redefinition of
 typedef 'heif_security_limits'
 /opt/local/include/libheif/heif_image.h:145: error: previous declaration
 of 'heif_security_limits' was here
 In file included from /opt/local/include/libheif/heif.h:35,
                  from loader_heif.c:13:
 /opt/local/include/libheif/heif_encoding.h:48: error: redefinition of
 typedef 'heif_encoder'
 /opt/local/include/libheif/heif_aux_images.h:32: error: previous
 declaration of 'heif_encoder' was here
 /opt/local/include/libheif/heif_encoding.h:332: error: redefinition of
 typedef 'heif_encoding_options'
 /opt/local/include/libheif/heif_aux_images.h:33: error: previous
 declaration of 'heif_encoding_options' was here
 In file included from /opt/local/include/libheif/heif.h:39,
                  from loader_heif.c:13:
 /opt/local/include/libheif/heif_tiling.h:33: error: redefinition of
 typedef 'heif_encoder'
 /opt/local/include/libheif/heif_encoding.h:48: error: previous declaration
 of 'heif_encoder' was here
 /opt/local/include/libheif/heif_tiling.h:34: error: redefinition of
 typedef 'heif_encoding_options'
 /opt/local/include/libheif/heif_encoding.h:332: error: previous
 declaration of 'heif_encoding_options' was here
 /opt/local/include/libheif/heif_tiling.h:80: error: redefinition of
 typedef 'heif_decoding_options'
 /opt/local/include/libheif/heif_decoding.h:158: error: previous
 declaration of 'heif_decoding_options' was here
 make[4]: *** [heif_la-loader_heif.lo] Error 1
 make[4]: Leaving directory
 `/opt/local/var/macports/build/imlib2-d3d33cc1/work/imlib2-1.12.6/src/modules/loaders'
 make[3]: *** [all-recursive] Error 1
 }}}

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


More information about the macports-tickets mailing list