pango fails to build in El Capitan

Artemio González López artemiog at mac.com
Sat Jun 13 15:52:21 PDT 2015


I’ve installed the Developer Preview of El Capitan, and I have been trying to rebuild my MacPorts installation following the Migration instructions at MacPorts. Everything went fine till I tried to build ImageMagick. More precisely, pango (an ImageMagick dependency) failed with the errors reported at the end of this message (from the end of the log file). I know that I am using a beta system, so I’m not entitled to any support from MacPorts. However, I would appreciate any pointers as to what may be wrong, and how to fix it (if  possible),

Thanks a lot,

Artemio

Artemio Gonzalez Lopez
artemiog at imac.com


CC="/usr/bin/clang -arch x86_64" /opt/local/bin/g-ir-scanner  --warn-all --add-include-path=. --add-include-path=. --namespace=PangoXft --nsversion=1.0 --libtool="/bin/sh ../libtool" --pkg=gobject-2.0 --pkg=freetype2 --include=GObject-2.0 --include=xft-2.0 --include=xlib-2.0 --pkg-export=pangoxft  --library=libpango-1.0.la --library=libpangoft2-1.0.la --library=libpangoxft-1.0.la --include-uninstalled=./Pango-1.0.gir --include-uninstalled=./PangoFT2-1.0.gir --c-include "pango/pangoxft.h" --cflags-begin -I.. -I.. -DG_LOG_DOMAIN=\"Pango\" -DPANGO_ENABLE_BACKEND -DPANGO_ENABLE_ENGINE -DSYSCONFDIR=\"/opt/local/etc\" -DLIBDIR=\"/opt/local/lib\" -I.. -I.. -DG_DISABLE_CAST_CHECKS -D_REENTRANT -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include  -I/opt/local/include -I/opt/local/include/freetype2 -I/opt/local/include -I/opt/local/include/freetype2 -I/opt/local/include  -I/opt/local/include/cairo -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I/opt/local/include/pixman-1 -I/opt/local/include -I/opt/local/include/freetype2 -I/opt/local/include -I/opt/local/include/freetype2 -I/opt/local/include/libpng16 -I/opt/local/include  -I/opt/local/include/harfbuzz  -I/opt/local/include/freetype2  -I/opt/local/include -I/opt/local/include/freetype2 -I/opt/local/include -I/opt/local/include/freetype2   --cflags-end  pangoxft.h pangoxft-render.h pangoxft-font.c pangoxft-fontmap.c pangoxft-render.c libpangoxft-1.0.la Pango-1.0.gir PangoFT2-1.0.gir --output PangoXft-1.0.gir
In file included from <stdin>:6:
In file included from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_x11_pango/pango/work/pango-1.36.8/pango/pangocoretext.h:28:
In file included from /System/Library/Frameworks/Carbon.framework/Headers/Carbon.h:24:
In file included from /System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.h:35:
In file included from /System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.h:43:
/System/Library/Frameworks/CoreGraphics.framework/Headers/CGDisplayStream.h:15:1: error: '#pragma clang arc_cf_code_audited' was not ended within this file
CF_IMPLICIT_BRIDGING_ENABLED
^
/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBase.h:221:38: note: expanded from macro 'CF_IMPLICIT_BRIDGING_ENABLED'
#define CF_IMPLICIT_BRIDGING_ENABLED _Pragma("clang arc_cf_code_audited begin")
                                     ^
<scratch space>:59:8: note: expanded from here
 clang arc_cf_code_audited begin
       ^
In file included from <stdin>:6:
In file included from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_x11_pango/pango/work/pango-1.36.8/pango/pangocoretext.h:28:
In file included from /System/Library/Frameworks/Carbon.framework/Headers/Carbon.h:24:
In file included from /System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.h:35:
In file included from /System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.h:43:
/System/Library/Frameworks/CoreGraphics.framework/Headers/CGDisplayStream.h:17:1: error: '#pragma clang assume_nonnull' was not ended within this file
CF_ASSUME_NONNULL_BEGIN
^
/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBase.h:265:33: note: expanded from macro 'CF_ASSUME_NONNULL_BEGIN'
#define CF_ASSUME_NONNULL_BEGIN _Pragma("clang assume_nonnull begin")
                                ^
<scratch space>:61:8: note: expanded from here
 clang assume_nonnull begin
       ^
