Hello, I try to upgrade nebula from 5.12 to 6.0. I do it self-contained way. I upgraded db and the only steps are scons and ./install.sh. After scons sunstone=yes systemd=yes mysql=yes
I see
In file included from src/monitor/include/MonitorDriver.h:23:0,
from src/monitor/src/monitor/HostMonitorManager.cc:24:
src/monitor/include/Message.h:66:7: error: redeclared with 1 template parameter
class Message
^~~~~~~
In file included from src/monitor/include/MonitorDriverMessages.h:20:0,
from src/monitor/include/HostMonitorManager.h:20,
from src/monitor/src/monitor/HostMonitorManager.cc:18:
include/Message.h:52:7: note: previous declaration 'template<class E, bool encode, bool compress, bool encrypt, bool has_timestamp> class Message' used 5 template parameters
class Message
^~~~~~~
In file included from src/monitor/include/MonitorDriver.h:23:0,
from src/monitor/src/monitor/HostMonitorManager.cc:24:
src/monitor/include/Message.h:195:66: error: invalid use of incomplete type 'class Message<E>'
int Message<E>::parse_from(const std::string& input, bool decrypt)
^
In file included from src/monitor/include/MonitorDriverMessages.h:20:0,
from src/monitor/include/HostMonitorManager.h:20,
from src/monitor/src/monitor/HostMonitorManager.cc:18:
include/Message.h:52:7: note: declaration of 'class Message<E>'
class Message
^~~~~~~
In file included from src/monitor/include/MonitorDriver.h:23:0,
from src/monitor/src/monitor/HostMonitorManager.cc:24:
src/monitor/include/Message.h:257:58: error: invalid use of incomplete type 'class Message<E>'
int Message<E>::write_to(std::string& out, bool encrypt) const
^~~~~
In file included from src/monitor/include/MonitorDriverMessages.h:20:0,
from src/monitor/include/HostMonitorManager.h:20,
from src/monitor/src/monitor/HostMonitorManager.cc:18:
include/Message.h:52:7: note: declaration of 'class Message<E>'
class Message
^~~~~~~
In file included from src/monitor/include/MonitorDriver.h:23:0,
from src/monitor/src/monitor/HostMonitorManager.cc:24:
src/monitor/include/Message.h:308:48: error: invalid use of incomplete type 'class Message<E>'
int Message<E>::write_to(int fd, bool encrypt) const
^~~~~
In file included from src/monitor/include/MonitorDriverMessages.h:20:0,
from src/monitor/include/HostMonitorManager.h:20,
from src/monitor/src/monitor/HostMonitorManager.cc:18:
include/Message.h:52:7: note: declaration of 'class Message<E>'
class Message
^~~~~~~
In file included from src/monitor/include/MonitorDriver.h:23:0,
from src/monitor/src/monitor/HostMonitorManager.cc:24:
src/monitor/include/Message.h:326:59: error: invalid use of incomplete type 'class Message<E>'
int Message<E>::write_to(std::ostream& oss, bool encrypt) const
^~~~~
In file included from src/monitor/include/MonitorDriverMessages.h:20:0,
from src/monitor/include/HostMonitorManager.h:20,
from src/monitor/src/monitor/HostMonitorManager.cc:18:
include/Message.h:52:7: note: declaration of 'class Message<E>'
class Message
^~~~~~~
scons: *** [src/monitor/src/monitor/HostMonitorManager.o] Error 1
scons: building terminated because of errors.