Re: [gtk-osx-users] Pango and 10.14 (with latest clang)





On Jan 28, 2019, at 6:45 AM, Gabriele Greco via gtk-osx-users-list <gtk-osx-users-list gnome org> wrote:

It seems that pango (1.42.4) does not build in 10.4 with latest tools and SDK, configured with a deployment 
target of 10.9, the error is pretty cryptic, my guess is that pango somehow redefines a type used 
internally by OSX headers (dispatch_source_t stuff).

I worked around this error placing in the output directory the build of the older pango version I used with 
my previous build (1.38.1), that seems to satisfay GTK+2 that depends from 1.20.

I've been able to complete the build and I found that sadly the actual build still have the known problems 
with 10.14 and dark mode specifically I found:

- Partial rendering in some circumstances (scrolling, initial layout..).
- Crash on exit when destroying surfaces with "active" rendering.
- Crash moving an app from a display to another if a rendering is going on in the gtk app (for instance a 
video playback).

From the stack traces I see that the crashing problems are related to CGStackRestore with null pointers...

Anyway here is the output of the pango build failure:

xzcat -d "/Users/gabry/gtk/source/pkgs/pango-1.42.4.tar.xz" | tar xf -
*** Configuring pango *** [23/28]

[.... cut ...]

 GISCAN   Pango-1.0.gir  CCLD     libpangocairo-1.0.la
