New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #21018 (closed defect: invalid)

Opened 4 years ago

Last modified 4 years ago

cairo 1.8.8 doesn't build

Reported by: mail@… Owned by: ryandesign@…
Priority: Normal Milestone:
Component: ports Version: 1.8.0
Keywords: Cc:
Port: cairo

Description (last modified by blb@…) (diff)

Upgraded to Snow Leopard, MacPorts 1.8.0 and uninstalled all my old ports and started over. However, I can't build cairo

--->  Computing dependencies for cairo
--->  Building cairo
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_cairo/work/cairo-1.8.8" && /usr/bin/make -j2 all " returned error 2
Command output:   "_XCreatePixmap", referenced from:
      __cairo_xlib_surface_create_similar_with_format in cairo-xlib-surface.o
      __cairo_xlib_surface_create_solid_pattern_surface in cairo-xlib-surface.o
      __cairo_xlib_surface_create_similar in cairo-xlib-surface.o
      __create_a8_picture in cairo-xlib-surface.o
      __get_image_surface in cairo-xlib-surface.o
  "_XSetFillStyle", referenced from:
      __cairo_xlib_surface_fill_rectangles in cairo-xlib-surface.o
      __cairo_xlib_surface_composite in cairo-xlib-surface.o
  "_XPutImage", referenced from:
      __draw_image_surface in cairo-xlib-surface.o
  "_pixman_image_get_stride", referenced from:
      __cairo_image_surface_create_for_pixman_image in cairo-image-surface.o
  "_XRenderChangePicture", referenced from:
      __cairo_xlib_surface_set_repeat in cairo-xlib-surface.o
      __cairo_xlib_surface_set_picture_clip_rects in cairo-xlib-surface.o
  "_XQueryColors", referenced from:
      __cairo_xlib_visual_info_create in cairo-xlib-visual.o
  "_XRenderCreatePicture", referenced from:
      __cairo_xlib_surface_set_attributes in cairo-xlib-surface.o
      __cairo_xlib_surface_ensure_dst_picture in cairo-xlib-surface.o
      __create_a8_picture in cairo-xlib-surface.o
  "_png_read_image", referenced from:
      _read_png in cairo-png.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[3]: *** [libcairo.la] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Error: Status 1 encountered during processing.

Change History

comment:1 Changed 4 years ago by blb@…

  • Owner changed from macports-tickets@… to ryandesign@…
  • Keywords snowleopard added; cairo removed
  • Description modified (diff)

comment:2 follow-up: ↓ 6 Changed 4 years ago by ryandesign@…

It works fine for me on Snow Leopard. To better understand what's happening on your system, can you please clean cairo and try again with debug output?

sudo port clean cairo
sudo port -d install cairo 2>&1 | tee ~/Desktop/cairo.txt

Then attach cairo.txt from your desktop to this ticket.

comment:3 Changed 4 years ago by snc@…

You might even consider running sudo port clean all to avoid this problem on other ports.

comment:4 Changed 4 years ago by snc@…

  • Keywords snowleopard removed

comment:5 Changed 4 years ago by snc@…

  • Summary changed from cairo 1.8.8 doesn't build on Snow Leopard to cairo 1.8.8 doesn't build

comment:6 in reply to: ↑ 2 Changed 4 years ago by mail@…

Replying to ryandesign@…:

It works fine for me on Snow Leopard. To better understand what's happening on your system, can you please clean cairo and try again with debug output?

sudo port clean cairo
sudo port -d install cairo 2>&1 | tee ~/Desktop/cairo.txt

Then attach cairo.txt from your desktop to this ticket.

Cleaning and installing fixed it for me. Thanks!

comment:7 Changed 4 years ago by ryandesign@…

  • Status changed from new to closed
  • Resolution set to invalid
Note: See TracTickets for help on using tickets.