Re: [gtk-osx-users] fontconfig fails to build



Yeah, Pascal reported the same error yesterday.

Regards,
John Ralls


On Jul 30, 2019, at 12:19 PM, Timo via gtk-osx-users-list <gtk-osx-users-list gnome org> wrote:

Hello, this is on macOS 10.13.5 and with setup_sdk(target="10.12", sdk_version=None, 
architectures=["x86_64"])

Hope the output isn't too large, let me know otherwise if it fits better on a pastebin.

Thanks.


*** Building fontconfig *** [9/10]
make -j 5
make  all-recursive
make[1]: Entering directory '/Users/gtk3/.cache/jhbuild/build/fontconfig-2.13.0'
Making all in fontconfig
make[2]: Entering directory '/Users/gtk3/.cache/jhbuild/build/fontconfig-2.13.0/fontconfig'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/Users/gtk3/.cache/jhbuild/build/fontconfig-2.13.0/fontconfig'
Making all in fc-case
make[2]: Entering directory '/Users/gtk3/.cache/jhbuild/build/fontconfig-2.13.0/fc-case'
make  all-am
make[3]: Entering directory '/Users/gtk3/.cache/jhbuild/build/fontconfig-2.13.0/fc-case'
make[3]: Nothing to be done for 'all-am'.
make[3]: Leaving directory '/Users/gtk3/.cache/jhbuild/build/fontconfig-2.13.0/fc-case'
make[2]: Leaving directory '/Users/gtk3/.cache/jhbuild/build/fontconfig-2.13.0/fc-case'
Making all in fc-lang
make[2]: Entering directory '/Users/gtk3/.cache/jhbuild/build/fontconfig-2.13.0/fc-lang'
make  all-am
make[3]: Entering directory '/Users/gtk3/.cache/jhbuild/build/fontconfig-2.13.0/fc-lang'
make[3]: Nothing to be done for 'all-am'.
make[3]: Leaving directory '/Users/gtk3/.cache/jhbuild/build/fontconfig-2.13.0/fc-lang'
make[2]: Leaving directory '/Users/gtk3/.cache/jhbuild/build/fontconfig-2.13.0/fc-lang'
Making all in src
make[2]: Entering directory '/Users/gtk3/.cache/jhbuild/build/fontconfig-2.13.0/src'
  GEN      stamp-fcstdint
make[3]: Entering directory '/Users/gtk3/.cache/jhbuild/build/fontconfig-2.13.0/src'
  GEN      stamp-fcobjshash.gperf
make[3]: Leaving directory '/Users/gtk3/.cache/jhbuild/build/fontconfig-2.13.0/src'
  GEN      fcobjshash.h
config.status: executing src/fcstdint.h commands
config.status: creating src/fcstdint.h : _FONTCONFIG_SRC_FCSTDINT_H
config.status: src/fcstdint.h is unchanged
make  all-am
make[3]: Entering directory '/Users/gtk3/.cache/jhbuild/build/fontconfig-2.13.0/src'
  CCLD     fcarch
  CC       fcobjs.lo
  CC       fcstr.lo
  CC       fcweight.lo
  CC       fcxml.lo
  CC       ftglue.lo
In file included from /Users/gtk3/gtk/source/fontconfig-2.13.0/src/fcobjs.c:25:
In file included from /Users/gtk3/gtk/source/fontconfig-2.13.0/src/fcint.h:52:
/Users/gtk3/gtk/source/fontconfig-2.13.0/src/fcatomic.h:139:56: warning: 'OSAtomicAdd32Barrier' is 
deprecated: first deprecated
      In file included from /Users/gtk3/gtk/source/fontconfig-2.13.0/src/fcweight.c:23:
In file included from /Users/gtk3/gtk/source/fontconfig-2.13.0/src/fcint.h:52:
in macOS/Users/gtk3/gtk/source/fontconfig-2.13.0/src/fcatomic.h :10.12139 :-56 :Use  atomic_fetch_add() 
fromwarning : <stdatomic.h> instead [-Wdeprecated-declarations]'OSAtomicAdd32Barrier'
is deprecated: first deprecated
      in macOS 10.12 - Use atomic_fetch_add() from <stdatomic.h> instead [-Wdeprecated-declarations]
static inline int    FcRefInc      (FcRef *r) { return fc_atomic_int_add (r->count, +1); }
                                                       ^static inline int    FcRefInc      (FcRef *r) { 
return fc_atomic_int_add (r->count, +1); }

                                                       ^
