Opened 14 years ago

Closed 14 years ago

#2609 closed Bugs (wontfix)

Boost 1.37.0 is not self-contained when building using archive component

Reported by: fundawang@… Owned by: Robert Ramey
Milestone: Boost 1.38.0 Component: serialization
Version: Boost 1.37.0 Severity: Problem
Keywords: Cc:

Description

I'm compiling kdevplatform 4.1.85 with boost in Mandriva. With boost 1.36.0, it builds and run correctly, but with 1.37.0, it fails with:

-- Looking for C++ include boost/archive/polymorphic_xml_iarchive.hpp
-- Looking for C++ include boost/archive/polymorphic_xml_iarchive.hpp - not found
-- Looking for C++ include boost/archive/polymorphic_xml_oarchive.hpp
-- Looking for C++ include boost/archive/polymorphic_xml_oarchive.hpp - not found
-- Looking for C++ include boost/archive/polymorphic_text_oarchive.hpp
-- Looking for C++ include boost/archive/polymorphic_text_oarchive.hpp - not found
-- Looking for C++ include boost/archive/polymorphic_text_iarchive.hpp
-- Looking for C++ include boost/archive/polymorphic_text_iarchive.hpp - not found
-- Didn't find needed headers (polymorphic_(xml,txt)_(iarchive,oarchive).hpp) from Boost archive library

And the test building log says:

Determining if the include file boost/archive/polymorphic_xml_iarchive.hpp exists failed with the following output:
Change Dir: /home/fwang/rpm/BUILD/kdevplatform-0.9.84/build/CMakeFiles/CMakeTmp

Run Build Command:/usr/bin/gmake "cmTryCompileExec/fast"
/usr/bin/gmake -f CMakeFiles/cmTryCompileExec.dir/build.make CMakeFiles/cmTryCompileExec.dir/build
gmake[1]: Entering directory `/home/fwang/rpm/BUILD/kdevplatform-0.9.84/build/CMakeFiles/CMakeTmp'
/usr/bin/cmake -E cmake_progress_report /home/fwang/rpm/BUILD/kdevplatform-0.9.84/build/CMakeFiles/CMakeTmp/CMakeFiles 1
Building CXX object CMakeFiles/cmTryCompileExec.dir/CheckIncludeFile.cxx.o
/usr/bin/c++    -Wnon-virtual-dtor -Wno-long-long -ansi -Wundef -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -Wformat-security -fno-exceptions -fno-check-new -fno-common -Woverloaded-virtual -fno-threadsafe-statics -fvisibility=hidden -fvisibility-inlines-hidden     -o CMakeFiles/cmTryCompileExec.dir/CheckIncludeFile.cxx.o -c /home/fwang/rpm/BUILD/kdevplatform-0.9.84/build/CMakeFiles/CMakeTmp/CheckIncludeFile.cxx
In file included from /usr/include/boost/archive/basic_text_iprimitive.hpp:46,
                 from /usr/include/boost/archive/xml_iarchive.hpp:23,
                 from /usr/include/boost/archive/polymorphic_xml_iarchive.hpp:20,
                 from /home/fwang/rpm/BUILD/kdevplatform-0.9.84/build/CMakeFiles/CMakeTmp/CheckIncludeFile.cxx:1:
/usr/include/boost/serialization/throw_exception.hpp: In function 'void boost::serialization::throw_exception(const std::exception&)':
/usr/include/boost/serialization/throw_exception.hpp:30: error: 'throw_exception' is not a member of 'boost'
gmake[1]: *** [CMakeFiles/cmTryCompileExec.dir/CheckIncludeFile.cxx.o] Error 1
gmake[1]: Leaving directory `/home/fwang/rpm/BUILD/kdevplatform-0.9.84/build/CMakeFiles/CMakeTmp'
gmake: *** [cmTryCompileExec/fast] Error 2

Change History (3)

comment:1 by anonymous, 14 years ago

Component: Noneserialization
Owner: set to Robert Ramey

comment:2 by Robert Ramey, 14 years ago

I have no idea what to do with this.

It looks like this is built with the new Cmake system which I don't know anything about. I suspect that there is some configuration issue here. Feel free to investigate further.

Robert Ramey

comment:3 by Robert Ramey, 14 years ago

Resolution: wontfix
Status: newclosed
Note: See TracTickets for help on using tickets.