Shibboleth SP 2.5.3 fails to build with Boost 1.54

Russ Allbery rra at debian.org
Mon Mar 17 04:29:25 UTC 2014


"Cantor, Scott" <cantor.2 at osu.edu> writes:
> On 3/16/14, 11:13 PM, "Russ Allbery" <rra at debian.org> wrote:

>> When I force everything to std::tuple (I'm not sure if that's a
>> meaningful thing to do, but thought I'd try it), most of the errors go
>> away, but I get a different error:

> I think you probably should try the reverse, but definitely avoid
> std::tuple. That would be a red flag for sure and you're right, that
> appears to be the problem.

It's definitely a C++11 thing.  Changing every instance of tuple to
boost::tuple didn't change anything, but dropping -std=c++11 fixed the
issue.  I'm going to push back on the libmemcached change; it seems wrong
to me to force all clients of the library to switch C++ standardization
modes.

That said, I think it's something about how Shibboleth is using Boost,
rather than something inherent in Boost, since the Boost web site claims
that everything is tested in C++11 mode with g++ 4.8.  What that is,
though, I have no idea.

-- 
Russ Allbery (rra at debian.org)               <http://www.eyrie.org/~eagle/>



More information about the Pkg-shibboleth-devel mailing list