Boost logo

Boost Users :

Subject: Re: [Boost-users] 1.57.0 beta 1 release candidates available for testing
From: oswin krause (oswin.krause_at_[hidden])
Date: 2014-10-21 07:12:23


boost serialization is still broken(said so:
http://article.gmane.org/gmane.comp.lib.boost.user/82715 ) and to date i
do know no workaround to get my library to work on fx Arch Linux without
telling users to rebuild with boost 1.55 (or sending them a saved
package from my system...)

Error message:

In file included from
/home/ulfi/Shark/include/shark/Data/Impl/Dataset.inl:39:0,
                  from /home/ulfi/Shark/include/shark/Data/Dataset.h:56,
                  from
/home/ulfi/Shark/include/shark/Models/Clustering/Centroids.h:39,
                  from /home/ulfi/Shark/src/Models/Centroids.cpp:35:
/home/ulfi/include/boost/serialization/shared_ptr.hpp: In instantiation
of 'void boost::serialization::load(Archive&, boost::shared_ptr<U>&,
unsigned int) [with Archive = boost::archive::polymorphic_iarchive; T =
shark::blas::matrix<double, shark::blas::row_major>]':
/home/ulfi/include/boost/serialization/split_free.hpp:58:22: required
from 'static void boost::serialization::free_loader<Archive,
T>::invoke(Archive&, T&, unsigned int) [with Archive =
boost::archive::polymorphic_iarchive; T =
boost::shared_ptr<shark::blas::matrix<double, shark::blas::row_major> >]'
/home/ulfi/include/boost/serialization/split_free.hpp:74:38: required
from 'void boost::serialization::split_free(Archive&, T&, unsigned int)
[with Archive = boost::archive::polymorphic_iarchive; T =
boost::shared_ptr<shark::blas::matrix<double, shark::blas::row_major> >]'
/home/ulfi/include/boost/serialization/shared_ptr.hpp:187:57: required
from 'void boost::serialization::serialize(Archive&,
boost::shared_ptr<U>&, unsigned int) [with Archive =
boost::archive::polymorphic_iarchive; T = shark::blas::matrix<double,
shark::blas::row_major>]'
/home/ulfi/include/boost/serialization/serialization.hpp:128:27:
required from 'void boost::serialization::serialize_adl(Archive&, T&,
unsigned int) [with Archive = boost::archive::polymorphic_iarchive; T =
boost::shared_ptr<shark::blas::matrix<double, shark::blas::row_major> >]'
/home/ulfi/include/boost/archive/detail/iserializer.hpp:188:5: required
from 'void boost::archive::detail::iserializer<Archive,
T>::load_object_data(boost::archive::detail::basic_iarchive&, void*,
unsigned int) const [with Archive =
boost::archive::polymorphic_iarchive; T =
boost::shared_ptr<shark::blas::matrix<double, shark::blas::row_major> >]'
/home/ulfi/include/boost/archive/detail/iserializer.hpp:116:1: [
skipping 18 instantiation contexts, use -ftemplate-backtrace-limit=0 to
disable ]
/home/ulfi/include/boost/archive/detail/iserializer.hpp:618:24: required
from 'void boost::archive::load(Archive&, T&) [with Archive =
boost::archive::polymorphic_iarchive; T =
std::vector<boost::shared_ptr<shark::blas::matrix<double,
shark::blas::row_major> >,
std::allocator<boost::shared_ptr<shark::blas::matrix<double,
shark::blas::row_major> > > >]'
/home/ulfi/include/boost/archive/polymorphic_iarchive.hpp:107:40:
required from 'void
boost::archive::polymorphic_iarchive_impl::load_override(T&, int) [with
T = std::vector<boost::shared_ptr<shark::blas::matrix<double,
shark::blas::row_major> >,
std::allocator<boost::shared_ptr<shark::blas::matrix<double,
shark::blas::row_major> > > >]'
/home/ulfi/include/boost/archive/detail/interface_iarchive.hpp:60:9:
required from 'Archive&
boost::archive::detail::interface_iarchive<Archive>::operator>>(T&)
[with T = std::vector<boost::shared_ptr<shark::blas::matrix<double,
shark::blas::row_major> >,
std::allocator<boost::shared_ptr<shark::blas::matrix<double,
shark::blas::row_major> > > >; Archive =
boost::archive::polymorphic_iarchive]'
/home/ulfi/include/boost/archive/detail/interface_iarchive.hpp:67:32:
required from 'Archive&
boost::archive::detail::interface_iarchive<Archive>::operator&(T&) [with
T = std::vector<boost::shared_ptr<shark::blas::matrix<double,
shark::blas::row_major> >,
std::allocator<boost::shared_ptr<shark::blas::matrix<double,
shark::blas::row_major> > > >; Archive =
boost::archive::polymorphic_iarchive]'
/home/ulfi/Shark/include/shark/Data/Impl/Dataset.inl:451:11: required
from 'void shark::detail::SharedContainer<Type>::read(shark::InArchive&)
[with Type = shark::blas::vector<double>; shark::InArchive =
boost::archive::polymorphic_iarchive]'
/home/ulfi/Shark/src/Models/Centroids.cpp:163:1: required from here
/home/ulfi/include/boost/serialization/shared_ptr.hpp:170:9: error:
'class boost::archive::polymorphic_iarchive' has no member named
'get_helper'
          );
          ^
src/CMakeFiles/shark.dir/build.make:261: recipe for target
'src/CMakeFiles/shark.dir/Models/Centroids.cpp.o' failed
make[2]: *** [src/CMakeFiles/shark.dir/Models/Centroids.cpp.o] Error 1
CMakeFiles/Makefile2:158: recipe for target
'src/CMakeFiles/shark.dir/all' failed
make[1]: *** [src/CMakeFiles/shark.dir/all] Error 2
Makefile:147: recipe for target 'all' failed
make: *** [all] Error 2

On 21.10.2014 00:14, Marshall Clow wrote:
> On Oct 20, 2014, at 7:06 AM, Marcel Raad <raad_at_[hidden]> wrote:
>
>> Marshall Clow <mclow.lists <at> gmail.com> writes:
>>
>>> Release candidate files for 1.57.0 beta 1 are available [...]
>>> As always, the release managers would appreciate it if you download the
>>> candidate of your choice and give building it a try. Please report both
>>> success and failure, and anything else that is noteworthy.
>> range/detail/any_iterator.hpp is broken because it expects
>> postfix_increment_proxy and writable_postfix_increment_proxy to be in
>> namespace boost::detail, but they are in boost::iterators::detail now.
>>
>> Those errors are also visible in all of the type_erased_* regression tests
>> of range.
> I made an executive decision to push the beta out with this problem (and the MSVC 8.0 bugs, too), because I wanted to get a wider audience looking at the beta.
>
> Thanks for reporting this, and now let’s fix them.
>
> — Marshall
>
>
> _______________________________________________
> Boost-users mailing list
> Boost-users_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/boost-users


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net