severity: normal
reassign 912074 cmake-data
thanks

Hello,

searching further, I see that I'm wrong in the sense that no other
boost package provide the header files, and that the header file I'm
looking for is actually on my system:

$ dlocate /usr/include/boost/stacktrace.hpp
libboost1.67-dev:amd64: /usr/include/boost/stacktrace.hpp

I'm deeply sorry for this mistake. I blamed the boost packages for
nothing.

So I need to be more accurate. My symptoms are that cmake fails to
find the stacktrace package:

The following CMakeList.txt produces the following output:

--------------------[CMakeLists.txt]---------------
cmake_minimum_required(VERSION 2.8.8)

project(BugReport C CXX)

find_package(Boost COMPONENTS stacktrace)
--------------------[output]-----------------------
$ cmake .
-- The C compiler identification is GNU 8.2.0
-- The CXX compiler identification is GNU 8.2.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
CMake Warning at /usr/share/cmake-3.12/Modules/FindBoost.cmake:1743 (message):
  No header defined for stacktrace; skipping header check
Call Stack (most recent call first):
  CMakeLists.txt:5 (find_package)


-- Could NOT find Boost
-- Configuring done
-- Generating done
-- Build files have been written to: /tmp/toto
--------------------

I do have the following packages:

ii  cmake                             3.12.3-2     amd64 cross-platform, 
open-source make system
ii  cmake-data                        3.12.3-2     all   CMake data files 
(modules, templates and documentation)
ii  libboost-stacktrace1.67-dev:amd64 1.67.0-7     amd64 library to capture and 
print stack traces - development files
ii  libboost1.67-dev:amd64            1.67.0-7     amd64 Boost C++ Libraries 
development files


Sorry again for the mess, and thanks for your time.
Mt

Attachment: signature.asc
Description: PGP signature

Reply via email to