/Users/gtk3/gtk/source/fontconfig-2.13.0/src/fcatomic.h/Users/gtk3/gtk/source/fontconfig-2.13.0/src/fcatomic.h::80:8035::35
 : note: expanded from macro 'fc_atomic_int_add'
#define fc_atomic_int_add(AI, V)        (OSAtomicAdd32Barrier ((V), &(AI)) - (V))
                                         ^
note: expanded from macro 
'fc_atomic_int_add'/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:
161:9: note:
      'OSAtomicAdd32Barrier' has been explicitly marked deprecated here
int32_t OSAtomicAdd32Barrier( int32_t __theAmount, volatile int32_t *__theValue );
#define fc_atomic_int_add(AI, V)        (OSAtomicAdd32Barrier ((V), &(AI)) - (V))        ^

                                         ^In file included from 
/Users/gtk3/gtk/source/fontconfig-2.13.0/src/fcweight.c:23
:
In file included from /Users/gtk3/gtk/source/fontconfig-2.13.0/src/fcint.h:52:
/Users/gtk3/gtk/source/fontconfig-2.13.0/src/fcatomic.h:140:56: 
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:warning161:
 :9'OSAtomicAdd32Barrier' :is deprecated: first deprecated
      in macOS 10.12 - Use atomic_fetch_add() from <stdatomic.h>  instead [-Wdeprecated-declarations]
static inline int    FcRefDec      (FcRef *r) { return fc_atomic_int_add (r->count, -1); }
                                                       ^
/Users/gtk3/gtk/source/fontconfig-2.13.0/src/fcatomic.h:80:35: notenote: : expanded
       from'OSAtomicAdd32Barrier'  macrohas  'fc_atomic_int_add'been
explicitly marked deprecated #define fc_atomic_int_add(AI, V) (OSAtomicAdd32Barrier ((V), &(AI)) - (V))here

                                         ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:161:9:
 note:
      'OSAtomicAdd32Barrier' has beenint32_t OSAtomicAdd32Barrier( int32_t __theAmount, volatile int32_t 
*__theValue );
explicitly         ^marked
 deprecated here
int32_t OSAtomicAdd32Barrier( int32_t __theAmount, volatile int32_t *__theValue );
        ^
In file included from /Users/gtk3/gtk/source/fontconfig-2.13.0/src/fcobjs.c:25In file included from :
/Users/gtk3/gtk/source/fontconfig-2.13.0/src/fcweight.cIn file included from 
:/Users/gtk3/gtk/source/fontconfig-2.13.0/src/fcint.h23::
52In file included from :
/Users/gtk3/gtk/source/fontconfig-2.13.0/src/fcint.h:/Users/gtk3/gtk/source/fontconfig-2.13.0/src/fcatomic.h52::
140:/Users/gtk3/gtk/source/fontconfig-2.13.0/src/fcatomic.h56::141 :63:warning : 
warning'OSAtomicAdd32Barrier':  is 'OSAtomicAdd32Barrier'deprecated:  isfirst  deprecated:deprecated
first       indeprecated
       macOSin  macOS10.12  10.12-  -Use  Useatomic_fetch_add() atomic_fetch_add()from  from<stdatomic.h> 
<stdatomic.h>instead  instead[-Wdeprecated-declarations] [-Wdeprecated-declarations]

static inline int    FcRefDec      (FcRef *r) { return fc_atomic_int_add (r->count, -1); }
static inline int    FcRefAdd      (FcRef *r, int v) { return fc_atomic_int_add (r->count, v); }
                                                       ^
                                                              ^
/Users/gtk3/gtk/source/fontconfig-2.13.0/src/fcatomic.h:/Users/gtk3/gtk/source/fontconfig-2.13.0/src/fcatomic.h80::8035:35::
 note: noteexpanded:  from macro 'fc_atomic_int_add'
#define fc_atomic_int_add(AI, V)        (OSAtomicAdd32Barrier ((V), &(AI)) - (V))
                                         ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:161:9:
 note:
      'OSAtomicAdd32Barrier' has been explicitly marked deprecated here
int32_t OSAtomicAdd32Barrier( int32_t __theAmount, volatile int32_t *__theValue );
        ^
expanded from macro 'fc_atomic_int_add'
#define fc_atomic_int_add(AI, V)        (OSAtomicAdd32Barrier ((V), &(AI)) - (V))
                                         ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:161:9:
 note:
      'OSAtomicAdd32Barrier' has been explicitly marked deprecated here
int32_t OSAtomicAdd32Barrier( int32_t __theAmount, volatile int32_t *__theValue );
        ^
