Skip to content

Error occurs when upgrading apple_support from v1.17.1 to v1.24.1 #476

@tongke6

Description

@tongke6

I encountered an error when attempting to upgrade the apple_support library from version 1.17.1 to 1.24.1

Run Build Command(s):/private/var/tmp/_bazel_distiller/bedaa68a8664d1b29e96b826d058247f/sandbox/darwin-sandbox/21/execroot/_main/external/rules_foreign_cc~~tools~ninja_1.12.1_mac_aarch64/ninja cmTC_10978 && [1/2] Building CXX object CMakeFiles/cmTC_10978.dir/testCXXCompiler.cxx.o
    [2/2] Linking CXX executable cmTC_10978
    FAILED: cmTC_10978 
    : && bazel-out/darwin_arm64-opt-exec-ST-d57f47055a04/bin/external/apple_support~/crosstool/cc_wrapper.sh -D_FORTIFY_SOURCE=1 -fstack-protector -fcolor-diagnostics -Wall -Wthread-safety -Wself-assign -fno-omit-frame-pointer -g0 -O2 -DNDEBUG -DNS_BLOCK_ASSERTIONS=1 -fdebug-prefix-map=__BAZEL_EXECUTION_ROOT__=. -fdebug-prefix-map=__BAZEL_XCODE_DEVELOPER_DIR__=/PLACEHOLDER_DEVELOPER_DIR -isysroot __BAZEL_XCODE_SDKROOT__ -F__BAZEL_XCODE_SDKROOT__/System/Library/Frameworks -F__BAZEL_XCODE_DEVELOPER_DIR__/Platforms/MacOSX.platform/Developer/Library/Frameworks -no-canonical-prefixes -target arm64-apple-macosx13.0 -std=c++17 -Wno-builtin-macro-redefined -D__DATE__=\"redacted\" -D__TIMESTAMP__=\"redacted\" -D__TIME__=\"redacted\" -fdiagnostics-color=always -Wno-unused-command-line-argument  -arch arm64 -isysroot /Applications/Xcode-16.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk -mmacosx-version-min=13.0 -Wl,-search_paths_first -Wl,-headerpad_max_install_names -lc++ -Wl,-oso_prefix,__BAZEL_EXECUTION_ROOT__/ -headerpad_max_install_names -no-canonical-prefixes -target arm64-apple-macosx13.0 -fobjc-link-runtime -dead_strip -framework Foundation -Wl,-no_warn_duplicate_libraries -lm CMakeFiles/cmTC_10978.dir/testCXXCompiler.cxx.o -o cmTC_10978   && :
    /bin/sh: bazel-out/darwin_arm64-opt-exec-ST-d57f47055a04/bin/external/apple_support~/crosstool/cc_wrapper.sh: No such file or directory
    ninja: build stopped: subcommand failed

To Reproduce

please checkout the PR: secretflow/yacl#575

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions