#21812 closed defect (duplicate)
pango +quartz build failure on Snow Leopard
Reported by: | james.applemac@… | Owned by: | ryandesign (Ryan Carsten Schmidt) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.8.1 |
Keywords: | Cc: | ||
Port: | pango |
Description
Hi,
I try to upgrade glib2 under OS X 10.6.1 with Xcode 3.2 today, but
it show me the following ERROR:
port -uR upgrade glib2 +darwin Port command started with PID 46750 Warning: Implicit variants should not be explicitly set or unset. darwin will be ignored. ---> Computing dependencies for glib2 ---> Fetching glib2 ---> Attempting to fetch glib-2.22.1.tar.bz2 from http://ftp.nara.wide.ad.jp/pub/X11/GNOME/sources/glib/2.22/ ---> Attempting to fetch glib-2.22.1.tar.bz2 from ftp://ftp.nara.wide.ad.jp/pub/X11/GNOME/sources/glib/2.22/ ---> Verifying checksum(s) for glib2 ---> Extracting glib2 ---> Applying patches to glib2 ---> Configuring glib2 ---> Building glib2 ---> Staging glib2 into destroot ---> Deactivating glib2 @2.22.0_1+darwin ---> Computing dependencies for glib2 ---> Installing glib2 @2.22.1_0+darwin ---> Activating glib2 @2.22.1_0+darwin ---> Cleaning glib2 ---> Uninstalling glib2 @2.22.0_1+darwin ---> Computing dependencies for pango ---> Fetching pango ---> Verifying checksum(s) for pango ---> Extracting pango ---> Applying patches to pango ---> Configuring pango ---> Building pango Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_pango/work/pango-1.24.5" && /usr/bin/make -j2 all " returned error 2 Command output: /bin/sh ../libtool --tag=CC --mode=link /usr/bin/gcc-4.2 -xobjective-c -O2 -arch x86_64 -Wall -version-info 2400:5:2400 -export-symbols-regex "^pango_.*" -framework CoreFoundation -framework Carbon -framework Cocoa -L/opt/local/lib -no-undefined -bind_at_load -o libpangocairo-1.0.la -rpath /opt/local/lib libpangocairo_1_0_la-pangocairo-context.lo libpangocairo_1_0_la-pangocairo-font.lo libpangocairo_1_0_la-pangocairo-fontmap.lo libpangocairo_1_0_la-pangocairo-render.lo libpangocairo_1_0_la-pangocairo-fcfont.lo libpangocairo_1_0_la-pangocairo-fcfontmap.lo libpangocairo_1_0_la-module-defs-atsui.lo libpangocairo_1_0_la-pangoatsui.lo libpangocairo_1_0_la-pangoatsui-fontmap.lo libpangocairo_1_0_la-pangocairo-atsuifont.lo libpangocairo_1_0_la-pangocairo-atsuifontmap.lo libpango-1.0.la -L/opt/local/lib -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lintl -liconv -L/opt/local/lib -lcairo -lpixman-1 -lfontconfig -lexpat -lfreetype -liconv -lglitz -lm -lpng12 -lz -lxcb-render-util -lXrender -lxcb-render -lxcb -lX11 -lXau -lXdmcp -lm libpangoft2-1.0.la -L/opt/local/lib -lfreetype -lz -L/opt/local/lib -lfontconfig -lexpat -lfreetype -lz -liconv libtool: link: /usr/bin/nm .libs/pangoxft-font.o .libs/pangoxft-fontmap.o .libs/pangoxft-render.o | sed -n -e 's/^.*[ ]\([BCDEGRST][BCDEGRST]*\)[ ][ ]*_\([_A-Za-z][_A-Za-z0-9]*\)$/\1 _\2 \2/p' | /opt/local/bin/gsed 's/.* //' | sort | uniq > .libs/libpangoxft-1.0.exp libtool: link: /usr/bin/grep -E -e "^pango_.*" ".libs/libpangoxft-1.0.exp" > ".libs/libpangoxft-1.0.expT" libtool: link: mv -f ".libs/libpangoxft-1.0.expT" ".libs/libpangoxft-1.0.exp" libtool: link: sed 's,^,_,' < .libs/libpangoxft-1.0.exp > .libs/libpangoxft-1.0-symbols.expsym libtool: link: /usr/bin/gcc-4.2 -dynamiclib -o .libs/libpangoxft-1.0.0.dylib .libs/pangoxft-font.o .libs/pangoxft-fontmap.o .libs/pangoxft-render.o -L/opt/local/lib ./.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 ./.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 -lresolv /opt/local/lib/libintl.dylib -lc /opt/local/lib/libXft.dylib /opt/local/lib/libXrender.dylib /opt/local/lib/libX11.dylib /opt/local/lib/libXau.dylib /opt/local/lib/libXdmcp.dylib /opt/local/lib/libfontconfig.dylib /opt/local/lib/libexpat.dylib /opt/local/lib/libfreetype.dylib -lz /opt/local/lib/libiconv.dylib -lm -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 Carbon -install_name /opt/local/lib/libpangoxft-1.0.0.dylib -compatibility_version 2401 -current_version 2401.5 -Wl,-single_module -Wl,-exported_symbols_list,.libs/libpangoxft-1.0-symbols.expsym libtool: link: dsymutil .libs/libpangoxft-1.0.0.dylib || : warning: no debug symbols in executable (-arch x86_64) libtool: link: (cd ".libs" && rm -f "libpangoxft-1.0.dylib" && ln -s "libpangoxft-1.0.0.dylib" "libpangoxft-1.0.dylib") libtool: link: ar cru .libs/libpangoxft-1.0.a pangoxft-font.o pangoxft-fontmap.o pangoxft-render.o libtool: link: ranlib .libs/libpangoxft-1.0.a libtool: link: ( cd ".libs" && rm -f "libpangoxft-1.0.la" && ln -s "../libpangoxft-1.0.la" "libpangoxft-1.0.la" ) /bin/sh ../libtool --tag=CC --mode=link /usr/bin/gcc-4.2 -O2 -arch x86_64 -Wall -L/opt/local/lib -no-undefined -bind_at_load -o pango-querymodules querymodules.o libpangox-1.0.la libpangoxft-1.0.la libpangoft2-1.0.la libpango-1.0.la -L/opt/local/lib -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lintl -liconv libtool: link: /usr/bin/nm .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 | sed -n -e 's/^.*[ ]\([BCDEGRST][BCDEGRST]*\)[ ][ ]*_\([_A-Za-z][_A-Za-z0-9]*\)$/\1 _\2 \2/p' | /opt/local/bin/gsed 's/.* //' | sort | uniq > .libs/libpangocairo-1.0.exp libtool: link: /usr/bin/grep -E -e "^pango_.*" ".libs/libpangocairo-1.0.exp" > ".libs/libpangocairo-1.0.expT" libtool: link: mv -f ".libs/libpangocairo-1.0.expT" ".libs/libpangocairo-1.0.exp" libtool: link: sed 's,^,_,' < .libs/libpangocairo-1.0.exp > .libs/libpangocairo-1.0-symbols.expsym 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/libglitz.dylib /opt/local/lib/libpng12.dylib /opt/local/lib/libxcb-render-util.dylib /opt/local/lib/libXrender.dylib /opt/local/lib/libxcb-render.dylib /opt/local/lib/libxcb.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 -lresolv /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 -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[4]: *** Waiting for unfinished jobs.... libtool: link: /usr/bin/gcc-4.2 -O2 -arch x86_64 -Wall -bind_at_load -o .libs/pango-querymodules querymodules.o -L/opt/local/lib ./.libs/libpangox-1.0.dylib ./.libs/libpangoxft-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/libpangoft2-1.0.dylib /opt/local/lib/libXft.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/libfontconfig.dylib /opt/local/lib/libexpat.dylib /opt/local/lib/libfreetype.dylib -lz ./.libs/libpango-1.0.dylib -lm /opt/local/lib/libgobject-2.0.dylib /opt/local/lib/libgmodule-2.0.dylib /opt/local/lib/libglib-2.0.dylib -lresolv /opt/local/lib/libintl.dylib -lc /opt/local/lib/libiconv.dylib -framework Carbon make[3]: *** [all-recursive] Error 1 make[2]: *** [all] Error 2 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 Error: Unable to upgrade port: 1 ---> Executing: /opt/local/bin/port -uR upgrade glib2 +darwin
Change History (6)
comment:1 Changed 15 years ago by tobypeterson
Owner: | changed from macports-tickets@… to ryandesign@… |
---|---|
Port: | pango added; glib2 removed |
Summary: | glib2 2.22.1_0 upgrade ERROR under OS X 10.6.1 with Xcode 3.2 → pango build failure |
comment:2 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)
comment:3 Changed 15 years ago by james.applemac@…
Yes, both cairo and pango has builded with variant quartz.
comment:4 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → duplicate |
---|---|
Status: | new → closed |
Then this is a duplicate of #17049. pango 1.24.5 +quartz will not work on 64-bit, which is how things build by default on Snow Leopard. Either don't use +quartz, or set build_arch to i386 in macports.conf and rebuild all ports, or wait until pango is updated to the next version, which should support 64-bit +quartz builds. Unfortunately there is something else wrong with pango 1.26.0; we tried updating to that version but it caused a lot of programs to become unusably slow so we had to roll back that update. Hopefully future versions of pango will function correctly again.
comment:5 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)
Or, build pango 1.24.5 (and all its dependencies) with the universal variant. That's another option. The 64-bit part won't have quartz support but the 32-bit part will. And again this won't be necessary or won't apply once we update pango to 1.26.x, which should be able to build quartz 64-bit.
comment:6 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)
Summary: | pango build failure → pango +quartz build failure on Snow Leopard |
---|
Are cairo or pango installed with the +quartz variant?