pango-engine.h:300: Warning: Pango: symbol='script_engine_list': Unknown namespace for symbol 
'script_engine_list'
pango-engine.h:313: Warning: Pango: symbol='script_engine_init': Unknown namespace for symbol 
'script_engine_init'
pango-engine.h:324: Warning: Pango: symbol='script_engine_exit': Unknown namespace for symbol 
'script_engine_exit'
pango-engine.h:335: Warning: Pango: symbol='script_engine_create': Unknown namespace for symbol 
'script_engine_create'
pango-version-macros.h:287: Warning: Pango: Unknown namespace for identifier 'Interval'
fonts.c:490: Warning: Pango: pango_font_description_set_variations_static: unknown parameter 'variations' 
in documentation comment, should be 'settings'
fonts.c:530: Warning: Pango: pango_font_description_set_variations: unknown parameter 'variations' in 
documentation comment, should be 'settings'
pango-coverage.c:127: Warning: Pango: pango_coverage_ref: return value: Invalid non-constant return of bare 
structure or union; register as boxed type or (skip)
pango-coverage.c:88: Warning: Pango: pango_coverage_copy: return value: Invalid non-constant return of bare 
structure or union; register as boxed type or (skip)
pango-coverage.c:64: Warning: Pango: pango_coverage_new: return value: Invalid non-constant return of bare 
structure or union; register as boxed type or (skip)
pango-coverage.c:460: Warning: Pango: pango_coverage_from_bytes: return value: Invalid non-constant return 
of bare structure or union; register as boxed type or (skip)
pango-coverage.c:64: Warning: Pango: pango_coverage_new: return value: Invalid non-constant return of bare 
structure or union; register as boxed type or (skip)
pango-coverage.c:460: Warning: Pango: pango_coverage_from_bytes: return value: Invalid non-constant return 
of bare structure or union; register as boxed type or (skip)
pango-script.c:128: Warning: Pango: pango_script_iter_new: return value: Invalid non-constant return of 
bare structure or union; register as boxed type or (skip)
pango-script.c:128: Warning: Pango: pango_script_iter_new: return value: Invalid non-constant return of 
bare structure or union; register as boxed type or (skip)
pango-attributes.c:164: Warning: Pango: pango_attribute_copy: return value: Invalid non-constant return of 
bare structure or union; register as boxed type or (skip)
pango-attributes.c:303: Warning: Pango: pango_attr_language_new: return value: Invalid non-constant return 
of bare structure or union; register as boxed type or (skip)
pango-attributes.c:559: Warning: Pango: pango_attr_size_new: return value: Invalid non-constant return of 
bare structure or union; register as boxed type or (skip)
pango-attributes.c:574: Warning: Pango: pango_attr_size_new_absolute: return value: Invalid non-constant 
return of bare structure or union; register as boxed type or (skip)
pango-attributes.c:710: Warning: Pango: pango_attr_font_desc_new: return value: Invalid non-constant return 
of bare structure or union; register as boxed type or (skip)
pango-attributes.c:1040: Warning: Pango: pango_attr_shape_new: return value: Invalid non-constant return of 
bare structure or union; register as boxed type or (skip)
pango-attributes.c:995: Warning: Pango: pango_attr_shape_new_with_data: return value: Invalid non-constant 
return of bare structure or union; register as boxed type or (skip)
pango-attributes.c:1110: Warning: Pango: pango_attr_font_features_new: return value: Invalid non-constant 
return of bare structure or union; register as boxed type or (skip)
pango-attributes.c:1687: Warning: Pango: pango_attr_list_get_iterator: return value: Invalid non-constant 
return of bare structure or union; register as boxed type or (skip)
pango-attributes.c:1798: Warning: Pango: pango_attr_iterator_copy: return value: Invalid non-constant 
return of bare structure or union; register as boxed type or (skip)
pango-attributes.c:1843: Warning: Pango: pango_attr_iterator_get: return value: Invalid non-constant return 
of bare structure or union; register as boxed type or (skip)
pango-attributes.c:303: Warning: Pango: pango_attr_language_new: return value: Invalid non-constant return 
of bare structure or union; register as boxed type or (skip)
pango-attributes.c:258: Warning: Pango: pango_attr_family_new: return value: Invalid non-constant return of 
bare structure or union; register as boxed type or (skip)
pango-attributes.c:379: Warning: Pango: pango_attr_foreground_new: return value: Invalid non-constant 
return of bare structure or union; register as boxed type or (skip)
pango-attributes.c:405: Warning: Pango: pango_attr_background_new: return value: Invalid non-constant 
return of bare structure or union; register as boxed type or (skip)
pango-attributes.c:559: Warning: Pango: pango_attr_size_new: return value: Invalid non-constant return of 
bare structure or union; register as boxed type or (skip)
pango-attributes.c:574: Warning: Pango: pango_attr_size_new_absolute: return value: Invalid non-constant 
return of bare structure or union; register as boxed type or (skip)
pango-attributes.c:591: Warning: Pango: pango_attr_style_new: return value: Invalid non-constant return of 
bare structure or union; register as boxed type or (skip)
pango-attributes.c:613: Warning: Pango: pango_attr_weight_new: return value: Invalid non-constant return of 
bare structure or union; register as boxed type or (skip)
pango-attributes.c:635: Warning: Pango: pango_attr_variant_new: return value: Invalid non-constant return 
of bare structure or union; register as boxed type or (skip)
pango-attributes.c:657: Warning: Pango: pango_attr_stretch_new: return value: Invalid non-constant return 
of bare structure or union; register as boxed type or (skip)
pango-attributes.c:710: Warning: Pango: pango_attr_font_desc_new: return value: Invalid non-constant return 
of bare structure or union; register as boxed type or (skip)
pango-attributes.c:737: Warning: Pango: pango_attr_underline_new: return value: Invalid non-constant return 
of bare structure or union; register as boxed type or (skip)
pango-attributes.c:763: Warning: Pango: pango_attr_underline_color_new: return value: Invalid non-constant 
return of bare structure or union; register as boxed type or (skip)
pango-attributes.c:789: Warning: Pango: pango_attr_strikethrough_new: return value: Invalid non-constant 
return of bare structure or union; register as boxed type or (skip)
pango-attributes.c:815: Warning: Pango: pango_attr_strikethrough_color_new: return value: Invalid 
non-constant return of bare structure or union; register as boxed type or (skip)
pango-attributes.c:842: Warning: Pango: pango_attr_rise_new: return value: Invalid non-constant return of 
bare structure or union; register as boxed type or (skip)
pango-attributes.c:865: Warning: Pango: pango_attr_scale_new: return value: Invalid non-constant return of 
bare structure or union; register as boxed type or (skip)
pango-attributes.c:893: Warning: Pango: pango_attr_fallback_new: return value: Invalid non-constant return 
of bare structure or union; register as boxed type or (skip)
pango-attributes.c:918: Warning: Pango: pango_attr_letter_spacing_new: return value: Invalid non-constant 
return of bare structure or union; register as boxed type or (skip)
pango-attributes.c:1040: Warning: Pango: pango_attr_shape_new: return value: Invalid non-constant return of 
bare structure or union; register as boxed type or (skip)
pango-attributes.c:995: Warning: Pango: pango_attr_shape_new_with_data: return value: Invalid non-constant 
return of bare structure or union; register as boxed type or (skip)
pango-attributes.c:1060: Warning: Pango: pango_attr_gravity_new: return value: Invalid non-constant return 
of bare structure or union; register as boxed type or (skip)
pango-attributes.c:1086: Warning: Pango: pango_attr_gravity_hint_new: return value: Invalid non-constant 
return of bare structure or union; register as boxed type or (skip)
pango-attributes.c:1110: Warning: Pango: pango_attr_font_features_new: return value: Invalid non-constant 
return of bare structure or union; register as boxed type or (skip)
pango-attributes.c:1136: Warning: Pango: pango_attr_foreground_alpha_new: return value: Invalid 
non-constant return of bare structure or union; register as boxed type or (skip)
pango-attributes.c:1160: Warning: Pango: pango_attr_background_alpha_new: return value: Invalid 
non-constant return of bare structure or union; register as boxed type or (skip)
modules.c:42: Warning: Pango: pango_find_map: return value: Invalid non-constant return of bare structure 
or union; register as boxed type or (skip)
fonts.c:1683: Warning: Pango: pango_font_get_coverage: return value: Invalid non-constant return of bare 
structure or union; register as boxed type or (skip)
  GICOMP   Pango-1.0.gir
  GISCAN   PangoCairo-1.0.gir
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/dispatch/source.h:55:
 syntax error, unexpected ';' in 'typedef struct dispatch_source_s *dispatch_source_t;;' at ';'
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/10.0.0/include/mmintrin.h:1298:
 syntax error, unexpected '{' in '    return (__m64){ 0LL };' at '{'
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/10.0.0/include/xmmintrin.h:228:
 syntax error, unexpected '{' in '  return (__m128) { __c[0], __a[1], __a[2], __a[3] };' at '{'
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/10.0.0/include/xmmintrin.h:264:
 syntax error, unexpected '{' in '  return (__m128) { __c[0], __a[1], __a[2], __a[3] };' at '{'
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/10.0.0/include/xmmintrin.h:301:
 syntax error, unexpected '{' in '  return (__m128) { __c[0], __a[1], __a[2], __a[3] };' at '{'
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/10.0.0/include/xmmintrin.h:1662:
 syntax error, unexpected '{' in '  return (__m128){ __u, 0, 0, 0 };' at '{'
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/10.0.0/include/xmmintrin.h:1684:
 syntax error, unexpected '{' in '  return (__m128){ __u, __u, __u, __u };' at '{'
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/10.0.0/include/xmmintrin.h:1776:
 syntax error, unexpected '{' in '  return (__m128){ __w, 0, 0, 0 };' at '{'
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/10.0.0/include/xmmintrin.h:1794:
 syntax error, unexpected '{' in '  return (__m128){ __w, __w, __w, __w };' at '{'
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/10.0.0/include/xmmintrin.h:1840:
 syntax error, unexpected '{' in '  return (__m128){ __w, __x, __y, __z };' at '{'
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/10.0.0/include/xmmintrin.h:1868:
 syntax error, unexpected '{' in '  return (__m128){ __z, __y, __x, __w };' at '{'
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/10.0.0/include/xmmintrin.h:1883:
 syntax error, unexpected '{' in '  return (__m128){ 0, 0, 0, 0 };' at '{'
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/10.0.0/include/emmintrin.h:241:
 syntax error, unexpected '{' in '  return (__m128d) { __c[0], __a[1] };' at '{'
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/10.0.0/include/emmintrin.h:774:
 syntax error, unexpected '{' in '  return (__m128d) { __c[0], __a[1] };' at '{'
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/10.0.0/include/emmintrin.h:800:
 syntax error, unexpected '{' in '  return (__m128d) { __c[0], __a[1] };' at '{'
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/10.0.0/include/emmintrin.h:956:
 syntax error, unexpected '{' in '  return (__m128d) { __c[0], __a[1] };' at '{'
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/10.0.0/include/emmintrin.h:982:
 syntax error, unexpected '{' in '  return (__m128d) { __c[0], __a[1] };' at '{'
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/10.0.0/include/emmintrin.h:1330:
 syntax error, unexpected typedef-name in '      __builtin_shufflevector((__v4sf)__a, (__v4sf)__a, 0, 1), 
