MyHush / hush3

Hush: Speak And Transact Freely
https://myhush.org
Other
15 stars 13 forks source link

Compile error on Ubuntu 19.04 #21

Closed leto closed 5 years ago

leto commented 5 years ago

This happens on commit bbee8f574904313888c970ad71b8a493bb178e24 and looks like an upstream KMD bug

make: Nothing to be done for 'all'.
ROGUE BUILD SUCCESSFUL
sudoku/musig/dilithium
In file included from ../wallet/walletdb.h:25,
                 from ../cc/../wallet/wallet.h:38,
                 from ../cc/CCinclude.h:48,
                 from cclib.cpp:24:
../wallet/db.h:37:10: fatal error: db_cxx.h: No such file or directory
 #include <db_cxx.h>
          ^~~~~~~~~~
compilation terminated.
games tetris
gamescc.so with tetris
In file included from ../wallet/walletdb.h:25,
                 from ../cc/../wallet/wallet.h:38,
                 from ../cc/CCinclude.h:48,
                 from cclib.cpp:24:
../wallet/db.h:37:10: fatal error: db_cxx.h: No such file or directory
 #include <db_cxx.h>
          ^~~~~~~~~~
compilation terminated.
tetris dapp
In file included from ../games/tetris.c:785,
                 from ../gamescc.cpp:20:
../dapps/dappstd.c: In function ‘int32_t games_progress(games_state*, int32_t, uint64_t, gamesevent*, int32_t)’:
../dapps/dappstd.c:686:26: warning: ‘%s’ directive writing up to 32767 bytes into a region of size 8165 [-Wformat-overflow=]
         sprintf(postdata,"{\"method\":\"%s\",\"params\":%s}",method,params);
                          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/stdio.h:867,
                 from ../gamescc.h:5,
                 from ../gamescc.cpp:16:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:36:34: note: ‘__builtin___sprintf_chk’ output between 29 and 32796 bytes into a destination of size 8192
   return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
          ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
       __bos (__s), __fmt, __va_arg_pack ());
       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
games prices
pricescc.so
In file included from ../wallet/walletdb.h:25,
                 from ../cc/../wallet/wallet.h:38,
                 from ../cc/CCinclude.h:48,
                 from cclib.cpp:24:
../wallet/db.h:37:10: fatal error: db_cxx.h: No such file or directory
 #include <db_cxx.h>
          ^~~~~~~~~~
compilation terminated.
prices
In file included from ../games/prices.c:125,
                 from ../gamescc.cpp:18:
../dapps/dappstd.c: In function ‘int32_t games_progress(games_state*, int32_t, uint64_t, gamesevent*, int32_t)’:
../dapps/dappstd.c:686:26: warning: ‘%s’ directive writing up to 32767 bytes into a region of size 8165 [-Wformat-overflow=]
         sprintf(postdata,"{\"method\":\"%s\",\"params\":%s}",method,params);
                          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/stdio.h:867,
                 from ../gamescc.h:5,
                 from ../gamescc.cpp:16:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:36:34: note: ‘__builtin___sprintf_chk’ output between 29 and 32796 bytes into a destination of size 8192
   return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
          ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
       __bos (__s), __fmt, __va_arg_pack ());
       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
customcc stub
In file included from ../wallet/walletdb.h:25,
                 from ../cc/../wallet/wallet.h:38,
                 from ../cc/CCinclude.h:48,
                 from cclib.cpp:24:
../wallet/db.h:37:10: fatal error: db_cxx.h: No such file or directory
 #include <db_cxx.h>
          ^~~~~~~~~~
compilation terminated.
leto commented 5 years ago

This was temporary, closing