Yes, it is strange indeed. This is the whole output:
$ make third_party
Makefile:57: Makefile.local: No such file or directory
/bin/sh: 0: Illegal option -r
/bin/sh: 0: Illegal option -r
/bin/sh: 0: Illegal option -r
rm -f Makefile.local
Generating Makefile.local
/bin/sh: 0: Illegal option -r
/bin/sh: 0: Illegal option -r
/bin/sh: 0: Illegal option -r
mkdir -p dependencies/install
mkdir -p dependencies/install/bin
mkdir -p dependencies/install/lib
mkdir -p dependencies/install/lib/pkgconfig
mkdir -p dependencies/install/include
mkdir -p dependencies/install/include/coin
rm -rf dependencies/sources/protobuf-v3.14.0
Note: checking out '2514f0bd7da7e2af1bed4c5d1b84f031c4d12c10'.
You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:
git checkout -b <new-branch-name>
cd dependencies/sources/protobuf-v3.14.0 && \
git apply "/home/christine/or-tools/patches/protobuf-v3.14.0.patch"
cd dependencies/sources/protobuf-v3.14.0 && \
/usr/bin/cmake -Hcmake -Bbuild_cmake \
-DCMAKE_PREFIX_PATH="/home/christine/or-tools/dependencies/install" \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_CXX_STANDARD=17 \
-DCMAKE_CXX_STANDARD_REQUIRED=ON \
-DCMAKE_CXX_EXTENSIONS=OFF \
-DCMAKE_POSITION_INDEPENDENT_CODE=ON \
-DBUILD_SHARED_LIBS=OFF \
-DBUILD_TESTING=OFF \
-Dprotobuf_BUILD_TESTS=OFF \
-Dprotobuf_BUILD_EXAMPLES=OFF \
-DCMAKE_CXX_FLAGS="" \
-DCMAKE_INSTALL_PREFIX=../../install && \
/usr/bin/cmake --build build_cmake --config Release -v -- -j 4 && \
/usr/bin/cmake --build build_cmake --config Release --target install
-- The C compiler identification is GNU 7.5.0
-- The CXX compiler identification is GNU 7.5.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
--
-- 3.14.0.0
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so (found version "1.2.11")
-- Performing Test protobuf_HAVE_BUILTIN_ATOMICS
-- Performing Test protobuf_HAVE_BUILTIN_ATOMICS - Success
-- Configuring done
-- Generating done
CMake Warning:
Manually-specified variables were not used by the project:
BUILD_TESTING
-- Build files have been written to: /home/christine/or-tools/dependencies/sources/protobuf-v3.14.0/build_cmake
Unknown argument -v
Usage: cmake --build <dir> [options] [-- [native-options]]
Options:
<dir> = Project binary directory to be built.
--target <tgt> = Build <tgt> instead of default targets.
May only be specified once.
--config <cfg> = For multi-configuration tools, choose <cfg>.
--clean-first = Build target 'clean' first, then build.
(To clean only, use --target 'clean'.)
--use-stderr = Ignored. Behavior is default in CMake >= 3.0.
-- = Pass remaining options to the native tool.