__v2df);' at '__v2df'
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/10.0.0/include/emmintrin.h:1353:
 syntax error, unexpected typedef-name in '      __builtin_shufflevector((__v4si)__a, (__v4si)__a, 0, 1), 
__v2df);' at '__v2df'
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/10.0.0/include/emmintrin.h:1615:
 syntax error, unexpected '{' in '  return (__m128d){ __u, __u };' at '{'
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/10.0.0/include/emmintrin.h:1679:
 syntax error, unexpected '{' in '  return (__m128i){__u, 0L};' at '{'
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/10.0.0/include/emmintrin.h:1700:
 syntax error, unexpected '{' in '  return (__m128d){ __u, 0 };' at '{'
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/10.0.0/include/emmintrin.h:1727:
 syntax error, unexpected '{' in '  return (__m128d){ __a[0], __u };' at '{'
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/10.0.0/include/emmintrin.h:1754:
 syntax error, unexpected '{' in '  return (__m128d){ __u, __a[1] };' at '{'
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/10.0.0/include/emmintrin.h:1791:
 syntax error, unexpected '{' in '  return (__m128d){ __w, 0 };' at '{'
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/10.0.0/include/emmintrin.h:1809:
 syntax error, unexpected '{' in '  return (__m128d){ __w, __w };' at '{'
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/10.0.0/include/emmintrin.h:1847:
 syntax error, unexpected '{' in '  return (__m128d){ __x, __w };' at '{'
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/10.0.0/include/emmintrin.h:1868:
 syntax error, unexpected '{' in '  return (__m128d){ __w, __x };' at '{'
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/10.0.0/include/emmintrin.h:1883:
 syntax error, unexpected '{' in '  return (__m128d){ 0, 0 };' at '{'
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/10.0.0/include/emmintrin.h:1904:
 syntax error, unexpected '{' in '  return (__m128d){ __b[0], __a[1] };' at '{'
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/10.0.0/include/emmintrin.h:2279:
 syntax error, unexpected typedef-name in '               ((__builtin_convertvector((__v16qu)__a, __v16hu) 