In file included from /Users/gtk3/gtk/source/fontconfig-2.13.0/src/fcobjs.c:25:
In file included from /Users/gtk3/gtk/source/fontconfig-2.13.0/src/fcint.h:52:
/Users/gtk3/gtk/source/fontconfig-2.13.0/src/fcatomic.h:141:63: warning: 'OSAtomicAdd32Barrier' is 
deprecated: first deprecated
      in macOS 10.12 - Use atomic_fetch_add() from <stdatomic.h> instead [-Wdeprecated-declarations]
static inline int    FcRefAdd      (FcRef *r, int v) { return fc_atomic_int_add (r->count, v); }
                                                              ^
/Users/gtk3/gtk/source/fontconfig-2.13.0/src/fcatomic.h:80:35: note: expanded from macro 'fc_atomic_int_add'
#define fc_atomic_int_add(AI, V)        (OSAtomicAdd32Barrier ((V), &(AI)) - (V))
                                         ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:161:9:
 note:
      'OSAtomicAdd32Barrier' has been explicitly marked deprecated here
int32_t OSAtomicAdd32Barrier( int32_t __theAmount, volatile int32_t *__theValue );
        ^
In file included from /Users/gtk3/gtk/source/fontconfig-2.13.0/src/fcstr.c:25:
In file included from /Users/gtk3/gtk/source/fontconfig-2.13.0/src/fcint.h:52:
/Users/gtk3/gtk/source/fontconfig-2.13.0/src/fcatomic.h:139:56: warning: 'OSAtomicAdd32Barrier' is 
deprecated: first deprecated
      in macOS 10.12 - Use atomic_fetch_add() from <stdatomic.h> instead [-Wdeprecated-declarations]
static inline int    FcRefInc      (FcRef *r) { return fc_atomic_int_add (r->count, +1); }
                                                       ^
/Users/gtk3/gtk/source/fontconfig-2.13.0/src/fcatomic.h:80:35: note: expanded from macro 'fc_atomic_int_add'
#define fc_atomic_int_add(AI, V)        (OSAtomicAdd32Barrier ((V), &(AI)) - (V))
                                         ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:161:9:
 note:
      'OSAtomicAdd32Barrier' has been explicitly marked deprecated here
int32_t OSAtomicAdd32Barrier( int32_t __theAmount, volatile int32_t *__theValue );
        ^
In file included from /Users/gtk3/gtk/source/fontconfig-2.13.0/src/fcstr.c:25:
In file included from /Users/gtk3/gtk/source/fontconfig-2.13.0/src/fcint.h:52:
/Users/gtk3/gtk/source/fontconfig-2.13.0/src/fcatomic.h:140:56: warning: 'OSAtomicAdd32Barrier' is 
deprecated: first deprecated
      in macOS 10.12 - Use atomic_fetch_add() from <stdatomic.h> instead [-Wdeprecated-declarations]
static inline int    FcRefDec      (FcRef *r) { return fc_atomic_int_add (r->count, -1); }
                                                       ^
/Users/gtk3/gtk/source/fontconfig-2.13.0/src/fcatomic.h:80:35: note: expanded from macro 'fc_atomic_int_add'
#define fc_atomic_int_add(AI, V)        (OSAtomicAdd32Barrier ((V), &(AI)) - (V))
                                         ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:161:9:
 note:
      'OSAtomicAdd32Barrier' has been explicitly marked deprecated here
int32_t OSAtomicAdd32Barrier( int32_t __theAmount, volatile int32_t *__theValue );
        ^
In file included from /Users/gtk3/gtk/source/fontconfig-2.13.0/src/fcstr.c:25:
In file included from /Users/gtk3/gtk/source/fontconfig-2.13.0/src/fcint.h:52:
/Users/gtk3/gtk/source/fontconfig-2.13.0/src/fcatomic.h:141:63: warning: 'OSAtomicAdd32Barrier' is 
deprecated: first deprecated
      in macOS 10.12 - Use atomic_fetch_add() from <stdatomic.h> instead [-Wdeprecated-declarations]
static inline int    FcRefAdd      (FcRef *r, int v) { return fc_atomic_int_add (r->count, v); }
                                                              ^
/Users/gtk3/gtk/source/fontconfig-2.13.0/src/fcatomic.h:80:35: note: expanded from In file included from 
/Users/gtk3/gtk/source/fontconfig-2.13.0/src/fcxml.c:25:
In file included from /Users/gtk3/gtk/source/fontconfig-2.13.0/src/fcint.h:52:
/Users/gtk3/gtk/source/fontconfig-2.13.0/src/fcatomic.h:139:56: warning: 'OSAtomicAdd32Barrier' is 
deprecated: first deprecated
      in macOS 10.12 - Use atomic_fetch_add() from <stdatomic.h> instead [-Wdeprecated-declarations]
