[pkg-boost-devel] Bug#480948: boost 1.35: missing dependencies

Yann Dirson ydirson at altern.org
Mon May 12 20:45:31 UTC 2008


Package: libboost1.35-dev
Version: 1.35.0-1
Severity: serious

There seem to be numerous dependency problems in the current 1.35
packaging - compiling synopsis --with-boost I hit the following ones:

* -filesystem requires -system:

In file included from conftest.cpp:10:
/usr/include/boost/filesystem/path.hpp:16:41: error: boost/system/system_error.hpp: No such file or directory


* -thread requires -date-time:

In file included from /usr/include/boost/thread/locks.hpp:11,
                 from /usr/include/boost/thread/pthread/mutex.hpp:11,
                 from /usr/include/boost/thread/mutex.hpp:16,
                 from /usr/include/boost/thread/pthread/thread.hpp:14,
                 from /usr/include/boost/thread/thread.hpp:17,
                 from /usr/include/boost/thread.hpp:12,
                 from conftest.cpp:10:
/usr/include/boost/thread/thread_time.hpp:9:51: error: boost/date_time/microsec_time_clock.hpp: No such file or directory
/usr/include/boost/thread/thread_time.hpp:10:59: error: boost/date_time/posix_time/posix_time_types.hpp: No such file or directory


* stuff in -dev itself references -serialization:

In file included from /usr/include/boost/multi_index/detail/node_type.hpp:23,
                 from /usr/include/boost/multi_index/detail/index_base.hpp:21,
                 from /usr/include/boost/multi_index/detail/base_type.hpp:21,
                 from /usr/include/boost/multi_index_container.hpp:33,
                 from /usr/include/boost/wave/util/cpp_include_paths.hpp:21,
                 from /usr/include/boost/wave/cpp_context.hpp:32,
                 from /usr/include/boost/wave.hpp:21,
                 from conftest.cpp:10:
/usr/include/boost/multi_index/detail/index_node_base.hpp:22:42: error: boost/serialization/access.hpp: No such file or directory

This seems to be because of the strange ifdef reproduced below, which
unless defined adds an unsuspected dep in a core module:

#if !defined(BOOST_MULTI_INDEX_DISABLE_SERIALIZATION)


-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (90, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.23.8-smp (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=french (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash

Versions of packages libboost-filesystem1.35-dev depends on:
ii  libboost-filesystem1.35.0     1.35.0-1   filesystem operations (portable pa
ii  libboost1.35-dev              1.35.0-1   Boost C++ Libraries development fi

libboost-filesystem1.35-dev recommends no packages.

-- no debconf information





More information about the pkg-boost-devel mailing list