+' at '__v16hu'
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/10.0.0/include/emmintrin.h:2303:
 syntax error, unexpected typedef-name in '               ((__builtin_convertvector((__v8hu)__a, __v8su) +' 
at '__v8su'
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/10.0.0/include/emmintrin.h:3476:
 syntax error, unexpected '{' in '  return (__m128i)(__v4si){ __a, 0, 0, 0 };' at '{'
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/10.0.0/include/emmintrin.h:3493:
 syntax error, unexpected '{' in '  return (__m128i){ __a, 0 };' at '{'
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/10.0.0/include/emmintrin.h:3587:
 syntax error, unexpected '{' in '  return (__m128i) { ((struct __mm_loadl_epi64_struct*)__p)->__u, 0};' at 
'{'
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/10.0.0/include/emmintrin.h:3587:
 syntax error, unexpected ')', expecting identifier or '(' in '  return (__m128i) { ((struct 
__mm_loadl_epi64_struct*)__p)->__u, 0};' at ')'
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/10.0.0/include/emmintrin.h:3624:
 syntax error, unexpected '{' in '  return (__m128i){ __q0, __q1 };' at '{'
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/10.0.0/include/emmintrin.h:3646:
 syntax error, unexpected '{' in '  return (__m128i){ (long long)__q0, (long long)__q1 };' at '{'
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/10.0.0/include/emmintrin.h:3674:
 syntax error, unexpected '{' in '  return (__m128i)(__v4si){ __i0, __i1, __i2, __i3};' at '{'
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/10.0.0/include/emmintrin.h:3714:
 syntax error, unexpected '{' in '  return (__m128i)(__v8hi){ __w0, __w1, __w2, __w3, __w4, __w5, __w6, 
