[MacPorts] #21710: cairo-1.8.8 not building under MacPorts 1.8.1, Snow Leopard 10.6.1

MacPorts noreply at macports.org
Tue Sep 29 22:15:53 PDT 2009


#21710: cairo-1.8.8 not building under MacPorts 1.8.1, Snow Leopard 10.6.1
-----------------------------+----------------------------------------------
 Reporter:  lists@…          |       Owner:  macports-tickets@…                   
     Type:  defect           |      Status:  new                                  
 Priority:  Normal           |   Milestone:                                       
Component:  ports            |     Version:  1.8.1                                
 Keywords:                   |        Port:  cairo                                
-----------------------------+----------------------------------------------
Changes (by ryandesign@…):

 * cc: ryandesign@… (added)
  * port:  => cairo


Old description:

> Trying to install R. Requires cairo, which fails as follows:
>
> lydia:local pbw$ sudo port clean cairo
> --->  Cleaning cairo
> lydia:local pbw$ sudo port install cairo
> --->  Computing dependencies for cairo
> --->  Fetching cairo
> --->  Verifying checksum(s) for cairo
> --->  Extracting cairo
> --->  Configuring 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:   "_png_get_error_ptr", referenced from:
>       _png_simple_warning_callback in cairo-png.o
>       _png_simple_error_callback in cairo-png.o
>       _stream_read_func in cairo-png.o
>       _stream_write_func in cairo-png.o
>       _stdio_read_func in cairo-png.o
>       _stdio_write_func in cairo-png.o
>   "_png_create_write_struct", referenced from:
>       _write_png in cairo-png.o
>   "_png_destroy_read_struct", referenced from:
>       _read_png in cairo-png.o
>   "_png_create_info_struct", referenced from:
>       _read_png in cairo-png.o
>       _write_png in cairo-png.o
>   "_png_get_io_ptr", referenced from:
>       _stream_read_func in cairo-png.o
>       _stream_write_func in cairo-png.o
>       _stdio_read_func in cairo-png.o
>       _stdio_write_func in cairo-png.o
>   "_png_set_read_user_transform_fn", referenced from:
>       _read_png in cairo-png.o
>       _read_png in cairo-png.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

New description:

 Trying to install R. Requires cairo, which fails as follows:

 {{{
 lydia:local pbw$ sudo port clean cairo
 --->  Cleaning cairo
 lydia:local pbw$ sudo port install cairo
 --->  Computing dependencies for cairo
 --->  Fetching cairo
 --->  Verifying checksum(s) for cairo
 --->  Extracting cairo
 --->  Configuring 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:   "_png_get_error_ptr", referenced from:
       _png_simple_warning_callback in cairo-png.o
       _png_simple_error_callback in cairo-png.o
       _stream_read_func in cairo-png.o
       _stream_write_func in cairo-png.o
       _stdio_read_func in cairo-png.o
       _stdio_write_func in cairo-png.o
   "_png_create_write_struct", referenced from:
       _write_png in cairo-png.o
   "_png_destroy_read_struct", referenced from:
       _read_png in cairo-png.o
   "_png_create_info_struct", referenced from:
       _read_png in cairo-png.o
       _write_png in cairo-png.o
   "_png_get_io_ptr", referenced from:
       _stream_read_func in cairo-png.o
       _stream_write_func in cairo-png.o
       _stdio_read_func in cairo-png.o
       _stdio_write_func in cairo-png.o
   "_png_set_read_user_transform_fn", referenced from:
       _read_png in cairo-png.o
       _read_png in cairo-png.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
 }}}

--

Comment:

 It looks like your libpng is not built for the same architecture as your
 cairo. Perhaps you upgraded to Snow Leopard from Leopard and did not
 uninstall and reinstall all your ports? See the [wiki:Migration Migration]
 page in the wiki. cairo works fine on Snow Leopard and every other OS
 version for me.

 Also when filing a ticket please remember WikiFormatting.

-- 
Ticket URL: <http://trac.macports.org/ticket/21710#comment:1>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list