./uddate (install) error
cias opened this issue · 1 comments
Zdravim, snazim se rozchodit bota, ale v prubehu instalace to hodi nize vypsany error. Bot se sice nainstaluje, ale training set si nestahne data atd. Nevim jestli to muze byt diky teto chybe.
Server bezi na Ubuntu 21.10
Diky za pomoc!
[ 25%] Building CXX object src/server/src/simpleServer/CMakeFiles/simpleServer.dir/linux/address.cpp.o
In file included from /home/mmbot/mmbot/src/server/src/simpleServer/linux/address.cpp:16:
/home/mmbot/mmbot/src/server/src/simpleServer/linux/localAddr.h: In member function ‘virtual std::string simpleServer::NetAddrSocket::toString(bool) const’:
/home/mmbot/mmbot/src/server/src/simpleServer/linux/localAddr.h:37:45: warning: ‘%03o’ directive output may be truncated writing between 3 and 11 bytes into a region of size 9 [-Wformat-truncation=]
37 | snprintf(perms,10,":%03o", permissions);
| ^~~~
/home/mmbot/mmbot/src/server/src/simpleServer/linux/localAddr.h:37:43: note: directive argument in the range [1, 4294967295]
37 | snprintf(perms,10,":%03o", permissions);
| ^~~~~~~
In file included from /usr/include/stdio.h:888,
from /usr/include/c++/11/cstdio:42,
from /usr/include/c++/11/ext/string_conversions.h:43,
from /usr/include/c++/11/bits/basic_string.h:6606,
from /usr/include/c++/11/string:55,
from /home/mmbot/mmbot/src/server/src/simpleServer/linux/../address.h:2,
from /home/mmbot/mmbot/src/server/src/simpleServer/linux/address.cpp:10:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:71:35: note: ‘__builtin___snprintf_chk’ output between 5 and 13 bytes into a destination of size 10
71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
| ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
72 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
73 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
Platí stále tento error ? Nebo již vyřešeno ? Někdy je potřeba podrobně sledovat návod při instalaci, jsou tam "podbalíčky" které si musíš natáhnout git clonem. Máš veškeré balíčky ?