Opened 15 years ago

Closed 15 years ago

#22548 closed defect (fixed)

cairo-devel build fails on Snow with quartz variant

Reported by: hsivank@… Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 1.8.1
Keywords: Cc:
Port: cairo-devel

Description

~$ sudo port install cairo-devel
--->  Computing dependencies for cairo-devel
--->  Fetching cairo-devel
--->  Verifying checksum(s) for cairo-devel
--->  Extracting cairo-devel
--->  Configuring cairo-devel
--->  Building cairo-devel
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_ports.git_dports_graphics_cairo-devel/work/cairo-1.9.4" && /usr/bin/make -j2 all " returned error 2
Command output: cairo-quartz-surface.c: In function '_cairo_quartz_surface_mask_with_generic':
cairo-quartz-surface.c:2353: warning: ignoring return value of '_cairo_pattern_create_copy', declared with attribute warn_unused_result
cairo-quartz-font.c: In function 'cairo_quartz_font_face_create_for_cgfont':
cairo-quartz-font.c:329: warning: ignoring return value of '_cairo_error', declared with attribute warn_unused_result
cairo-quartz-font.c: In function '_cairo_quartz_init_glyph_metrics':
cairo-quartz-font.c:406: warning: unused variable 'textMatrix'
cairo-quartz-font.c: In function '_cairo_quartz_path_apply_func':
cairo-quartz-font.c:486: warning: ignoring return value of '_cairo_path_fixed_move_to', declared with attribute warn_unused_result
cairo-quartz-font.c:491: warning: ignoring return value of '_cairo_path_fixed_line_to', declared with attribute warn_unused_result
cairo-quartz-font.c:503: warning: ignoring return value of '_cairo_path_fixed_curve_to', declared with attribute warn_unused_result
cairo-quartz-font.c:513: warning: ignoring return value of '_cairo_path_fixed_curve_to', declared with attribute warn_unused_result
cairo-quartz-font.c:522: warning: ignoring return value of '_cairo_path_fixed_close_path', declared with attribute warn_unused_result
  CC    cairo-quartz-image-surface.o
  CC    cairo-png.o
  CC    cairo-ft-font.o
  CC    cairo-ps-surface.o
  CC    cairo-pdf-surface.o
cairo-pdf-surface.c: In function '_cairo_pdf_surface_emit_pattern':
cairo-pdf-surface.c:2116: warning: 'interpolate' may be used uninitialized in this function
cairo-pdf-surface.c:2116: note: 'interpolate' was declared here
  CC    cairo-svg-surface.o
cairo-quartz-image-surface.c: In function '_cairo_quartz_image_surface_create_similar':
cairo-quartz-image-surface.c:62: error: implicit declaration of function '_cairo_image_surface_create_for_content'
cairo-quartz-image-surface.c:62: warning: nested extern declaration of '_cairo_image_surface_create_for_content'
cairo-quartz-image-surface.c:62: warning: initialization makes pointer from integer without a cast
make[3]: *** [cairo-quartz-image-surface.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Error: Status 1 encountered during processing.

The fonction '_cairo_image_surface_create_for_content' does not exist ! It seems that '_cairo_image_surface_create_with_content' is the correct name ...

Attachments (2)

patch-src-cairo-quartz-image-surface.c.diff (425 bytes) - added by hsivank@… 15 years ago.
Portfile-cairo-devel.diff (584 bytes) - added by hsivank@… 15 years ago.

Download all attachments as: .zip

Change History (4)

Changed 15 years ago by hsivank@…

Changed 15 years ago by hsivank@…

Attachment: Portfile-cairo-devel.diff added

comment:1 Changed 15 years ago by jmroot (Joshua Root)

Keywords: cairo-devel quartz removed
Owner: changed from macports-tickets@… to ryandesign@…

comment:2 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: newclosed

Thanks. I committed your patch (minus the revision bump) in r60578 and reported the problem upstream.

Note: See TracTickets for help on using tickets.