__w7 };' at '{'
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/10.0.0/include/emmintrin.h:3762:
 syntax error, unexpected '{' in '  return (__m128i)(__v16qi){ __b0, __b1, __b2, __b3, __b4, __b5, __b6, 
__b7, __b8, __b9, __b10, __b11, __b12, __b13, __b14, __b15 };' at '{'
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/10.0.0/include/emmintrin.h:3781:
 syntax error, unexpected '{' in '  return (__m128i){ __q, __q };' at '{'
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/10.0.0/include/emmintrin.h:3800:
 syntax error, unexpected '{' in '  return (__m128i){ (long long)__q, (long long)__q };' at '{'
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/10.0.0/include/emmintrin.h:3819:
 syntax error, unexpected '{' in '  return (__m128i)(__v4si){ __i, __i, __i, __i };' at '{'
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/10.0.0/include/emmintrin.h:3838:
 syntax error, unexpected '{' in '  return (__m128i)(__v8hi){ __w, __w, __w, __w, __w, __w, __w, __w };' at 
'{'
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/10.0.0/include/emmintrin.h:3857:
 syntax error, unexpected '{' in '  return (__m128i)(__v16qi){ __b, __b, __b, __b, __b, __b, __b, __b, __b, 
__b, __b, __b, __b, __b, __b, __b };' at '{'
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/10.0.0/include/emmintrin.h:3877:
 syntax error, unexpected '{' in '  return (__m128i){ (long long)__q0, (long long)__q1 };' at '{'
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/10.0.0/include/emmintrin.h:3900:
 syntax error, unexpected '{' in '  return (__m128i)(__v4si){ __i0, __i1, __i2, __i3};' at '{'
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/10.0.0/include/emmintrin.h:3931:
 syntax error, unexpected '{' in '  return (__m128i)(__v8hi){ __w0, __w1, __w2, __w3, __w4, __w5, __w6, 
__w7 };' at '{'
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/10.0.0/include/emmintrin.h:3978:
 syntax error, unexpected '{' in '  return (__m128i)(__v16qi){ __b0, __b1, __b2, __b3, __b4, __b5, __b6, 
__b7, __b8, __b9, __b10, __b11, __b12, __b13, __b14, __b15 };' at '{'
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/10.0.0/include/emmintrin.h:3992:
 syntax error, unexpected '{' in '  return (__m128i){ 0LL, 0LL };' at '{'
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/10.0.0/include/emmintrin.h:4709:
 syntax error, unexpected '{' in '  return (__m128i){ (long long)__a, 0 };' at '{'
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/10.0.0/include/emmintrin.h:4727:
 syntax error, unexpected '{' in '  return __builtin_shufflevector((__v2di)__a, (__m128i){ 0 }, 0, 2);' at 
'{'
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Security.framework/Versions/A/Headers/SecKey.h:341:
 syntax error, unexpected ';' in ' __attribute__((availability(macosx,introduced=10.0,deprecated=10.7)));;' 
at ';'
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreGraphics.framework/Versions/A/Headers/CGPath.h:391:
 syntax error, unexpected '^', expecting identifier or '(' or '*' in 'typedef void 
(^CGPathApplyBlock)(const CGPathElement * element);' at '^'
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreGraphics.framework/Versions/A/Headers/CGPath.h:391:
 syntax error, unexpected ')', expecting ',' or ';' in 'typedef void (^CGPathApplyBlock)(const 
CGPathElement * element);' at ')'
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreGraphics.framework/Versions/A/Headers/CGPath.h:393:
 syntax error, unexpected identifier in 'extern void CGPathApplyWithBlock(CGPathRef path, CGPathApplyBlock 
__attribute__((noescape)) block)' at 'CGPathApplyBlock'
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreGraphics.framework/Versions/A/Headers/CGPDFArray.h:103:
 syntax error, unexpected '^', expecting identifier or '(' or '*' in 'typedef _Bool 
(^CGPDFArrayApplierBlock)(size_t index,' at '^'
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreGraphics.framework/Versions/A/Headers/CGPDFArray.h:104:
 syntax error, unexpected typedef-name, expecting identifier or '(' or '*' in '    CGPDFObjectRef value, 
void * _Nullable info);' at 'CGPDFObjectRef'
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreGraphics.framework/Versions/A/Headers/CGPDFArray.h:104:
 syntax error, unexpected VOID, expecting identifier or '(' or '*' in '    CGPDFObjectRef value, void * 
