2021-10-28, 12:46
Got some issues with target/fontconfig during build with tools and dependencies (se snippet down below). Not sure if these issues are related to the build configuration or changes in the master. A distclean of fontconfig produced the same error. Any ideas?
macOS Catalina 10.15.7, Xcode 12.4, SDK MacOSX11.1
Kodi master 78f7d48b3c (Wed Oct 27 19:50:41 2021 +0100)
Snippet of some errors found in the log files "4.make-single-thread.log" and "5.make-single-thread-fontconfig-error.log" down below
Run make single threaded
macOS Catalina 10.15.7, Xcode 12.4, SDK MacOSX11.1
Kodi master 78f7d48b3c (Wed Oct 27 19:50:41 2021 +0100)
Snippet of some errors found in the log files "4.make-single-thread.log" and "5.make-single-thread-fontconfig-error.log" down below
cpp:In file included from fcarch.c:24:
In file included from ./fcint.h:52:
./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); }
^
./fcatomic.h:76: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/MacOSX11.1.sdk/usr/include/libkern/OSAtomicDeprecated.h:162:9: note: 'OSAtomicAdd32Barrier' has been explicitly marked deprecated here
int32_t OSAtomicAdd32Barrier( int32_t __theAmount, volatile int32_t *__theValue );
Full log "1.bootstrap.log" in https://pastebin.com/svA8muPqsh:$ ./bootstrap
Full log "2.config.log" in https://pastebin.com/MUAVTZW0sh:$ ./configure --host=aarch64-apple-darwin --with-platform=macos
Full log "3.make.log" in https://tinyurl.com/5wh4vvpp [this is a link to google drive since 12 megs didn't fit into pastebin]sh:$ make -j$(getconf _NPROCESSORS_ONLN)
. . .
. . .
10 warnings and 2 errors generated.
make[6]: *** [fcobjs.lo] Error 1
make[5]: *** [all] Error 2
make[4]: *** [all-recursive] Error 1
make[3]: *** [all] Error 2
make[2]: *** [macosx11.1_x86_64-target-debug/src/.libs/libfontconfig.a] Error 2
make[1]: *** [fontconfig] Error 2
make: *** [target/.installed-macosx11.1_x86_64-target-debug] Error 2
Run make single threaded
Full log "4.make-single-thread.log" in https://pastebin.com/1Fjq1cmhsh:
$ make
. . .
. . .
10 warnings and 2 errors generated.
make[6]: *** [fcobjs.lo] Error 1
make[5]: *** [all] Error 2
make[4]: *** [all-recursive] Error 1
make[3]: *** [all] Error 2
make[2]: *** [macosx11.1_x86_64-target-debug/src/.libs/libfontconfig.a] Error 2
make[1]: *** [fontconfig] Error 2
make: *** [target/.installed-macosx11.1_x86_64-target-debug] Error 2
Full log "5.make-single-thread-fontconfig-error.log" in https://pastebin.com/pE6whJn8sh:$ make -C target/fontconfig distclean
rm -rf macosx11.1_x86_64-target-debug .installed-macosx11.1_x86_64-target-debug
$ make
. . .
. . .
10 warnings and 2 errors generated.
make[6]: *** [fcobjs.lo] Error 1
make[5]: *** [all] Error 2
make[4]: *** [all-recursive] Error 1
make[3]: *** [all] Error 2
make[2]: *** [macosx11.1_x86_64-target-debug/src/.libs/libfontconfig.a] Error 2
make[1]: *** [fontconfig] Error 2
make: *** [target/.installed-macosx11.1_x86_64-target-debug] Error 2