facebook / facebook/folly

build error by build.sh

Open
#1,618 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
30.5k
Forks
5.9k
PR merge metrics
No merged PRs in 30d

Description

-- Found GTest: /data/user00/folly/tmp/installed/googletest-U9jakAWj3XSmf8noRqtC_M1aBdJELhpbNpsXXRboC5A/lib64/libgtest.a
-- Configuring done
CMake Error in CMakeLists.txt:
Target "folly_deps" INTERFACE_INCLUDE_DIRECTORIES property contains path:

"/data/user00/folly/tmp/installed/boost-AtRwfOjcdq6H1PaGFlgeMGbEVvqWVP4uQGSZrUE4IqQ/include"

which is prefixed in the source directory.

CMake Error in CMakeLists.txt:
Target "folly_deps" INTERFACE_INCLUDE_DIRECTORIES property contains path:

"/data/user00/folly/tmp/installed/double-conversion-qJr18MyJRLWYzmzK3Ec3VY1q1rXMsdopxuhqYzZFspg/include"

which is prefixed in the source directory.

CMake Error in CMakeLists.txt:
Target "folly_deps" INTERFACE_INCLUDE_DIRECTORIES property contains path:

"/data/user00/folly/tmp/installed/gflags-Y3FLqmPDbx4xsn6Yo81e9Bau9VxZmLgfjDjcsPjXMYM/include"

which is prefixed in the source directory.

CMake Error in CMakeLists.txt:
Target "folly_deps" INTERFACE_INCLUDE_DIRECTORIES property contains path:

"/data/user00/folly/tmp/installed/glog-xTa2cP1saZFoTsiICRexNHObey0gZPTGTORK4skC8i4/include"

which is prefixed in the source directory.

CMake Error in CMakeLists.txt:
Target "folly_deps" INTERFACE_INCLUDE_DIRECTORIES property contains path:

"/data/user00/folly/tmp/installed/libevent--qGjtgz7ciYv0tZv4duxTE1JMxzFK8YdHjEMERJFrQc/include"

which is prefixed in the source directory.

CMake Error in CMakeLists.txt:
Target "folly_deps" INTERFACE_INCLUDE_DIRECTORIES property contains path:

"/data/user00/folly/tmp/installed/lz4-Pmii_JXShsCRnmxksdk_JORWg_HNhWm9ONyeGMEYYC0/include"

which is prefixed in the source directory.

CMake Error in CMakeLists.txt:
Target "folly_deps" INTERFACE_INCLUDE_DIRECTORIES property contains path:

"/data/user00/folly/tmp/installed/zstd-oAJXHmPQyx98o1v-SeKa3jMgKj-mCOHQwbjMdKHuU6w/include"

which is prefixed in the source directory.

CMake Error in CMakeLists.txt:
Target "folly_deps" INTERFACE_INCLUDE_DIRECTORIES property contains path:

"/data/user00/folly/tmp/installed/snappy-v78WijhUbq9ki0PsEhe56Wcc8ydlCVuhzQ9pjiBjGpc/include"

which is prefixed in the source directory.

-- Generating done
-- Build files have been written to: /data/user00/folly/tmp/build/folly
Command '['/data/user00/folly/tmp/installed/cmake-QemHl15wKA_E67l8f2Yinai1OM8czKz9fiAR8Yqew8I/bin/cmake', '/data/user00/folly', '-DCMAKE_INSTALL_PREFIX=/data/user00/folly/tmp/installed/folly', '-DBUILD_SHARED_LIBS=OFF', '-DCMAKE_BUILD_TYPE=RelWithDebInfo', '-DCMAKE_CXX_COMPILER_LAUNCHER=/usr/bin/ccache', '-DBUILD_TESTS=ON', '-DCMAKE_C_COMPILER=/usr/bin/gcc73', '-DCMAKE_CXX_COMPILER=/usr/bin/g++73', '-G', 'Ninja']' returned non-zero exit status 1.
!! Failed

Contributor guide

Open the contributing guide

Research direction

Start with build.sh and CMakeLists.txt, then reproduce the reported command using the shown CMake, GCC, GTest, and dependency paths. Trace how the folly_deps INTERFACE_INCLUDE_DIRECTORIES entries are generated. Done means configuration completes without the listed CMake errors and the build proceeds.

Written by the indexing model from the issue text.

Assessment

Tech stack
cmake, cpp, shell
Domain
build-system
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.