-
Notifications
You must be signed in to change notification settings - Fork 173
12.2.0: cmake cannot find tbb #1295
Copy link
Copy link
Labels
bugbuilduser-reportedThis issue was reported by someone outside of the core Dyninst developersThis issue was reported by someone outside of the core Dyninst developers
Description
Looks like it is something wrong with tbb detrction.
cmake is able to find libtbb.so but is not able to find heder fiels.
+ /usr/bin/cmake -B x86_64-redhat-linux-gnu -D BUILD_SHARED_LIBS=ON -D CMAKE_AR=/usr/bin/gcc-ar -D CMAKE_BUILD_TYPE=RelWithDebInfo -D CMAKE_C_FLAGS_RELEASE=-DNDEBUG -D CMAKE_CXX_FLAGS_RELEASE=-DNDEBUG -D CMAKE_Fortran_FLAGS_RELEASE=-DNDEBUG -D CMAKE_INSTALL_PREFIX=/usr -D CMAKE_NM=/usr/bin/gcc-nm -D CMAKE_RANLIB=/usr/bin/gcc-ranlib -D CMAKE_VERBOSE_MAKEFILE=ON -D INCLUDE_INSTALL_DIR=/usr/include -D LIB_INSTALL_DIR=/usr/lib64 -D LIB_SUFFIX=64 -D SHARE_INSTALL_PREFIX=/usr/share -D SYSCONF_INSTALL_DIR=/etc -S . -D CMAKE_SKIP_RPATH=ON -D ENABLE_DEBUGINFOD=ON -D INSTALL_CMAKE_DIR=/usr/lib64/cmake/Dyninst -D INSTALL_INCLUDE_DIR=/usr/include/dyninst -D INSTALL_LIB_DIR=/usr/lib64
-- The C compiler identification is GNU 12.1.1
-- The CXX compiler identification is GNU 12.1.1
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/gcc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/g++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- C++ language standard: 11
-- C language standard: 11
CMake Warning (dev) at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:438 (message):
The package name passed to `find_package_handle_standard_args` (Thread_Db)
does not match the name of the calling package (ThreadDB). 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/Modules/FindThreadDB.cmake:45 (find_package_handle_standard_args)
CMakeLists.txt:36 (find_package)
This warning is for project developers. Use -Wno-dev to suppress it.
-- Found Thread_Db: /usr/lib64/libthread_db.so
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
CMake Warning at cmake/Modules/FindBoost.cmake:1268 (message):
New Boost version may have incorrect or missing dependencies and imported
targets
Call Stack (most recent call first):
cmake/Modules/FindBoost.cmake:1399 (_boost_component_dependencies)
cmake/Modules/FindBoost.cmake:2170 (_boost_missing_dependencies)
cmake/Boost.cmake:151 (find_package)
CMakeLists.txt:38 (include)
CMake Warning at cmake/Modules/FindBoost.cmake:1268 (message):
New Boost version may have incorrect or missing dependencies and imported
targets
Call Stack (most recent call first):
cmake/Modules/FindBoost.cmake:1399 (_boost_component_dependencies)
cmake/Modules/FindBoost.cmake:2170 (_boost_missing_dependencies)
cmake/Boost.cmake:151 (find_package)
CMakeLists.txt:38 (include)
CMake Warning at cmake/Modules/FindBoost.cmake:1268 (message):
New Boost version may have incorrect or missing dependencies and imported
targets
Call Stack (most recent call first):
cmake/Modules/FindBoost.cmake:1399 (_boost_component_dependencies)
cmake/Modules/FindBoost.cmake:2170 (_boost_missing_dependencies)
cmake/Boost.cmake:151 (find_package)
CMakeLists.txt:38 (include)
CMake Warning at cmake/Modules/FindBoost.cmake:1268 (message):
New Boost version may have incorrect or missing dependencies and imported
targets
Call Stack (most recent call first):
cmake/Modules/FindBoost.cmake:1399 (_boost_component_dependencies)
cmake/Modules/FindBoost.cmake:2170 (_boost_missing_dependencies)
cmake/Boost.cmake:151 (find_package)
CMakeLists.txt:38 (include)
CMake Warning at cmake/Modules/FindBoost.cmake:1268 (message):
New Boost version may have incorrect or missing dependencies and imported
targets
Call Stack (most recent call first):
cmake/Modules/FindBoost.cmake:1399 (_boost_component_dependencies)
cmake/Modules/FindBoost.cmake:2170 (_boost_missing_dependencies)
cmake/Boost.cmake:151 (find_package)
CMakeLists.txt:38 (include)
CMake Warning at cmake/Modules/FindBoost.cmake:1268 (message):
New Boost version may have incorrect or missing dependencies and imported
targets
Call Stack (most recent call first):
cmake/Modules/FindBoost.cmake:1399 (_boost_component_dependencies)
cmake/Modules/FindBoost.cmake:2170 (_boost_missing_dependencies)
cmake/Boost.cmake:151 (find_package)
CMakeLists.txt:38 (include)
CMake Warning at cmake/Modules/FindBoost.cmake:1268 (message):
New Boost version may have incorrect or missing dependencies and imported
targets
Call Stack (most recent call first):
cmake/Modules/FindBoost.cmake:1399 (_boost_component_dependencies)
cmake/Modules/FindBoost.cmake:2170 (_boost_missing_dependencies)
cmake/Boost.cmake:151 (find_package)
CMakeLists.txt:38 (include)
-- Boost version: 1.78.0
-- Found the following Boost libraries:
-- atomic
-- chrono
-- date_time
-- filesystem
-- thread
-- timer
-- system
-- Boost includes: /usr/include
-- Boost library dirs: /usr/lib64
-- Boost thread library: /usr/lib64/libboost_thread.so
-- Boost libraries: /usr/lib64/libboost_atomic.so;/usr/lib64/libboost_chrono.so;/usr/lib64/libboost_date_time.so;/usr/lib64/libboost_filesystem.so;/usr/lib64/libboost_thread.so;/usr/lib64/libboost_timer.so;/usr/lib64/libboost_system.so
-- Searching for tbb_preview...
-- Hints: /usr/lib /usr
-- Searching for tbbmalloc...
-- Hints: /usr/lib /usr
-- Found /usr/lib64/libtbbmalloc.so
-- Searching for tbb...
-- Hints: /usr/lib /usr
-- Found /usr/lib64/libtbb.so
-- Could NOT find TBB: Found unsuitable version "/*
Copyright (c) 2005-2021 Intel Corporation
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
#include "../oneapi/tbb/version.h"
./*
Copyright (c) 2005-2021 Intel Corporation
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
#include "../oneapi/tbb/version.h"
", but required is at least "2018.6" (found /usr/include, found components: tbb tbbmalloc)
CMake Error at cmake/ThreadingBuildingBlocks.cmake:116 (message):
TBB not found and cannot be downloaded because build is sterile.
Call Stack (most recent call first):
CMakeLists.txt:39 (include)
-- Configuring incomplete, errors occurred!
See also "/home/tkloczko/rpmbuild/BUILD/dyninst-12.2.0/x86_64-redhat-linux-gnu/CMakeFiles/CMakeOutput.log".Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugbuilduser-reportedThis issue was reported by someone outside of the core Dyninst developersThis issue was reported by someone outside of the core Dyninst developers