pangoxft.h:41: Warning: PangoXft: symbol='PANGO_RENDER_TYPE_XFT': Skipping foreign symbol from namespace Pango
g-ir-scanner: compile: /usr/bin/clang -arch x86_64 -Wno-deprecated-declarations -D_REENTRANT -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I/opt/local/include/freetype2 -I/opt/local/include/cairo -I/opt/local/include/pixman-1 -I/opt/local/include -I/opt/local/include/freetype2 -I/opt/local/include -I/opt/local/include/libpng16 -I/opt/local/include -I/opt/local/include/freetype2 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -c -o /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_x11_pango/pango/work/pango-1.36.8/pango/tmp-introspectFoVvIP/PangoXft-1.0.o /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_x11_pango/pango/work/pango-1.36.8/pango/tmp-introspectFoVvIP/PangoXft-1.0.c
2 errors generated.
Error while processing the source.
make[4]: *** [PangoCairo-1.0.gir] Error 1
make[4]: *** Waiting for unfinished jobs....
g-ir-scanner: link: /bin/sh ../libtool --mode=link --tag=CC /usr/bin/clang -arch x86_64 -o /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_x11_pango/pango/work/pango-1.36.8/pango/tmp-introspectFoVvIP/PangoXft-1.0 -export-dynamic /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_x11_pango/pango/work/pango-1.36.8/pango/tmp-introspectFoVvIP/PangoXft-1.0.o -L. libpango-1.0.la libpangoft2-1.0.la libpangoxft-1.0.la -L/opt/local/lib -lgio-2.0 -lgmodule-2.0 -lgobject-2.0 -lglib-2.0 -lintl -lfreetype
libtool: link: /usr/bin/clang -arch x86_64 -o /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_x11_pango/pango/work/pango-1.36.8/pango/tmp-introspectFoVvIP/.libs/PangoXft-1.0 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_x11_pango/pango/work/pango-1.36.8/pango/tmp-introspectFoVvIP/PangoXft-1.0.o  -L. ./.libs/libpango-1.0.dylib -L/opt/local/lib ./.libs/libpangoft2-1.0.dylib ./.libs/libpangoxft-1.0.dylib /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_x11_pango/pango/work/pango-1.36.8/pango/.libs/libpangoft2-1.0.dylib -lharfbuzz /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_x11_pango/pango/work/pango-1.36.8/pango/.libs/libpango-1.0.dylib -lgthread-2.0 -lXft -lXrender -lX11 -lfontconfig -lm -lgio-2.0 -lgmodule-2.0 -lgobject-2.0 -lglib-2.0 -lintl -lfreetype
pangoxft-font.c:508: Warning: PangoXft: pango_xft_font_get_font: return value: Invalid non-constant return of bare structure or union; register as boxed type or (skip)
pangoxft-font.c:525: Warning: PangoXft: pango_xft_font_get_display: return value: Invalid non-constant return of bare structure or union; register as boxed type or (skip)
pangoxft-font.c:572: Warning: PangoXft: pango_xft_font_lock_face: return value: Invalid non-constant return of bare structure or union; register as boxed type or (skip)
make[4]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_x11_pango/pango/work/pango-1.36.8/pango'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_x11_pango/pango/work/pango-1.36.8/pango'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_x11_pango/pango/work/pango-1.36.8/pango'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_x11_pango/pango/work/pango-1.36.8'
make: *** [all] Error 2
make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_x11_pango/pango/work/pango-1.36.8'
Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_x11_pango/pango/work/pango-1.36.8" && /usr/bin/make -j4 -w all CC="/usr/bin/clang -arch x86_64" 
Exit code: 2
Error: org.macports.build for port pango returned: command execution failed
Warning: targets not executed for pango: org.macports.activate org.macports.build org.macports.destroot org.macports.install
Error: Failed to install pango
Please see the log file for port pango for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_x11_pango/pango/main.log
Error: The following dependencies were not installed: djvulibre librsvg pango vala fftw-3 ghostscript jbig2dec libpaper xorg-libXt xorg-libsm xorg-libice jbigkit lcms2 openexr ilmbase gsed openjpeg urw-fonts webp
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port ImageMagick failed
mba:~ artemio$ less /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_x11_pango/pango/main.log





More information about the macports-users mailing list