7 Star 0 Fork 16

src-openEuler / libdb

 / 详情

libdb build problem in openEuler-22.03-LTS-SP1

Accepted
Bug
Opened this issue  
2022-11-24 21:42

2022-11-22 17:59:46 25435 | int h;
2022-11-22 17:59:46 | ^
2022-11-22 17:59:46 ../../lang/sql/generated/sqlite3.c: In function 'sqlite3PagerCheckpoint':
2022-11-22 17:59:46 ../../lang/sql/generated/sqlite3.c:35034:6: warning: variable 'needUnlock' set but not used [-Wunused-but-set-variable]
2022-11-22 17:59:46 35034 | int needUnlock;
2022-11-22 17:59:46 | ^~~~~~~~~~
2022-11-22 17:59:46 ../../lang/sql/generated/sqlite3.c: In function 'btreeOpenEnvironment':
2022-11-22 17:59:46 ../../lang/sql/generated/sqlite3.c:36827:13: warning: variable 'cached_db' set but not used [-Wunused-but-set-variable]
2022-11-22 17:59:46 36827 | CACHED_DB *cached_db;
2022-11-22 17:59:46 | ^~~~~~~~~
2022-11-22 17:59:46 ../../lang/sql/generated/sqlite3.c: In function 'sqlite3BtreeCommit':
2022-11-22 17:59:46 ../../lang/sql/generated/sqlite3.c:38282:12: warning: variable 'pBt' set but not used [-Wunused-but-set-variable]
2022-11-22 17:59:46 38282 | BtShared *pBt;
2022-11-22 17:59:46 | ^~~
2022-11-22 17:59:46 ../../lang/sql/generated/sqlite3.c: In function 'btreeRestoreCursorPosition':
2022-11-22 17:59:46 ../../lang/sql/generated/sqlite3.c:39470:12: warning: variable 'pBt' set but not used [-Wunused-but-set-variable]
2022-11-22 17:59:46 39470 | BtShared *pBt;
2022-11-22 17:59:46 | ^~~
2022-11-22 17:59:46 ../../lang/sql/generated/sqlite3.c: In function 'sqlite3BtreeCheckpoint':
2022-11-22 17:59:46 ../../lang/sql/generated/sqlite3.c:40969:12: warning: variable 'pBt' set but not used [-Wunused-but-set-variable]
2022-11-22 17:59:46 40969 | BtShared *pBt;
2022-11-22 17:59:46 | ^~~
2022-11-22 17:59:46 ../../lang/sql/generated/sqlite3.c: In function 'btreeLockSchema':
2022-11-22 17:59:46 ../../lang/sql/generated/sqlite3.c:41167:7: warning: variable 'oldCur' set but not used [-Wunused-but-set-variable]
2022-11-22 17:59:46 41167 | DBC *oldCur;
2022-11-22 17:59:46 | ^~~~~~
2022-11-22 17:59:46 ../../lang/sql/generated/sqlite3.c:41166:12: warning: variable 'pBt' set but not used [-Wunused-but-set-variable]
2022-11-22 17:59:46 41166 | BtShared *pBt;
2022-11-22 17:59:46 | ^~~
2022-11-22 17:59:46 ../../lang/sql/generated/sqlite3.c: In function 'sqlite3BtreeSavepoint':
2022-11-22 17:59:46 ../../lang/sql/generated/sqlite3.c:41684:12: warning: variable 'pBt' set but not used [-Wunused-but-set-variable]
2022-11-22 17:59:46 41684 | BtShared *pBt;
2022-11-22 17:59:46 | ^~~
2022-11-22 17:59:46 ../../lang/sql/generated/sqlite3.c: In function 'btreeGetPageCount':
2022-11-22 17:59:46 ../../lang/sql/generated/sqlite3.c:42004:7: warning: variable 'dbc' set but not used [-Wunused-but-set-variable]
2022-11-22 17:59:46 42004 | DBC *dbc;
2022-11-22 17:59:46 | ^~~
2022-11-22 17:59:46 ../../lang/sql/generated/sqlite3.c: In function 'sqlite3_backup_init':
2022-11-22 17:59:46 ../../lang/sql/generated/sqlite3.c:43292:6: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
2022-11-22 17:59:46 43292 | int ret;
2022-11-22 17:59:46 | ^~~
2022-11-22 17:59:46 ../../lang/sql/generated/sqlite3.c: In function 'btreeDeleteEnvironment':
2022-11-22 17:59:46 ../../lang/sql/generated/sqlite3.c:43467:20: warning: variable 'storage' set but not used [-Wunused-but-set-variable]
2022-11-22 17:59:46 43467 | int rc, ret, iDb, storage;
2022-11-22 17:59:46 | ^~~~~~~
2022-11-22 17:59:46 ../../lang/sql/generated/sqlite3.c: In function 'sqlite3_backup_step':
2022-11-22 17:59:46 ../../lang/sql/generated/sqlite3.c:43709:12: warning: variable 'pBtDest' set but not used [-Wunused-but-set-variable]
2022-11-22 17:59:46 43709 | BtShared *pBtDest, *pBtSrc;
2022-11-22 17:59:46 | ^~~~~~~
2022-11-22 17:59:46 ../../lang/sql/generated/sqlite3.c: In function 'hasDatabaseConnections':
2022-11-22 17:59:46 ../../lang/sql/generated/sqlite3.c:44410:6: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
2022-11-22 17:59:46 44410 | int ret;
2022-11-22 17:59:46 | ^~~
2022-11-22 17:59:46 ../../lang/sql/generated/sqlite3.c: In function 'db_seq_drop_func':
2022-11-22 17:59:46 ../../lang/sql/generated/sqlite3.c:46170:6: warning: variable 'mutex_held' set but not used [-Wunused-but-set-variable]
2022-11-22 17:59:46 46170 | int mutex_held, rc;
2022-11-22 17:59:46 | ^~~~~~~~~~
2022-11-22 17:59:46 ../../lang/sql/generated/sqlite3.c: In function 'btreeSeqGetVal':
2022-11-22 17:59:46 ../../lang/sql/generated/sqlite3.c:46255:12: warning: variable 'pBt' set but not used [-Wunused-but-set-variable]
2022-11-22 17:59:46 46255 | BtShared *pBt;
2022-11-22 17:59:46 | ^~~
2022-11-22 17:59:46 ../../lang/sql/generated/sqlite3.c: In function 'btreeSeqPutCookie':
2022-11-22 17:59:46 ../../lang/sql/generated/sqlite3.c:46731:11: warning: variable 'db' set but not used [-Wunused-but-set-variable]
2022-11-22 17:59:46 46731 | sqlite3 *db;
2022-11-22 17:59:46 | ^~
2022-11-22 17:59:46 ../../lang/sql/generated/sqlite3.c: In function 'sqlite3CommitTransaction':
2022-11-22 17:59:46 ../../lang/sql/generated/sqlite3.c:71282:12: warning: variable 'db' set but not used [-Wunused-but-set-variable]
2022-11-22 17:59:46 71282 | sqlite3 *db;
2022-11-22 17:59:46 | ^~
2022-11-22 17:59:46 ../../lang/sql/generated/sqlite3.c: In function 'sqlite3RollbackTransaction':
2022-11-22 17:59:46 ../../lang/sql/generated/sqlite3.c:71302:12: warning: variable 'db' set but not used [-Wunused-but-set-variable]
2022-11-22 17:59:46 71302 | sqlite3 db;
2022-11-22 17:59:46 | ^~
2022-11-22 17:59:46 ../../lang/sql/generated/sqlite3.c: In function 'sqlite3Parser':
2022-11-22 17:59:46 ../../lang/sql/generated/sqlite3.c:97024:7: warning: variable 'yyendofinput' set but not used [-Wunused-but-set-variable]
2022-11-22 17:59:46 97024 | int yyendofinput; /
True if we are at the end of input */
2022-11-22 17:59:46 | ^~~~~~~~~~~~
2022-11-22 17:59:46 ../../lang/sql/generated/sqlite3.c: In function 'porter_stemmer':
2022-11-22 17:59:46 ../../lang/sql/generated/sqlite3.c:107889:41: warning: value computed is not used [-Wunused-value]
2022-11-22 17:59:46 107889 | stem(&z, "lanoita", "ate", m_gt_0) ||
2022-11-22 17:59:46 | ^~
2022-11-22 17:59:46 ../../lang/sql/generated/sqlite3.c:107893:39: warning: value computed is not used [-Wunused-value]
2022-11-22 17:59:46 107893 | stem(&z, "icne", "ence", m_gt_0) ||
2022-11-22 17:59:46 | ^~
2022-11-22 17:59:46 ../../lang/sql/generated/sqlite3.c:107906:35: warning: value computed is not used [-Wunused-value]
2022-11-22 17:59:46 107906 | stem(&z, "ile", "e", m_gt_0) ||
2022-11-22 17:59:46 | ^~
2022-11-22 17:59:46 ../../lang/sql/generated/sqlite3.c:107911:39: warning: value computed is not used [-Wunused-value]
2022-11-22 17:59:46 107911 | stem(&z, "noita", "ate", m_gt_0) ||
2022-11-22 17:59:46 | ^~
2022-11-22 17:59:46 ../../lang/sql/generated/sqlite3.c:107917:41: warning: value computed is not used [-Wunused-value]
2022-11-22 17:59:46 107917 | stem(&z, "ssenluf", "ful", m_gt_0) ||
2022-11-22 17:59:46 | ^~
2022-11-22 17:59:46 ../../lang/sql/generated/sqlite3.c:107922:39: warning: value computed is not used [-Wunused-value]
2022-11-22 17:59:46 107922 | stem(&z, "itivi", "ive", m_gt_0) ||
2022-11-22 17:59:46 | ^~
2022-11-22 17:59:46 ../../lang/sql/generated/sqlite3.c:107931:38: warning: value computed is not used [-Wunused-value]
2022-11-22 17:59:46 107931 | stem(&z, "evita", "", m_gt_0) ||
2022-11-22 17:59:46 | ^~
2022-11-22 17:59:46 ../../lang/sql/generated/sqlite3.c:107938:37: warning: value computed is not used [-Wunused-value]
2022-11-22 17:59:46 107938 | stem(&z, "laci", "ic", m_gt_0) ||
2022-11-22 17:59:46 | ^~
2022-11-22 17:59:46 ../../lang/sql/generated/sqlite3.c:107981:39: warning: value computed is not used [-Wunused-value]
2022-11-22 17:59:46 107981 | stem(&z, "tnem", "", m_gt_1) ||
2022-11-22 17:59:46 | ^~
2022-11-22 17:59:46 ../../lang/sql/generated/sqlite3.c:108001:34: warning: value computed is not used [-Wunused-value]
2022-11-22 17:59:46 108001 | stem(&z, "eta", "", m_gt_1) ||
2022-11-22 17:59:46 | ^~
2022-11-22 17:59:46 ../../lang/sql/generated/sqlite3.c: In function 'deserializeGeometry':
2022-11-22 17:59:46 ../../lang/sql/generated/sqlite3.c:114396:34: warning: comparison of constant '4' with boolean expression is always false [-Wbool-compare]
2022-11-22 17:59:46 114396 | if( !sqlite3_value_type(pValue)==SQLITE_BLOB ) return SQLITE_ERROR;
2022-11-22 17:59:46 | ^~
2022-11-22 17:59:46 ../../lang/sql/generated/sqlite3.c:114396:34: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses]
2022-11-22 17:59:46 ../../lang/sql/generated/sqlite3.c:114396:7: note: add parentheses around left hand side expression to silence this warning
2022-11-22 17:59:46 114396 | if( !sqlite3_value_type(pValue)==SQLITE_BLOB ) return SQLITE_ERROR;
2022-11-22 17:59:46 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
2022-11-22 17:59:46 | ( )
2022-11-22 17:59:46 ../../lang/sql/generated/sqlite3.c: In function 'ChooseLeaf':
2022-11-22 17:59:46 ../../lang/sql/generated/sqlite3.c:114772:11: warning: variable 'fMinOverlap' set but not used [-Wunused-but-set-variable]
2022-11-22 17:59:46 114772 | float fMinOverlap;
2022-11-22 17:59:46 | ^~~~~~~~~~~
2022-11-22 17:59:46 ../../lang/sql/generated/sqlite3.c: At top level:
2022-11-22 17:59:46 ../../lang/sql/generated/sqlite3.c:7712:20: warning: 'sqlite3BtreeCopyFile' declared 'static' but never defined [-Wunused-function]
2022-11-22 17:59:46 7712 | SQLITE_PRIVATE int sqlite3BtreeCopyFile(Btree *, Btree *);
2022-11-22 17:59:46 | ^~~~~~~~~~~~~~~~~~~~
2022-11-22 17:59:46 ../../lang/sql/generated/sqlite3.c:10672:22: warning: 'sqlite3PageMalloc' declared 'static' but never defined [-Wunused-function]
2022-11-22 17:59:46 10672 | SQLITE_PRIVATE void sqlite3PageMalloc(int);
2022-11-22 17:59:46 | ^~~~~~~~~~~~~~~~~
2022-11-22 17:59:46 ../../lang/sql/generated/sqlite3.c:10673:21: warning: 'sqlite3PageFree' declared 'static' but never defined [-Wunused-function]
2022-11-22 17:59:46 10673 | SQLITE_PRIVATE void sqlite3PageFree(void
);
2022-11-22 17:59:46 | ^~~~~~~~~~~~~~~
2022-11-22 17:59:46 ../../lang/sql/generated/sqlite3.c:11109:21: warning: 'sqlite3BackupRestart' declared 'static' but never defined [-Wunused-function]
2022-11-22 17:59:46 11109 | SQLITE_PRIVATE void sqlite3BackupRestart(sqlite3_backup *);
2022-11-22 17:59:46 | ^~~~~~~~~~~~~~~~~~~~
2022-11-22 17:59:46 ../../lang/sql/generated/sqlite3.c:11110:21: warning: 'sqlite3BackupUpdate' declared 'static' but never defined [-Wunused-function]
2022-11-22 17:59:46 11110 | SQLITE_PRIVATE void sqlite3BackupUpdate(sqlite3_backup *, Pgno, const u8 *);
2022-11-22 17:59:46 | ^~~~~~~~~~~~~~~~~~~
2022-11-22 17:59:46 ../../lang/sql/generated/sqlite3.c:101220:21: warning: 'sqlite3ConnectionBlocked' defined but not used [-Wunused-function]
2022-11-22 17:59:46 101220 | SQLITE_PRIVATE void sqlite3ConnectionBlocked(sqlite3 *db, sqlite3 *pBlocker){
2022-11-22 17:59:46 | ^~~~~~~~~~~~~~~~~~~~~~~~
2022-11-22 17:59:46 ../../lang/sql/generated/sqlite3.c:99841:20: warning: 'sqlite3TempInMemory' defined but not used [-Wunused-function]
2022-11-22 17:59:46 99841 | SQLITE_PRIVATE int sqlite3TempInMemory(const sqlite3 *db){
2022-11-22 17:59:46 | ^~~~~~~~~~~~~~~~~~~
2022-11-22 17:59:46 ../../lang/sql/generated/sqlite3.c:99275:20: warning: 'sqlite3InvokeBusyHandler' defined but not used [-Wunused-function]
2022-11-22 17:59:46 99275 | SQLITE_PRIVATE int sqlite3InvokeBusyHandler(BusyHandler *p){
2022-11-22 17:59:46 | ^~~~~~~~~~~~~~~~~~~~~~~~
2022-11-22 17:59:46 ../../lang/sql/generated/sqlite3.c:60455:20: warning: 'sqlite3IsMemJournal' defined but not used [-Wunused-function]
2022-11-22 17:59:46 60455 | SQLITE_PRIVATE int sqlite3IsMemJournal(sqlite3_file *pJfd){
2022-11-22 17:59:46 | ^~~~~~~~~~~~~~~~~~~
2022-11-22 17:59:46 ../../lang/sql/generated/sqlite3.c:42400:12: warning: 'btreeDecompressInt' defined but not used [-Wunused-function]
2022-11-22 17:59:46 42400 | static int btreeDecompressInt(const u_int8_t *buf, u_int64_t *i)
2022-11-22 17:59:46 | ^~~~~~~~~~~~~~~~~~
2022-11-22 17:59:46 ../../lang/sql/generated/sqlite3.c:42245:12: warning: 'btreeCompressInt' defined but not used [-Wunused-function]
2022-11-22 17:59:46 42245 | static int btreeCompressInt(u_int8_t *buf, u_int64_t i)
2022-11-22 17:59:46 | ^~~~~~~~~~~~~~~~
2022-11-22 17:59:46 ../../lang/sql/generated/sqlite3.c:41359:20: warning: 'sqlite3BtreeGetReserve' defined but not used [-Wunused-function]
2022-11-22 17:59:46 41359 | SQLITE_PRIVATE int sqlite3BtreeGetReserve(Btree *p)
2022-11-22 17:59:46 | ^~~~~~~~~~~~~~~~~~~~~~
2022-11-22 17:59:46 ../../lang/sql/generated/sqlite3.c:35205:20: warning: 'sqlite3SchemaMutexHeld' defined but not used [-Wunused-function]
2022-11-22 17:59:46 35205 | SQLITE_PRIVATE int sqlite3SchemaMutexHeld(sqlite3 *db, int iDb, Schema *pSchema)
2022-11-22 17:59:46 | ^~~~~~~~~~~~~~~~~~~~~~
2022-11-22 17:59:46 ../../lang/sql/generated/sqlite3.c:35199:20: warning: 'sqlite3BtreeHoldsAllMutexes' defined but not used [-Wunused-function]
2022-11-22 17:59:46 35199 | SQLITE_PRIVATE int sqlite3BtreeHoldsAllMutexes(sqlite3 *db)
2022-11-22 17:59:46 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
2022-11-22 17:59:46 ../../lang/sql/generated/sqlite3.c:35193:20: warning: 'sqlite3BtreeHoldsMutex' defined but not used [-Wunused-function]
2022-11-22 17:59:46 35193 | SQLITE_PRIVATE int sqlite3BtreeHoldsMutex(Btree *db)
2022-11-22 17:59:46 | ^~~~~~~~~~~~~~~~~~~~~~
2022-11-22 17:59:46 ../../lang/sql/generated/sqlite3.c:34935:20: warning: 'sqlite3PagerPagecount' defined but not used [-Wunused-function]
2022-11-22 17:59:46 34935 | SQLITE_PRIVATE int sqlite3PagerPagecount(Pager *pPager, int *pCount) {
2022-11-22 17:59:46 | ^~~~~~~~~~~~~~~~~~~~~
2022-11-22 17:59:46 ../../lang/sql/generated/sqlite3.c:34902:20: warning: 'sqlite3PagerJournalMode' defined but not used [-Wunused-function]
2022-11-22 17:59:46 34902 | SQLITE_PRIVATE int sqlite3PagerJournalMode(Pager *pPager, int mode) { return 0; }
2022-11-22 17:59:46 | ^~~~~~~~~~~~~~~~~~~~~~~
2022-11-22 17:59:46 ../../lang/sql/generated/sqlite3.c:34901:20: warning: 'sqlite3PagerIsMemdb' defined but not used [-Wunused-function]
2022-11-22 17:59:46 34901 | SQLITE_PRIVATE int sqlite3PagerIsMemdb(Pager *pPager) { return 0; }
2022-11-22 17:59:46 | ^~~~~~~~~~~~~~~~~~~
2022-11-22 17:59:46 ../../lang/sql/generated/sqlite3.c:20947:21: warning: 'sqlite3Put4byte' defined but not used [-Wunused-function]
2022-11-22 17:59:46 20947 | SQLITE_PRIVATE void sqlite3Put4byte(unsigned char *p, u32 v){
2022-11-22 17:59:46 | ^~~~~~~~~~~~~~~
2022-11-22 17:59:46 ../../lang/sql/generated/sqlite3.c:20944:20: warning: 'sqlite3Get4byte' defined but not used [-Wunused-function]
2022-11-22 17:59:46 20944 | SQLITE_PRIVATE u32 sqlite3Get4byte(const u8 *p){
2022-11-22 17:59:46 | ^~~~~~~~~~~~~~~
2022-11-22 17:59:46 ../../lang/sql/generated/sqlite3.c:17655:20: warning: 'sqlite3HeapNearlyFull' defined but not used [-Wunused-function]
2022-11-22 17:59:46 17655 | SQLITE_PRIVATE int sqlite3HeapNearlyFull(void){
2022-11-22 17:59:46 | ^~~~~~~~~~~~~~~~~~~~~
2022-11-22 17:59:46 ../../lang/sql/generated/sqlite3.c:13806:20: warning: 'sqlite3OsShmMap' defined but not used [-Wunused-function]
2022-11-22 17:59:46 13806 | SQLITE_PRIVATE int sqlite3OsShmMap(
2022-11-22 17:59:46 | ^~~~~~~~~~~~~~~
2022-11-22 17:59:46 ../../lang/sql/generated/sqlite3.c:13803:20: warning: 'sqlite3OsShmUnmap' defined but not used [-Wunused-function]
2022-11-22 17:59:46 13803 | SQLITE_PRIVATE int sqlite3OsShmUnmap(sqlite3_file *id, int deleteFlag){
2022-11-22 17:59:46 | ^~~~~~~~~~~~~~~~~
2022-11-22 17:59:46 ../../lang/sql/generated/sqlite3.c:13800:21: warning: 'sqlite3OsShmBarrier' defined but not used [-Wunused-function]
2022-11-22 17:59:46 13800 | SQLITE_PRIVATE void sqlite3OsShmBarrier(sqlite3_file *id){
2022-11-22 17:59:46 | ^~~~~~~~~~~~~~~~~~~
2022-11-22 17:59:46 ../../lang/sql/generated/sqlite3.c:13797:20: warning: 'sqlite3OsShmLock' defined but not used [-Wunused-function]
2022-11-22 17:59:46 13797 | SQLITE_PRIVATE int sqlite3OsShmLock(sqlite3_file *id, int offset, int n, int flags){
2022-11-22 17:59:46 | ^~~~~~~~~~~~~~~~
2022-11-22 17:59:46 ../../lang/sql/generated/sqlite3.c:13790:20: warning: 'sqlite3OsSectorSize' defined but not used [-Wunused-function]
2022-11-22 17:59:46 13790 | SQLITE_PRIVATE int sqlite3OsSectorSize(sqlite3_file *id){
2022-11-22 17:59:46 | ^~~~~~~~~~~~~~~~~~~
2022-11-22 17:59:46 ../../lang/sql/generated/sqlite3.c:13783:20: warning: 'sqlite3OsCheckReservedLock' defined but not used [-Wunused-function]
2022-11-22 17:59:46 13783 | SQLITE_PRIVATE int sqlite3OsCheckReservedLock(sqlite3_file *id, int *pResOut){
2022-11-22 17:59:46 | ^~~~~~~~~~~~~~~~~~~~~~~~~~
2022-11-22 17:59:46 ../../lang/sql/generated/sqlite3.c:13772:20: warning: 'sqlite3OsFileSize' defined but not used [-Wunused-function]
2022-11-22 17:59:46 13772 | SQLITE_PRIVATE int sqlite3OsFileSize(sqlite3_file *id, i64 *pSize){
2022-11-22 17:59:46 | ^~~~~~~~~~~~~~~~~
2022-11-22 17:59:46 ../../lang/sql/generated/sqlite3.c:13765:20: warning: 'sqlite3OsTruncate' defined but not used [-Wunused-function]
2022-11-22 17:59:46 13765 | SQLITE_PRIVATE int sqlite3OsTruncate(sqlite3_file *id, i64 size){
2022-11-22 17:59:46 | ^~~~~~~~~~~~~~~~~
2022-11-22 17:59:46 ../../lang/sql/generated/sqlite3.c: In function 'sqlite3SelectNew':
2022-11-22 17:59:46 ../../lang/sql/generated/sqlite3.c:81096:10: warning: function may return address of local variable [-Wreturn-local-addr]
2022-11-22 17:59:46 81096 | return pNew;
2022-11-22 17:59:46 | ^~~~
2022-11-22 17:59:46 ../../lang/sql/generated/sqlite3.c:81066:10: note: declared here
2022-11-22 17:59:46 81066 | Select standin;
2022-11-22 17:59:46 | ^~~~~~~
2022-11-22 17:59:46 ../../lang/sql/generated/sqlite3.c: In function 'setPersistentPragma':
2022-11-22 17:59:46 ../../lang/sql/generated/sqlite3.c:45459:5: warning: 'exists' may be used uninitialized in this function [-Wmaybe-uninitialized]
2022-11-22 17:59:46 45459 | if (!exists) {
2022-11-22 17:59:46 | ^
2022-11-22 17:59:46 ../../lang/sql/generated/sqlite3.c:45800:22: note: 'exists' was declared here
2022-11-22 17:59:46 45800 | int rc, idx, attrs, exists;
2022-11-22 17:59:46 | ^~~~~~
2022-11-22 17:59:46 In file included from /usr/include/string.h:519,
2022-11-22 17:59:46 from ../../lang/sql/generated/sqlite3.c:7280:
2022-11-22 17:59:46 In function 'strncpy',
2022-11-22 17:59:46 inlined from 'sqlite3_backup_init' at ../../lang/sql/generated/sqlite3.c:43338:2:
2022-11-22 17:59:46 /usr/include/bits/string_fortified.h:95:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=]
2022-11-22 17:59:46 95 | return __builtin___strncpy_chk (__dest, __src, __len,
2022-11-22 17:59:46 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2022-11-22 17:59:46 96 | __glibc_objsize (__dest));
2022-11-22 17:59:46 | ~~~~~~~~~~~~~~~~~~~~~~~~~
2022-11-22 17:59:46 ../../lang/sql/generated/sqlite3.c: In function 'sqlite3_backup_init':
2022-11-22 17:59:46 ../../lang/sql/generated/sqlite3.c:43338:30: note: length computed here
2022-11-22 17:59:46 43338 | strncpy(p->srcName, zSrcDb, strlen(zSrcDb) + 1);
2022-11-22 17:59:46 | ^~~~~~~~~~~~~~
2022-11-22 17:59:46 In file included from /usr/include/string.h:519,
2022-11-22 17:59:46 from ../../lang/sql/generated/sqlite3.c:7280:
2022-11-22 17:59:46 In function 'strncpy',
2022-11-22 17:59:46 inlined from 'sqlite3_backup_init' at ../../lang/sql/generated/sqlite3.c:43339:2:
2022-11-22 17:59:46 /usr/include/bits/string_fortified.h:95:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=]
2022-11-22 17:59:46 95 | return __builtin___strncpy_chk (__dest, __src, __len,
2022-11-22 17:59:46 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2022-11-22 17:59:46 96 | __glibc_objsize (__dest));
2022-11-22 17:59:46 | ~~~~~~~~~~~~~~~~~~~~~~~~~
2022-11-22 17:59:46 ../../lang/sql/generated/sqlite3.c: In function 'sqlite3_backup_init':
2022-11-22 17:59:46 ../../lang/sql/generated/sqlite3.c:43339:32: note: length computed here
2022-11-22 17:59:46 43339 | strncpy(p->destName, zDestDb, strlen(zDestDb) + 1);
2022-11-22 17:59:46 | ^~~~~~~~~~~~~~~
2022-11-22 17:59:46 In file included from /usr/include/string.h:519,
2022-11-22 17:59:46 from ../../lang/sql/generated/sqlite3.c:7280:
2022-11-22 17:59:46 In function 'strncpy',
2022-11-22 17:59:46 inlined from 'sqlite3_backup_init' at ../../lang/sql/generated/sqlite3.c:43348:3:
2022-11-22 17:59:46 /usr/include/bits/string_fortified.h:95:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=]
2022-11-22 17:59:46 95 | return __builtin___strncpy_chk (__dest, __src, __len,
2022-11-22 17:59:46 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2022-11-22 17:59:46 96 | __glibc_objsize (__dest));
2022-11-22 17:59:46 | ~~~~~~~~~~~~~~~~~~~~~~~~~
2022-11-22 17:59:46 ../../lang/sql/generated/sqlite3.c: In function 'sqlite3_backup_init':
2022-11-22 17:59:46 ../../lang/sql/generated/sqlite3.c:43348:34: note: length computed here
2022-11-22 17:59:46 43348 | strncpy(p->fullName, fullName, strlen(fullName) + 1);
2022-11-22 17:59:46 | ^~~~~~~~~~~~~~~~
2022-11-22 17:59:46 ../../lang/sql/generated/sqlite3.c: In function 'ChooseLeaf':
2022-11-22 17:59:46 ../../lang/sql/generated/sqlite3.c:114834:10: warning: 'iBest' may be used uninitialized in this function [-Wmaybe-uninitialized]
2022-11-22 17:59:46 114834 | rc = nodeAcquire(pRtree, iBest, pNode, &pChild);
2022-11-22 17:59:46 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2022-11-22 17:59:46 ../../lang/sql/generated/sqlite3.c: In function 'removeNode':
2022-11-22 17:59:46 ../../lang/sql/generated/sqlite3.c:115555:9: warning: 'pParent' may be used uninitialized in this function [-Wmaybe-uninitialized]
2022-11-22 17:59:46 115555 | rc2 = nodeRelease(pRtree, pParent);
2022-11-22 17:59:46 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
2022-11-22 17:59:46 ../../lang/sql/generated/sqlite3.c: In function 'rtreeInsertCell':
2022-11-22 17:59:46 ../../lang/sql/generated/sqlite3.c:115273:47: warning: 'iBestSplit' may be used uninitialized in this function [-Wmaybe-uninitialized]
2022-11-22 17:59:46 115273 | memcpy(pBboxRight, &aCell[aaSorted[iBestDim][iBestSplit]], sizeof(RtreeCell));
2022-11-22 17:59:46 | ^
2022-11-22 17:59:46 ../../lang/sql/generated/sqlite3.c:115203:7: note: 'iBestSplit' was declared here
2022-11-22 17:59:46 115203 | int iBestSplit;
2022-11-22 17:59:46 | ^~~~~~~~~~
2022-11-22 17:59:46 ../../lang/sql/generated/sqlite3.c:115272:36: warning: 'iBestDim' may be used uninitialized in this function [-Wmaybe-uninitialized]
2022-11-22 17:59:46 115272 | memcpy(pBboxLeft, &aCell[aaSorted[iBestDim][0]], sizeof(RtreeCell));
2022-11-22 17:59:46 | ^
2022-11-22 17:59:46 ../../lang/sql/generated/sqlite3.c:115202:7: note: 'iBestDim' was declared here
2022-11-22 17:59:46 115202 | int iBestDim;
2022-11-22 17:59:46 | ^~~~~~~~
2022-11-22 17:59:46 ../../lang/sql/generated/sqlite3.c:115257:34: warning: 'fBestArea' may be used uninitialized in this function [-Wmaybe-uninitialized]
2022-11-22 17:59:46 115257 | || (overlap==fBestOverlap && area<fBestArea)
2022-11-22 17:59:46 | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
2022-11-22 17:59:46 ../../lang/sql/generated/sqlite3.c:115227:11: note: 'fBestArea' was declared here
2022-11-22 17:59:46 115227 | float fBestArea;
2022-11-22 17:59:46 | ^~~~~~~~~
2022-11-22 17:59:46 ../../lang/sql/generated/sqlite3.c:115257:8: warning: 'fBestOverlap' may be used uninitialized in this function [-Wmaybe-uninitialized]
2022-11-22 17:59:46 115255 | if( (nLeft==RTREE_MINCELLS(pRtree))
2022-11-22 17:59:46 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2022-11-22 17:59:46 115256 | || (overlap<fBestOverlap)
2022-11-22 17:59:46 | ~~~~~~~~~~~~~~~~~~~~~~~~~
2022-11-22 17:59:46 115257 | || (overlap==fBestOverlap && area<fBestArea)
2022-11-22 17:59:46 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2022-11-22 17:59:46 ../../lang/sql/generated/sqlite3.c:115226:11: note: 'fBestOverlap' was declared here
2022-11-22 17:59:46 115226 | float fBestOverlap;
2022-11-22 17:59:46 | ^~~~~~~~~~~~
2022-11-22 17:59:46 ../../lang/sql/generated/sqlite3.c: In function 'bdbSqlDbStatPrint':
2022-11-22 17:59:46 ../../lang/sql/generated/sqlite3.c:46850:9: warning: 'rc' may be used uninitialized in this function [-Wmaybe-uninitialized]
2022-11-22 17:59:46 46850 | int i, rc, nRow, iTable, openTransaction = 0;
2022-11-22 17:59:46 | ^~
2022-11-22 17:59:46 ./libtool --mode=compile cc -c -I. -I../../src -D_GNU_SOURCE -D_REENTRANT -I/usr/lib/jvm/java/include -I/usr/lib/jvm/java/include/linux -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -DSHAREDSTATEDIR='"/var/lib"' -DSQLITE_ENABLE_COLUMN_METADATA=1 -DSQLITE_DISABLE_DIRSYNC=1 -DSQLITE_ENABLE_FTS3=3 -DSQLITE_ENABLE_RTREE=1 -DSQLITE_SECURE_DELETE=1 -DSQLITE_ENABLE_UNLOCK_NOTIFY=1 -I../../../lang/sql/sqlite/ext/fts3/ -I. -I./sql -I../../lang/sql/generated -D_HAVE_SQLITE_CONFIG_H ../../lang/sql/generated/sqlite3.c
2022-11-22 17:59:46 libtool: compile: cc -c -I. -I../../src -D_GNU_SOURCE -D_REENTRANT -I/usr/lib/jvm/java/include -I/usr/lib/jvm/java/include/linux -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -DSHAREDSTATEDIR="/var/lib" -DSQLITE_ENABLE_COLUMN_METADATA=1 -DSQLITE_DISABLE_DIRSYNC=1 -DSQLITE_ENABLE_FTS3=3 -DSQLITE_ENABLE_RTREE=1 -DSQLITE_SECURE_DELETE=1 -DSQLITE_ENABLE_UNLOCK_NOTIFY=1 -I../../../lang/sql/sqlite/ext/fts3/ -I. -I./sql -I../../lang/sql/generated -D_HAVE_SQLITE_CONFIG_H ../../lang/sql/generated/sqlite3.c -fPIC -DPIC -o .libs/sqlite3.o
2022-11-22 17:59:46 libtool: compile: cc -c -I. -I../../src -D_GNU_SOURCE -D_REENTRANT -I/usr/lib/jvm/java/include -I/usr/lib/jvm/java/include/linux -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -DSHAREDSTATEDIR="/var/lib" -DSQLITE_ENABLE_COLUMN_METADATA=1 -DSQLITE_DISABLE_DIRSYNC=1 -DSQLITE_ENABLE_FTS3=3 -DSQLITE_ENABLE_RTREE=1 -DSQLITE_SECURE_DELETE=1 -DSQLITE_ENABLE_UNLOCK_NOTIFY=1 -I../../../lang/sql/sqlite/ext/fts3/ -I. -I./sql -I../../lang/sql/generated -D_HAVE_SQLITE_CONFIG_H ../../lang/sql/generated/sqlite3.c -o sqlite3.o >/dev/null 2>&1
2022-11-22 17:59:46
2022-11-22 17:59:46
2022-11-22 17:59:46 RPM build errors:
2022-11-22 17:59:46 error: Bad exit status from /var/tmp/rpm-tmp.YMiAHn (%build)
2022-11-22 17:59:46 Bad exit status from /var/tmp/rpm-tmp.YMiAHn (%build)
2022-11-22 17:59:46 failed to build rpms with libdb.spec

Attachments

Comments (1)

dongjie110 created缺陷

Hi dongjie110, welcome to the openEuler Community.
I'm the Bot here serving you. You can find the instructions on how to interact with me at Here.
If you have any questions, please contact the SIG: Base-service, and any of the maintainers: @Monday , @hexiaowen , @zhujianwei001 , @谢志鹏 , @陈棋德

openeuler-ci-bot added
 
sig/Base-service
label
dongjie110 upload filecbs.241974-libdb-aarch64.txt
dongjie110 set start time to 2022-11-24
dongjie110 changed deadline from 2022-11-26 to 2022-11-29
dongjie110 changed issue state from 待办的 to 已取消
dongjie110 changed issue state from 已取消 to 已验收

Sign in to comment

Status
Assignees
Projects
Milestones
Pull Requests
Successfully merging a pull request will close this issue.
Branches
Planed to start   -   Planed to end
-
Top level
Priority
Duration (hours)
参与者(2)
5329419 openeuler ci bot 1632792936
1
https://gitee.com/src-openeuler/libdb.git
git@gitee.com:src-openeuler/libdb.git
src-openeuler
libdb
libdb

Search