Opened 4 years ago
Closed 4 years ago
#62156 closed defect (fixed)
cairo @1.16.0: error: incompatible types in return
Reported by: | ballapete (Peter "Pete" Dyballa) | Owned by: | ryandesign (Ryan Carsten Schmidt) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.6.4 |
Keywords: | tiger | Cc: | |
Port: | cairo, cairo-devel |
Description
/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.)
Attachments (1)
Change History (16)
Changed 4 years ago by ballapete (Peter "Pete" Dyballa)
comment:1 Changed 4 years ago by kencu (Ken)
This new patch Ryan added doesn't build on some older systems.
I just commented it out while it gets sorted out.
comment:2 Changed 4 years ago by mf2k (Frank Schima)
Cc: | ryandesign@… removed |
---|---|
Owner: | set to ryandesign |
Status: | new → assigned |
comment:3 Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)
Port: | cairo-devel added |
---|---|
Summary: | cairo @1.16.0 does not build on PPC Tiger, Mac OS X 10.4.11, because of incompatible types in return → cairo @1.16.0: error: incompatible types in return |
This new patch Ryan added doesn't build on some older systems.
I wasn't aware that the recently-added patch caused problems on older systems; this ticket is the first I've heard of the problem. The patch comes directly from the developers of cairo and was added to fix a crash on Big Sur; see #61586. If the port doesn't build with this patch on some systems, please report the problem to the developers so that they can fix it. Once they do, we can update the patch with their fix.
(I could also see that
configure
failed to detectpoppler
andlibspectre
which I have not yet checked in detail, some other house work is waiting.)
That's intentional. The cairo port deliberately patches the configure script to ensure that poppler, libspectre, and librsvg are not used, even if they are installed, because that would result in a circular dependency, which is not allowed in MacPorts.
comment:4 follow-ups: 5 9 Changed 4 years ago by ballapete (Peter "Pete" Dyballa)
This patch is obviously the cause for the build failure here on Tiger: changing patch-cairo-quartz-surfaces.diff
into a comment let cairo @1.16.0
build – with GCC 7.5
. I am going to run make check
and then I'll try to build it also with GCC 4.2
.
comment:5 Changed 4 years ago by ballapete (Peter "Pete" Dyballa)
/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'
comment:6 follow-up: 7 Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)
When you report the problem to the developers of cairo, please let us know the URL of your report.
comment:7 follow-up: 8 Changed 4 years ago by ballapete (Peter "Pete" Dyballa)
Replying to ryandesign:
When you report the problem to the developers of cairo, please let us know the URL of your report.
Reporting is a bit complicated! TenFourFox runs into a very high load when I am in the Cairo bug reporting page. Actually it's some product on Big Sur that has a problem! But you're right: the patch should be incorporated for Big Sur only.
comment:8 Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)
Replying to ballapete:
But you're right: the patch should be incorporated for Big Sur only.
I didn't say that; in fact I said the opposite. But certainly it's up to the developers how they would like to fix this.
comment:9 follow-ups: 10 11 Changed 4 years ago by ballapete (Peter "Pete" Dyballa)
Replying to ballapete:
make check
ran for a few hours, produced 30 core files
à 144 MB and said: All well! The build with GCC 4.2
also succeeded in absence of the Big Sur patch. I am running make check
now.
comment:10 Changed 4 years ago by ballapete (Peter "Pete" Dyballa)
On macOS High Sierra, Version 10.13.6, cairo @1.16.0_1
built from sources with clang version 9.0.1
and the Big Sur patch patch-cairo-quartz-surfaces.diff
. And it also built without that patch!
comment:11 Changed 4 years ago by ballapete (Peter "Pete" Dyballa)
make check
succeeded better with GCC 4.2
: no core file and
97 Passed, 447 Failed [241 crashed, 10 expected], 26 Skipped
vs.
64 Passed, 479 Failed [332 crashed, 10 expected], 26 Skipped
I am going to report in cairo bugs.
comment:12 Changed 4 years ago by ballapete (Peter "Pete" Dyballa)
This is the URL to the Cairo issue: https://gitlab.freedesktop.org/cairo/cairo/-/issues/454
comment:13 Changed 4 years ago by ballapete (Peter "Pete" Dyballa)
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
comment:14 Changed 4 years ago by michaelld (Michael Dickens)
I just created https://github.com/macports/macports-ports/pull/9897 to address this issue. I forgot to note this ticket in the commit log, but I did catch it in the PR log. The fix for the incompatible types in return is very clear once you parse the code. I add in a fix that's upstream already for good measure.
comment:15 Changed 4 years ago by michaelld (Michael Dickens)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Main.log from PPC Tiger