static inline int    FcRefInc      (FcRef *r) { return fc_atomic_int_add (r->count, +1); }
                                                       ^
/Users/gtk3/gtk/source/fontconfig-2.13.0/src/fcatomic.h:80:35: note: expanded from macro 'fc_atomic_int_add'
#define fc_atomic_int_add(AI, V)        (OSAtomicAdd32Barrier ((V), &(AI)) - (V))
                                         ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:161:9:
 note:
      'OSAtomicAdd32Barrier' has been explicitly marked deprecated here
int32_t OSAtomicAdd32Barrier( int32_t __theAmount, volatile int32_t *__theValue );
        ^
In file included from /Users/gtk3/gtk/source/fontconfig-2.13.0/src/fcxml.c:25:
In file included from /Users/gtk3/gtk/source/fontconfig-2.13.0/src/fcint.h:52:
/Users/gtk3/gtk/source/fontconfig-2.13.0/src/fcatomic.h:140:56: warning: 'OSAtomicAdd32Barrier' is 
deprecated: first deprecated
      in macOS 10.12 - Use atomic_fetch_add() from <stdatomic.h> instead [-Wdeprecated-declarations]
static inline int    FcRefDec      (FcRef *r) { return fc_atomic_int_add (r->count, -1); }
                                                       ^
/Users/gtk3/gtk/source/fontconfig-2.13.0/src/fcatomic.h:80:35: note: expanded from macro 'fc_atomic_int_add'
#define fc_atomic_int_add(AI, V)        (OSAtomicAdd32Barrier ((V), &(AI)) - (V))
                                         ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:161:9:
 note:
      'OSAtomicAdd32Barrier' has been explicitly marked deprecated here
int32_t OSAtomicAdd32Barrier( int32_t __theAmount, volatile int32_t *__theValue );
        ^
In file included from /Users/gtk3/gtk/source/fontconfig-2.13.0/src/fcxml.c:25:
In file included from /Users/gtk3/gtk/source/fontconfig-2.13.0/src/fcint.h:52:
/Users/gtk3/gtk/source/fontconfig-2.13.0/src/fcatomic.h:141:63: warning: 'OSAtomicAdd32Barrier' is 
deprecated: first deprecated
      in macOS 10.12 - Use atomic_fetch_add() from <stdatomic.h> instead [-Wdeprecated-declarations]
static inline int    FcRefAdd      (FcRef *r, int v) { return fc_atomic_int_add (r->count, v); }
                                                              ^
/Users/gtk3/gtk/source/fontconfig-2.13.0/src/fcatomic.h:80:35: note: expanded from macro 'fc_atomic_int_add'
#define fc_atomic_int_add(AI, V)        (OSAtomicAdd32Barrier ((V), &(AI)) - (V))
                                         ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:161:9:
 note:
      'OSAtomicAdd32Barrier' has been explicitly marked deprecated here
int32_t OSAtomicAdd32Barrier( int32_t __theAmount, volatile int32_t *__theValue );
        ^
macro 'fc_atomic_int_add'
#define fc_atomic_int_add(AI, V)        (OSAtomicAdd32Barrier ((V), &(AI)) - (V))
                                         ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:161:9:
 note:
      'OSAtomicAdd32Barrier' has been explicitly marked deprecated here
int32_t OSAtomicAdd32Barrier( int32_t __theAmount, volatile int32_t *__theValue );
        ^
In file included from /Users/gtk3/gtk/source/fontconfig-2.13.0/src/fcobjs.c:33:
fcobjshash.gperf:28:1: error: conflicting types for 'FcObjectTypeHash'
FcObjectTypeHash (register const char *str, register size_t len)
^
/Users/gtk3/gtk/source/fontconfig-2.13.0/src/fcobjs.c:28:1: note: previous declaration is here
FcObjectTypeHash (register const char *str, register FC_GPERF_SIZE_T len);
^
In file included from /Users/gtk3/gtk/source/fontconfig-2.13.0/src/fcobjs.c:33:
fcobjshash.gperf:170:1: error: conflicting types for 'FcObjectTypeLookup'
FcObjectTypeLookup (register const char *str, register size_t len)
^
/Users/gtk3/gtk/source/fontconfig-2.13.0/src/fcobjs.c:31:1: note: previous declaration is here
FcObjectTypeLookup (register const char *str, register FC_GPERF_SIZE_T len);
^
/Users/gtk3/gtk/source/fontconfig-2.13.0/src/fcobjs.c:53:11: warning: 'OSMemoryBarrier' is deprecated: 
first deprecated in macOS
      10.12 - Use atomic_thread_fence() from <stdatomic.h> instead [-Wdeprecated-declarations]
    ots = fc_atomic_ptr_get (&other_types);
          ^
