[MacPorts] #62156: cairo @1.16.0 does not build on PPC Tiger, Mac OS X 10.4.11, because of incompatible types in return
MacPorts
noreply at macports.org
Tue Jan 26 20:16:24 UTC 2021
#62156: cairo @1.16.0 does not build on PPC Tiger, Mac OS X 10.4.11, because of
incompatible types in return
-----------------------+--------------------
Reporter: ballapete | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.6.4
Keywords: tiger | Port: cairo
-----------------------+--------------------
{{{
/bin/sh ../libtool --tag=CC --mode=compile /opt/local/bin/gcc-apple-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: /opt/local/bin/gcc-apple-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'
}}}
I tried the maximum: `port -vd build -sk cairo +opengl +x11 +quartz` –
with old `mesa` version 17.1. (I could also see that `configure` failed to
detect `poppler` and `libspectre` which I have not yet checked in detail,
some other house work is waiting.)
--
Ticket URL: <https://trac.macports.org/ticket/62156>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list