[pkg-boost-devel] Bug#548503: boost/graph/breadth_first_search.hpp requires headers in libboost-python1.40-dev

Andreas Metzler ametzler at downhill.at.eu.org
Sat Sep 26 16:10:49 UTC 2009


Package: libboost-graph-dev
Version: 1.40.0.1
Severity: normal

Hello,

I hope this is the right package to report this against. Otherwise
please re-assign. (I guess this should be severity serious, too,
please bump if you agree.)

After switching boost-defaults to point to 1.40 hugin FTBFS. There
are two reasons for this:

* In previous boost releases boost/thread/thread.hpp already #included
boost/function.hpp. Hugin relied on that. Easily fixed.

* The dependency/inclusion circle has gotten a lot wider:

--------------------------------------
Building CXX object src/hugin1/base_wx/CMakeFiles/huginbasewx.dir/MyProgressDialog.o
In file included from /usr/include/boost/parameter/aux_/arg_list.hpp:14,
   from /usr/include/boost/parameter/aux_/tagged_argument.hpp:10,
   from /usr/include/boost/parameter/aux_/tag.hpp:8,
   from /usr/include/boost/parameter/keyword.hpp:10,
   from /usr/include/boost/parameter/name.hpp:8,
   from /usr/include/boost/graph/named_function_params.hpp:15,
   from /usr/include/boost/graph/breadth_first_search.hpp:23,
   from /tmp/HUGIN/hugin-0.8.0.dfsg/src/hugin_base/algorithms/optimizer/PTOptimizer.h:34,
   from /tmp/HUGIN/hugin-0.8.0.dfsg/src/hugin1/PT/PTOptimise.h:30,
   from /tmp/HUGIN/hugin-0.8.0.dfsg/src/hugin1/base_wx/MyProgressDialog.cpp:33:
/usr/include/boost/parameter/aux_/maybe.hpp:13:53: error: boost/python/detail/referent_storage.hpp: No such file or directory
[...]
--------------------------------------

That means that #include <boost/graph/breadth_first_search.hpp> (part
of libboost-graph1.40-dev) indirectly #includes 
boost/python/detail/referent_storage.hpp (part of
libboost-python1.40-dev) 

I *think* the latter is rather strange and is probably an upstream
bug. If it is not OTOH libboost-graph1.40-dev package dependencies are
incorrect and libboost-graph1.40-dev would need to depend on
libboost-python1.40-dev.

thanks, cu andreas





More information about the pkg-boost-devel mailing list