pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Compiling mysql80-server fails on NetBSD 10.1_STABLE
Just tried compiling mysql80-server under NetBSD 10.1_STABLE as there
isn't a precompiled version. It sadly craps out with an error related
to a function being called with 1 argument rather than the two it
expects. I am sure I managed to get mysql80-server to compile on the
10.0 release a while back.
Any clues how to fix the problem would be appreciated...
...
/usr/include/g++/bits/stl_set.h:684:29: note: no known conversion for
argument 1 from 'absl::lts_20250814::string
_view' {aka 'std::basic_string_view<char>'} to 'const key_type&' {aka
'const std::__cxx11::basic_string<char>&'}
684 | erase(const key_type& __x)
| ~~~~~~~~~~~~~~~~^~~
/usr/include/g++/bits/stl_set.h:706:7: note: candidate: 'std::set<_Key,
_Compare, _Alloc>::iterator std::set<_Key,
_Compare, _Alloc>::erase(std::set<_Key, _Comp
are, _Alloc>::const_iterator, std::set<_Key, _Compare,
_Alloc>::const_iterator) [with _Key = std::__cxx11::basic_string<char>;
_Compare = std::less<std::__cxx11::basic_string<char> >; _Alloc =
std::allocator<std::__cxx11::basic_string<char> >; std::set<_Key,
_Compare, _Alloc>::iterator =
std::_Rb_tree<std::__cxx11::basic_string<char>,
std::__cxx11::basic_string<char>,
std::_Identity<std::__cxx11::basic_string<char> >,
std::less<std::__cxx11::basic_string<char> >,
std::allocator<std::__cxx11::basic_string<char> > >::const_iterator;
std::set<_Key, _Compare, _Alloc>::const_iterator =
std::_Rb_tree<std::__cxx11::basic_string<char>,
std::__cxx11::basic_string<char>,
std::_Identity<std::__cxx11::basic_string<char> >,
std::less<std::__cxx11::basic_string<char> >,
std::allocator<std::__cxx11::basic_string<char> > >::const_iterator]'
706 | erase(const_iterator __first, const_iterator __last)
| ^~~~~
/usr/include/g++/bits/stl_set.h:706:7: note: candidate expects 2
arguments, 1 provided
gmake[2]: ***
[plugin/x/protocol/plugin/CMakeFiles/xprotocol_plugin.dir/build.make:79
:
plugin/x/protocol/plugin/CMakeFiles/xprotocol_plugin.dir/message_field_
chain.cc.o] Error 1
gmake[1]: *** [CMakeFiles/Makefile2:8846:
plugin/x/protocol/plugin/CMakeFiles/xprotocol_plugin.dir/all] Error 2
gmake: *** [Makefile:156: all] Error 2
*** Error code 2
Stop.
make[1]: stopped in /usr/pkgsrc/databases/mysql80-server
*** Error code 1
Cheers,
Dave
Home |
Main Index |
Thread Index |
Old Index