Skip to content
hugocrazydog edited this page Aug 19, 2019 · 1 revision

ubuntu@ip-172-31-95-64:~/Puppiescoin$ make fatal: No names found, cannot describe anything. CMake Warning at src/version.cmake:3 (message): Cannot determine current revision. Make sure that you are building either from a Git working tree or from a source archive.

[ 0%] Built target version [ 0%] Building C object external/miniupnpc/CMakeFiles/upnpc-static.dir/upnpc.c.o /home/ubuntu/Puppiescoin/external/miniupnpc/upnpc.c: In function ‘main’: /home/ubuntu/Puppiescoin/external/miniupnpc/upnpc.c:130:23: error: ‘%d’ directive output may be truncated writing between 1 and 10 bytes into a region of size 6 [-Werror=format-truncation=] snprintf(index, 6, "%d", i); ^~ /home/ubuntu/Puppiescoin/external/miniupnpc/upnpc.c:130:22: note: directive argument in the range [0, 2147483647] snprintf(index, 6, "%d", i); ^~~~ In file included from /usr/include/stdio.h:862:0, from /home/ubuntu/Puppiescoin/external/miniupnpc/upnpc.c:8: /usr/include/x86_64-linux-gnu/bits/stdio2.h:64:10: note: ‘__builtin___snprintf_chk’ output between 2 and 11 bytes into a destination of size 6 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors external/miniupnpc/CMakeFiles/upnpc-static.dir/build.make:182: recipe for target 'external/miniupnpc/CMakeFiles/upnpc-static.dir/upnpc.c.o' failed make[2]: *** [external/miniupnpc/CMakeFiles/upnpc-static.dir/upnpc.c.o] Error 1 CMakeFiles/Makefile2:143: recipe for target 'external/miniupnpc/CMakeFiles/upnpc-static.dir/all' failed make[1]: *** [external/miniupnpc/CMakeFiles/upnpc-static.dir/all] Error 2 Makefile:94: recipe for target 'all' failed make: *** [all] Error 2

Clone this wiki locally