/Users/gtk3/gtk/source/fontconfig-2.13.0/src/fcatomic.h:82:32: note: expanded from macro 'fc_atomic_ptr_get'
#define fc_atomic_ptr_get(P)            (OSMemoryBarrier (), (void *) *(P))
                                         ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:749:9:
 note:
      'OSMemoryBarrier' has been explicitly marked deprecated here
void    OSMemoryBarrier( void );
        ^
/Users/gtk3/gtk/source/fontconfig-2.13.0/src/fcobjs.c:56:10: warning: 'OSAtomicCompareAndSwap64Barrier' is 
deprecated: first
      deprecated in macOS 10.12 - Use atomic_compare_exchange_strong() from <stdatomic.h> instead 
[-Wdeprecated-declarations]
    if (!fc_atomic_ptr_cmpexch (&other_types, ots, NULL))
         ^
/Users/gtk3/gtk/source/fontconfig-2.13.0/src/fcatomic.h:87:38: note: expanded from macro 
'fc_atomic_ptr_cmpexch'
#define fc_atomic_ptr_cmpexch(P,O,N) OSAtomicCompareAndSwap64Barrier ((int64_t) (O), (int64_t) (N), 
(int64_t*) (P))
                                        ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:645:9:
 note:
      'OSAtomicCompareAndSwap64Barrier' has been explicitly marked deprecated here