_Nullable info);' at 'void'
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreGraphics.framework/Versions/A/Headers/CGPDFArray.h:104:
 syntax error, unexpected ')', expecting ',' or ';' in '    CGPDFObjectRef value, void * _Nullable info);' 
at ')'
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreGraphics.framework/Versions/A/Headers/CGPDFArray.h:113:
 syntax error, unexpected identifier in '    CGPDFArrayApplierBlock _Nullable block, void * _Nullable 
info)' at 'CGPDFArrayApplierBlock'
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreGraphics.framework/Versions/A/Headers/CGPDFArray.h:113:
 syntax error, unexpected ')', expecting ',' or ';' in '    CGPDFArrayApplierBlock _Nullable block, void * 
_Nullable info)' at ')'
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreGraphics.framework/Versions/A/Headers/CGPDFDictionary.h:116:
 syntax error, unexpected '^', expecting identifier or '(' or '*' in 'typedef _Bool 
(^CGPDFDictionaryApplierBlock)(const char * key,' at '^'
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreGraphics.framework/Versions/A/Headers/CGPDFDictionary.h:117:
 syntax error, unexpected typedef-name, expecting identifier or '(' or '*' in '    CGPDFObjectRef value, 
void * _Nullable info);' at 'CGPDFObjectRef'
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreGraphics.framework/Versions/A/Headers/CGPDFDictionary.h:117:
 syntax error, unexpected VOID, expecting identifier or '(' or '*' in '    CGPDFObjectRef value, void * 
_Nullable info);' at 'void'
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreGraphics.framework/Versions/A/Headers/CGPDFDictionary.h:117:
 syntax error, unexpected ')', expecting ',' or ';' in '    CGPDFObjectRef value, void * _Nullable info);' 
at ')'
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreGraphics.framework/Versions/A/Headers/CGPDFDictionary.h:126:
 syntax error, unexpected identifier in '    CGPDFDictionaryApplierBlock _Nullable block, void * _Nullable 
info)' at 'CGPDFDictionaryApplierBlock'
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreGraphics.framework/Versions/A/Headers/CGPDFDictionary.h:126:
 syntax error, unexpected ')', expecting ',' or ';' in '    CGPDFDictionaryApplierBlock _Nullable block, 
void * _Nullable info)' at ')'
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/HIServices.framework/Versions/A/Headers/AXUIElement.h:426:
 syntax error, unexpected ';' in 'extern AXError AXUIElementPostKeyboardEvent (AXUIElementRef application, 
CGCharCode keyChar, CGKeyCode virtualKey, Boolean keyDown) 
__attribute__((availability(macosx,introduced=10_0,deprecated=10_9,message="" )));;' at ';'
pangocoretext.h:35: Warning: PangoCairo: symbol='PangoCoreTextFont': Skipping foreign identifier 
'PangoCoreTextFont' from namespace Pango
pangocoretext.h:36: Warning: PangoCairo: symbol='PangoCoreTextFontClass': Skipping foreign identifier 
'PangoCoreTextFontClass' from namespace Pango
pangocoretext.h:54: Warning: PangoCairo: symbol='PangoCoreTextFontPrivate': Skipping foreign identifier 
'PangoCoreTextFontPrivate' from namespace Pango
pangocoretext.h:78: Warning: PangoCairo: symbol='pango_core_text_font_get_ctfont': Skipping foreign symbol 
from namespace Pango
pangocoretext.h:83: Warning: PangoCairo: symbol='pango_core_text_font_get_type': Skipping foreign symbol 
from namespace Pango
pangocoretext.h:46: Warning: PangoCairo: symbol='PANGO_RENDER_TYPE_CORE_TEXT': Skipping foreign symbol from 
namespace Pango
<unknown>:: Warning: PangoCairo: Skipping foreign identifier 'PangoCoreTextFontClass' from namespace Pango
<unknown>:: Warning: PangoCairo: Skipping foreign identifier 'PangoCoreTextFont' from namespace Pango
  GICOMP   PangoCairo-1.0.gir
make[4]: Leaving directory '/Users/gabry/gtk/source/pango-1.42.4/pango'
make[3]: Leaving directory '/Users/gabry/gtk/source/pango-1.42.4/pango'
make[2]: Leaving directory '/Users/gabry/gtk/source/pango-1.42.4/pango'
Making all in utils
make[2]: Entering directory '/Users/gabry/gtk/source/pango-1.42.4/utils'
  CC       viewer-render.o
  CC       viewer-main.o
  CC       pango-view.o
  CC       viewer-cairo.o
  CC       viewer-pangocairo.o
  CC       pango-list.o
  CCLD     pango-view
  CCLD     pango-list
  GEN      pango-view.1
