build failed due to link libintl.a
source
https://download.gnome.org/sources/glib/2.76/glib-2.76.4.tar.xz
build machine
macos
target machine
macos
reported logs
2023-07-13T19:04:10.6621400Z Running compile:
2023-07-13T19:04:10.6621760Z Working directory: /Users/runner/.xcpkg/run/3040/glib/src/_/meson-private/tmpw6_ckry9
2023-07-13T19:04:10.6629890Z Command line: /Users/runner/.xcpkg/core/libexec/proxy-cc -L/Users/runner/.xcpkg/run/3040/glib/lib -L/Users/runner/.xcpkg/installed/MacOSX/10.15/x86_64/pcre2/lib -L/Users/runner/.xcpkg/installed/MacOSX/10.15/x86_64/readline/lib -L/Users/runner/.xcpkg/installed/MacOSX/10.15/x86_64/libbz2/lib -L/Users/runner/.xcpkg/installed/MacOSX/10.15/x86_64/zlib/lib -L/Users/runner/.xcpkg/installed/MacOSX/10.15/x86_64/libffi/lib -L/Users/runner/.xcpkg/installed/MacOSX/10.15/x86_64/gettext/lib -L/Users/runner/.xcpkg/installed/MacOSX/10.15/x86_64/libiconv/lib -L/Users/runner/.xcpkg/installed/MacOSX/10.15/x86_64/ncurses/lib -I/Users/runner/.xcpkg/run/3040/glib/include -I/Users/runner/.xcpkg/installed/MacOSX/10.15/x86_64/pcre2/include -I/Users/runner/.xcpkg/installed/MacOSX/10.15/x86_64/readline/include -I/Users/runner/.xcpkg/installed/MacOSX/10.15/x86_64/libbz2/include -I/Users/runner/.xcpkg/installed/MacOSX/10.15/x86_64/zlib/include -I/Users/runner/.xcpkg/installed/MacOSX/10.15/x86_64/libffi/include -I/Users/runner/.xcpkg/installed/MacOSX/10.15/x86_64/gettext/include -I/Users/runner/.xcpkg/installed/MacOSX/10.15/x86_64/libiconv/include -I/Users/runner/.xcpkg/installed/MacOSX/10.15/x86_64/ncurses/include /Users/runner/.xcpkg/run/3040/glib/src/_/meson-private/tmpw6_ckry9/testfile.c -o /Users/runner/.xcpkg/run/3040/glib/src/_/meson-private/tmpw6_ckry9/output.exe -isysroot /Applications/Xcode_14.2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.1.sdk -arch x86_64 -mmacosx-version-min=10.15 -Qunused-arguments -fPIC -fno-common -Os -isysroot /Applications/Xcode_14.2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.1.sdk -arch x86_64 -mmacosx-version-min=10.15 -Qunused-arguments -DNDEBUG -O0 -Werror=implicit-function-declaration -std=gnu99 -Wl,-no_weak_imports -lintl -Wl,-rpath,/Users/runner/.xcpkg/installed/MacOSX/10.15/x86_64/glib/lib -Wl,-rpath,/Users/runner/.xcpkg/installed/MacOSX/10.15/x86_64/pcre2/lib -Wl,-rpath,/Users/runner/.xcpkg/installed/MacOSX/10.15/x86_64/readline/lib -Wl,-rpath,/Users/runner/.xcpkg/installed/MacOSX/10.15/x86_64/libbz2/lib -Wl,-rpath,/Users/runner/.xcpkg/installed/MacOSX/10.15/x86_64/zlib/lib -Wl,-rpath,/Users/runner/.xcpkg/installed/MacOSX/10.15/x86_64/libffi/lib -Wl,-rpath,/Users/runner/.xcpkg/installed/MacOSX/10.15/x86_64/gettext/lib -Wl,-rpath,/Users/runner/.xcpkg/installed/MacOSX/10.15/x86_64/libiconv/lib -Wl,-rpath,/Users/runner/.xcpkg/installed/MacOSX/10.15/x86_64/ncurses/lib -Wl,-search_paths_first -Wl,-S
2023-07-13T19:04:10.6630600Z
2023-07-13T19:04:10.6630720Z Code:
2023-07-13T19:04:10.6630830Z
2023-07-13T19:04:10.6631030Z #define ngettext meson_disable_define_of_ngettext
2023-07-13T19:04:10.6631280Z
2023-07-13T19:04:10.6631580Z #include <limits.h>
2023-07-13T19:04:10.6631650Z #undef ngettext
2023-07-13T19:04:10.6631740Z
2023-07-13T19:04:10.6631860Z #ifdef __cplusplus
2023-07-13T19:04:10.6631950Z extern "C"
2023-07-13T19:04:10.6632050Z #endif
2023-07-13T19:04:10.6632170Z char ngettext (void);
2023-07-13T19:04:10.6632260Z
2023-07-13T19:04:10.6632400Z #if defined __stub_ngettext || defined __stub___ngettext
2023-07-13T19:04:10.6632560Z fail fail fail this function is not going to work
2023-07-13T19:04:10.6632680Z #endif
2023-07-13T19:04:10.6632790Z
2023-07-13T19:04:10.6632910Z int main(void) {
2023-07-13T19:04:10.6633060Z return ngettext ();
2023-07-13T19:04:10.6633120Z }
2023-07-13T19:04:10.6633280Z Compiler stdout:
2023-07-13T19:04:10.6633400Z
2023-07-13T19:04:10.6633510Z Compiler stderr:
2023-07-13T19:04:10.6633680Z Undefined symbols for architecture x86_64:
2023-07-13T19:04:10.6633840Z "_CFArrayGetCount", referenced from:
2023-07-13T19:04:10.6634040Z __nl_language_preferences_default in libintl.a(langprefs.o)
2023-07-13T19:04:10.6634180Z "_CFArrayGetValueAtIndex", referenced from:
2023-07-13T19:04:10.6634590Z __nl_language_preferences_default in libintl.a(langprefs.o)
2023-07-13T19:04:10.6634750Z "_CFGetTypeID", referenced from:
2023-07-13T19:04:10.6635170Z __nl_language_preferences_default in libintl.a(langprefs.o)
2023-07-13T19:04:10.6635670Z __nl_locale_name_default in libintl.a(localename.o)
2023-07-13T19:04:10.6636190Z "_CFLocaleCopyPreferredLanguages", referenced from:
2023-07-13T19:04:10.6636480Z __nl_language_preferences_default in libintl.a(langprefs.o)
2023-07-13T19:04:10.6636710Z "_CFPreferencesCopyAppValue", referenced from:
2023-07-13T19:04:10.6636850Z __nl_locale_name_default in libintl.a(localename.o)
2023-07-13T19:04:10.6637010Z "_CFRelease", referenced from:
2023-07-13T19:04:10.6637380Z __nl_language_preferences_default in libintl.a(langprefs.o)
2023-07-13T19:04:10.6637550Z "_CFStringGetCString", referenced from:
2023-07-13T19:04:10.6637750Z __nl_language_preferences_default in libintl.a(langprefs.o)
2023-07-13T19:04:10.6637930Z __nl_locale_name_default in libintl.a(localename.o)
2023-07-13T19:04:10.6638110Z "_CFStringGetTypeID", referenced from:
2023-07-13T19:04:10.6638270Z __nl_language_preferences_default in libintl.a(langprefs.o)
2023-07-13T19:04:10.6638470Z __nl_locale_name_default in libintl.a(localename.o)
2023-07-13T19:04:10.6638740Z "___CFConstantStringClassReference", referenced from:
2023-07-13T19:04:10.6639150Z CFString in libintl.a(localename.o)
2023-07-13T19:04:10.6639380Z "_kCFPreferencesCurrentApplication", referenced from:
2023-07-13T19:04:10.6639600Z __nl_locale_name_default in libintl.a(localename.o)
2023-07-13T19:04:10.6639730Z "_libiconv", referenced from:
2023-07-13T19:04:10.6639850Z __nl_find_msg in libintl.a(dcigettext.o)
2023-07-13T19:04:10.6640030Z "_libiconv_open", referenced from:
2023-07-13T19:04:10.6640200Z __nl_find_msg in libintl.a(dcigettext.o)
2023-07-13T19:04:10.6640390Z "_libiconv_set_relocation_prefix", referenced from:
2023-07-13T19:04:10.6640600Z _libintl_set_relocation_prefix in libintl.a(relocatable.o)
2023-07-13T19:04:10.6640740Z ld: symbol(s) not found for architecture x86_64
2023-07-13T19:04:10.6641490Z clang: error: linker command failed with exit code 1 (use -v to see invocation)
2023-07-13T19:04:10.6641500Z
2023-07-13T19:04:10.6641590Z Running compile:
2023-07-13T19:04:10.6642030Z Working directory: /Users/runner/.xcpkg/run/3040/glib/src/_/meson-private/tmpuzqsrwcq
2023-07-13T19:04:10.6649930Z Command line: /Users/runner/.xcpkg/core/libexec/proxy-cc -L/Users/runner/.xcpkg/run/3040/glib/lib -L/Users/runner/.xcpkg/installed/MacOSX/10.15/x86_64/pcre2/lib -L/Users/runner/.xcpkg/installed/MacOSX/10.15/x86_64/readline/lib -L/Users/runner/.xcpkg/installed/MacOSX/10.15/x86_64/libbz2/lib -L/Users/runner/.xcpkg/installed/MacOSX/10.15/x86_64/zlib/lib -L/Users/runner/.xcpkg/installed/MacOSX/10.15/x86_64/libffi/lib -L/Users/runner/.xcpkg/installed/MacOSX/10.15/x86_64/gettext/lib -L/Users/runner/.xcpkg/installed/MacOSX/10.15/x86_64/libiconv/lib -L/Users/runner/.xcpkg/installed/MacOSX/10.15/x86_64/ncurses/lib -I/Users/runner/.xcpkg/run/3040/glib/include -I/Users/runner/.xcpkg/installed/MacOSX/10.15/x86_64/pcre2/include -I/Users/runner/.xcpkg/installed/MacOSX/10.15/x86_64/readline/include -I/Users/runner/.xcpkg/installed/MacOSX/10.15/x86_64/libbz2/include -I/Users/runner/.xcpkg/installed/MacOSX/10.15/x86_64/zlib/include -I/Users/runner/.xcpkg/installed/MacOSX/10.15/x86_64/libffi/include -I/Users/runner/.xcpkg/installed/MacOSX/10.15/x86_64/gettext/include -I/Users/runner/.xcpkg/installed/MacOSX/10.15/x86_64/libiconv/include -I/Users/runner/.xcpkg/installed/MacOSX/10.15/x86_64/ncurses/include /Users/runner/.xcpkg/run/3040/glib/src/_/meson-private/tmpuzqsrwcq/testfile.c -o /Users/runner/.xcpkg/run/3040/glib/src/_/meson-private/tmpuzqsrwcq/output.exe -isysroot /Applications/Xcode_14.2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.1.sdk -arch x86_64 -mmacosx-version-min=10.15 -Qunused-arguments -fPIC -fno-common -Os -isysroot /Applications/Xcode_14.2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.1.sdk -arch x86_64 -mmacosx-version-min=10.15 -Qunused-arguments -DNDEBUG -O0 -Werror=implicit-function-declaration -std=gnu99 -Wl,-no_weak_imports -lintl -Wl,-rpath,/Users/runner/.xcpkg/installed/MacOSX/10.15/x86_64/glib/lib -Wl,-rpath,/Users/runner/.xcpkg/installed/MacOSX/10.15/x86_64/pcre2/lib -Wl,-rpath,/Users/runner/.xcpkg/installed/MacOSX/10.15/x86_64/readline/lib -Wl,-rpath,/Users/runner/.xcpkg/installed/MacOSX/10.15/x86_64/libbz2/lib -Wl,-rpath,/Users/runner/.xcpkg/installed/MacOSX/10.15/x86_64/zlib/lib -Wl,-rpath,/Users/runner/.xcpkg/installed/MacOSX/10.15/x86_64/libffi/lib -Wl,-rpath,/Users/runner/.xcpkg/installed/MacOSX/10.15/x86_64/gettext/lib -Wl,-rpath,/Users/runner/.xcpkg/installed/MacOSX/10.15/x86_64/libiconv/lib -Wl,-rpath,/Users/runner/.xcpkg/installed/MacOSX/10.15/x86_64/ncurses/lib -Wl,-search_paths_first -Wl,-S
2023-07-13T19:04:10.6650300Z
2023-07-13T19:04:10.6650680Z Code:
2023-07-13T19:04:10.6650800Z
2023-07-13T19:04:10.6651000Z int main(void) {
2023-07-13T19:04:10.6651020Z
2023-07-13T19:04:10.6651260Z /* With some toolchains (MSYS2/mingw for example) the compiler
2023-07-13T19:04:10.6651500Z * provides various builtins which are not really implemented and
2023-07-13T19:04:10.6652080Z * fall back to the stdlib where they aren't provided and fail at
2023-07-13T19:04:10.6652750Z * build/link time. In case the user provides a header, including
2023-07-13T19:04:10.6653040Z * the header didn't lead to the function being defined, and the
2023-07-13T19:04:10.6653350Z * function we are checking isn't a builtin itself we assume the
2023-07-13T19:04:10.6653570Z * builtin is not functional and we just error out. */
2023-07-13T19:04:10.6653730Z #if !1 && !defined(ngettext) && !0
2023-07-13T19:04:10.6654000Z #error "No definition for __builtin_ngettext found in the prefix"
2023-07-13T19:04:10.6654160Z #endif
2023-07-13T19:04:10.6654170Z
2023-07-13T19:04:10.6654600Z #ifdef __has_builtin
2023-07-13T19:04:10.6654810Z #if !__has_builtin(__builtin_ngettext)
2023-07-13T19:04:10.6654990Z #error "__builtin_ngettext not found"
2023-07-13T19:04:10.6655280Z #endif
2023-07-13T19:04:10.6655580Z #elif ! defined(ngettext)
2023-07-13T19:04:10.6655930Z __builtin_ngettext;
2023-07-13T19:04:10.6656060Z #endif
2023-07-13T19:04:10.6656190Z return 0;
2023-07-13T19:04:10.6656310Z }
2023-07-13T19:04:10.6656430Z Compiler stdout:
2023-07-13T19:04:10.6656690Z
2023-07-13T19:04:10.6656820Z Compiler stderr:
2023-07-13T19:04:10.6657660Z /Users/runner/.xcpkg/run/3040/glib/src/_/meson-private/tmpuzqsrwcq/testfile.c:17:18: error: "__builtin_ngettext not found"
2023-07-13T19:04:10.6657900Z #error "__builtin_ngettext not found"
2023-07-13T19:04:10.6658040Z ^
2023-07-13T19:04:10.6658160Z 1 error generated.
2023-07-13T19:04:10.6658180Z
2023-07-13T19:04:10.6658390Z Checking for function "ngettext" with dependency intl: NO
2023-07-13T19:04:10.6658760Z Running compile:
2023-07-13T19:04:10.6659500Z Working directory: /Users/runner/.xcpkg/run/3040/glib/src/_/meson-private/tmpolitrr8q
2023-07-13T19:04:10.6666190Z Command line: /Users/runner/.xcpkg/core/libexec/proxy-cc -L/Users/runner/.xcpkg/run/3040/glib/lib -L/Users/runner/.xcpkg/installed/MacOSX/10.15/x86_64/pcre2/lib -L/Users/runner/.xcpkg/installed/MacOSX/10.15/x86_64/readline/lib -L/Users/runner/.xcpkg/installed/MacOSX/10.15/x86_64/libbz2/lib -L/Users/runner/.xcpkg/installed/MacOSX/10.15/x86_64/zlib/lib -L/Users/runner/.xcpkg/installed/MacOSX/10.15/x86_64/libffi/lib -L/Users/runner/.xcpkg/installed/MacOSX/10.15/x86_64/gettext/lib -L/Users/runner/.xcpkg/installed/MacOSX/10.15/x86_64/libiconv/lib -L/Users/runner/.xcpkg/installed/MacOSX/10.15/x86_64/ncurses/lib -I/Users/runner/.xcpkg/run/3040/glib/include -I/Users/runner/.xcpkg/installed/MacOSX/10.15/x86_64/pcre2/include -I/Users/runner/.xcpkg/installed/MacOSX/10.15/x86_64/readline/include -I/Users/runner/.xcpkg/installed/MacOSX/10.15/x86_64/libbz2/include -I/Users/runner/.xcpkg/installed/MacOSX/10.15/x86_64/zlib/include -I/Users/runner/.xcpkg/installed/MacOSX/10.15/x86_64/libffi/include -I/Users/runner/.xcpkg/installed/MacOSX/10.15/x86_64/gettext/include -I/Users/runner/.xcpkg/installed/MacOSX/10.15/x86_64/libiconv/include -I/Users/runner/.xcpkg/installed/MacOSX/10.15/x86_64/ncurses/include /Users/runner/.xcpkg/run/3040/glib/src/_/meson-private/tmpolitrr8q/testfile.c -o /Users/runner/.xcpkg/run/3040/glib/src/_/meson-private/tmpolitrr8q/output.exe -isysroot /Applications/Xcode_14.2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.1.sdk -arch x86_64 -mmacosx-version-min=10.15 -Qunused-arguments -fPIC -fno-common -Os -isysroot /Applications/Xcode_14.2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.1.sdk -arch x86_64 -mmacosx-version-min=10.15 -Qunused-arguments -DNDEBUG -O0 -Werror=implicit-function-declaration -lpthread -Wl,-undefined,dynamic_lookup -Wl,-rpath,/Users/runner/.xcpkg/installed/MacOSX/10.15/x86_64/glib/lib -Wl,-rpath,/Users/runner/.xcpkg/installed/MacOSX/10.15/x86_64/pcre2/lib -Wl,-rpath,/Users/runner/.xcpkg/installed/MacOSX/10.15/x86_64/readline/lib -Wl,-rpath,/Users/runner/.xcpkg/installed/MacOSX/10.15/x86_64/libbz2/lib -Wl,-rpath,/Users/runner/.xcpkg/installed/MacOSX/10.15/x86_64/zlib/lib -Wl,-rpath,/Users/runner/.xcpkg/installed/MacOSX/10.15/x86_64/libffi/lib -Wl,-rpath,/Users/runner/.xcpkg/installed/MacOSX/10.15/x86_64/gettext/lib -Wl,-rpath,/Users/runner/.xcpkg/installed/MacOSX/10.15/x86_64/libiconv/lib -Wl,-rpath,/Users/runner/.xcpkg/installed/MacOSX/10.15/x86_64/ncurses/lib -Wl,-search_paths_first -Wl,-S
2023-07-13T19:04:10.6666510Z
2023-07-13T19:04:10.6666740Z Code:
2023-07-13T19:04:10.6666900Z int main(void) { return 0; }
2023-07-13T19:04:10.6666900Z
2023-07-13T19:04:10.6667020Z Compiler stdout:
2023-07-13T19:04:10.6667100Z
2023-07-13T19:04:10.6667210Z Compiler stderr:
2023-07-13T19:04:10.6667280Z
2023-07-13T19:04:10.6667400Z Library pthread found: YES
2023-07-13T19:04:10.6667500Z Running compile:
2023-07-13T19:04:10.6668080Z Working directory: /Users/runner/.xcpkg/run/3040/glib/src/_/meson-private/tmpr6sveefv
2023-07-13T19:04:10.6674700Z Command line: /Users/runner/.xcpkg/core/libexec/proxy-cc -L/Users/runner/.xcpkg/run/3040/glib/lib -L/Users/runner/.xcpkg/installed/MacOSX/10.15/x86_64/pcre2/lib -L/Users/runner/.xcpkg/installed/MacOSX/10.15/x86_64/readline/lib -L/Users/runner/.xcpkg/installed/MacOSX/10.15/x86_64/libbz2/lib -L/Users/runner/.xcpkg/installed/MacOSX/10.15/x86_64/zlib/lib -L/Users/runner/.xcpkg/installed/MacOSX/10.15/x86_64/libffi/lib -L/Users/runner/.xcpkg/installed/MacOSX/10.15/x86_64/gettext/lib -L/Users/runner/.xcpkg/installed/MacOSX/10.15/x86_64/libiconv/lib -L/Users/runner/.xcpkg/installed/MacOSX/10.15/x86_64/ncurses/lib -I/Users/runner/.xcpkg/run/3040/glib/include -I/Users/runner/.xcpkg/installed/MacOSX/10.15/x86_64/pcre2/include -I/Users/runner/.xcpkg/installed/MacOSX/10.15/x86_64/readline/include -I/Users/runner/.xcpkg/installed/MacOSX/10.15/x86_64/libbz2/include -I/Users/runner/.xcpkg/installed/MacOSX/10.15/x86_64/zlib/include -I/Users/runner/.xcpkg/installed/MacOSX/10.15/x86_64/libffi/include -I/Users/runner/.xcpkg/installed/MacOSX/10.15/x86_64/gettext/include -I/Users/runner/.xcpkg/installed/MacOSX/10.15/x86_64/libiconv/include -I/Users/runner/.xcpkg/installed/MacOSX/10.15/x86_64/ncurses/include /Users/runner/.xcpkg/run/3040/glib/src/_/meson-private/tmpr6sveefv/testfile.c -o /Users/runner/.xcpkg/run/3040/glib/src/_/meson-private/tmpr6sveefv/output.exe -isysroot /Applications/Xcode_14.2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.1.sdk -arch x86_64 -mmacosx-version-min=10.15 -Qunused-arguments -fPIC -fno-common -Os -isysroot /Applications/Xcode_14.2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.1.sdk -arch x86_64 -mmacosx-version-min=10.15 -Qunused-arguments -DNDEBUG -O0 -Werror=implicit-function-declaration -std=gnu99 -Wl,-no_weak_imports -lintl -lpthread -Wl,-rpath,/Users/runner/.xcpkg/installed/MacOSX/10.15/x86_64/glib/lib -Wl,-rpath,/Users/runner/.xcpkg/installed/MacOSX/10.15/x86_64/pcre2/lib -Wl,-rpath,/Users/runner/.xcpkg/installed/MacOSX/10.15/x86_64/readline/lib -Wl,-rpath,/Users/runner/.xcpkg/installed/MacOSX/10.15/x86_64/libbz2/lib -Wl,-rpath,/Users/runner/.xcpkg/installed/MacOSX/10.15/x86_64/zlib/lib -Wl,-rpath,/Users/runner/.xcpkg/installed/MacOSX/10.15/x86_64/libffi/lib -Wl,-rpath,/Users/runner/.xcpkg/installed/MacOSX/10.15/x86_64/gettext/lib -Wl,-rpath,/Users/runner/.xcpkg/installed/MacOSX/10.15/x86_64/libiconv/lib -Wl,-rpath,/Users/runner/.xcpkg/installed/MacOSX/10.15/x86_64/ncurses/lib -Wl,-search_paths_first -Wl,-S
2023-07-13T19:04:10.6675440Z
2023-07-13T19:04:10.6675660Z Code:
2023-07-13T19:04:10.6675890Z
2023-07-13T19:04:10.6676260Z #define ngettext meson_disable_define_of_ngettext
2023-07-13T19:04:10.6676330Z
2023-07-13T19:04:10.6676420Z #include <limits.h>
2023-07-13T19:04:10.6676520Z #undef ngettext
2023-07-13T19:04:10.6676600Z
2023-07-13T19:04:10.6676700Z #ifdef __cplusplus
2023-07-13T19:04:10.6676790Z extern "C"
2023-07-13T19:04:10.6676890Z #endif
2023-07-13T19:04:10.6677000Z char ngettext (void);
2023-07-13T19:04:10.6677070Z
2023-07-13T19:04:10.6678480Z #if defined __stub_ngettext || defined __stub___ngettext
2023-07-13T19:04:10.6678710Z fail fail fail this function is not going to work
2023-07-13T19:04:10.6678840Z #endif
2023-07-13T19:04:10.6678960Z
2023-07-13T19:04:10.6679050Z int main(void) {
2023-07-13T19:04:10.6679260Z return ngettext ();
2023-07-13T19:04:10.6679430Z }
2023-07-13T19:04:10.6679590Z Compiler stdout:
2023-07-13T19:04:10.6679740Z
2023-07-13T19:04:10.6680100Z Compiler stderr:
2023-07-13T19:04:10.6680400Z Undefined symbols for architecture x86_64:
2023-07-13T19:04:10.6680550Z "_CFArrayGetCount", referenced from:
2023-07-13T19:04:10.6680850Z __nl_language_preferences_default in libintl.a(langprefs.o)
2023-07-13T19:04:10.6681090Z "_CFArrayGetValueAtIndex", referenced from:
2023-07-13T19:04:10.6681550Z __nl_language_preferences_default in libintl.a(langprefs.o)
2023-07-13T19:04:10.6681810Z "_CFGetTypeID", referenced from:
2023-07-13T19:04:10.6682190Z __nl_language_preferences_default in libintl.a(langprefs.o)
2023-07-13T19:04:10.6682570Z __nl_locale_name_default in libintl.a(localename.o)
2023-07-13T19:04:10.6682880Z "_CFLocaleCopyPreferredLanguages", referenced from:
2023-07-13T19:04:10.6683230Z __nl_language_preferences_default in libintl.a(langprefs.o)
2023-07-13T19:04:10.6683550Z "_CFPreferencesCopyAppValue", referenced from:
2023-07-13T19:04:10.6684030Z __nl_locale_name_default in libintl.a(localename.o)
2023-07-13T19:04:10.6684240Z "_CFRelease", referenced from:
2023-07-13T19:04:10.6684450Z __nl_language_preferences_default in libintl.a(langprefs.o)
2023-07-13T19:04:10.6684630Z "_CFStringGetCString", referenced from:
2023-07-13T19:04:10.6684900Z __nl_language_preferences_default in libintl.a(langprefs.o)
2023-07-13T19:04:10.6685100Z __nl_locale_name_default in libintl.a(localename.o)
2023-07-13T19:04:10.6685260Z "_CFStringGetTypeID", referenced from:
2023-07-13T19:04:10.6685460Z __nl_language_preferences_default in libintl.a(langprefs.o)
2023-07-13T19:04:10.6685670Z __nl_locale_name_default in libintl.a(localename.o)
2023-07-13T19:04:10.6685890Z "___CFConstantStringClassReference", referenced from:
2023-07-13T19:04:10.6686270Z CFString in libintl.a(localename.o)
2023-07-13T19:04:10.6686650Z "_kCFPreferencesCurrentApplication", referenced from:
2023-07-13T19:04:10.6687280Z __nl_locale_name_default in libintl.a(localename.o)
2023-07-13T19:04:10.6687590Z "_libiconv", referenced from:
2023-07-13T19:04:10.6687770Z __nl_find_msg in libintl.a(dcigettext.o)
2023-07-13T19:04:10.6687940Z "_libiconv_open", referenced from:
2023-07-13T19:04:10.6688150Z __nl_find_msg in libintl.a(dcigettext.o)
2023-07-13T19:04:10.6688370Z "_libiconv_set_relocation_prefix", referenced from:
2023-07-13T19:04:10.6689400Z _libintl_set_relocation_prefix in libintl.a(relocatable.o)
2023-07-13T19:04:10.6689660Z ld: symbol(s) not found for architecture x86_64
2023-07-13T19:04:10.6691130Z clang: error: linker command failed with exit code 1 (use -v to see invocation)
2023-07-13T19:04:10.6691170Z
2023-07-13T19:04:10.6691530Z Running compile:
2023-07-13T19:04:10.6691910Z Working directory: /Users/runner/.xcpkg/run/3040/glib/src/_/meson-private/tmp06kchflu
2023-07-13T19:04:10.6700320Z Command line: /Users/runner/.xcpkg/core/libexec/proxy-cc -L/Users/runner/.xcpkg/run/3040/glib/lib -L/Users/runner/.xcpkg/installed/MacOSX/10.15/x86_64/pcre2/lib -L/Users/runner/.xcpkg/installed/MacOSX/10.15/x86_64/readline/lib -L/Users/runner/.xcpkg/installed/MacOSX/10.15/x86_64/libbz2/lib -L/Users/runner/.xcpkg/installed/MacOSX/10.15/x86_64/zlib/lib -L/Users/runner/.xcpkg/installed/MacOSX/10.15/x86_64/libffi/lib -L/Users/runner/.xcpkg/installed/MacOSX/10.15/x86_64/gettext/lib -L/Users/runner/.xcpkg/installed/MacOSX/10.15/x86_64/libiconv/lib -L/Users/runner/.xcpkg/installed/MacOSX/10.15/x86_64/ncurses/lib -I/Users/runner/.xcpkg/run/3040/glib/include -I/Users/runner/.xcpkg/installed/MacOSX/10.15/x86_64/pcre2/include -I/Users/runner/.xcpkg/installed/MacOSX/10.15/x86_64/readline/include -I/Users/runner/.xcpkg/installed/MacOSX/10.15/x86_64/libbz2/include -I/Users/runner/.xcpkg/installed/MacOSX/10.15/x86_64/zlib/include -I/Users/runner/.xcpkg/installed/MacOSX/10.15/x86_64/libffi/include -I/Users/runner/.xcpkg/installed/MacOSX/10.15/x86_64/gettext/include -I/Users/runner/.xcpkg/installed/MacOSX/10.15/x86_64/libiconv/include -I/Users/runner/.xcpkg/installed/MacOSX/10.15/x86_64/ncurses/include /Users/runner/.xcpkg/run/3040/glib/src/_/meson-private/tmp06kchflu/testfile.c -o /Users/runner/.xcpkg/run/3040/glib/src/_/meson-private/tmp06kchflu/output.exe -isysroot /Applications/Xcode_14.2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.1.sdk -arch x86_64 -mmacosx-version-min=10.15 -Qunused-arguments -fPIC -fno-common -Os -isysroot /Applications/Xcode_14.2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.1.sdk -arch x86_64 -mmacosx-version-min=10.15 -Qunused-arguments -DNDEBUG -O0 -Werror=implicit-function-declaration -std=gnu99 -Wl,-no_weak_imports -lintl -lpthread -Wl,-rpath,/Users/runner/.xcpkg/installed/MacOSX/10.15/x86_64/glib/lib -Wl,-rpath,/Users/runner/.xcpkg/installed/MacOSX/10.15/x86_64/pcre2/lib -Wl,-rpath,/Users/runner/.xcpkg/installed/MacOSX/10.15/x86_64/readline/lib -Wl,-rpath,/Users/runner/.xcpkg/installed/MacOSX/10.15/x86_64/libbz2/lib -Wl,-rpath,/Users/runner/.xcpkg/installed/MacOSX/10.15/x86_64/zlib/lib -Wl,-rpath,/Users/runner/.xcpkg/installed/MacOSX/10.15/x86_64/libffi/lib -Wl,-rpath,/Users/runner/.xcpkg/installed/MacOSX/10.15/x86_64/gettext/lib -Wl,-rpath,/Users/runner/.xcpkg/installed/MacOSX/10.15/x86_64/libiconv/lib -Wl,-rpath,/Users/runner/.xcpkg/installed/MacOSX/10.15/x86_64/ncurses/lib -Wl,-search_paths_first -Wl,-S
2023-07-13T19:04:10.6701160Z
2023-07-13T19:04:10.6701460Z Code:
2023-07-13T19:04:10.6701630Z
2023-07-13T19:04:10.6701860Z int main(void) {
2023-07-13T19:04:10.6701880Z
2023-07-13T19:04:10.6702660Z /* With some toolchains (MSYS2/mingw for example) the compiler
2023-07-13T19:04:10.6702990Z * provides various builtins which are not really implemented and
2023-07-13T19:04:10.6704620Z * fall back to the stdlib where they aren't provided and fail at
2023-07-13T19:04:10.6704960Z * build/link time. In case the user provides a header, including
2023-07-13T19:04:10.6705530Z * the header didn't lead to the function being defined, and the
2023-07-13T19:04:10.6705820Z * function we are checking isn't a builtin itself we assume the
2023-07-13T19:04:10.6706010Z * builtin is not functional and we just error out. */
2023-07-13T19:04:10.6706180Z #if !1 && !defined(ngettext) && !0
2023-07-13T19:04:10.6706400Z #error "No definition for __builtin_ngettext found in the prefix"
2023-07-13T19:04:10.6706480Z #endif
2023-07-13T19:04:10.6707370Z
2023-07-13T19:04:10.6707520Z #ifdef __has_builtin
2023-07-13T19:04:10.6707700Z #if !__has_builtin(__builtin_ngettext)
2023-07-13T19:04:10.6708370Z #error "__builtin_ngettext not found"
2023-07-13T19:04:10.6708520Z #endif
2023-07-13T19:04:10.6708690Z #elif ! defined(ngettext)
2023-07-13T19:04:10.6708840Z __builtin_ngettext;
2023-07-13T19:04:10.6708960Z #endif
2023-07-13T19:04:10.6709050Z return 0;
2023-07-13T19:04:10.6709450Z }
2023-07-13T19:04:10.6709580Z Compiler stdout:
2023-07-13T19:04:10.6709700Z
2023-07-13T19:04:10.6709830Z Compiler stderr:
2023-07-13T19:04:10.6710480Z /Users/runner/.xcpkg/run/3040/glib/src/_/meson-private/tmp06kchflu/testfile.c:17:18: error: "__builtin_ngettext not found"
2023-07-13T19:04:10.6710660Z #error "__builtin_ngettext not found"
2023-07-13T19:04:10.6710780Z ^
2023-07-13T19:04:10.6710900Z 1 error generated.
2023-07-13T19:04:10.6710930Z
2023-07-13T19:04:10.6711490Z Checking for function "ngettext" with dependencies intl, -lpthread: NO
2023-07-13T19:04:10.6711920Z Dependency intl found: YES unknown (cached)
2023-07-13T19:04:10.6712290Z
2023-07-13T19:04:10.6712750Z ../meson.build:2119:2: ERROR: Assert failed: libintl.type_name() == 'internal'