[pkg-boost-devel] Bug#516167: Bug#516167: [libboost1.37-dev] missing dependency on libboost-regex1.37-dev

Steve M. Robbins steve at sumost.ca
Thu Feb 26 00:48:31 UTC 2009


Hi,


On Wed, Feb 25, 2009 at 11:03:04PM +0100, Cristian Greco wrote:
> On Thu, Feb 19, 2009 at 05:22:35PM +0100, Cristian Greco wrote:
> 
> > I was trying to build libtorrent-rasterbar against boost1.37 due to the
> > upcoming transition (deprecating boost1.34.1) but I had a problem with
> > the configure script which doesn't detect the asio library.
> > 
> > This seems to be due to the missing dependency of libboost1.37-dev on
> > libboost-regex1.37-dev. The following file includes <boost/regex.hpp>:
> > 
> >   /usr/include/boost/asio/read_until.hpp


True, and normally I would agree that this is a bug.  With Boost,
however, if I include such hard dependencies between the various -dev
packages, I expect that nearly all of them will be installed by
installing libboost1.37-dev.  This defeats much of the purpose of
splitting the libraries up.

Instead, I note that libboost1.37-dev Recommends all the other
-dev packages.  This falls in line with Debian Policy Manual
usage:

Depends

    The Depends field should be used if the depended-on package is
    required for the depending package to provide a significant amount
    of functionality.

Recommends

    This declares a strong, but not absolute, dependency.

    The Recommends field should list packages that would be found together with this one in all but unusual installations.


Thus I'm leaning towards classifying this as "not a bug".

> could you please consider confirming and eventually fixing this bug in
> boost1.37 (and maybe 1.38 too, which is still in NEW actually)?
> 
> I'm waiting for this to be closed before uploading the new version of
> libtorrent-rasterbar.

I suggest you simply add a build-dep of libboost-regexp1.37-dev and
upload.

Thanks,
-Steve
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-boost-devel/attachments/20090225/a3e820df/attachment.pgp 


More information about the pkg-boost-devel mailing list