Skip to content

Instantly share code, notes, and snippets.

@timsutton
Created January 17, 2024 01:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save timsutton/514f2ddc79337dc212f533fb4a690352 to your computer and use it in GitHub Desktop.
Save timsutton/514f2ddc79337dc212f533fb4a690352 to your computer and use it in GitHub Desktop.
proxygen `build.sh` error on macOS 14.2, Xcode 15.2
➜ proxygen git:(main) ✗ ./build.sh
+++ dirname ./build.sh
++ cd .
++ pwd
+ BASE_DIR=/Users/tim/git/proxygen/proxygen
+ COLOR_RED='\033[0;31m'
+ COLOR_GREEN='\033[0;32m'
+ COLOR_OFF='\033[0m'
+ JOBS=8
+ INSTALL_DEPENDENCIES=true
+ FETCH_DEPENDENCIES=true
+ PREFIX=
+ COMPILER_FLAGS=
+ USAGE='./build.sh [-j num_jobs] [-m|--no-jemalloc] [--no-install-dependencies] [-p|--prefix] [-x|--compiler-flags] [--no-fetch-dependencies]'
+ '[' '' '!=' '' ']'
+ detect_platform
++ uname -s
+ unameOut=Darwin
+ case "${unameOut}" in
+ PLATFORM=Mac
+ echo -e '\033[0;32mDetected platform: Mac \033[0m'
Detected platform: Mac
+ '[' true == true ']'
+ install_dependencies
+ echo -e '\033[0;32m[ INFO ] install dependencies \033[0m'
[ INFO ] install dependencies
+ '[' Mac = Linux ']'
+ '[' Mac = Mac ']'
+ install_dependencies_mac
+ brew install -f cmake m4 boost double-conversion gflags glog gperf libevent lz4 snappy xz openssl libsodium
Warning: Treating cmake as a formula. For the cask, use homebrew/cask/cmake
Warning: cmake 3.28.1 is already installed and up-to-date.
To reinstall 3.28.1, run:
brew reinstall cmake
Warning: m4 1.4.19 is already installed, it's just not linked.
To link this version, run:
brew link m4
Warning: boost 1.83.0 is already installed and up-to-date.
To reinstall 1.83.0, run:
brew reinstall boost
Warning: double-conversion 3.3.0 is already installed and up-to-date.
To reinstall 3.3.0, run:
brew reinstall double-conversion
Warning: gflags 2.2.2 is already installed and up-to-date.
To reinstall 2.2.2, run:
brew reinstall gflags
Warning: glog 0.6.0 is already installed and up-to-date.
To reinstall 0.6.0, run:
brew reinstall glog
Warning: gperf 3.1 is already installed and up-to-date.
To reinstall 3.1, run:
brew reinstall gperf
Warning: libevent 2.1.12_1 is already installed and up-to-date.
To reinstall 2.1.12_1, run:
brew reinstall libevent
Warning: lz4 1.9.4 is already installed and up-to-date.
To reinstall 1.9.4, run:
brew reinstall lz4
Warning: snappy 1.1.10 is already installed and up-to-date.
To reinstall 1.1.10, run:
brew reinstall snappy
Warning: xz 5.4.5 is already installed and up-to-date.
To reinstall 5.4.5, run:
brew reinstall xz
Warning: openssl@3 3.2.0_1 is already installed and up-to-date.
To reinstall 3.2.0_1, run:
brew reinstall openssl@3
Warning: libsodium 1.0.19 is already installed and up-to-date.
To reinstall 1.0.19, run:
brew reinstall libsodium
+ brew link cmake boost double-conversion gflags glog gperf libevent lz4 snappy openssl xz libsodium
Warning: Already linked: /opt/homebrew/Cellar/cmake/3.28.1
To relink, run:
brew unlink cmake && brew link cmake
Warning: Already linked: /opt/homebrew/Cellar/boost/1.83.0
To relink, run:
brew unlink boost && brew link boost
Warning: Already linked: /opt/homebrew/Cellar/double-conversion/3.3.0
To relink, run:
brew unlink double-conversion && brew link double-conversion
Warning: Already linked: /opt/homebrew/Cellar/gflags/2.2.2
To relink, run:
brew unlink gflags && brew link gflags
Warning: Already linked: /opt/homebrew/Cellar/glog/0.6.0
To relink, run:
brew unlink glog && brew link glog
Warning: Already linked: /opt/homebrew/Cellar/gperf/3.1
To relink, run:
brew unlink gperf && brew link gperf
Warning: Already linked: /opt/homebrew/Cellar/libevent/2.1.12_1
To relink, run:
brew unlink libevent && brew link libevent
Warning: Already linked: /opt/homebrew/Cellar/lz4/1.9.4
To relink, run:
brew unlink lz4 && brew link lz4
Warning: Already linked: /opt/homebrew/Cellar/snappy/1.1.10
To relink, run:
brew unlink snappy && brew link snappy
Warning: Already linked: /opt/homebrew/Cellar/openssl@3/3.2.0_1
To relink, run:
brew unlink openssl@3 && brew link openssl@3
Warning: Already linked: /opt/homebrew/Cellar/xz/5.4.5
To relink, run:
brew unlink xz && brew link xz
Warning: Already linked: /opt/homebrew/Cellar/libsodium/1.0.19
To relink, run:
brew unlink libsodium && brew link libsodium
+ MAYBE_OVERRIDE_CXX_FLAGS=
+ '[' -n '' ']'
+ BUILD_DIR=_build
+ mkdir -p _build
+ set -e nounset
+ trap 'cd $BASE_DIR' EXIT
+ cd _build
++ pwd
+ BWD=/Users/tim/git/proxygen/proxygen/_build
+ DEPS_DIR=/Users/tim/git/proxygen/proxygen/_build/deps
+ mkdir -p /Users/tim/git/proxygen/proxygen/_build/deps
++ dirname ./build.sh
+ cd .
+ setup_fmt
+ FMT_DIR=/Users/tim/git/proxygen/proxygen/_build/deps/fmt
+ FMT_BUILD_DIR=/Users/tim/git/proxygen/proxygen/_build/deps/fmt/build/
++ grep 'subdir = ' ../../build/fbcode_builder/manifests/fmt
++ cut -d - -f 2
+ FMT_TAG=9.1.0
+ '[' '!' -d /Users/tim/git/proxygen/proxygen/_build/deps/fmt ']'
+ cd /Users/tim/git/proxygen/proxygen/_build/deps/fmt
+ git fetch --tags
+ git checkout 9.1.0
HEAD is now at a3370119 Update version
+ echo -e '\033[0;32mBuilding fmt \033[0m'
Building fmt
+ mkdir -p /Users/tim/git/proxygen/proxygen/_build/deps/fmt/build/
+ cd /Users/tim/git/proxygen/proxygen/_build/deps/fmt/build/
+ cmake -DCMAKE_PREFIX_PATH=/Users/tim/git/proxygen/proxygen/_build/deps -DCMAKE_INSTALL_PREFIX=/Users/tim/git/proxygen/proxygen/_build/deps -DCMAKE_BUILD_TYPE=RelWithDebInfo '' -DFMT_DOC=OFF -DFMT_TEST=OFF ..
CMake Warning:
Ignoring empty string ("") provided on the command line.
-- CMake version: 3.28.1
-- Module support is disabled.
-- Version: 9.1.0
-- Build type: RelWithDebInfo
-- CXX_STANDARD: 11
-- Required features: cxx_variadic_templates
-- Configuring done (0.0s)
-- Generating done (0.0s)
-- Build files have been written to: /Users/tim/git/proxygen/proxygen/_build/deps/fmt/build
+ make -j 8
[100%] Built target fmt
+ make install
[100%] Built target fmt
Install the project...
-- Install configuration: "RelWithDebInfo"
-- Installing: /Users/tim/git/proxygen/proxygen/_build/deps/lib/libfmt.a
-- Up-to-date: /Users/tim/git/proxygen/proxygen/_build/deps/include/fmt/args.h
-- Up-to-date: /Users/tim/git/proxygen/proxygen/_build/deps/include/fmt/chrono.h
-- Up-to-date: /Users/tim/git/proxygen/proxygen/_build/deps/include/fmt/color.h
-- Up-to-date: /Users/tim/git/proxygen/proxygen/_build/deps/include/fmt/compile.h
-- Up-to-date: /Users/tim/git/proxygen/proxygen/_build/deps/include/fmt/core.h
-- Up-to-date: /Users/tim/git/proxygen/proxygen/_build/deps/include/fmt/format.h
-- Up-to-date: /Users/tim/git/proxygen/proxygen/_build/deps/include/fmt/format-inl.h
-- Up-to-date: /Users/tim/git/proxygen/proxygen/_build/deps/include/fmt/os.h
-- Up-to-date: /Users/tim/git/proxygen/proxygen/_build/deps/include/fmt/ostream.h
-- Up-to-date: /Users/tim/git/proxygen/proxygen/_build/deps/include/fmt/printf.h
-- Up-to-date: /Users/tim/git/proxygen/proxygen/_build/deps/include/fmt/ranges.h
-- Up-to-date: /Users/tim/git/proxygen/proxygen/_build/deps/include/fmt/std.h
-- Up-to-date: /Users/tim/git/proxygen/proxygen/_build/deps/include/fmt/xchar.h
-- Up-to-date: /Users/tim/git/proxygen/proxygen/_build/deps/lib/cmake/fmt/fmt-config.cmake
-- Up-to-date: /Users/tim/git/proxygen/proxygen/_build/deps/lib/cmake/fmt/fmt-config-version.cmake
-- Up-to-date: /Users/tim/git/proxygen/proxygen/_build/deps/lib/cmake/fmt/fmt-targets.cmake
-- Up-to-date: /Users/tim/git/proxygen/proxygen/_build/deps/lib/cmake/fmt/fmt-targets-relwithdebinfo.cmake
-- Up-to-date: /Users/tim/git/proxygen/proxygen/_build/deps/lib/pkgconfig/fmt.pc
+ echo -e '\033[0;32mfmt is installed \033[0m'
fmt is installed
+ cd /Users/tim/git/proxygen/proxygen/_build
+ setup_googletest
+ GTEST_DIR=/Users/tim/git/proxygen/proxygen/_build/deps/googletest
+ GTEST_BUILD_DIR=/Users/tim/git/proxygen/proxygen/_build/deps/googletest/build/
++ grep 'subdir = ' ../../build/fbcode_builder/manifests/googletest
++ cut -d - -f 2,3
+ GTEST_TAG=release-1.12.1
+ '[' '!' -d /Users/tim/git/proxygen/proxygen/_build/deps/googletest ']'
+ cd /Users/tim/git/proxygen/proxygen/_build/deps/googletest
+ git fetch --tags
+ git checkout release-1.12.1
HEAD is now at 58d77fa8 Updates the version number in CMakeLists.txt to 1.12.1 (#3919)
+ echo -e '\033[0;32mBuilding googletest \033[0m'
Building googletest
+ mkdir -p /Users/tim/git/proxygen/proxygen/_build/deps/googletest/build/
+ cd /Users/tim/git/proxygen/proxygen/_build/deps/googletest/build/
+ cmake -DCMAKE_PREFIX_PATH=/Users/tim/git/proxygen/proxygen/_build/deps -DCMAKE_INSTALL_PREFIX=/Users/tim/git/proxygen/proxygen/_build/deps -DCMAKE_BUILD_TYPE=RelWithDebInfo ..
-- Configuring done (0.1s)
-- Generating done (0.0s)
-- Build files have been written to: /Users/tim/git/proxygen/proxygen/_build/deps/googletest/build
+ make -j 8
[ 25%] Built target gtest
[ 75%] Built target gmock
[ 75%] Built target gtest_main
[100%] Built target gmock_main
+ make install
[ 25%] Built target gtest
[ 50%] Built target gmock
[ 75%] Built target gmock_main
[100%] Built target gtest_main
Install the project...
-- Install configuration: "RelWithDebInfo"
-- Up-to-date: /Users/tim/git/proxygen/proxygen/_build/deps/include
-- Up-to-date: /Users/tim/git/proxygen/proxygen/_build/deps/include/gmock
-- Up-to-date: /Users/tim/git/proxygen/proxygen/_build/deps/include/gmock/gmock-matchers.h
-- Up-to-date: /Users/tim/git/proxygen/proxygen/_build/deps/include/gmock/gmock-more-actions.h
-- Up-to-date: /Users/tim/git/proxygen/proxygen/_build/deps/include/gmock/internal
-- Up-to-date: /Users/tim/git/proxygen/proxygen/_build/deps/include/gmock/internal/gmock-port.h
-- Up-to-date: /Users/tim/git/proxygen/proxygen/_build/deps/include/gmock/internal/gmock-internal-utils.h
-- Up-to-date: /Users/tim/git/proxygen/proxygen/_build/deps/include/gmock/internal/gmock-pp.h
-- Up-to-date: /Users/tim/git/proxygen/proxygen/_build/deps/include/gmock/internal/custom
-- Up-to-date: /Users/tim/git/proxygen/proxygen/_build/deps/include/gmock/internal/custom/gmock-port.h
-- Up-to-date: /Users/tim/git/proxygen/proxygen/_build/deps/include/gmock/internal/custom/gmock-matchers.h
-- Up-to-date: /Users/tim/git/proxygen/proxygen/_build/deps/include/gmock/internal/custom/gmock-generated-actions.h
-- Up-to-date: /Users/tim/git/proxygen/proxygen/_build/deps/include/gmock/internal/custom/README.md
-- Up-to-date: /Users/tim/git/proxygen/proxygen/_build/deps/include/gmock/gmock-function-mocker.h
-- Up-to-date: /Users/tim/git/proxygen/proxygen/_build/deps/include/gmock/gmock-more-matchers.h
-- Up-to-date: /Users/tim/git/proxygen/proxygen/_build/deps/include/gmock/gmock-cardinalities.h
-- Up-to-date: /Users/tim/git/proxygen/proxygen/_build/deps/include/gmock/gmock-spec-builders.h
-- Up-to-date: /Users/tim/git/proxygen/proxygen/_build/deps/include/gmock/gmock-nice-strict.h
-- Up-to-date: /Users/tim/git/proxygen/proxygen/_build/deps/include/gmock/gmock.h
-- Up-to-date: /Users/tim/git/proxygen/proxygen/_build/deps/include/gmock/gmock-actions.h
-- Installing: /Users/tim/git/proxygen/proxygen/_build/deps/lib/libgmock.a
-- Installing: /Users/tim/git/proxygen/proxygen/_build/deps/lib/libgmock_main.a
-- Up-to-date: /Users/tim/git/proxygen/proxygen/_build/deps/lib/pkgconfig/gmock.pc
-- Up-to-date: /Users/tim/git/proxygen/proxygen/_build/deps/lib/pkgconfig/gmock_main.pc
-- Up-to-date: /Users/tim/git/proxygen/proxygen/_build/deps/lib/cmake/GTest/GTestTargets.cmake
-- Up-to-date: /Users/tim/git/proxygen/proxygen/_build/deps/lib/cmake/GTest/GTestTargets-relwithdebinfo.cmake
-- Up-to-date: /Users/tim/git/proxygen/proxygen/_build/deps/lib/cmake/GTest/GTestConfigVersion.cmake
-- Up-to-date: /Users/tim/git/proxygen/proxygen/_build/deps/lib/cmake/GTest/GTestConfig.cmake
-- Up-to-date: /Users/tim/git/proxygen/proxygen/_build/deps/include
-- Up-to-date: /Users/tim/git/proxygen/proxygen/_build/deps/include/gtest
-- Up-to-date: /Users/tim/git/proxygen/proxygen/_build/deps/include/gtest/gtest-matchers.h
-- Up-to-date: /Users/tim/git/proxygen/proxygen/_build/deps/include/gtest/gtest-death-test.h
-- Up-to-date: /Users/tim/git/proxygen/proxygen/_build/deps/include/gtest/gtest-spi.h
-- Up-to-date: /Users/tim/git/proxygen/proxygen/_build/deps/include/gtest/gtest-assertion-result.h
-- Up-to-date: /Users/tim/git/proxygen/proxygen/_build/deps/include/gtest/internal
-- Up-to-date: /Users/tim/git/proxygen/proxygen/_build/deps/include/gtest/internal/gtest-string.h
-- Up-to-date: /Users/tim/git/proxygen/proxygen/_build/deps/include/gtest/internal/gtest-death-test-internal.h
-- Up-to-date: /Users/tim/git/proxygen/proxygen/_build/deps/include/gtest/internal/gtest-port.h
-- Up-to-date: /Users/tim/git/proxygen/proxygen/_build/deps/include/gtest/internal/gtest-port-arch.h
-- Up-to-date: /Users/tim/git/proxygen/proxygen/_build/deps/include/gtest/internal/gtest-internal.h
-- Up-to-date: /Users/tim/git/proxygen/proxygen/_build/deps/include/gtest/internal/gtest-param-util.h
-- Up-to-date: /Users/tim/git/proxygen/proxygen/_build/deps/include/gtest/internal/gtest-type-util.h
-- Up-to-date: /Users/tim/git/proxygen/proxygen/_build/deps/include/gtest/internal/gtest-filepath.h
-- Up-to-date: /Users/tim/git/proxygen/proxygen/_build/deps/include/gtest/internal/custom
-- Up-to-date: /Users/tim/git/proxygen/proxygen/_build/deps/include/gtest/internal/custom/gtest-port.h
-- Up-to-date: /Users/tim/git/proxygen/proxygen/_build/deps/include/gtest/internal/custom/README.md
-- Up-to-date: /Users/tim/git/proxygen/proxygen/_build/deps/include/gtest/internal/custom/gtest.h
-- Up-to-date: /Users/tim/git/proxygen/proxygen/_build/deps/include/gtest/internal/custom/gtest-printers.h
-- Up-to-date: /Users/tim/git/proxygen/proxygen/_build/deps/include/gtest/gtest-message.h
-- Up-to-date: /Users/tim/git/proxygen/proxygen/_build/deps/include/gtest/gtest-param-test.h
-- Up-to-date: /Users/tim/git/proxygen/proxygen/_build/deps/include/gtest/gtest-typed-test.h
-- Up-to-date: /Users/tim/git/proxygen/proxygen/_build/deps/include/gtest/gtest_pred_impl.h
-- Up-to-date: /Users/tim/git/proxygen/proxygen/_build/deps/include/gtest/gtest_prod.h
-- Up-to-date: /Users/tim/git/proxygen/proxygen/_build/deps/include/gtest/gtest-test-part.h
-- Up-to-date: /Users/tim/git/proxygen/proxygen/_build/deps/include/gtest/gtest.h
-- Up-to-date: /Users/tim/git/proxygen/proxygen/_build/deps/include/gtest/gtest-printers.h
-- Installing: /Users/tim/git/proxygen/proxygen/_build/deps/lib/libgtest.a
-- Installing: /Users/tim/git/proxygen/proxygen/_build/deps/lib/libgtest_main.a
-- Up-to-date: /Users/tim/git/proxygen/proxygen/_build/deps/lib/pkgconfig/gtest.pc
-- Up-to-date: /Users/tim/git/proxygen/proxygen/_build/deps/lib/pkgconfig/gtest_main.pc
+ echo -e '\033[0;32mgoogletest is installed \033[0m'
googletest is installed
+ cd /Users/tim/git/proxygen/proxygen/_build
+ setup_zstd
+ ZSTD_DIR=/Users/tim/git/proxygen/proxygen/_build/deps/zstd
+ ZSTD_BUILD_DIR=/Users/tim/git/proxygen/proxygen/_build/deps/zstd/build/cmake/builddir
+ ZSTD_INSTALL_DIR=/Users/tim/git/proxygen/proxygen/_build/deps
++ grep 'subdir = ' ../../build/fbcode_builder/manifests/zstd
++ cut -d - -f 2
++ cut -d / -f 1
+ ZSTD_TAG=1.5.5
+ '[' '!' -d /Users/tim/git/proxygen/proxygen/_build/deps/zstd ']'
+ cd /Users/tim/git/proxygen/proxygen/_build/deps/zstd
+ git fetch --tags
+ git checkout v1.5.5
HEAD is now at 63779c79 Merge pull request #3595 from facebook/dev
+ echo -e '\033[0;32mBuilding Zstd \033[0m'
Building Zstd
+ mkdir -p /Users/tim/git/proxygen/proxygen/_build/deps/zstd/build/cmake/builddir
+ cd /Users/tim/git/proxygen/proxygen/_build/deps/zstd/build/cmake/builddir
+ cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo -DBUILD_TESTS=OFF -DCMAKE_PREFIX_PATH=/Users/tim/git/proxygen/proxygen/_build/deps -DCMAKE_INSTALL_PREFIX=/Users/tim/git/proxygen/proxygen/_build/deps ..
CMake Deprecation Warning at CMakeLists.txt:10 (cmake_minimum_required):
Compatibility with CMake < 3.5 will be removed from a future version of
CMake.
Update the VERSION argument <min> value or use a ...<max> suffix to tell
CMake that the project does not need compatibility with older versions.
-- ZSTD VERSION: 1.5.5
-- CMAKE_INSTALL_PREFIX: /Users/tim/git/proxygen/proxygen/_build/deps
-- CMAKE_INSTALL_LIBDIR: lib
-- ZSTD_LEGACY_SUPPORT defined!
-- ZSTD_MULTITHREAD_SUPPORT is enabled
-- Configuring done (0.0s)
-- Generating done (0.0s)
-- Build files have been written to: /Users/tim/git/proxygen/proxygen/_build/deps/zstd/build/cmake/builddir
+ make -j 8
[ 3%] Copying manpage zstdgrep.1
[ 3%] Copying manpage zstdless.1
[ 3%] Copying manpage zstd.1
[ 3%] Built target zstdless.1
[ 3%] Built target zstd.1
[ 3%] Built target zstdgrep.1
[ 5%] Creating zstdcat.1 symlink
[ 5%] Creating unzstd.1 symlink
[ 79%] Built target libzstd_shared
[ 80%] Built target libzstd_static
[ 80%] Built target zstdcat.1
[ 80%] Built target unzstd.1
[ 86%] Built target zstd-frugal
[ 97%] Built target zstd
[100%] Creating unzstd symlink
[100%] Creating zstdmt symlink
[100%] Creating zstdcat symlink
[100%] Built target zstdmt
[100%] Built target unzstd
[100%] Built target zstdcat
+ make install
[ 37%] Built target libzstd_shared
[ 75%] Built target libzstd_static
[ 86%] Built target zstd
[ 87%] Creating zstdcat symlink
[ 87%] Built target zstdcat
[ 88%] Creating unzstd symlink
[ 88%] Built target unzstd
[ 89%] Copying manpage zstd.1
[ 89%] Built target zstd.1
[ 90%] Copying manpage zstdgrep.1
[ 90%] Built target zstdgrep.1
[ 91%] Copying manpage zstdless.1
[ 91%] Built target zstdless.1
[ 92%] Creating zstdcat.1 symlink
[ 92%] Built target zstdcat.1
[ 93%] Creating unzstd.1 symlink
[ 93%] Built target unzstd.1
[ 99%] Built target zstd-frugal
[100%] Creating zstdmt symlink
[100%] Built target zstdmt
Install the project...
-- Install configuration: "RelWithDebInfo"
-- Up-to-date: /Users/tim/git/proxygen/proxygen/_build/deps/lib/cmake/zstd/zstdTargets.cmake
-- Up-to-date: /Users/tim/git/proxygen/proxygen/_build/deps/lib/cmake/zstd/zstdTargets-relwithdebinfo.cmake
-- Up-to-date: /Users/tim/git/proxygen/proxygen/_build/deps/lib/cmake/zstd/zstdConfig.cmake
-- Up-to-date: /Users/tim/git/proxygen/proxygen/_build/deps/lib/cmake/zstd/zstdConfigVersion.cmake
-- Up-to-date: /Users/tim/git/proxygen/proxygen/_build/deps/lib/pkgconfig/libzstd.pc
-- Up-to-date: /Users/tim/git/proxygen/proxygen/_build/deps/include/zstd.h
-- Up-to-date: /Users/tim/git/proxygen/proxygen/_build/deps/include/zdict.h
-- Up-to-date: /Users/tim/git/proxygen/proxygen/_build/deps/include/zstd_errors.h
-- Up-to-date: /Users/tim/git/proxygen/proxygen/_build/deps/lib/libzstd.1.5.5.dylib
-- Up-to-date: /Users/tim/git/proxygen/proxygen/_build/deps/lib/libzstd.1.dylib
-- Up-to-date: /Users/tim/git/proxygen/proxygen/_build/deps/lib/libzstd.dylib
-- Installing: /Users/tim/git/proxygen/proxygen/_build/deps/lib/libzstd.a
-- Up-to-date: /Users/tim/git/proxygen/proxygen/_build/deps/bin/zstd
-- Up-to-date: /Users/tim/git/proxygen/proxygen/_build/deps/bin/zstdcat
-- Up-to-date: /Users/tim/git/proxygen/proxygen/_build/deps/bin/unzstd
-- Up-to-date: /Users/tim/git/proxygen/proxygen/_build/deps/bin/zstdgrep
-- Up-to-date: /Users/tim/git/proxygen/proxygen/_build/deps/bin/zstdless
-- Installing: /Users/tim/git/proxygen/proxygen/_build/deps/share/man/man1/zstd.1
-- Up-to-date: /Users/tim/git/proxygen/proxygen/_build/deps/share/man/man1/zstdcat.1
-- Up-to-date: /Users/tim/git/proxygen/proxygen/_build/deps/share/man/man1/unzstd.1
-- Installing: /Users/tim/git/proxygen/proxygen/_build/deps/share/man/man1/zstdgrep.1
-- Installing: /Users/tim/git/proxygen/proxygen/_build/deps/share/man/man1/zstdless.1
-- Up-to-date: /Users/tim/git/proxygen/proxygen/_build/deps/bin/zstdmt
+ echo -e '\033[0;32mZstd is installed \033[0m'
Zstd is installed
+ cd /Users/tim/git/proxygen/proxygen/_build
+ setup_folly
+ FOLLY_DIR=/Users/tim/git/proxygen/proxygen/_build/deps/folly
+ FOLLY_BUILD_DIR=/Users/tim/git/proxygen/proxygen/_build/deps/folly/build/
+ '[' '!' -d /Users/tim/git/proxygen/proxygen/_build/deps/folly ']'
+ synch_dependency_to_commit /Users/tim/git/proxygen/proxygen/_build/deps/folly /Users/tim/git/proxygen/proxygen/../build/deps/github_hashes/facebook/folly-rev.txt
+ '[' true = false ']'
++ sed 's/Subproject commit //' /Users/tim/git/proxygen/proxygen/../build/deps/github_hashes/facebook/folly-rev.txt
+ DEP_REV=19f74a48a3d8f19d9af0a39c6ef58eece6470cea
+ pushd /Users/tim/git/proxygen/proxygen/_build/deps/folly
~/git/proxygen/proxygen/_build/deps/folly ~/git/proxygen/proxygen/_build
+ git fetch
+ git -c advice.detachedHead=false checkout 19f74a48a3d8f19d9af0a39c6ef58eece6470cea
HEAD is now at 19f74a48a Handle a case when TSC goes back for `DistributedMutex`
+ popd
~/git/proxygen/proxygen/_build
+ '[' Mac = Mac ']'
+ dir=/usr/local/opt/openssl
+ '[' -d /usr/local/opt/openssl ']'
+ echo -e '\033[0;32mBuilding Folly \033[0m'
Building Folly
+ mkdir -p /Users/tim/git/proxygen/proxygen/_build/deps/folly/build/
+ cd /Users/tim/git/proxygen/proxygen/_build/deps/folly/build/
+ MAYBE_DISABLE_JEMALLOC=
+ '[' '' == true ']'
+ MAYBE_USE_STATIC_DEPS=
+ MAYBE_USE_STATIC_BOOST=
+ MAYBE_BUILD_SHARED_LIBS=
+ '[' '' == true ']'
+ cmake -DCMAKE_PREFIX_PATH=/Users/tim/git/proxygen/proxygen/_build/deps -DCMAKE_INSTALL_PREFIX=/Users/tim/git/proxygen/proxygen/_build/deps -DCMAKE_BUILD_TYPE=RelWithDebInfo -DBUILD_TESTS=OFF '' '' '' '' ..
CMake Warning:
Ignoring empty string ("") provided on the command line.
CMake Warning:
Ignoring empty string ("") provided on the command line.
CMake Warning:
Ignoring empty string ("") provided on the command line.
CMake Warning:
Ignoring empty string ("") provided on the command line.
CMake Deprecation Warning at CMakeLists.txt:15 (cmake_minimum_required):
Compatibility with CMake < 3.5 will be removed from a future version of
CMake.
Update the VERSION argument <min> value or use a ...<max> suffix to tell
CMake that the project does not need compatibility with older versions.
-- other platform:
-- setting C++ standard to C++17
-- Found gflags from package config /opt/homebrew/lib/cmake/gflags/gflags-config.cmake
-- Found gflags as a dependency of glog::glog, include=/opt/homebrew/include, libs=gflags_shared
-- Found libevent: /opt/homebrew/lib/libevent.dylib
-- Found LZ4: /opt/homebrew/lib/liblz4.dylib
CMake Warning (dev) at /opt/homebrew/Cellar/cmake/3.28.1/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:438 (message):
The package name passed to `find_package_handle_standard_args` (ZSTD) does
not match the name of the calling package (Zstd). This can lead to
problems in calling code that expects `find_package` result variables
(e.g., `_FOUND`) to follow a certain pattern.
Call Stack (most recent call first):
CMake/FindZstd.cmake:32 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
CMake/folly-deps.cmake:114 (find_package)
CMakeLists.txt:144 (include)
This warning is for project developers. Use -Wno-dev to suppress it.
-- Found Zstd: /Users/tim/git/proxygen/proxygen/_build/deps/lib/libzstd.dylib
CMake Warning (dev) at /opt/homebrew/Cellar/cmake/3.28.1/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:438 (message):
The package name passed to `find_package_handle_standard_args` (SNAPPY)
does not match the name of the calling package (Snappy). This can lead to
problems in calling code that expects `find_package` result variables
(e.g., `_FOUND`) to follow a certain pattern.
Call Stack (most recent call first):
CMake/FindSnappy.cmake:31 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
CMake/folly-deps.cmake:121 (find_package)
CMakeLists.txt:144 (include)
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Warning (dev) at /opt/homebrew/Cellar/cmake/3.28.1/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:438 (message):
The package name passed to `find_package_handle_standard_args` (LIBDWARF)
does not match the name of the calling package (LibDwarf). This can lead
to problems in calling code that expects `find_package` result variables
(e.g., `_FOUND`) to follow a certain pattern.
Call Stack (most recent call first):
CMake/FindLibDwarf.cmake:25 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
CMake/folly-deps.cmake:128 (find_package)
CMakeLists.txt:144 (include)
This warning is for project developers. Use -Wno-dev to suppress it.
-- Could NOT find LIBDWARF (missing: LIBDWARF_LIBRARY LIBDWARF_INCLUDE_DIR)
CMake Warning (dev) at /opt/homebrew/Cellar/cmake/3.28.1/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:438 (message):
The package name passed to `find_package_handle_standard_args` (LIBIBERTY)
does not match the name of the calling package (Libiberty). This can lead
to problems in calling code that expects `find_package` result variables
(e.g., `_FOUND`) to follow a certain pattern.
Call Stack (most recent call first):
CMake/FindLibiberty.cmake:22 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
CMake/folly-deps.cmake:132 (find_package)
CMakeLists.txt:144 (include)
This warning is for project developers. Use -Wno-dev to suppress it.
-- Could NOT find LIBIBERTY (missing: LIBIBERTY_LIBRARY LIBIBERTY_INCLUDE_DIR)
CMake Warning (dev) at /opt/homebrew/Cellar/cmake/3.28.1/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:438 (message):
The package name passed to `find_package_handle_standard_args` (LIBAIO)
does not match the name of the calling package (LibAIO). This can lead to
problems in calling code that expects `find_package` result variables
(e.g., `_FOUND`) to follow a certain pattern.
Call Stack (most recent call first):
CMake/FindLibAIO.cmake:22 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
CMake/folly-deps.cmake:136 (find_package)
CMakeLists.txt:144 (include)
This warning is for project developers. Use -Wno-dev to suppress it.
-- Could NOT find LIBAIO (missing: LIBAIO_LIBRARY LIBAIO_INCLUDE_DIR)
CMake Warning (dev) at /opt/homebrew/Cellar/cmake/3.28.1/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:438 (message):
The package name passed to `find_package_handle_standard_args` (LIBURING)
does not match the name of the calling package (LibUring). This can lead
to problems in calling code that expects `find_package` result variables
(e.g., `_FOUND`) to follow a certain pattern.
Call Stack (most recent call first):
CMake/FindLibUring.cmake:22 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
CMake/folly-deps.cmake:140 (find_package)
CMakeLists.txt:144 (include)
This warning is for project developers. Use -Wno-dev to suppress it.
-- Could NOT find LIBURING (missing: LIBURING_LIBRARY LIBURING_INCLUDE_DIR)
CMake Warning (dev) at /opt/homebrew/Cellar/cmake/3.28.1/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:438 (message):
The package name passed to `find_package_handle_standard_args` (LIBSODIUM)
does not match the name of the calling package (Libsodium). This can lead
to problems in calling code that expects `find_package` result variables
(e.g., `_FOUND`) to follow a certain pattern.
Call Stack (most recent call first):
CMake/FindLibsodium.cmake:22 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
CMake/folly-deps.cmake:144 (find_package)
CMakeLists.txt:144 (include)
This warning is for project developers. Use -Wno-dev to suppress it.
-- Found Libsodium: /opt/homebrew/lib/libsodium.dylib
CMake Warning (dev) at /opt/homebrew/Cellar/cmake/3.28.1/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:438 (message):
The package name passed to `find_package_handle_standard_args` (LIBUNWIND)
does not match the name of the calling package (LibUnwind). This can lead
to problems in calling code that expects `find_package` result variables
(e.g., `_FOUND`) to follow a certain pattern.
Call Stack (most recent call first):
build/fbcode_builder/CMake/FindLibUnwind.cmake:22 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
CMake/folly-deps.cmake:156 (find_package)
CMakeLists.txt:144 (include)
This warning is for project developers. Use -Wno-dev to suppress it.
-- Could NOT find LIBUNWIND (missing: LIBUNWIND_LIBRARY)
-- Setting FOLLY_USE_SYMBOLIZER: OFF
-- Setting FOLLY_HAVE_ELF:
-- Setting FOLLY_HAVE_DWARF: FALSE
-- arch does not match x86_64, skipping building SSE4.2 version of base64
-- arch does not match x86_64, skipping setting SSE2/AVX2 compile flags for LtHash SIMD code
-- compiler has flag pclmul, setting compile flag for /Users/tim/git/proxygen/proxygen/_build/deps/folly/folly/hash/detail/ChecksumDetail.cpp;/Users/tim/git/proxygen/proxygen/_build/deps/folly/folly/hash/detail/Crc32CombineDetail.cpp;/Users/tim/git/proxygen/proxygen/_build/deps/folly/folly/hash/detail/Crc32cDetail.cpp
-- Configuring done (0.5s)
-- Generating done (0.0s)
-- Build files have been written to: /Users/tim/git/proxygen/proxygen/_build/deps/folly/build
+ make -j 8
[ 97%] Built target folly_base
[ 97%] Built target folly
[ 98%] Built target logging_example_lib
[ 98%] Built target follybenchmark
[ 99%] Built target folly_test_util
[ 99%] Linking CXX executable logging_example
ld: Undefined symbols:
fmt::v10::detail::is_printable(unsigned int), referenced from:
std::__1::back_insert_iterator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>> fmt::v10::detail::write_padded<(fmt::v10::align::type)1, std::__1::back_insert_iterator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>>, char, std::__1::back_insert_iterator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>> fmt::v10::detail::write_char<char, std::__1::back_insert_iterator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>>>(std::__1::back_insert_iterator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>>, char, fmt::v10::format_specs<char> const&)::'lambda'(char*)&>(std::__1::back_insert_iterator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>>, fmt::v10::format_specs<char> const&, unsigned long, unsigned long, std::__1::back_insert_iterator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>> fmt::v10::detail::write_char<char, std::__1::back_insert_iterator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>>>(std::__1::back_insert_iterator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>>, char, fmt::v10::format_specs<char> const&)::'lambda'(char*)&) in libfolly.a[9](File.cpp.o)
void fmt::v10::detail::for_each_codepoint<fmt::v10::detail::find_escape(char const*, char const*)::'lambda'(unsigned int, fmt::v10::basic_string_view<char>)>(fmt::v10::basic_string_view<char>, fmt::v10::detail::find_escape(char const*, char const*)::'lambda'(unsigned int, fmt::v10::basic_string_view<char>))::'lambda'(char const*, char const*)::operator()(char const*, char const*) const in libfolly.a[24](Singleton.cpp.o)
fmt::v10::detail::throw_format_error(char const*), referenced from:
std::__1::back_insert_iterator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>> fmt::v10::detail::concat<fmt::v10::detail::spec_field<char, int, 1>, fmt::v10::detail::concat<fmt::v10::detail::text<char>, fmt::v10::detail::concat<fmt::v10::detail::spec_field<char, unsigned short, 2>, fmt::v10::detail::text<char>>>>::format<std::__1::back_insert_iterator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>>, char const*, int, unsigned short>(std::__1::back_insert_iterator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>>, char const* const&, int const&, unsigned short const&) const in libfolly.a[9](File.cpp.o)
void fmt::v10::detail::handle_dynamic_spec<fmt::v10::detail::width_checker, fmt::v10::basic_format_context<std::__1::back_insert_iterator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>>, char>>(int&, fmt::v10::detail::arg_ref<fmt::v10::basic_format_context<std::__1::back_insert_iterator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>>, char>::char_type>, fmt::v10::basic_format_context<std::__1::back_insert_iterator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>>, char>&) in libfolly.a[9](File.cpp.o)
void fmt::v10::detail::handle_dynamic_spec<fmt::v10::detail::precision_checker, fmt::v10::basic_format_context<std::__1::back_insert_iterator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>>, char>>(int&, fmt::v10::detail::arg_ref<fmt::v10::basic_format_context<std::__1::back_insert_iterator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>>, char>::char_type>, fmt::v10::basic_format_context<std::__1::back_insert_iterator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>>, char>&) in libfolly.a[9](File.cpp.o)
int fmt::v10::detail::get_dynamic_spec<fmt::v10::detail::width_checker, fmt::v10::basic_format_arg<fmt::v10::basic_format_context<std::__1::back_insert_iterator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>>, char>>>(fmt::v10::basic_format_arg<fmt::v10::basic_format_context<std::__1::back_insert_iterator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>>, char>>) in libfolly.a[9](File.cpp.o)
int fmt::v10::detail::get_dynamic_spec<fmt::v10::detail::width_checker, fmt::v10::basic_format_arg<fmt::v10::basic_format_context<std::__1::back_insert_iterator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>>, char>>>(fmt::v10::basic_format_arg<fmt::v10::basic_format_context<std::__1::back_insert_iterator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>>, char>>) in libfolly.a[9](File.cpp.o)
int fmt::v10::detail::get_dynamic_spec<fmt::v10::detail::width_checker, fmt::v10::basic_format_arg<fmt::v10::basic_format_context<std::__1::back_insert_iterator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>>, char>>>(fmt::v10::basic_format_arg<fmt::v10::basic_format_context<std::__1::back_insert_iterator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>>, char>>) in libfolly.a[9](File.cpp.o)
int fmt::v10::detail::get_dynamic_spec<fmt::v10::detail::precision_checker, fmt::v10::basic_format_arg<fmt::v10::basic_format_context<std::__1::back_insert_iterator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>>, char>>>(fmt::v10::basic_format_arg<fmt::v10::basic_format_context<std::__1::back_insert_iterator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>>, char>>) in libfolly.a[9](File.cpp.o)
int fmt::v10::detail::get_dynamic_spec<fmt::v10::detail::precision_checker, fmt::v10::basic_format_arg<fmt::v10::basic_format_context<std::__1::back_insert_iterator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>>, char>>>(fmt::v10::basic_format_arg<fmt::v10::basic_format_context<std::__1::back_insert_iterator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>>, char>>) in libfolly.a[9](File.cpp.o)
int fmt::v10::detail::get_dynamic_spec<fmt::v10::detail::precision_checker, fmt::v10::basic_format_arg<fmt::v10::basic_format_context<std::__1::back_insert_iterator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>>, char>>>(fmt::v10::basic_format_arg<fmt::v10::basic_format_context<std::__1::back_insert_iterator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>>, char>>) in libfolly.a[9](File.cpp.o)
...
fmt::v10::vformat(fmt::v10::basic_string_view<char>, fmt::v10::basic_format_args<fmt::v10::basic_format_context<fmt::v10::appender, char>>), referenced from:
folly::LogStreamProcessor::vformatLogString(folly::Range<char const*>, fmt::v10::basic_format_args<fmt::v10::basic_format_context<fmt::v10::appender, char>>, bool&) in main.cpp.o
folly::SingletonVault::addToShutdownLog(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>) in libfolly.a[24](Singleton.cpp.o)
folly::CacheLocality::readFromSysfsTree(std::__1::function<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> (std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>)> const&) in libfolly.a[41](CacheLocality.cpp.o)
std::__1::locale fmt::v10::detail::locale_ref::get<std::__1::locale>() const, referenced from:
void fmt::v10::detail::chrono_formatter<fmt::v10::basic_format_context<fmt::v10::appender, char>, std::__1::back_insert_iterator<fmt::v10::basic_memory_buffer<char, 500ul, std::__1::allocator<char>>>, long long, std::__1::ratio<1l, 1000l>>::format_tm<void (fmt::v10::detail::tm_writer<std::__1::back_insert_iterator<fmt::v10::basic_memory_buffer<char, 500ul, std::__1::allocator<char>>>, char, std::__1::chrono::duration<long long, std::__1::ratio<1l, 1l>>>::*)(fmt::v10::detail::numeric_system, fmt::v10::detail::pad_type), fmt::v10::detail::numeric_system, fmt::v10::detail::pad_type>(tm const&, void (fmt::v10::detail::tm_writer<std::__1::back_insert_iterator<fmt::v10::basic_memory_buffer<char, 500ul, std::__1::allocator<char>>>, char, std::__1::chrono::duration<long long, std::__1::ratio<1l, 1l>>>::*)(fmt::v10::detail::numeric_system, fmt::v10::detail::pad_type), fmt::v10::detail::numeric_system, fmt::v10::detail::pad_type) in libfolly.a[24](Singleton.cpp.o)
void fmt::v10::detail::chrono_formatter<fmt::v10::basic_format_context<fmt::v10::appender, char>, std::__1::back_insert_iterator<fmt::v10::basic_memory_buffer<char, 500ul, std::__1::allocator<char>>>, long long, std::__1::ratio<1l, 1000l>>::format_tm<void (fmt::v10::detail::tm_writer<std::__1::back_insert_iterator<fmt::v10::basic_memory_buffer<char, 500ul, std::__1::allocator<char>>>, char, std::__1::chrono::duration<long long, std::__1::ratio<1l, 1l>>>::*)()>(tm const&, void (fmt::v10::detail::tm_writer<std::__1::back_insert_iterator<fmt::v10::basic_memory_buffer<char, 500ul, std::__1::allocator<char>>>, char, std::__1::chrono::duration<long long, std::__1::ratio<1l, 1l>>>::*)()) in libfolly.a[24](Singleton.cpp.o)
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [folly/logging/example/logging_example] Error 1
make[1]: *** [folly/logging/example/CMakeFiles/logging_example.dir/all] Error 2
make: *** [all] Error 2
+ cd /Users/tim/git/proxygen/proxygen
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment