[buildd-tools-devel] Bug#612510: Bug#612510: build issue with boost 1.46

Roger Leigh rleigh at codelibre.net
Tue Feb 8 22:49:01 UTC 2011


On Tue, Feb 08, 2011 at 02:33:02PM -0800, Zach Carter wrote:
> On Tuesday, February 08, 2011 02:17:12 pm Roger Leigh wrote:
>  
> > The provided patch doesn't build with Boost 1.42, and I'd like to
> > have backward compatibility if possible.  The final .string() is
> > not required to build with 1.42, and this might also be the case
> > with 1.64.  Please could you let me know if the attached modified
> > patch also builds OK with 1.64?  If not we'll need to check what's
> > supported in configure and conditionally compile the correct
> > version (which we already do for some Boost incompatibilities).
> 
> Unfortunately, in boost 1.46 taking out the call to string() results in this 
> failure:
> 
> sbuild-chroot-config.cc: In member function 'void 
> sbuild::chroot_config::add_config_directory(const string&, const string&)':
> sbuild-chroot-config.cc:170:49: error: no matching function for call to 
> 'std::basic_string<char>::basic_string(boost::filesystem3::path)'

OK, they must have removed the explicit cast to string.  A little
annoying, since a filename is just a string.

I'll add a configure check.

Would you be OK to test a prerelease tarball once I've done that, since
I can't test it myself yet?  It'll probably be the weekend at the
earliest, given that I'm supported to be writing my PhD thesis, and
not coding ;-)


Thanks,
Roger

-- 
  .''`.  Roger Leigh
 : :' :  Debian GNU/Linux             http://people.debian.org/~rleigh/
 `. `'   Printing on GNU/Linux?       http://gutenprint.sourceforge.net/
   `-    GPG Public Key: 0x25BFB848   Please GPG sign your mail.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/buildd-tools-devel/attachments/20110208/7bcda43e/attachment.pgp>


More information about the Buildd-tools-devel mailing list