Boost and boost-libs updated to 1.81 break electricsheep

Boost and boost-libs updated to 1.81 break electricsheep both building and running 1.80 series works fine.

It’s a user’s own responsibility to rebuild AUR packages when required.

I have tried to build electricsheep with boost-lib 1.81 but it fails see

https://aur.archlinux.org/packages/electricsheep

I just attempted to build it manually and it also failed, but there’s a bit more output:

mv -f .deps/config.Tpo .deps/config.Po
mv -f .deps/Log.Tpo .deps/Log.Po
mv -f .deps/main.Tpo .deps/main.Po
mv -f .deps/Exception.Tpo .deps/Exception.Po
mv -f .deps/AlignedBuffer.Tpo .deps/AlignedBuffer.Po
mv -f .deps/luastorage.Tpo .deps/luastorage.Po
mv -f .deps/Common.Tpo .deps/Common.Po
mv -f .deps/storage.Tpo .deps/storage.Po
mv -f .deps/LuaState.Tpo .deps/LuaState.Po
In file included from /usr/include/boost/filesystem/path.hpp:21,
                 from /usr/include/boost/filesystem.hpp:16,
                 from electricsheepguiMyDialog2.cpp:204:
/usr/include/boost/filesystem/detail/path_traits.hpp: In instantiation of ‘constexpr const bool boost::filesystem::detail::path_traits::is_convertible_to_path_source<wxString>::value’:
/usr/include/boost/type_traits/conjunction.hpp:31:27:   required from ‘struct boost::conjunction<boost::disjunction<boost::filesystem::detail::path_traits::is_path_source<wxString>, boost::filesystem::detail::path_traits::is_convertible_to_path_source<wxString> >, boost::negation<boost::filesystem::detail::path_traits::is_native_path_source<wxString> > >’
/usr/include/boost/filesystem/path.hpp:256:9:   required by substitution of ‘template<class Source, class> boost::filesystem::path::path(const Source&) [with Source = wxString; <template-parameter-1-2> = <missing>]’
electricsheepguiMyDialog2.cpp:209:49:   required from here
/usr/include/boost/filesystem/detail/path_traits.hpp:495:85: error: call of overloaded ‘_check_convertible_to_path_source(const wxString&)’ is ambiguous
  495 |         sizeof(is_convertible_to_path_source< T >::_check_convertible_to_path_source(boost::declval< T const& >())) == sizeof(yes_type);
      |               ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/boost/filesystem/detail/path_traits.hpp:480:21: note: candidate: ‘static boost::filesystem::detail::path_traits::yes_type boost::filesystem::detail::path_traits::is_convertible_to_path_source<T>::_check_convertible_to_path_source(const char*) [with T = wxString; boost::filesystem::detail::path_traits::yes_type = char]’
  480 |     static yes_type _check_convertible_to_path_source(const char*);
      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/boost/filesystem/detail/path_traits.hpp:481:21: note: candidate: ‘static boost::filesystem::detail::path_traits::yes_type boost::filesystem::detail::path_traits::is_convertible_to_path_source<T>::_check_convertible_to_path_source(const wchar_t*) [with T = wxString; boost::filesystem::detail::path_traits::yes_type = char]’
  481 |     static yes_type _check_convertible_to_path_source(const wchar_t*);
      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/boost/filesystem/detail/path_traits.hpp:492:20: note: candidate: ‘static boost::filesystem::detail::path_traits::no_type boost::filesystem::detail::path_traits::is_convertible_to_path_source<T>::_check_convertible_to_path_source(...) [with T = wxString]’
  492 |     static no_type _check_convertible_to_path_source(...);
      |                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make[1]: *** [Makefile:574: electricsheepguiMyDialog2.o] Error 1

Note that there has been no upstream activity since 2019. I’m sure there has been plenty of changes between Boost 1.7.0 and 1.8.1.

Perhaps browse the upstream issues and see if anyone else is also having trouble building it.

1.80 is ok it builds and runs it is just broken with 1.81.

electricsheep was updated today and now works with the latest boost-libs

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.