GNOME Bugzilla – Bug 589567
pango with Quartz uses ATSUI which does not exist on 64-bit Mac OS X
Last modified: 2009-07-27 03:57:50 UTC
Please describe the problem: When pango is compiled with Quartz support (that is, when cairo has been install with Quartz support), it uses ATSUI functions, which do not exist on 64-bit Mac OS X. This is already a problem for those users wanting to build a 64-bit/32-bit universal binary on Leopard, and will be a problem for all users wanting Quartz support on Snow Leopard which compiles 64-bit by default. Apple says Snow Leopard will be out in September 2009. Steps to reproduce: 1. configure cairo with --enable-quartz --enable-quartz-font --enable-quartz-image, make, make install 2. configure and make pango Or using MacPorts: 1. sudo port install pango +quartz Actual results: libtool: link: /usr/bin/gcc-4.2 -dynamiclib -o .libs/libpangocairo-1.0.0.dylib .libs/libpangocairo_1_0_la-pangocairo-context.o .libs/libpangocairo_1_0_la-pangocairo-font.o .libs/libpangocairo_1_0_la-pangocairo-fontmap.o .libs/libpangocairo_1_0_la-pangocairo-render.o .libs/libpangocairo_1_0_la-pangocairo-fcfont.o .libs/libpangocairo_1_0_la-pangocairo-fcfontmap.o .libs/libpangocairo_1_0_la-module-defs-atsui.o .libs/libpangocairo_1_0_la-pangoatsui.o .libs/libpangocairo_1_0_la-pangoatsui-fontmap.o .libs/libpangocairo_1_0_la-pangocairo-atsuifont.o .libs/libpangocairo_1_0_la-pangocairo-atsuifontmap.o -framework CoreFoundation -framework Carbon -framework Cocoa -L/opt/local/lib ./.libs/libpango-1.0.dylib /opt/local/lib/libcairo.dylib /opt/local/lib/libpixman-1.dylib /opt/local/lib/libpng12.dylib /opt/local/lib/libXrender.dylib /opt/local/lib/libX11.dylib /opt/local/lib/libXau.dylib /opt/local/lib/libXdmcp.dylib ./.libs/libpangoft2-1.0.dylib /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_pango/work/pango-1.24.5/pango/.libs/libpango-1.0.dylib /opt/local/lib/libgobject-2.0.dylib /opt/local/lib/libgmodule-2.0.dylib /opt/local/lib/libglib-2.0.dylib /opt/local/lib/libintl.dylib -lc -lm /opt/local/lib/libfontconfig.dylib /opt/local/lib/libexpat.dylib /opt/local/lib/libfreetype.dylib -lz /opt/local/lib/libiconv.dylib -arch x86_64 -arch x86_64 -Wl,-dylib_file -Wl,/opt/local/lib/libpango-1.0.0.dylib:/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_pango/work/pango-1.24.5/pango/.libs/libpango-1.0.dylib -framework CoreFoundation -framework Carbon -framework Cocoa -install_name /opt/local/lib/libpangocairo-1.0.0.dylib -compatibility_version 2401 -current_version 2401.5 -Wl,-single_module -Wl,-exported_symbols_list,.libs/libpangocairo-1.0-symbols.expsym Undefined symbols: "_cairo_quartz_font_face_create_for_atsu_font_id", referenced from: _pango_cairo_atsui_font_create_font_face in libpangocairo_1_0_la-pangocairo-atsuifont.o ld: symbol(s) not found collect2: ld returned 1 exit status make[4]: *** [libpangocairo-1.0.la] Error 1 make[3]: *** [all-recursive] Error 1 make[2]: *** [all] Error 2 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 Expected results: successful compile Does this happen every time? yes Other information: Behdad advised me to file a bug for this here: http://mail.gnome.org/archives/gtk-i18n-list/2009-January/msg00008.html The MacPorts project has some patches for this here: http://trac.macports.org/ticket/17049 I have not tried them myself.
Patch committed. Will be in 1.26. Please file new bugs for remaining issues.