make[3]: Entering directory '/Users/gabry/gtk/source/pango-1.42.4/utils'
make[3]: 'pango-view.1.in' is up to date.
make[3]: Leaving directory '/Users/gabry/gtk/source/pango-1.42.4/utils'
make[2]: Leaving directory '/Users/gabry/gtk/source/pango-1.42.4/utils'
Making all in examples
make[2]: Entering directory '/Users/gabry/gtk/source/pango-1.42.4/examples'
  CC       cairosimple.o
  CC       cairotwisted.o
  CC       cairoshape.o
cairotwisted.c:170:45: warning: suggest braces around initialization of subobject [-Wmissing-braces]
  cairo_path_data_t *data, current_point = {0,};
                                            ^
                                            {}
cairotwisted.c:221:44: warning: suggest braces around initialization of subobject [-Wmissing-braces]
  cairo_path_data_t *data, last_move_to = {0,}, current_point = {0,};
                                           ^
                                           {}
cairotwisted.c:221:66: warning: suggest braces around initialization of subobject [-Wmissing-braces]
  cairo_path_data_t *data, last_move_to = {0,}, current_point = {0,};
                                                                 ^
                                                                 {}
cairotwisted.c:328:44: warning: suggest braces around initialization of subobject [-Wmissing-braces]
  cairo_path_data_t *data, last_move_to = {0,}, current_point = {0,};
                                           ^
                                           {}
cairotwisted.c:328:66: warning: suggest braces around initialization of subobject [-Wmissing-braces]
  cairo_path_data_t *data, last_move_to = {0,}, current_point = {0,};
                                                                 ^
                                                                 {}
5 warnings generated.
  CCLD     cairosimple
  CCLD     cairoshape
  CCLD     cairotwisted
make[2]: Leaving directory '/Users/gabry/gtk/source/pango-1.42.4/examples'
Making all in docs
make[2]: Entering directory '/Users/gabry/gtk/source/pango-1.42.4/docs'
make  all-am
make[3]: Entering directory '/Users/gabry/gtk/source/pango-1.42.4/docs'
make[3]: Nothing to be done for 'all-am'.
make[3]: Leaving directory '/Users/gabry/gtk/source/pango-1.42.4/docs'
make[2]: Leaving directory '/Users/gabry/gtk/source/pango-1.42.4/docs'
Making all in tools
make[2]: Entering directory '/Users/gabry/gtk/source/pango-1.42.4/tools'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/Users/gabry/gtk/source/pango-1.42.4/tools'
Making all in tests
make[2]: Entering directory '/Users/gabry/gtk/source/pango-1.42.4/tests'
  CC       testboundaries.o
  CC       testboundaries_ucd.o
  CC       testcolor.o
  CC       testscript.o
make[2]: *** No rule to make target '../pango/libpangoft2-1.0.la', needed by 'markup-parse'.  Stop.
make[2]: *** Waiting for unfinished jobs....
  CC       markup-parse.o
make[2]: Leaving directory '/Users/gabry/gtk/source/pango-1.42.4/tests'
make[1]: *** [Makefile:565: all-recursive] Error 1
make[1]: Leaving directory '/Users/gabry/gtk/source/pango-1.42.4'
make: *** [Makefile:463: all] Error 2
*** Error during phase build of pango: ########## Error running make -j 5  *** [23/28]

  [1] Rerun phase build
  [2] Ignore error and continue to install
  [3] Give up on module
  [4] Start shell
  [5] Reload configuration
  [6] Go to phase "wipe directory and start over"
  [7] Go to phase "configure"
  [8] Go to phase "clean"
  [9] Go to phase "distclean"
choice: 


Much sound and fury signifying not much at all. Please create an issue in 
https://gitlab.gnome.org/GNOME/gtk-osx so that I don't forget. In the meantime either remove markup-parse 
from the tests or build meta-gtk-osx-freetype first so that pango builds libpangoft2.

Regards,
John Ralls



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]