bool    OSAtomicCompareAndSwap64Barrier( int64_t __oldValue, int64_t __newValue,
        ^
/Users/gtk3/gtk/source/fontconfig-2.13.0/src/fcobjs.c:75:11: warning: 'OSMemoryBarrier' is deprecated: 
first deprecated in macOS
      10.12 - Use atomic_thread_fence() from <stdatomic.h> instead [-Wdeprecated-declarations]
    ots = fc_atomic_ptr_get (&other_types);
          ^
/Users/gtk3/gtk/source/fontconfig-2.13.0/src/fcatomic.h:82:32: note: expanded from macro 'fc_atomic_ptr_get'
#define fc_atomic_ptr_get(P)            (OSMemoryBarrier (), (void *) *(P))
                                         ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:749:9:
 note:
      'OSMemoryBarrier' has been explicitly marked deprecated here
void    OSMemoryBarrier( void );
        ^
/Users/gtk3/gtk/source/fontconfig-2.13.0/src/fcobjs.c:89:11: warning: 'OSAtomicAdd32Barrier' is deprecated: 
first deprecated in
      macOS 10.12 - Use atomic_fetch_add() from <stdatomic.h> instead [-Wdeprecated-declarations]
        ot->id = fc_atomic_int_add (next_id, +1);
                 ^
/Users/gtk3/gtk/source/fontconfig-2.13.0/src/fcatomic.h:80:35: note: expanded from macro 'fc_atomic_int_add'
#define fc_atomic_int_add(AI, V)        (OSAtomicAdd32Barrier ((V), &(AI)) - (V))
                                         ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:161:9:
 note:
      'OSAtomicAdd32Barrier' has been explicitly marked deprecated here
int32_t OSAtomicAdd32Barrier( int32_t __theAmount, volatile int32_t *__theValue );
        ^
/Users/gtk3/gtk/source/fontconfig-2.13.0/src/fcobjs.c:97:7: warning: 'OSAtomicCompareAndSwap64Barrier' is 
deprecated: first
      deprecated in macOS 10.12 - Use atomic_compare_exchange_strong() from <stdatomic.h> instead 
[-Wdeprecated-declarations]
        if (!fc_atomic_ptr_cmpexch (&other_types, ots, ot)) {
             ^
/Users/gtk3/gtk/source/fontconfig-2.13.0/src/fcatomic.h:87:38: note: expanded from macro 
'fc_atomic_ptr_cmpexch'
#define fc_atomic_ptr_cmpexch(P,O,N) OSAtomicCompareAndSwap64Barrier ((int64_t) (O), (int64_t) (N), 
(int64_t*) (P))
                                        ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:645:9:
 note:
      'OSAtomicCompareAndSwap64Barrier' has been explicitly marked deprecated here
bool    OSAtomicCompareAndSwap64Barrier( int64_t __oldValue, int64_t __newValue,
        ^
/Users/gtk3/gtk/source/fontconfig-2.13.0/src/fcobjs.c:141:15: warning: 'OSMemoryBarrier' is deprecated: 
first deprecated in macOS
      10.12 - Use atomic_thread_fence() from <stdatomic.h> instead [-Wdeprecated-declarations]
    for (ot = fc_atomic_ptr_get (&other_types); ot; ot = ot->next)
              ^
/Users/gtk3/gtk/source/fontconfig-2.13.0/src/fcatomic.h:82:32: note: expanded from macro 'fc_atomic_ptr_get'
#define fc_atomic_ptr_get(P)            (OSMemoryBarrier (), (void *) *(P))
                                         ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:749:9:
 note:
      'OSMemoryBarrier' has been explicitly marked deprecated here
void    OSMemoryBarrier( void );
        ^
/Users/gtk3/gtk/source/fontconfig-2.13.0/src/fcobjs.c:159:15: warning: 'OSMemoryBarrier' is deprecated: 
first deprecated in macOS
      10.12 - Use atomic_thread_fence() from <stdatomic.h> instead [-Wdeprecated-declarations]
    for (ot = fc_atomic_ptr_get (&other_types); ot; ot = ot->next)
              ^
/Users/gtk3/gtk/source/fontconfig-2.13.0/src/fcatomic.h:82:32: note: expanded from macro 'fc_atomic_ptr_get'
#define fc_atomic_ptr_get(P)            (OSMemoryBarrier (), (void *) *(P))
                                         ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:749:9:
 note:
      'OSMemoryBarrier' has been explicitly marked deprecated here
void    OSMemoryBarrier( void );
        ^
10 warnings and 2 errors generated.
3 warnings generated.
make[3]: *** [Makefile:682: fcobjs.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
/Users/gtk3/gtk/source/fontconfig-2.13.0/src/fcxml.c:2291:9: warning: 'OSMemoryBarrier' is deprecated: 
first deprecated in macOS
      10.12 - Use atomic_thread_fence() from <stdatomic.h> instead [-Wdeprecated-declarations]
    s = fc_atomic_ptr_get (&__fc_userdir);
        ^
/Users/gtk3/gtk/source/fontconfig-2.13.0/src/fcatomic.h:82:32: note: expanded from macro 'fc_atomic_ptr_get'
#define fc_atomic_ptr_get(P)            (OSMemoryBarrier (), (void *) *(P))
                                         ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:749:9:
 note:
      'OSMemoryBarrier' has been explicitly marked deprecated here
void    OSMemoryBarrier( void );
        ^
/Users/gtk3/gtk/source/fontconfig-2.13.0/src/fcxml.c:2292:10: warning: 'OSAtomicCompareAndSwap64Barrier' is 
deprecated: first
      deprecated in macOS 10.12 - Use atomic_compare_exchange_strong() from <stdatomic.h> instead 
[-Wdeprecated-declarations]
    if (!fc_atomic_ptr_cmpexch (&__fc_userdir, s, NULL))
         ^
/Users/gtk3/gtk/source/fontconfig-2.13.0/src/fcatomic.h:87:38: note: expanded from macro 
'fc_atomic_ptr_cmpexch'
#define fc_atomic_ptr_cmpexch(P,O,N) OSAtomicCompareAndSwap64Barrier ((int64_t) (O), (int64_t) (N), 
(int64_t*) (P))
                                        ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:645:9:
 note:
      'OSAtomicCompareAndSwap64Barrier' has been explicitly marked deprecated here
bool    OSAtomicCompareAndSwap64Barrier( int64_t __oldValue, int64_t __newValue,
        ^
/Users/gtk3/gtk/source/fontconfig-2.13.0/src/fcxml.c:2297:9: warning: 'OSMemoryBarrier' is deprecated: 
first deprecated in macOS
      10.12 - Use atomic_thread_fence() from <stdatomic.h> instead [-Wdeprecated-declarations]
    s = fc_atomic_ptr_get (&__fc_userconf);
        ^
/Users/gtk3/gtk/source/fontconfig-2.13.0/src/fcatomic.h:82:32: note: expanded from macro 'fc_atomic_ptr_get'
#define fc_atomic_ptr_get(P)            (OSMemoryBarrier (), (void *) *(P))
                                         ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:749:9:
 note:
      'OSMemoryBarrier' has been explicitly marked deprecated here
void    OSMemoryBarrier( void );
        ^
/Users/gtk3/gtk/source/fontconfig-2.13.0/src/fcxml.c:2298:10: warning: 'OSAtomicCompareAndSwap64Barrier' is 
deprecated: first
      deprecated in macOS 10.12 - Use atomic_compare_exchange_strong() from <stdatomic.h> instead 
[-Wdeprecated-declarations]
    if (!fc_atomic_ptr_cmpexch (&__fc_userconf, s, NULL))
         ^
/Users/gtk3/gtk/source/fontconfig-2.13.0/src/fcatomic.h:87:38: note: expanded from macro 
'fc_atomic_ptr_cmpexch'
#define fc_atomic_ptr_cmpexch(P,O,N) OSAtomicCompareAndSwap64Barrier ((int64_t) (O), (int64_t) (N), 
(int64_t*) (P))
                                        ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:645:9:
 note:
      'OSAtomicCompareAndSwap64Barrier' has been explicitly marked deprecated here
bool    OSAtomicCompareAndSwap64Barrier( int64_t __oldValue, int64_t __newValue,
        ^
/Users/gtk3/gtk/source/fontconfig-2.13.0/src/fcxml.c:2361:16: warning: 'OSMemoryBarrier' is deprecated: 
first deprecated in macOS
      10.12 - Use atomic_thread_fence() from <stdatomic.h> instead [-Wdeprecated-declarations]
            userdir = fc_atomic_ptr_get (&__fc_userdir);
                      ^
/Users/gtk3/gtk/source/fontconfig-2.13.0/src/fcatomic.h:82:32: note: expanded from macro 'fc_atomic_ptr_get'
#define fc_atomic_ptr_get(P)            (OSMemoryBarrier (), (void *) *(P))
                                         ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:749:9:
 note:
      'OSMemoryBarrier' has been explicitly marked deprecated here
void    OSMemoryBarrier( void );
        ^
/Users/gtk3/gtk/source/fontconfig-2.13.0/src/fcxml.c:2365:8: warning: 'OSAtomicCompareAndSwap64Barrier' is 
deprecated: first
      deprecated in macOS 10.12 - Use atomic_compare_exchange_strong() from <stdatomic.h> instead 
[-Wdeprecated-declarations]
                if (!fc_atomic_ptr_cmpexch (&__fc_userdir, userdir, u))
                     ^
/Users/gtk3/gtk/source/fontconfig-2.13.0/src/fcatomic.h:87:38: note: expanded from macro 
'fc_atomic_ptr_cmpexch'
#define fc_atomic_ptr_cmpexch(P,O,N) OSAtomicCompareAndSwap64Barrier ((int64_t) (O), (int64_t) (N), 
(int64_t*) (P))
                                        ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:645:9:
 note:
      'OSAtomicCompareAndSwap64Barrier' has been explicitly marked deprecated here
bool    OSAtomicCompareAndSwap64Barrier( int64_t __oldValue, int64_t __newValue,
        ^
/Users/gtk3/gtk/source/fontconfig-2.13.0/src/fcxml.c:2376:17: warning: 'OSMemoryBarrier' is deprecated: 
first deprecated in macOS
      10.12 - Use atomic_thread_fence() from <stdatomic.h> instead [-Wdeprecated-declarations]
            userconf = fc_atomic_ptr_get (&__fc_userconf);
                       ^
/Users/gtk3/gtk/source/fontconfig-2.13.0/src/fcatomic.h:82:32: note: expanded from macro 'fc_atomic_ptr_get'
#define fc_atomic_ptr_get(P)            (OSMemoryBarrier (), (void *) *(P))
                                         ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:749:9:
 note:
      'OSMemoryBarrier' has been explicitly marked deprecated here
void    OSMemoryBarrier( void );
        ^
/Users/gtk3/gtk/source/fontconfig-2.13.0/src/fcxml.c:2380:8: warning: 'OSAtomicCompareAndSwap64Barrier' is 
deprecated: first
      deprecated in macOS 10.12 - Use atomic_compare_exchange_strong() from <stdatomic.h> instead 
[-Wdeprecated-declarations]
                if (!fc_atomic_ptr_cmpexch (&__fc_userconf, userconf, u))
                     ^
/Users/gtk3/gtk/source/fontconfig-2.13.0/src/fcatomic.h:87:38: note: expanded from macro 
'fc_atomic_ptr_cmpexch'
#define fc_atomic_ptr_cmpexch(P,O,N) OSAtomicCompareAndSwap64Barrier ((int64_t) (O), (int64_t) (N), 
(int64_t*) (P))
                                        ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:645:9:
 note:
      'OSAtomicCompareAndSwap64Barrier' has been explicitly marked deprecated here
bool    OSAtomicCompareAndSwap64Barrier( int64_t __oldValue, int64_t __newValue,
        ^
3 warnings generated.
11 warnings generated.
In file included from /Users/gtk3/gtk/source/fontconfig-2.13.0/src/ftglue.c:11:
In file included from /Users/gtk3/gtk/source/fontconfig-2.13.0/src/ftglue.h:46:
In file included from /Users/gtk3/gtk/source/fontconfig-2.13.0/src/fcint.h:52:
/Users/gtk3/gtk/source/fontconfig-2.13.0/src/fcatomic.h:139:56: warning: 'OSAtomicAdd32Barrier' is 
deprecated: first deprecated
      in macOS 10.12 - Use atomic_fetch_add() from <stdatomic.h> instead [-Wdeprecated-declarations]
static inline int    FcRefInc      (FcRef *r) { return fc_atomic_int_add (r->count, +1); }
                                                       ^
/Users/gtk3/gtk/source/fontconfig-2.13.0/src/fcatomic.h:80:35: note: expanded from macro 'fc_atomic_int_add'
#define fc_atomic_int_add(AI, V)        (OSAtomicAdd32Barrier ((V), &(AI)) - (V))
                                         ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:161:9:
 note:
      'OSAtomicAdd32Barrier' has been explicitly marked deprecated here
int32_t OSAtomicAdd32Barrier( int32_t __theAmount, volatile int32_t *__theValue );
        ^
In file included from /Users/gtk3/gtk/source/fontconfig-2.13.0/src/ftglue.c:11:
In file included from /Users/gtk3/gtk/source/fontconfig-2.13.0/src/ftglue.h:46:
In file included from /Users/gtk3/gtk/source/fontconfig-2.13.0/src/fcint.h:52:
/Users/gtk3/gtk/source/fontconfig-2.13.0/src/fcatomic.h:140:56: warning: 'OSAtomicAdd32Barrier' is 
deprecated: first deprecated
      in macOS 10.12 - Use atomic_fetch_add() from <stdatomic.h> instead [-Wdeprecated-declarations]
static inline int    FcRefDec      (FcRef *r) { return fc_atomic_int_add (r->count, -1); }
                                                       ^
/Users/gtk3/gtk/source/fontconfig-2.13.0/src/fcatomic.h:80:35: note: expanded from macro 'fc_atomic_int_add'
#define fc_atomic_int_add(AI, V)        (OSAtomicAdd32Barrier ((V), &(AI)) - (V))
                                         ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:161:9:
 note:
      'OSAtomicAdd32Barrier' has been explicitly marked deprecated here
int32_t OSAtomicAdd32Barrier( int32_t __theAmount, volatile int32_t *__theValue );
        ^
In file included from /Users/gtk3/gtk/source/fontconfig-2.13.0/src/ftglue.c:11:
In file included from /Users/gtk3/gtk/source/fontconfig-2.13.0/src/ftglue.h:46:
In file included from /Users/gtk3/gtk/source/fontconfig-2.13.0/src/fcint.h:52:
/Users/gtk3/gtk/source/fontconfig-2.13.0/src/fcatomic.h:141:63: warning: 'OSAtomicAdd32Barrier' is 
deprecated: first deprecated
      in macOS 10.12 - Use atomic_fetch_add() from <stdatomic.h> instead [-Wdeprecated-declarations]
static inline int    FcRefAdd      (FcRef *r, int v) { return fc_atomic_int_add (r->count, v); }
                                                              ^
/Users/gtk3/gtk/source/fontconfig-2.13.0/src/fcatomic.h:80:35: note: expanded from macro 'fc_atomic_int_add'
#define fc_atomic_int_add(AI, V)        (OSAtomicAdd32Barrier ((V), &(AI)) - (V))
                                         ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:161:9:
 note:
      'OSAtomicAdd32Barrier' has been explicitly marked deprecated here
int32_t OSAtomicAdd32Barrier( int32_t __theAmount, volatile int32_t *__theValue );
        ^
3 warnings generated.
make[3]: Leaving directory '/Users/gtk3/.cache/jhbuild/build/fontconfig-2.13.0/src'
make[2]: *** [Makefile:540: all] Error 2
make[2]: Leaving directory '/Users/gtk3/.cache/jhbuild/build/fontconfig-2.13.0/src'
make[1]: *** [Makefile:599: all-recursive] Error 1
make[1]: Leaving directory '/Users/gtk3/.cache/jhbuild/build/fontconfig-2.13.0'
make: *** [Makefile:483: all] Error 2
*** Error during phase build of fontconfig: ########## Error running make -j 5  *** [9/10]

  [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:

_______________________________________________
gtk-osx-users-list mailing list
gtk-osx-users-list gnome org
https://mail.gnome.org/mailman/listinfo/gtk-osx-users-list



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