[MacPorts] #62156: cairo @1.16.0: error: incompatible types in return
MacPorts
noreply at macports.org
Wed Jan 27 19:43:47 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):
{{{
/bin/sh ../libtool --tag=CC --mode=compile /opt/local/bin/gcc-mp-7
-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 -Wno-unused-but-set-variable
-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-mp-7 -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 -Wno-unused-but-set-variable -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
libtool: compile: /opt/local/bin/gcc-mp-7 -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 -Wno-unused-but-set-variable -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 -o cairo-
quartz-image-surface.o >/dev/null 2>&1
mv -f .deps/cairo-quartz-image-surface.Tpo .deps/cairo-quartz-image-
surface.Plo
}}}
and
{{{
/bin/sh ../libtool --tag=CC --mode=link /opt/local/bin/gcc-mp-7 -pipe
-Os -arch ppc -version-info 11602:0:11600 -no-undefined -L/opt/local/lib
-Wl,-headerpad_max_install_names -arch ppc -o libcairo.la -rpath
/opt/local/lib
cairo-analysis-surface.lo cairo-arc.lo cairo-array.lo cairo-atomic.lo
cairo-base64-stream.lo cairo-base85-stream.lo cairo-bentley-ottmann-
rectangular.lo cairo-bentley-ottmann-rectilinear.lo cairo-bentley-
ottmann.lo cairo-botor-scan-converter.lo cairo-boxes-intersect.lo cairo-
boxes.lo cairo-cache.lo cairo-clip-boxes.lo cairo-clip-polygon.lo cairo-
clip-region.lo cairo-clip-surface.lo cairo-clip-tor-scan-converter.lo
cairo-clip.lo cairo-color.lo cairo-composite-rectangles.lo cairo-
compositor.lo cairo-contour.lo cairo-damage.lo cairo-debug.lo cairo-
default-context.lo cairo-device.lo cairo-error.lo cairo-fallback-
compositor.lo cairo-fixed.lo cairo-font-face-twin-data.lo cairo-font-face-
twin.lo cairo-font-face.lo cairo-font-options.lo cairo-freed-pool.lo
cairo-freelist.lo cairo-gstate.lo cairo-hash.lo cairo-hull.lo cairo-image-
compositor.lo cairo-image-info.lo cairo-image-source.lo cairo-image-
surface.lo cairo-line.lo cairo-lzw.lo cairo-mask-compositor.lo cairo-
matrix.lo cairo-mempool.lo cairo-mesh-pattern-rasterizer.lo cairo-misc.lo
cairo-mono-scan-converter.lo cairo-mutex.lo cairo-no-compositor.lo cairo-
observer.lo cairo-output-stream.lo cairo-paginated-surface.lo cairo-path-
bounds.lo cairo-path-fill.lo cairo-path-fixed.lo cairo-path-in-fill.lo
cairo-path-stroke-boxes.lo cairo-path-stroke-polygon.lo cairo-path-stroke-
traps.lo cairo-path-stroke-tristrip.lo cairo-path-stroke.lo cairo-path.lo
cairo-pattern.lo cairo-pen.lo cairo-polygon-intersect.lo cairo-polygon-
reduce.lo cairo-polygon.lo cairo-raster-source-pattern.lo cairo-recording-
surface.lo cairo-rectangle.lo cairo-rectangular-scan-converter.lo cairo-
region.lo cairo-rtree.lo cairo-scaled-font.lo cairo-shape-mask-
compositor.lo cairo-slope.lo cairo-spans-compositor.lo cairo-spans.lo
cairo-spline.lo cairo-stroke-dash.lo cairo-stroke-style.lo cairo-surface-
clipper.lo cairo-surface-fallback.lo cairo-surface-observer.lo cairo-
surface-offset.lo cairo-surface-snapshot.lo cairo-surface-subsurface.lo
cairo-surface-wrapper.lo cairo-surface.lo cairo-time.lo cairo-tor-scan-
converter.lo cairo-tor22-scan-converter.lo cairo-toy-font-face.lo cairo-
traps-compositor.lo cairo-traps.lo cairo-tristrip.lo cairo-unicode.lo
cairo-user-font.lo cairo-version.lo cairo-wideint.lo cairo.lo cairo-cff-
subset.lo cairo-scaled-font-subsets.lo cairo-truetype-subset.lo cairo-
type1-fallback.lo cairo-type1-glyph-names.lo cairo-type1-subset.lo cairo-
type3-glyph-surface.lo cairo-pdf-operators.lo cairo-pdf-shading.lo cairo-
tag-attributes.lo cairo-deflate-stream.lo cairo-xlib-display.lo cairo-
xlib-core-compositor.lo cairo-xlib-fallback-compositor.lo cairo-xlib-
render-compositor.lo cairo-xlib-screen.lo cairo-xlib-source.lo cairo-xlib-
surface.lo cairo-xlib-surface-shm.lo cairo-xlib-visual.lo cairo-xlib-xcb-
surface.lo cairo-xcb-connection.lo cairo-xcb-connection-core.lo cairo-
xcb-connection-render.lo cairo-xcb-connection-shm.lo cairo-xcb-screen.lo
cairo-xcb-shm.lo cairo-xcb-surface.lo cairo-xcb-surface-core.lo cairo-xcb-
surface-render.lo cairo-xcb-resources.lo cairo-quartz-surface.lo cairo-
quartz-font.lo cairo-quartz-image-surface.lo cairo-png.lo
cairo-script-surface.lo cairo-ft-font.lo cairo-ps-surface.lo cairo-pdf-
surface.lo cairo-pdf-interchange.lo cairo-tag-stack.lo cairo-svg-
surface.lo cairo-tee-surface.lo cairo-xml-surface.lo
-L/opt/local/lib -lpixman-1 -L/opt/local/lib -lfontconfig -lfreetype
-L/opt/local/lib -lfreetype -L/opt/local/lib -lpng16 -Xlinker
-framework -Xlinker ApplicationServices -L/opt/local/lib -lX11-xcb -lX11
-lxcb -L/opt/local/lib -lxcb -lxcb-render -L/opt/local/lib -lXrender -lX11
-L/opt/local/lib -lX11 -lXext -lz -lz -lz -lz
libtool: link: /opt/local/bin/gcc-mp-7 -dynamiclib -o
.libs/libcairo.2.dylib .libs/cairo-analysis-surface.o .libs/cairo-arc.o
.libs/cairo-array.o .libs/cairo-atomic.o .libs/cairo-base64-stream.o .libs
/cairo-base85-stream.o .libs/cairo-bentley-ottmann-rectangular.o .libs
/cairo-bentley-ottmann-rectilinear.o .libs/cairo-bentley-ottmann.o .libs
/cairo-botor-scan-converter.o .libs/cairo-boxes-intersect.o .libs/cairo-
boxes.o .libs/cairo-cache.o .libs/cairo-clip-boxes.o .libs/cairo-clip-
polygon.o .libs/cairo-clip-region.o .libs/cairo-clip-surface.o .libs
/cairo-clip-tor-scan-converter.o .libs/cairo-clip.o .libs/cairo-color.o
.libs/cairo-composite-rectangles.o .libs/cairo-compositor.o .libs/cairo-
contour.o .libs/cairo-damage.o .libs/cairo-debug.o .libs/cairo-default-
context.o .libs/cairo-device.o .libs/cairo-error.o .libs/cairo-fallback-
compositor.o .libs/cairo-fixed.o .libs/cairo-font-face-twin-data.o .libs
/cairo-font-face-twin.o .libs/cairo-font-face.o .libs/cairo-font-options.o
.libs/cairo-freed-pool.o .libs/cairo-freelist.o .libs/cairo-gstate.o .libs
/cairo-hash.o .libs/cairo-hull.o .libs/cairo-image-compositor.o .libs
/cairo-image-info.o .libs/cairo-image-source.o .libs/cairo-image-surface.o
.libs/cairo-line.o .libs/cairo-lzw.o .libs/cairo-mask-compositor.o .libs
/cairo-matrix.o .libs/cairo-mempool.o .libs/cairo-mesh-pattern-
rasterizer.o .libs/cairo-misc.o .libs/cairo-mono-scan-converter.o .libs
/cairo-mutex.o .libs/cairo-no-compositor.o .libs/cairo-observer.o .libs
/cairo-output-stream.o .libs/cairo-paginated-surface.o .libs/cairo-path-
bounds.o .libs/cairo-path-fill.o .libs/cairo-path-fixed.o .libs/cairo-
path-in-fill.o .libs/cairo-path-stroke-boxes.o .libs/cairo-path-stroke-
polygon.o .libs/cairo-path-stroke-traps.o .libs/cairo-path-stroke-
tristrip.o .libs/cairo-path-stroke.o .libs/cairo-path.o .libs/cairo-
pattern.o .libs/cairo-pen.o .libs/cairo-polygon-intersect.o .libs/cairo-
polygon-reduce.o .libs/cairo-polygon.o .libs/cairo-raster-source-pattern.o
.libs/cairo-recording-surface.o .libs/cairo-rectangle.o .libs/cairo-
rectangular-scan-converter.o .libs/cairo-region.o .libs/cairo-rtree.o
.libs/cairo-scaled-font.o .libs/cairo-shape-mask-compositor.o .libs/cairo-
slope.o .libs/cairo-spans-compositor.o .libs/cairo-spans.o .libs/cairo-
spline.o .libs/cairo-stroke-dash.o .libs/cairo-stroke-style.o .libs/cairo-
surface-clipper.o .libs/cairo-surface-fallback.o .libs/cairo-surface-
observer.o .libs/cairo-surface-offset.o .libs/cairo-surface-snapshot.o
.libs/cairo-surface-subsurface.o .libs/cairo-surface-wrapper.o .libs
/cairo-surface.o .libs/cairo-time.o .libs/cairo-tor-scan-converter.o .libs
/cairo-tor22-scan-converter.o .libs/cairo-toy-font-face.o .libs/cairo-
traps-compositor.o .libs/cairo-traps.o .libs/cairo-tristrip.o .libs/cairo-
unicode.o .libs/cairo-user-font.o .libs/cairo-version.o .libs/cairo-
wideint.o .libs/cairo.o .libs/cairo-cff-subset.o .libs/cairo-scaled-font-
subsets.o .libs/cairo-truetype-subset.o .libs/cairo-type1-fallback.o .libs
/cairo-type1-glyph-names.o .libs/cairo-type1-subset.o .libs/cairo-type3
-glyph-surface.o .libs/cairo-pdf-operators.o .libs/cairo-pdf-shading.o
.libs/cairo-tag-attributes.o .libs/cairo-deflate-stream.o .libs/cairo-
xlib-display.o .libs/cairo-xlib-core-compositor.o .libs/cairo-xlib-
fallback-compositor.o .libs/cairo-xlib-render-compositor.o .libs/cairo-
xlib-screen.o .libs/cairo-xlib-source.o .libs/cairo-xlib-surface.o .libs
/cairo-xlib-surface-shm.o .libs/cairo-xlib-visual.o .libs/cairo-xlib-xcb-
surface.o .libs/cairo-xcb-connection.o .libs/cairo-xcb-connection-core.o
.libs/cairo-xcb-connection-render.o .libs/cairo-xcb-connection-shm.o .libs
/cairo-xcb-screen.o .libs/cairo-xcb-shm.o .libs/cairo-xcb-surface.o .libs
/cairo-xcb-surface-core.o .libs/cairo-xcb-surface-render.o .libs/cairo-
xcb-resources.o .libs/cairo-quartz-surface.o .libs/cairo-quartz-font.o
.libs/cairo-quartz-image-surface.o .libs/cairo-png.o .libs/cairo-script-
surface.o .libs/cairo-ft-font.o .libs/cairo-ps-surface.o .libs/cairo-pdf-
surface.o .libs/cairo-pdf-interchange.o .libs/cairo-tag-stack.o .libs
/cairo-svg-surface.o .libs/cairo-tee-surface.o .libs/cairo-xml-surface.o
-L/opt/local/lib /opt/local/lib/libpixman-1.dylib
/opt/local/lib/libfontconfig.dylib /opt/local/lib/libfreetype.dylib
/opt/local/lib/libpng16.dylib /opt/local/lib/libX11-xcb.dylib
/opt/local/lib/libxcb.dylib /opt/local/lib/libxcb-render.dylib
/opt/local/lib/libXrender.dylib /opt/local/lib/libX11.dylib
/opt/local/lib/libXext.dylib -lz -Os -arch ppc
-Wl,-headerpad_max_install_names -arch ppc -Wl,-framework
-Wl,ApplicationServices -pthread -install_name
/opt/local/lib/libcairo.2.dylib -compatibility_version 11603
-current_version 11603.0 -Wl,-single_module
ld: warning: duplicate dylib /opt/local/lib/libz.1.dylib
libtool: link: (cd ".libs" && rm -f "libcairo.dylib" && ln -s
"libcairo.2.dylib" "libcairo.dylib")
libtool: link: ar cru .libs/libcairo.a cairo-analysis-surface.o cairo-
arc.o cairo-array.o cairo-atomic.o cairo-base64-stream.o cairo-
base85-stream.o cairo-bentley-ottmann-rectangular.o cairo-bentley-ottmann-
rectilinear.o cairo-bentley-ottmann.o cairo-botor-scan-converter.o cairo-
boxes-intersect.o cairo-boxes.o cairo-cache.o cairo-clip-boxes.o cairo-
clip-polygon.o cairo-clip-region.o cairo-clip-surface.o cairo-clip-tor-
scan-converter.o cairo-clip.o cairo-color.o cairo-composite-rectangles.o
cairo-compositor.o cairo-contour.o cairo-damage.o cairo-debug.o cairo-
default-context.o cairo-device.o cairo-error.o cairo-fallback-compositor.o
cairo-fixed.o cairo-font-face-twin-data.o cairo-font-face-twin.o cairo-
font-face.o cairo-font-options.o cairo-freed-pool.o cairo-freelist.o
cairo-gstate.o cairo-hash.o cairo-hull.o cairo-image-compositor.o cairo-
image-info.o cairo-image-source.o cairo-image-surface.o cairo-line.o
cairo-lzw.o cairo-mask-compositor.o cairo-matrix.o cairo-mempool.o cairo-
mesh-pattern-rasterizer.o cairo-misc.o cairo-mono-scan-converter.o cairo-
mutex.o cairo-no-compositor.o cairo-observer.o cairo-output-stream.o
cairo-paginated-surface.o cairo-path-bounds.o cairo-path-fill.o cairo-
path-fixed.o cairo-path-in-fill.o cairo-path-stroke-boxes.o cairo-path-
stroke-polygon.o cairo-path-stroke-traps.o cairo-path-stroke-tristrip.o
cairo-path-stroke.o cairo-path.o cairo-pattern.o cairo-pen.o cairo-
polygon-intersect.o cairo-polygon-reduce.o cairo-polygon.o cairo-raster-
source-pattern.o cairo-recording-surface.o cairo-rectangle.o cairo-
rectangular-scan-converter.o cairo-region.o cairo-rtree.o cairo-scaled-
font.o cairo-shape-mask-compositor.o cairo-slope.o cairo-spans-
compositor.o cairo-spans.o cairo-spline.o cairo-stroke-dash.o cairo-
stroke-style.o cairo-surface-clipper.o cairo-surface-fallback.o cairo-
surface-observer.o cairo-surface-offset.o cairo-surface-snapshot.o cairo-
surface-subsurface.o cairo-surface-wrapper.o cairo-surface.o cairo-time.o
cairo-tor-scan-converter.o cairo-tor22-scan-converter.o cairo-toy-font-
face.o cairo-traps-compositor.o cairo-traps.o cairo-tristrip.o cairo-
unicode.o cairo-user-font.o cairo-version.o cairo-wideint.o cairo.o cairo-
cff-subset.o cairo-scaled-font-subsets.o cairo-truetype-subset.o cairo-
type1-fallback.o cairo-type1-glyph-names.o cairo-type1-subset.o cairo-
type3-glyph-surface.o cairo-pdf-operators.o cairo-pdf-shading.o cairo-tag-
attributes.o cairo-deflate-stream.o cairo-xlib-display.o cairo-xlib-core-
compositor.o cairo-xlib-fallback-compositor.o cairo-xlib-render-
compositor.o cairo-xlib-screen.o cairo-xlib-source.o cairo-xlib-surface.o
cairo-xlib-surface-shm.o cairo-xlib-visual.o cairo-xlib-xcb-surface.o
cairo-xcb-connection.o cairo-xcb-connection-core.o cairo-xcb-connection-
render.o cairo-xcb-connection-shm.o cairo-xcb-screen.o cairo-xcb-shm.o
cairo-xcb-surface.o cairo-xcb-surface-core.o cairo-xcb-surface-render.o
cairo-xcb-resources.o cairo-quartz-surface.o cairo-quartz-font.o cairo-
quartz-image-surface.o cairo-png.o cairo-script-surface.o cairo-ft-font.o
cairo-ps-surface.o cairo-pdf-surface.o cairo-pdf-interchange.o cairo-tag-
stack.o cairo-svg-surface.o cairo-tee-surface.o cairo-xml-surface.o
/opt/local/bin/ranlib: file: .libs/libcairo.a(cairo-atomic.o) has no
symbols
/opt/local/bin/ranlib: file: .libs/libcairo.a(cairo-fixed.o) has no
symbols
/opt/local/bin/ranlib: file: .libs/libcairo.a(cairo-xlib-display.o) has no
symbols
/opt/local/bin/ranlib: file: .libs/libcairo.a(cairo-xlib-core-
compositor.o) has no symbols
/opt/local/bin/ranlib: file: .libs/libcairo.a(cairo-xlib-fallback-
compositor.o) has no symbols
/opt/local/bin/ranlib: file: .libs/libcairo.a(cairo-xlib-render-
compositor.o) has no symbols
/opt/local/bin/ranlib: file: .libs/libcairo.a(cairo-xlib-screen.o) has no
symbols
/opt/local/bin/ranlib: file: .libs/libcairo.a(cairo-xlib-source.o) has no
symbols
/opt/local/bin/ranlib: file: .libs/libcairo.a(cairo-xlib-surface.o) has no
symbols
/opt/local/bin/ranlib: file: .libs/libcairo.a(cairo-xlib-surface-shm.o)
has no symbols
/opt/local/bin/ranlib: file: .libs/libcairo.a(cairo-xlib-visual.o) has no
symbols
/opt/local/bin/ranlib: file: .libs/libcairo.a(cairo-xcb-connection-shm.o)
has no symbols
/opt/local/bin/ranlib: file: .libs/libcairo.a(cairo-xcb-shm.o) has no
symbols
libtool: link: ranlib .libs/libcairo.a
ranlib: file: .libs/libcairo.a(cairo-atomic.o) has no symbols
ranlib: file: .libs/libcairo.a(cairo-fixed.o) has no symbols
ranlib: file: .libs/libcairo.a(cairo-xlib-display.o) has no symbols
ranlib: file: .libs/libcairo.a(cairo-xlib-core-compositor.o) has no
symbols
ranlib: file: .libs/libcairo.a(cairo-xlib-fallback-compositor.o) has no
symbols
ranlib: file: .libs/libcairo.a(cairo-xlib-render-compositor.o) has no
symbols
ranlib: file: .libs/libcairo.a(cairo-xlib-screen.o) has no symbols
ranlib: file: .libs/libcairo.a(cairo-xlib-source.o) has no symbols
ranlib: file: .libs/libcairo.a(cairo-xlib-surface.o) has no symbols
ranlib: file: .libs/libcairo.a(cairo-xlib-surface-shm.o) has no symbols
ranlib: file: .libs/libcairo.a(cairo-xlib-visual.o) has no symbols
ranlib: file: .libs/libcairo.a(cairo-xcb-connection-shm.o) has no symbols
ranlib: file: .libs/libcairo.a(cairo-xcb-shm.o) has no symbols
libtool: link: ( cd ".libs" && rm -f "libcairo.la" && ln -s
"../libcairo.la" "libcairo.la" )
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'
}}}
--
Ticket URL: <https://trac.macports.org/ticket/62156#comment:5>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list