[MacPorts] #62156: cairo @1.16.0: error: incompatible types in return

MacPorts noreply at macports.org
Thu Jan 28 21:13:23 UTC 2021


#62156: cairo @1.16.0: error: incompatible types in return
---------------------------------+------------------------
  Reporter:  ballapete           |      Owner:  ryandesign
      Type:  defect              |     Status:  assigned
  Priority:  Normal              |  Milestone:
 Component:  ports               |    Version:  2.6.4
Resolution:                      |   Keywords:  tiger
      Port:  cairo, cairo-devel  |
---------------------------------+------------------------

Comment (by ballapete):

 This is the failure on PPC Leopard, Mac OS X 10.5.8 with the Big Sur
 patch:

 {{{
 /bin/sh ../libtool  --tag=CC   --mode=compile /usr/bin/gcc-4.2
 -DHAVE_CONFIG_H -I. -I..  -I. -D_REENTRANT
 -I/opt/local/include/pixman-1    -I/opt/local/include/ossp
 -I/opt/local/include/freetype2 -I/opt/local/include/libpng16
 -I/opt/local/include/freetype2 -I/opt/local/include/libpng16
 -I/opt/local/include/libpng16          -Wall -Wextra -Wmissing-
 declarations -Werror-implicit-function-declaration -Wpointer-arith
 -Wwrite-strings -Wsign-compare -Wpacked -Wswitch-enum -Wmissing-format-
 attribute -Wvolatile-register-var -Wstrict-aliasing=2 -Winit-self
 -Wunsafe-loop-optimizations -Wno-missing-field-initializers -Wno-unused-
 parameter -Wno-attributes -Wno-long-long -Winline -fno-strict-aliasing
 -fno-common -Wp,-D_FORTIFY_SOURCE=2
 -I/opt/local/include  -pipe -Os -arch ppc -MT cairo-quartz-image-
 surface.lo -MD -MP -MF .deps/cairo-quartz-image-surface.Tpo -c -o cairo-
 quartz-image-surface.lo cairo-quartz-image-surface.c
 libtool: compile:  /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I.. -I.
 -D_REENTRANT -I/opt/local/include/pixman-1 -I/opt/local/include/ossp
 -I/opt/local/include/freetype2 -I/opt/local/include/libpng16
 -I/opt/local/include/freetype2 -I/opt/local/include/libpng16
 -I/opt/local/include/libpng16 -Wall -Wextra -Wmissing-declarations
 -Werror-implicit-function-declaration -Wpointer-arith -Wwrite-strings
 -Wsign-compare -Wpacked -Wswitch-enum -Wmissing-format-attribute
 -Wvolatile-register-var -Wstrict-aliasing=2 -Winit-self -Wunsafe-loop-
 optimizations -Wno-missing-field-initializers -Wno-unused-parameter -Wno-
 attributes -Wno-long-long -Winline -fno-strict-aliasing -fno-common
 -Wp,-D_FORTIFY_SOURCE=2 -I/opt/local/include -pipe -Os -arch ppc -MT
 cairo-quartz-image-surface.lo -MD -MP -MF .deps/cairo-quartz-image-
 surface.Tpo -c cairo-quartz-image-surface.c  -fno-common -DPIC -o .libs
 /cairo-quartz-image-surface.o
 cairo-quartz-image-surface.c: In function
 ‘_cairo_quartz_image_surface_finish’:
 cairo-quartz-image-surface.c:91: warning: passing argument 1 of
 ‘cairo_surface_destroy’ from incompatible pointer type
 cairo-quartz-image-surface.c: In function
 ‘_cairo_quartz_image_surface_flush’:
 cairo-quartz-image-surface.c:149: warning: unused variable ‘size’
 cairo-quartz-image-surface.c: In function
 ‘cairo_quartz_image_surface_create’:
 cairo-quartz-image-surface.c:345: error: incompatible types in return
 make[3]: *** [cairo-quartz-image-surface.lo] Error 1
 make[3]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_graphics_cairo/cairo/work/cairo-1.16.0/src'
 make[2]: *** [all] Error 2
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/62156#comment:13>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list