Build issue with 15.7


#1

Hello,

I am having issues building SciDB 15.7 with g++ 4.9.2. I am getting the following errors:

Linking CXX static library libutil_lib.a
[ 9%] Built target util_lib
[ 9%] Built target scidb_msg_lib
[ 10%] Built target genmeta
Scanning dependencies of target catalog_lib
[ 10%] Building CXX object
src/system/catalog/CMakeFiles/catalog_lib.dir/SystemCatalog.cpp.o
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp: In
member function ‘void scidb::SystemCatalog::_invalidateTempArray(const
string&)’:
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp:158:13:
error:declaration’ is not a member of ‘pqxx::prepare’
pqxx::prepare::declaration decl = _connection->prepare(sql,sql)
^
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp:163:33:
error:treat_string’ was not declared in this scope
decl(“varchar”, treat_string);
^
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp:163:45:
error:decl’ was not declared in this scope
decl(“varchar”, treat_string);
^
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp: In
function ‘void scidb::fillArrayIdentifiers(pqxx::connection*,
pqxx::basic_transaction*, const string&, scidb::ArrayID,
scidb::ArrayUAID&, scidb::VersionID&)’:
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp:325:68:
error:treat_string’ was not declared in this scope
connection->prepare(“find-by-name2”, sql_u)(“varchar”,
treat_string);
^
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp:325:55:
error:void value not ignored as it ought to be
connection->prepare(“find-by-name2”, sql_u)(“varchar”,
treat_string);
^
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp: In
member function ‘void scidb::SystemCatalog::_addArray(const
scidb::NamespaceDesc&, const scidb::ArrayDesc&,
pqxx::basic_transaction*)’:
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp:470:24:
error:treat_direct’ was not declared in this scope
(“bigint”, treat_direct)
^
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp:469:40:
error:void value not ignored as it ought to be
_connection->prepare(sql1, sql1)
^
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp:471:25:
error:treat_string’ was not declared in this scope
(“varchar”, treat_string)
^
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp:482:40:
error:void value not ignored as it ought to be
_connection->prepare(sql2, sql2)
^
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp:522:40:
error:void value not ignored as it ought to be
_connection->prepare(sql3, sql3)
^
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp: In
member function ‘void
scidb::SystemCatalog::_getNamespaceIdFromArrayId(scidb::ArrayID,
scidb::NamespaceDesc::ID&, pqxx::basic_transaction*)’:
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp:1351:50:
error: ‘treat_direct’ was not declared in this scope
_connection->prepare(sql, sql)(“bigint”, treat_direct);
^
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp:1351:38:
error: void value not ignored as it ought to be
_connection->prepare(sql, sql)(“bigint”, treat_direct);
^
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp:1357:42:
error: void value not ignored as it ought to be
_connection->prepare(sql, sql)
^
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp: In
member function ‘scidb::ArrayID
scidb::SystemCatalog::_findArrayByName(const string&)’:
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp:1388:57:
error: ‘treat_string’ was not declared in this scope
_connection->prepare(sql1, sql1)(“varchar”, treat_string);
^
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp:1388:44:
error: void value not ignored as it ought to be
_connection->prepare(sql1, sql1)(“varchar”, treat_string);
^
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp: In
member function ‘void scidb::SystemCatalog::getArrayInfo(const
string&, scidb::ArrayID, scidb::ArrayID&, std::string&, int&, int&,
pqxx::basic_transaction*)’:
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp:1539:17:
error: ‘treat_string’ was not declared in this scope
(“varchar”, treat_string)
^
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp:1538:34:
error: void value not ignored as it ought to be
_connection->prepare(sql, sql)
^
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp:1540:16:
error: ‘treat_direct’ was not declared in this scope
(“bigint”, treat_direct);
^
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp: In
member function ‘void scidb::SystemCatalog::_getArrayDesc(const
string&, scidb::ArrayID, bool, scidb::ArrayDesc&,
pqxx::basic_transaction*)’:
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp:1580:49:
error: ‘treat_direct’ was not declared in this scope
_connection->prepare(sql2, sql2)(“integer”, treat_direct);
^
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp:1580:36:
error: void value not ignored as it ought to be
_connection->prepare(sql2, sql2)(“integer”, treat_direct);
^
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp:1648:36:
error: void value not ignored as it ought to be
_connection->prepare(sql3, sql3)(“integer”, treat_direct);
^
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp: In
member function ‘std::shared_ptrscidb::ArrayDesc
scidb::SystemCatalog::_getArrayDesc(scidb::ArrayID)’:
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp:1706:64:
error: ‘treat_direct’ was not declared in this scope
_connection->prepare(“find-by-id”, sql1)(“bigint”, treat_direct);
^
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp:1706:52:
error: void value not ignored as it ought to be
_connection->prepare(“find-by-id”, sql1)(“bigint”, treat_direct);
^
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp:1721:44:
error: void value not ignored as it ought to be
_connection->prepare(sql2, sql2)(“integer”, treat_direct);
^
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp:1780:44:
error: void value not ignored as it ought to be
_connection->prepare(sql3, sql3)(“integer”, treat_direct);
^
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp: In
member function ‘bool scidb::SystemCatalog::_deleteArrayByName(const
string&)’:
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp:1845:82:
error: ‘treat_string’ was not declared in this scope
_connection->prepare(“delete-array-name”,
deleteArraySql)(“varchar”, treat_string);

       ^

/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp:1845:69:
error: void value not ignored as it ought to be
_connection->prepare(“delete-array-name”,
deleteArraySql)(“varchar”, treat_string);
^
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp: In
member function ‘bool scidb::SystemCatalog::_deleteArrayVersions(const
string&, scidb::VersionID)’:
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp:1889:29:
error: ‘treat_string’ was not declared in this scope
(“varchar”, treat_string)(“integer”, treat_direct);
^
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp:1888:67:
error: void value not ignored as it ought to be
_connection->prepare(“delete-array-versions”, ss.str())
^
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp:1889:54:
error: ‘treat_direct’ was not declared in this scope
(“varchar”, treat_string)(“integer”, treat_direct);
^
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp: In
member function ‘void
scidb::SystemCatalog::_deleteArrayById(scidb::ArrayID)’:
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp:1935:70:
error: ‘treat_direct’ was not declared in this scope
_connection->prepare(“delete-array-id”, sql1)(“integer”,
treat_direct);
^
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp:1935:57:
error: void value not ignored as it ought to be
_connection->prepare(“delete-array-id”, sql1)(“integer”,
treat_direct);
^
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp: In
member function ‘scidb::VersionID
scidb::SystemCatalog::_createNewVersion(scidb::ArrayID,
scidb::ArrayID, pqxx::basic_transaction*)’:
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp:1962:20:
error: ‘treat_direct’ was not declared in this scope
(“bigint”, treat_direct);
^
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp:1961:38:
error: void value not ignored as it ought to be
_connection->prepare(sql, sql)
^
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp:1971:40:
error: void value not ignored as it ought to be
_connection->prepare(sql1, sql1)
^
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp: In
member function ‘void
scidb::SystemCatalog::_deleteVersion(scidb::ArrayID,
scidb::VersionID)’:
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp:2001:28:
error: ‘treat_direct’ was not declared in this scope
(“bigint”, treat_direct)
^
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp:2000:121:
error: void value not ignored as it ought to be
_connection->prepare(“delete-version”, “delete from
"array_version” where array_id=$1 and version_id = $2")

                                              ^

/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp: In
member function ‘scidb::VersionID
scidb::SystemCatalog::_getLastVersion(scidb::ArrayID,
scidb::ArrayID)’:
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp:2061:24:
error: ‘treat_direct’ was not declared in this scope
(“bigint”, treat_direct)
^
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp:2060:60:
error: void value not ignored as it ought to be
_connection->prepare(“select-last-version”, sql)
^
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp: In
member function ‘void
scidb::SystemCatalog::_getCurrentVersion(scidb::SystemCatalog::QueryLocks&)’:
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp:2135:55:
error: ‘treat_string’ was not declared in this scope
_connection->prepare(sql, sql)(“varchar”, treat_string);
^
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp:2135:42:
error: void value not ignored as it ought to be
_connection->prepare(sql, sql)(“varchar”, treat_string);
^
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp: In
member function ‘scidb::ArrayID
scidb::SystemCatalog::_getOldestArrayVersion(scidb::ArrayID)’:
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp:2204:28:
error: ‘treat_direct’ was not declared in this scope
(“bigint”, treat_direct);
^
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp:2203:62:
error: void value not ignored as it ought to be
_connection->prepare(“select-oldest-version”, sql)
^
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp: In
member function ‘scidb::VersionID
scidb::SystemCatalog::_lookupVersionByTimestamp(scidb::ArrayID,
uint64_t)’:
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp:2250:28:
error: ‘treat_direct’ was not declared in this scope
(“bigint”, treat_direct)
^
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp:2249:68:
error: void value not ignored as it ought to be
_connection->prepare(“select-version-by-timestamp”, sql)
^
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp: In
member function ‘std::vectorscidb::VersionDesc
scidb::SystemCatalog::_getArrayVersions(scidb::ArrayID)’:
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp:2290:28:
error: ‘treat_direct’ was not declared in this scope
(“bigint”, treat_direct);
^
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp:2289:60:
error: void value not ignored as it ought to be
_connection->prepare(“select-all-versions”, sql)
^
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp: In
member function ‘scidb::Coordinates
scidb::SystemCatalog::_getHighBoundary(scidb::ArrayID)’:
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp:2337:28:
error: ‘treat_direct’ was not declared in this scope
(“bigint”, treat_direct);
^
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp:2336:61:
error: void value not ignored as it ought to be
_connection->prepare(“select-high-boundary”, sql)
^
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp: In
member function ‘scidb::Coordinates
scidb::SystemCatalog::_getLowBoundary(scidb::ArrayID)’:
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp:2386:28:
error: ‘treat_direct’ was not declared in this scope
(“bigint”, treat_direct);
^
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp:2385:60:
error: void value not ignored as it ought to be
_connection->prepare(“select-low-boundary”, sql)
^
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp: In
member function ‘void
scidb::SystemCatalog::_updateArrayBoundaries(const scidb::ArrayDesc&,
const scidb::PhysicalBoundaries&)’:
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp:2440:28:
error: ‘treat_direct’ was not declared in this scope
(“bigint”, treat_direct)
^
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp:2439:61:
error: void value not ignored as it ought to be
_connection->prepare(“update-low-boundary”, sql1)
^
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp:2444:62:
error: void value not ignored as it ought to be
_connection->prepare(“update-high-boundary”, sql2)
^
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp: In
member function ‘scidb::InstanceID
scidb::SystemCatalog::_addInstance(const scidb::InstanceDesc&)’:
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp:2531:28:
error: ‘treat_direct’ was not declared in this scope
(“bigint”, treat_direct)
^
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp:2530:44:
error: void value not ignored as it ought to be
_connection->prepare(sql1, sql1)
^
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp:2532:29:
error: ‘treat_string’ was not declared in this scope
(“varchar”, treat_string)
^
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp: In
member function ‘void
scidb::SystemCatalog::_getClusterInstance(scidb::InstanceID,
scidb::InstanceDesc&)’:
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp:2630:54:
error: ‘treat_direct’ was not declared in this scope
_connection->prepare(sql, sql)(“bigint”, treat_direct);
^
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp:2630:42:
error: void value not ignored as it ought to be
_connection->prepare(sql, sql)(“bigint”, treat_direct);
^
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp: In
member function ‘void
scidb::SystemCatalog::_markInstanceOnline(scidb::InstanceID, const
string&, uint16_t)’:
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp:2682:29:
error: ‘treat_string’ was not declared in this scope
(“varchar”, treat_string)
^
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp:2681:42:
error: void value not ignored as it ought to be
_connection->prepare(sql, sql)
^
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp:2683:25:
error: ‘treat_direct’ was not declared in this scope
(“int”, treat_direct)
^
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp: In
member function ‘void
scidb::SystemCatalog::_markInstanceOffline(scidb::InstanceID)’:
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp:2724:28:
error: ‘treat_direct’ was not declared in this scope
(“bigint”, treat_direct);
^
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp:2723:42:
error: void value not ignored as it ought to be
_connection->prepare(sql, sql)
^
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp: In
member function ‘void scidb::SystemCatalog::_addLibrary(const
string&)’:
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp:3001:28:
error: ‘treat_direct’ was not declared in this scope
(“bigint”, treat_direct)
^
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp:3000:52:
error: void value not ignored as it ought to be
_connection->prepare(“addLibrary”, sql1)
^
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp:3002:29:
error: ‘treat_string’ was not declared in this scope
(“varchar”, treat_string);
^
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp: In
member function ‘void scidb::SystemCatalog::_removeLibrary(const
string&)’:
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp:3097:29:
error: ‘treat_string’ was not declared in this scope
(“varchar”, treat_string);
^
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp:3096:55:
error: void value not ignored as it ought to be
_connection->prepare(“removeLibrary”, sql1)
^
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp: In
member function ‘bool scidb::SystemCatalog::_lockArray(const
std::shared_ptrscidb::SystemCatalog::LockDesc&,
scidb::SystemCatalog::ErrorChecker&)’:
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp:3256:31:
error: ‘treat_string’ was not declared in this scope
(“varchar”, treat_string)
^
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp:3255:81:
error: void value not ignored as it ought to be
_connection->prepare(uniquePrefix+lockInsertSql,
lockInsertSql)

      ^

/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp:3257:30:
error: ‘treat_direct’ was not declared in this scope
(“bigint”, treat_direct)
^
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp:3287:31:
error: ‘treat_string’ was not declared in this scope
(“varchar”, treat_string)
^
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp:3286:81:
error: void value not ignored as it ought to be
_connection->prepare(uniquePrefix+lockInsertSql,
lockInsertSql)

      ^

/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp:3288:30:
error: ‘treat_direct’ was not declared in this scope
(“bigint”, treat_direct)
^
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp:3313:31:
error: ‘treat_string’ was not declared in this scope
(“varchar”, treat_string)
^
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp:3312:81:
error: void value not ignored as it ought to be
_connection->prepare(uniquePrefix+lockInsertSql,
lockInsertSql)

      ^

/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp:3314:30:
error: ‘treat_direct’ was not declared in this scope
(“bigint”, treat_direct)
^
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp:3333:68:
error: void value not ignored as it ought to be
_connection->prepare(lockReadSql, lockReadSql)
^
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp:3355:31:
error: ‘treat_string’ was not declared in this scope
(“varchar”, treat_string)
^
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp:3354:81:
error: void value not ignored as it ought to be
_connection->prepare(uniquePrefix+lockInsertSql,
lockInsertSql)

      ^

/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp:3356:30:
error: ‘treat_direct’ was not declared in this scope
(“bigint”, treat_direct)
^
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp:3379:31:
error: ‘treat_string’ was not declared in this scope
(“varchar”, treat_string)
^
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp:3378:81:
error: void value not ignored as it ought to be
_connection->prepare(uniquePrefix+lockInsertSql,
lockInsertSql)

      ^

/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp:3380:30:
error: ‘treat_direct’ was not declared in this scope
(“bigint”, treat_direct)
^
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp:3402:68:
error: void value not ignored as it ought to be
_connection->prepare(lockReadSql, lockReadSql)
^
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp:3430:27:
error: ‘treat_string’ was not declared in this scope
(“varchar”, treat_string)
^
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp:3429:77:
error: void value not ignored as it ought to be
_connection->prepare(uniquePrefix+lockInsertSql, lockInsertSql)
^
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp:3431:26:
error: ‘treat_direct’ was not declared in this scope
(“bigint”, treat_direct)
^
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp:3454:31:
error: ‘treat_string’ was not declared in this scope
(“varchar”, treat_string)
^
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp:3453:81:
error: void value not ignored as it ought to be
_connection->prepare(uniquePrefix+lockInsertSql,
lockInsertSql)

      ^

/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp:3455:30:
error: ‘treat_direct’ was not declared in this scope
(“bigint”, treat_direct)
^
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp:3478:31:
error: ‘treat_string’ was not declared in this scope
(“varchar”, treat_string)
^
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp:3477:81:
error: void value not ignored as it ought to be
_connection->prepare(uniquePrefix+lockInsertSql,
lockInsertSql)

      ^

/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp:3479:30:
error: ‘treat_direct’ was not declared in this scope
(“bigint”, treat_direct)
^
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp: In
member function ‘bool scidb::SystemCatalog::_unlockArray(const
std::shared_ptrscidb::SystemCatalog::LockDesc&)’:
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp:3578:22:
error: ‘treat_string’ was not declared in this scope
(“varchar”, treat_string)
^
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp:3577:59:
error: void value not ignored as it ought to be
_connection->prepare(lockDeleteSql, lockDeleteSql)
^
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp:3579:21:
error: ‘treat_direct’ was not declared in this scope
(“bigint”, treat_direct)
^
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp: In
member function ‘bool scidb::SystemCatalog::_updateArrayLock(const
std::shared_ptrscidb::SystemCatalog::LockDesc&)’:
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp:3634:22:
error: ‘treat_string’ was not declared in this scope
(“varchar”, treat_string)
^
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp:3633:59:
error: void value not ignored as it ought to be
_connection->prepare(lockUpdateSql, lockUpdateSql)
^
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp:3635:21:
error: ‘treat_direct’ was not declared in this scope
(“bigint”, treat_direct)
^
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp: In
member function ‘void
scidb::SystemCatalog::_readArrayLocks(scidb::InstanceID,
std::list<std::shared_ptrscidb::SystemCatalog::LockDesc >&,
std::list<std::shared_ptrscidb::SystemCatalog::LockDesc >&)’:
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp:3697:48:
error: ‘treat_direct’ was not declared in this scope
_connection->prepare(sql, sql)(“bigint”, treat_direct);
^
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp:3697:36:
error: void value not ignored as it ought to be
_connection->prepare(sql, sql)(“bigint”, treat_direct);
^
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp: In
member function ‘uint32_t
scidb::SystemCatalog::_deleteArrayLocks(scidb::InstanceID,
scidb::QueryID, scidb::SystemCatalog::LockDesc::InstanceRole)’:
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp:3791:7:
error:declaration’ is not a member of ‘pqxx::prepare’
pqxx::prepare::declaration decl =
_connection->prepare(lockDeleteSql, lockDeleteSql)
^
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp:3795:26:
error: ‘treat_direct’ was not declared in this scope
decl(“bigint”, treat_direct);
^
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp:3795:38:
error: ‘decl’ was not declared in this scope
decl(“bigint”, treat_direct);
^
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp:3798:27:
error: ‘treat_direct’ was not declared in this scope
decl(“integer”, treat_direct);
^
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp:3798:39:
error: ‘decl’ was not declared in this scope
decl(“integer”, treat_direct);
^
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp: In
member function ‘std::shared_ptrscidb::SystemCatalog::LockDesc
scidb::SystemCatalog::_checkForCoordinatorLock(const string&,
scidb::QueryID)’:
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp:3861:19:
error: ‘treat_string’ was not declared in this scope
(“varchar”, treat_string)
^
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp:3860:36:
error: void value not ignored as it ought to be
_connection->prepare(sql, sql)
^
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp:3862:18:
error: ‘treat_direct’ was not declared in this scope
(“bigint”, treat_direct)
^
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp: In
member function ‘void scidb::SystemCatalog::_renameArray(const
string&, const string&)’:
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp:3921:61:
error: ‘treat_string’ was not declared in this scope
_connection->prepare(renameSql, renameSql)(“varchar”,
treat_string)(“varchar”, treat_string);
^
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp:3921:48:
error: void value not ignored as it ought to be
_connection->prepare(renameSql, renameSql)(“varchar”,
treat_string)(“varchar”, treat_string);
^
In file included from
/usr/local/boost-1.54/include/boost/filesystem/path_traits.hpp:23:0,
from
/usr/local/boost-1.54/include/boost/filesystem/path.hpp:25,
from /usr/local/boost-1.54/include/boost/filesystem.hpp:16,
from /root/scidb-15.7.0.9267/include/system/Utils.h:36,
from /root/scidb-15.7.0.9267/include/system/Config.h:45,
from /root/scidb-15.7.0.9267/include/query/Operator.h:58,
from /root/scidb-15.7.0.9267/src/query/QueryPlan.h:37,
from /root/scidb-15.7.0.9267/src/query/Serialize.h:28,
from
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp:56:
/usr/local/boost-1.54/include/boost/system/error_code.hpp: At global scope:
/usr/local/boost-1.54/include/boost/system/error_code.hpp:222:36:
warning: boost::system::posix_category’ defined but not used
[-Wunused-variable]
static const error_category & posix_category = generic_category();
^
/usr/local/boost-1.54/include/boost/system/error_code.hpp:223:36:
warning: boost::system::errno_ecat’ defined but not used
[-Wunused-variable]
static const error_category & errno_ecat = generic_category();
^
/usr/local/boost-1.54/include/boost/system/error_code.hpp:224:36:
warning: boost::system::native_ecat’ defined but not used
[-Wunused-variable]
static const error_category & native_ecat = system_category();


#2

I run into same problemo - any ideas?
-Don

: scidb@air scidbtrunk; ./run.py setup
run.py: WARNING: Deleting old CMakeCache file:/net/air/sc/1/scidb/scidbtrunk/stage/build/CMakeCache.txt
WARNING: about to delete all contents of /net/air/sc/1/scidb/scidbtrunk/stage/build/* [y]|n: y
– ****************** BEGIN CMakeLists.txt ******************
– The C compiler identification is GNU 4.9.2
– The CXX compiler identification is GNU 4.9.2
– The Fortran compiler identification is GNU
– Check for working C compiler: /opt/rh/devtoolset-3/root/usr/bin/gcc
– Check for working C compiler: /opt/rh/devtoolset-3/root/usr/bin/gcc – works
– Detecting C compiler ABI info
– Detecting C compiler ABI info - done
– Check for working CXX compiler: /opt/rh/devtoolset-3/root/usr/bin/g++
– Check for working CXX compiler: /opt/rh/devtoolset-3/root/usr/bin/g++ – works
– Detecting CXX compiler ABI info
– Detecting CXX compiler ABI info - done
– Check for working Fortran compiler: /opt/rh/devtoolset-3/root/usr/bin/gfortran
– Check for working Fortran compiler: /opt/rh/devtoolset-3/root/usr/bin/gfortran – works
– Detecting Fortran compiler ABI info
– Detecting Fortran compiler ABI info - done
– Checking whether /opt/rh/devtoolset-3/root/usr/bin/gfortran supports Fortran 90
– Checking whether /opt/rh/devtoolset-3/root/usr/bin/gfortran supports Fortran 90 – yes
– CMAKE_INSTALL_PREFIX not Initialized to default keeping: /net/air/sc/1/scidb/scidbtrunk/stage/install
– Found Subversion: /bin/svn (found version “1.7.14”)
– Found Git: /bin/git (found version “1.8.3.1”)
– Reading revision from file: 9267
– Build type (use -DCMAKE_BUILD_TYPE=[RelWithDebInfo]/Debug/Release/Profile/CC/Valgrind): RelWithDebInfo
– DISTRO_NAME_VER is CentOS-
– Found PkgConfig: /bin/pkg-config (found version “0.27.1”)
– Found LibRT: /usr/lib64/librt.so
– Boost version: 1.54.0
– Found the following Boost libraries:
– system
– program_options
– serialization
– regex
– filesystem
– thread
– date_time
– Found Protobuf: /usr/include/google/protobuf
– GPB - /usr/lib64/libprotobuf.so
– Found Log4CXX: /usr/lib64/liblog4cxx.so
– LOG4CXX - /usr/lib64/liblog4cxx.so
– Found Doxygen: /bin/doxygen (found version “1.8.5”)
– Found LibPQXX: /usr/lib
– Found LibPQ: /usr/pgsql-9.3/bin/pg_config
– Found LibPQ: /usr/pgsql-9.3/lib
– checking for module ‘cppunit’
– found cppunit, version 1.12.1
– Found FLEX: /bin/flex
– Found BISON: /bin/bison
– Found SED: /bin/sed
– Found ZLIB: /usr/lib64/libz.so (found version “1.2.7”)
– Found BZip2: /usr/lib64/libbz2.so (found version “1.0.6”)
– Looking for BZ2_bzCompressInit in /usr/lib64/libbz2.so
– Looking for BZ2_bzCompressInit in /usr/lib64/libbz2.so - found
– Found LibReadline: /usr/lib64/libreadline.so
– Looking for include file pthread.h
– Looking for include file pthread.h - found
– Looking for pthread_create
– Looking for pthread_create - not found
– Looking for pthread_create in pthreads
– Looking for pthread_create in pthreads - not found
– Looking for pthread_create in pthread
– Looking for pthread_create in pthread - found
– Found Threads: TRUE
– Found PythonInterp: /bin/python (found version “2.7.5”)
– Looking for Fortran sgemm
– Looking for Fortran sgemm - found
– A library with BLAS API found.
– A library with BLAS API found.
– Looking for Fortran cheev
– Looking for Fortran cheev - found
– A library with LAPACK API found.
– Found XSLTPROC: /bin/xsltproc
– Could NOT find FOP (missing: FOP_EXECUTABLE)
– Could NOT find docbook.xsl (missing: DOCBOOK_XSL_FILE)
– Looking for malloc_stats
– Looking for malloc_stats - found
– ****************** BEGIN src/CMakeLists.txt ******************
– Found OpenSSL: /usr/lib64/libssl.so;/usr/lib64/libcrypto.so (found version “1.0.1e”)
– Configuring /net/air/sc/1/scidb/scidbtrunk/src/system/Constants.cpp.in as /net/air/sc/1/scidb/scidbtrunk/stage/build/src/system/Constants.cpp
– Configuring /net/air/sc/1/scidb/scidbtrunk/src/system/System.h.in as /net/air/sc/1/scidb/scidbtrunk/stage/build/src/system/System.h
– Configuring /net/air/sc/1/scidb/scidbtrunk/src/util/scidb-sample.conf.in as /net/air/sc/1/scidb/scidbtrunk/stage/build/bin/packaging_only/scidb-sample.conf
– **BEGIN util/dmalloc/CMakeLists.txt --------------------------------
– Debug: CMAKE_C_FLAGS is -pedantic -W -Wextra -Wall -Wno-unused-local-typedefs -Wno-long-long -Wno-unused-parameter -fPIC -D__STDC_FORMAT_MACROS
– Debug: CMAKE_CXX_FLAGS is -std=c++14 -pedantic -W -Wextra -Wall -Wno-unused-local-typedefs -Wno-strict-aliasing -Wno-long-long -Wno-unused-parameter -Wno-variadic-macros -fPIC -D__STDC_FORMAT_MACROS -Wno-system-headers -isystem /opt/local/include/ -isystem /usr/local/include/ -D__STDC_LIMIT_MACROS -DPROJECT_ROOT="/net/air/sc/1/scidb/scidbtrunk/"
– Debug: GENERAL_OUTPUT_DIRECTORY is /net/air/sc/1/scidb/scidbtrunk/stage/build/bin
– **END util/dmalloc/CMakeLists.txt --------------------------------
– ****************** BEGIN src/mpi/CMakeLists.txt ******************
– WARNING-- using locally installed MPICH2
– Local MPICH2 path: UNDEFINED_FOR_THIS_PLATFORM
– WARNING-- using locally installed ScaLAPACK for MPICH2
– Debug: To refresh/rebuild the local copy of scalapack, remove /net/air/sc/1/scidb/scidbtrunk/stage/build/src/mpi/local_scalapack/container.
– ****************** BEGIN mpi/local_scalapack/CMakeLists.txt ******************
– DEBUG BLAS_FOUND=TRUE LAPACK_FOUND=TRUE MPICH_FOUND=
– Debug: SCALAPACK_LIBRARIES is /net/air/sc/1/scidb/scidbtrunk/stage/build/src/mpi/local_scalapack/container/src/scalapackForMPICH2-build/install/lib/libscalapack.a
– Debug: SCALAPACK_INC_DIR is /net/air/sc/1/scidb/scidbtrunk/stage/build/src/mpi/local_scalapack/container/src/scalapackForMPICH2-build/install/lib/include
CMake Warning at src/mpi/CMakeLists.txt:107 (message):
MPI not present. ScaLAPACK-based functionality will NOT be built

CMake Warning at src/mpi/CMakeLists.txt:108 (message):
Debug: MPI_C_FOUND is , MPI_CXX_FOUND is , MPI_Fortran_FOUND is

CMake Warning at src/mpi/CMakeLists.txt:109 (message):
Ubuntu Hint: $ sudo apt-get install libopenmpi-dev

– Debug: FINAL PACKAGE SETTINGS src/mpi ================================>
– Debug: SCALAPACK_LIBRARIES is /net/air/sc/1/scidb/scidbtrunk/stage/build/src/mpi/local_scalapack/container/src/scalapackForMPICH2-build/install/lib/libscalapack.a
– Debug: LAPACK_LIBRARIES is /usr/lib64/liblapack.so;/usr/lib64/libblas.so
– Debug: BLAS_LIBRARIES is /usr/lib64/libblas.so
– Debug: MPI_LIBRARIES is
– Debug: MPI_INCLUDE is
– Debug: MPI_Fortran_COMPILER is
– Debug: CMAKE_C_FLAGS is -pedantic -W -Wextra -Wall -Wno-unused-local-typedefs -Wno-long-long -Wno-unused-parameter -fPIC -D__STDC_FORMAT_MACROS
– Debug: CMAKE_CXX_FLAGS is -std=c++14 -pedantic -W -Wextra -Wall -Wno-unused-local-typedefs -Wno-strict-aliasing -Wno-long-long -Wno-unused-parameter -Wno-variadic-macros -fPIC -D__STDC_FORMAT_MACROS -Wno-system-headers -isystem /opt/local/include/ -isystem /usr/local/include/ -D__STDC_LIMIT_MACROS -DPROJECT_ROOT="/net/air/sc/1/scidb/scidbtrunk/" -DOMPI_IGNORE_CXX_SEEK
– Debug: CMAKE_Fortran_FLAGS is -fno-f2c -Wline-truncation -I/opt/scidb/15.7/3rdparty/boost/include/boost
– Debug: CMAKE_Fortran_COMPLIER is /opt/rh/devtoolset-3/root/usr/bin/gfortran
– Debug: CMAKE_CXX_COMPILER is /opt/rh/devtoolset-3/root/usr/bin/g++
– Debug: FINAL PACKAGE SETTINGS <================================
CMake Warning at src/mpi/CMakeLists.txt:171 (message):
Can’t build MPI/ScaLAPACK functionality

CMake Warning at src/mpi/CMakeLists.txt:172 (message):
because one of the following is missing:

CMake Warning at src/mpi/CMakeLists.txt:173 (message):
BLAS_FOUND is TRUE

CMake Warning at src/mpi/CMakeLists.txt:174 (message):
LAPACK_FOUND is TRUE

CMake Warning at src/mpi/CMakeLists.txt:175 (message):
SCALAPACK_FOUND is 1

CMake Warning at src/mpi/CMakeLists.txt:176 (message):
MPI_CXX_FOUND is

CMake Warning at src/mpi/CMakeLists.txt:177 (message):
MPI_Fortran_FOUND is

CMake Warning at src/mpi/CMakeLists.txt:178 (message):

CMake Warning at src/mpi/CMakeLists.txt:184 (message):
Can’t build ScaLAPACK extensions

CMake Warning at src/mpi/CMakeLists.txt:185 (message):
without ScaLAPACK, MPI, LAPACK, and BLAS

CMake Warning at src/mpi/CMakeLists.txt:186 (message):
This is only a warning, SciDB will build but without

CMake Warning at src/mpi/CMakeLists.txt:187 (message):
the libdense_linear_algebra.so plugin.

CMake Warning at src/mpi/CMakeLists.txt:188 (message):
If that is not desired, please make sure the following are correctly
resolved:

CMake Warning at src/mpi/CMakeLists.txt:189 (message):

CMake Warning at src/mpi/CMakeLists.txt:190 (message):
Debug: MPI_Fortran_COMPLIER is

CMake Warning at src/mpi/CMakeLists.txt:191 (message):
Debug: CMAKE_Fortran_COMPLIER is /opt/rh/devtoolset-3/root/usr/bin/gfortran

CMake Warning at src/mpi/CMakeLists.txt:192 (message):
Debug: CMAKE_CXX_COMPILER is /opt/rh/devtoolset-3/root/usr/bin/g++

CMake Warning at src/mpi/CMakeLists.txt:193 (message):
Debug: SCALAPACK_FOUND is 1

CMake Warning at src/mpi/CMakeLists.txt:194 (message):
Debug: LAPACK_FOUND is TRUE

CMake Warning at src/mpi/CMakeLists.txt:195 (message):
Debug: BLAS_FOUND is TRUE

CMake Warning at src/mpi/CMakeLists.txt:196 (message):
Debug: MPI_CXX_FOUND is

CMake Warning at src/mpi/CMakeLists.txt:197 (message):
Debug: MPI_Fortran_FOUND is

CMake Warning at src/mpi/CMakeLists.txt:198 (message):

– ****************** END src/mpi/CMakeLists.txt ******************
– *****BEGIN dense_linear_algebra/CMakeLists.txt ***********************
– Could NOT find MPI_C (missing: MPI_C_LIBRARIES MPI_C_INCLUDE_PATH)
– Could NOT find MPI_CXX (missing: MPI_CXX_LIBRARIES MPI_CXX_INCLUDE_PATH)
– Could NOT find MPI_Fortran (missing: MPI_Fortran_LIBRARIES MPI_Fortran_INCLUDE_PATH)
– MPI_Fortran_COMPILER=MPI_Fortran_COMPILER-NOTFOUND
– Debug: BLAS_LIBRARIES is /usr/lib64/libblas.so
– Debug: LAPACK_LIBRARIES is /usr/lib64/liblapack.so;/usr/lib64/libblas.so
– Debug: SCALAPACK_LIBRARIES is
– Debug: MPI_LIBRARIES is
– Debug: CMAKE_C_FLAGS is -pedantic -W -Wextra -Wall -Wno-unused-local-typedefs -Wno-long-long -Wno-unused-parameter -fPIC -D__STDC_FORMAT_MACROS
– Debug: CMAKE_CXX_FLAGS is -std=c++14 -pedantic -W -Wextra -Wall -Wno-unused-local-typedefs -Wno-strict-aliasing -Wno-long-long -Wno-unused-parameter -Wno-variadic-macros -fPIC -D__STDC_FORMAT_MACROS -Wno-system-headers -isystem /opt/local/include/ -isystem /usr/local/include/ -D__STDC_LIMIT_MACROS -DPROJECT_ROOT="/net/air/sc/1/scidb/scidbtrunk/"
– Debug: CMAKE_Fortran_FLAGS is -fno-f2c -Wline-truncation -I/opt/scidb/15.7/3rdparty/boost/include/boost
CMake Warning at src/dense_linear_algebra/CMakeLists.txt:179 (message):
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

CMake Warning at src/dense_linear_algebra/CMakeLists.txt:180 (message):
Can’t build ScaLAPACK extensions

CMake Warning at src/dense_linear_algebra/CMakeLists.txt:181 (message):
without ScaLAPACK, Open MPI, LAPACK, or a BLAS

CMake Warning at src/dense_linear_algebra/CMakeLists.txt:182 (message):
or without MPI_CXX

CMake Warning at src/dense_linear_algebra/CMakeLists.txt:183 (message):
or without MPI_Fortran interfaces.

CMake Warning at src/dense_linear_algebra/CMakeLists.txt:184 (message):
This is only a warning AND is not a problem unless

CMake Warning at src/dense_linear_algebra/CMakeLists.txt:185 (message):
you want the libdense_linear_algebra.so plugin to be built.

CMake Warning at src/dense_linear_algebra/CMakeLists.txt:186 (message):

CMake Warning at src/dense_linear_algebra/CMakeLists.txt:187 (message):
If you intended to built it, the following will help you debug what is
missing.

CMake Warning at src/dense_linear_algebra/CMakeLists.txt:188 (message):

CMake Warning at src/dense_linear_algebra/CMakeLists.txt:189 (message):
Debug: MPI_Fortran_COMPLIER is MPI_Fortran_COMPILER-NOTFOUND

CMake Warning at src/dense_linear_algebra/CMakeLists.txt:190 (message):
Debug: CMAKE_Fortran_COMPLIER is /opt/rh/devtoolset-3/root/usr/bin/gfortran

CMake Warning at src/dense_linear_algebra/CMakeLists.txt:191 (message):
Debug: CMAKE_CXX_COMPILER is /opt/rh/devtoolset-3/root/usr/bin/g++

CMake Warning at src/dense_linear_algebra/CMakeLists.txt:192 (message):
Debug: SCALAPACK_FOUND is

CMake Warning at src/dense_linear_algebra/CMakeLists.txt:193 (message):
Debug: LAPACK_FOUND is TRUE

CMake Warning at src/dense_linear_algebra/CMakeLists.txt:194 (message):
Debug: BLAS_FOUND is TRUE

CMake Warning at src/dense_linear_algebra/CMakeLists.txt:195 (message):
Debug: MPI_CXX_FOUND is FALSE

CMake Warning at src/dense_linear_algebra/CMakeLists.txt:196 (message):
Debug: MPI_Fortran_FOUND is FALSE

CMake Warning at src/dense_linear_algebra/CMakeLists.txt:197 (message):

– **END linear_algebra/CMakeLists.txt ***********************
BEGIN linear_algebra/CMakeLists.txt --------------------------------
– Debug: CMAKE_C_FLAGS is -pedantic -W -Wextra -Wall -Wno-unused-local-typedefs -Wno-long-long -Wno-unused-parameter -fPIC -D__STDC_FORMAT_MACROS
– Debug: CMAKE_CXX_FLAGS is -std=c++14 -pedantic -W -Wextra -Wall -Wno-unused-local-typedefs -Wno-strict-aliasing -Wno-long-long -Wno-unused-parameter -Wno-variadic-macros -fPIC -D__STDC_FORMAT_MACROS -Wno-system-headers -isystem /opt/local/include/ -isystem /usr/local/include/ -D__STDC_LIMIT_MACROS -DPROJECT_ROOT="/net/air/sc/1/scidb/scidbtrunk/"
END linear_algebra/CMakeLists.txt --------------------------------
– Found Java: /usr/lib/jvm/java-1.8.0-openjdk/bin/java
– ****************** END src/CMakeLists.txt ******************
– copying /net/air/sc/1/scidb/scidbtrunk/cdash to /net/air/sc/1/scidb/scidbtrunk/stage/build/cdash
– copying /net/air/sc/1/scidb/scidbtrunk/tests to /net/air/sc/1/scidb/scidbtrunk/stage/build/tests
– copying /net/air/sc/1/scidb/scidbtrunk/tests/harness/testcases/t to /net/air/sc/1/scidb/scidbtrunk/stage/build/tests/harness/testcases/t
– ****************** END CMakeLists.txt ******************
– Configuring done
– Generating done
– Build files have been written to: /net/air/sc/1/scidb/scidbtrunk/stage/build
: scidb@air scidbtrunk; ./run.py make
Scanning dependencies of target json_lib
[ 1%] Building CXX object extern/lib_json/CMakeFiles/json_lib.dir/json_reader.cpp.o
[ 1%] Building CXX object extern/lib_json/CMakeFiles/json_lib.dir/json_writer.cpp.o
[ 1%] Building CXX object extern/lib_json/CMakeFiles/json_lib.dir/json_value.cpp.o
Linking CXX static library libjson_lib.a
[ 1%] Built target json_lib
Scanning dependencies of target MurmurHash_lib
[ 1%] Building CXX object extern/MurmurHash/CMakeFiles/MurmurHash_lib.dir/MurmurHash3.cpp.o
Linking CXX static library libMurmurHash_lib.a
[ 1%] Built target MurmurHash_lib
Scanning dependencies of target util_lib
[ 1%] Building CXX object src/util/CMakeFiles/util_lib.dir/arena/Arena.cpp.o
[ 2%] Building CXX object src/util/CMakeFiles/util_lib.dir/arena/ArenaCheckpoint.cpp.o
[ 2%] Building CXX object src/util/CMakeFiles/util_lib.dir/arena/ArenaDetails.cpp.o
[ 2%] Building CXX object src/util/CMakeFiles/util_lib.dir/arena/ArenaHeader.cpp.o
[ 2%] Building CXX object src/util/CMakeFiles/util_lib.dir/arena/ArenaMonitor.cpp.o
[ 3%] Building CXX object src/util/CMakeFiles/util_lib.dir/arena/ArenaOptions.cpp.o
[ 3%] Building CXX object src/util/CMakeFiles/util_lib.dir/arena/RootArena.cpp.o
[ 3%] Building CXX object src/util/CMakeFiles/util_lib.dir/arena/LimitedArena.cpp.o
[ 3%] Building CXX object src/util/CMakeFiles/util_lib.dir/arena/ScopedArena.cpp.o
[ 4%] Building CXX object src/util/CMakeFiles/util_lib.dir/arena/LeaArena.cpp.o
[ 4%] Building CXX object src/util/CMakeFiles/util_lib.dir/arena/DebugArena.cpp.o
[ 4%] Building CXX object src/util/CMakeFiles/util_lib.dir/arena/ThreadedArena.cpp.o
[ 4%] Building CXX object src/util/CMakeFiles/util_lib.dir/isnumber.cpp.o
[ 4%] Building CXX object src/util/CMakeFiles/util_lib.dir/CsvParser.cpp.o
[ 5%] Building CXX object src/util/CMakeFiles/util_lib.dir/TsvParser.cpp.o
[ 5%] Building CXX object src/util/CMakeFiles/util_lib.dir/Job.cpp.o
[ 5%] Building CXX object src/util/CMakeFiles/util_lib.dir/JobQueue.cpp.o
[ 5%] Building CXX object src/util/CMakeFiles/util_lib.dir/Semaphore.cpp.o
[ 6%] Building CXX object src/util/CMakeFiles/util_lib.dir/Thread.cpp.o
[ 6%] Building CXX object src/util/CMakeFiles/util_lib.dir/ThreadPool.cpp.o
[ 6%] Building CXX object src/util/CMakeFiles/util_lib.dir/PluginManager.cpp.o
[ 6%] Building CXX object src/util/CMakeFiles/util_lib.dir/FileIO.cpp.o
[ 7%] Building CXX object src/util/CMakeFiles/util_lib.dir/PluginObjects.cpp.o
[ 7%] Building CXX object src/util/CMakeFiles/util_lib.dir/require.cpp.o
[ 7%] Building CXX object src/util/CMakeFiles/util_lib.dir/InjectedError.cpp.o
[ 7%] Building CXX object src/util/CMakeFiles/util_lib.dir/BufferedFileInput.cpp.o
[ 7%] Building CXX object src/util/CMakeFiles/util_lib.dir/shm/SharedMemoryIpc.cpp.o
[ 8%] Building CXX object src/util/CMakeFiles/util_lib.dir/MultiConstIterators.cpp.o
[ 8%] Building CXX object src/util/CMakeFiles/util_lib.dir/WorkQueue.cpp.o
[ 8%] Building CXX object src/util/CMakeFiles/util_lib.dir/DataStore.cpp.o
[ 8%] Building CXX object src/util/CMakeFiles/util_lib.dir/SpatialType.cpp.o
[ 9%] Building CXX object src/util/CMakeFiles/util_lib.dir/CoordinatesMapper.cpp.o
[ 9%] Building CXX object src/util/CMakeFiles/util_lib.dir/Counter.cpp.o
[ 9%] Building CXX object src/util/CMakeFiles/util_lib.dir/Utility.cpp.o
[ 9%] Building CXX object src/util/CMakeFiles/util_lib.dir/Session.cpp.o
[ 10%] Building CXX object src/util/CMakeFiles/util_lib.dir/ConfigUser.cpp.o
Linking CXX static library libutil_lib.a
[ 10%] Built target util_lib
[ 11%] Running protocol buffer compiler on /net/air/sc/1/scidb/scidbtrunk/src/network/proto/scidb_msg.proto
Scanning dependencies of target scidb_msg_lib
[ 11%] Building CXX object src/network/proto/CMakeFiles/scidb_msg_lib.dir/scidb_msg.pb.cc.o
Linking CXX static library libscidb_msg_lib.a
[ 11%] Built target scidb_msg_lib
Scanning dependencies of target genmeta
[ 11%] Generating CatalogMetadata.h
[ 11%] Built target genmeta
Scanning dependencies of target catalog_lib
[ 12%] Building CXX object src/system/catalog/CMakeFiles/catalog_lib.dir/SystemCatalog.cpp.o
/net/air/sc/1/scidb/scidbtrunk/src/system/catalog/SystemCatalog.cpp: In member function ‘void scidb::SystemCatalog::_invalidateTempArray(const string&)’:
/net/air/sc/1/scidb/scidbtrunk/src/system/catalog/SystemCatalog.cpp:158:13: error: ‘declaration’ is not a member of ‘pqxx::prepare’
pqxx::prepare::declaration decl = _connection->prepare(sql,sql)
^
/net/air/sc/1/scidb/scidbtrunk/src/system/catalog/SystemCatalog.cpp:163:33: error: ‘treat_string’ was not declared in this scope
decl(“varchar”, treat_string);
^
/net/air/sc/1/scidb/scidbtrunk/src/system/catalog/SystemCatalog.cpp:163:45: error: ‘decl’ was not declared in this scope
decl(“varchar”, treat_string);
^
/net/air/sc/1/scidb/scidbtrunk/src/system/catalog/SystemCatalog.cpp: In function ‘void scidb::fillArrayIdentifiers(pqxx::connection
, pqxx::basic_transaction
, const string&, scidb::ArrayID, scidb::ArrayUAID&, scidb::VersionID&)’:
/net/air/sc/1/scidb/scidbtrunk/src/system/catalog/SystemCatalog.cpp:325:68: error: ‘treat_string’ was not declared in this scope
connection->prepare(“find-by-name2”, sql_u)(“varchar”, treat_string);
^
/net/air/sc/1/scidb/scidbtrunk/src/system/catalog/SystemCatalog.cpp:325:55: error: void value not ignored as it ought to be
connection->prepare(“find-by-name2”, sql_u)(“varchar”, treat_string);
^
/net/air/sc/1/scidb/scidbtrunk/src/system/catalog/SystemCatalog.cpp: In member function ‘void scidb::SystemCatalog::_addArray(const scidb::NamespaceDesc&, const scidb::ArrayDesc&, pqxx::basic_transaction
)’:
/net/air/sc/1/scidb/scidbtrunk/src/system/catalog/SystemCatalog.cpp:470:24: error: ‘treat_direct’ was not declared in this scope
(“bigint”, treat_direct)
^
/net/air/sc/1/scidb/scidbtrunk/src/system/catalog/SystemCatalog.cpp:469:40: error: void value not ignored as it ought to be
_connection->prepare(sql1, sql1)
^
/net/air/sc/1/scidb/scidbtrunk/src/system/catalog/SystemCatalog.cpp:471:25: error: ‘treat_string’ was not declared in this scope
(“varchar”, treat_string)
^
/net/air/sc/1/scidb/scidbtrunk/src/system/catalog/SystemCatalog.cpp:482:40: error: void value not ignored as it ought to be
_connection->prepare(sql2, sql2)
^
/net/air/sc/1/scidb/scidbtrunk/src/system/catalog/SystemCatalog.cpp:522:40: error: void value not ignored as it ought to be
_connection->prepare(sql3, sql3)
^
/net/air/sc/1/scidb/scidbtrunk/src/system/catalog/SystemCatalog.cpp: In member function ‘void scidb::SystemCatalog::_getNamespaceIdFromArrayId(scidb::ArrayID, scidb::NamespaceDesc::ID&, pqxx::basic_transaction
)’:
/net/air/sc/1/scidb/scidbtrunk/src/system/catalog/SystemCatalog.cpp:1351:50: error: ‘treat_direct’ was not declared in this scope
_connection->prepare(sql, sql)(“bigint”, treat_direct);
^
/net/air/sc/1/scidb/scidbtrunk/src/system/catalog/SystemCatalog.cpp:1351:38: error: void value not ignored as it ought to be
_connection->prepare(sql, sql)(“bigint”, treat_direct);
^
/net/air/sc/1/scidb/scidbtrunk/src/system/catalog/SystemCatalog.cpp:1357:42: error: void value not ignored as it ought to be
_connection->prepare(sql, sql)
^
/net/air/sc/1/scidb/scidbtrunk/src/system/catalog/SystemCatalog.cpp: In member function ‘scidb::ArrayID scidb::SystemCatalog::_findArrayByName(const string&)’:
/net/air/sc/1/scidb/scidbtrunk/src/system/catalog/SystemCatalog.cpp:1388:57: error: ‘treat_string’ was not declared in this scope
_connection->prepare(sql1, sql1)(“varchar”, treat_string);
^
/net/air/sc/1/scidb/scidbtrunk/src/system/catalog/SystemCatalog.cpp:1388:44: error: void value not ignored as it ought to be
_connection->prepare(sql1, sql1)(“varchar”, treat_string);
^
/net/air/sc/1/scidb/scidbtrunk/src/system/catalog/SystemCatalog.cpp: In member function ‘void scidb::SystemCatalog::getArrayInfo(const string&, scidb::ArrayID, scidb::ArrayID&, std::string&, int&, int&, pqxx::basic_transaction
)’:
/net/air/sc/1/scidb/scidbtrunk/src/system/catalog/SystemCatalog.cpp:1539:17: error: ‘treat_string’ was not declared in this scope
(“varchar”, treat_string)
^
/net/air/sc/1/scidb/scidbtrunk/src/system/catalog/SystemCatalog.cpp:1538:34: error: void value not ignored as it ought to be
_connection->prepare(sql, sql)
^
/net/air/sc/1/scidb/scidbtrunk/src/system/catalog/SystemCatalog.cpp:1540:16: error: ‘treat_direct’ was not declared in this scope
(“bigint”, treat_direct);
^
/net/air/sc/1/scidb/scidbtrunk/src/system/catalog/SystemCatalog.cpp: In member function ‘void scidb::SystemCatalog::_getArrayDesc(const string&, scidb::ArrayID, bool, scidb::ArrayDesc&, pqxx::basic_transaction
)’:
/net/air/sc/1/scidb/scidbtrunk/src/system/catalog/SystemCatalog.cpp:1580:49: error: ‘treat_direct’ was not declared in this scope
_connection->prepare(sql2, sql2)(“integer”, treat_direct);
^
/net/air/sc/1/scidb/scidbtrunk/src/system/catalog/SystemCatalog.cpp:1580:36: error: void value not ignored as it ought to be
_connection->prepare(sql2, sql2)(“integer”, treat_direct);
^
/net/air/sc/1/scidb/scidbtrunk/src/system/catalog/SystemCatalog.cpp:1648:36: error: void value not ignored as it ought to be
_connection->prepare(sql3, sql3)(“integer”, treat_direct);
^
/net/air/sc/1/scidb/scidbtrunk/src/system/catalog/SystemCatalog.cpp: In member function ‘std::shared_ptrscidb::ArrayDesc scidb::SystemCatalog::_getArrayDesc(scidb::ArrayID)’:
/net/air/sc/1/scidb/scidbtrunk/src/system/catalog/SystemCatalog.cpp:1706:64: error: ‘treat_direct’ was not declared in this scope
_connection->prepare(“find-by-id”, sql1)(“bigint”, treat_direct);
^
/net/air/sc/1/scidb/scidbtrunk/src/system/catalog/SystemCatalog.cpp:1706:52: error: void value not ignored as it ought to be
_connection->prepare(“find-by-id”, sql1)(“bigint”, treat_direct);
^
/net/air/sc/1/scidb/scidbtrunk/src/system/catalog/SystemCatalog.cpp:1721:44: error: void value not ignored as it ought to be
_connection->prepare(sql2, sql2)(“integer”, treat_direct);
^
/net/air/sc/1/scidb/scidbtrunk/src/system/catalog/SystemCatalog.cpp:1780:44: error: void value not ignored as it ought to be
_connection->prepare(sql3, sql3)(“integer”, treat_direct);
^
/net/air/sc/1/scidb/scidbtrunk/src/system/catalog/SystemCatalog.cpp: In member function ‘bool scidb::SystemCatalog::_deleteArrayByName(const string&)’:
/net/air/sc/1/scidb/scidbtrunk/src/system/catalog/SystemCatalog.cpp:1845:82: error: ‘treat_string’ was not declared in this scope
_connection->prepare(“delete-array-name”, deleteArraySql)(“varchar”, treat_string);
^
/net/air/sc/1/scidb/scidbtrunk/src/system/catalog/SystemCatalog.cpp:1845:69: error: void value not ignored as it ought to be
_connection->prepare(“delete-array-name”, deleteArraySql)(“varchar”, treat_string);
^
/net/air/sc/1/scidb/scidbtrunk/src/system/catalog/SystemCatalog.cpp: In member function ‘bool scidb::SystemCatalog::_deleteArrayVersions(const string&, scidb::VersionID)’:
/net/air/sc/1/scidb/scidbtrunk/src/system/catalog/SystemCatalog.cpp:1889:29: error: ‘treat_string’ was not declared in this scope
(“varchar”, treat_string)(“integer”, treat_direct);
^
/net/air/sc/1/scidb/scidbtrunk/src/system/catalog/SystemCatalog.cpp:1888:67: error: void value not ignored as it ought to be
_connection->prepare(“delete-array-versions”, ss.str())
^
/net/air/sc/1/scidb/scidbtrunk/src/system/catalog/SystemCatalog.cpp:1889:54: error: ‘treat_direct’ was not declared in this scope
(“varchar”, treat_string)(“integer”, treat_direct);
^
/net/air/sc/1/scidb/scidbtrunk/src/system/catalog/SystemCatalog.cpp: In member function ‘void scidb::SystemCatalog::_deleteArrayById(scidb::ArrayID)’:
/net/air/sc/1/scidb/scidbtrunk/src/system/catalog/SystemCatalog.cpp:1935:70: error: ‘treat_direct’ was not declared in this scope
_connection->prepare(“delete-array-id”, sql1)(“integer”, treat_direct);
^
/net/air/sc/1/scidb/scidbtrunk/src/system/catalog/SystemCatalog.cpp:1935:57: error: void value not ignored as it ought to be
_connection->prepare(“delete-array-id”, sql1)(“integer”, treat_direct);
^
/net/air/sc/1/scidb/scidbtrunk/src/system/catalog/SystemCatalog.cpp: In member function ‘scidb::VersionID scidb::SystemCatalog::_createNewVersion(scidb::ArrayID, scidb::ArrayID, pqxx::basic_transaction
)’:
/net/air/sc/1/scidb/scidbtrunk/src/system/catalog/SystemCatalog.cpp:1962:20: error: ‘treat_direct’ was not declared in this scope
(“bigint”, treat_direct);
^
/net/air/sc/1/scidb/scidbtrunk/src/system/catalog/SystemCatalog.cpp:1961:38: error: void value not ignored as it ought to be
_connection->prepare(sql, sql)
^
/net/air/sc/1/scidb/scidbtrunk/src/system/catalog/SystemCatalog.cpp:1971:40: error: void value not ignored as it ought to be
_connection->prepare(sql1, sql1)
^
/net/air/sc/1/scidb/scidbtrunk/src/system/catalog/SystemCatalog.cpp: In member function ‘void scidb::SystemCatalog::_deleteVersion(scidb::ArrayID, scidb::VersionID)’:
/net/air/sc/1/scidb/scidbtrunk/src/system/catalog/SystemCatalog.cpp:2001:28: error: ‘treat_direct’ was not declared in this scope
(“bigint”, treat_direct)
^
/net/air/sc/1/scidb/scidbtrunk/src/system/catalog/SystemCatalog.cpp:2000:121: error: void value not ignored as it ought to be
_connection->prepare(“delete-version”, “delete from “array_version” where array_id=$1 and version_id = $2”)
^
/net/air/sc/1/scidb/scidbtrunk/src/system/catalog/SystemCatalog.cpp: In member function ‘scidb::VersionID scidb::SystemCatalog::_getLastVersion(scidb::ArrayID, scidb::ArrayID)’:
/net/air/sc/1/scidb/scidbtrunk/src/system/catalog/SystemCatalog.cpp:2061:24: error: ‘treat_direct’ was not declared in this scope
(“bigint”, treat_direct)
^
/net/air/sc/1/scidb/scidbtrunk/src/system/catalog/SystemCatalog.cpp:2060:60: error: void value not ignored as it ought to be
_connection->prepare(“select-last-version”, sql)
^
/net/air/sc/1/scidb/scidbtrunk/src/system/catalog/SystemCatalog.cpp: In member function ‘void scidb::SystemCatalog::_getCurrentVersion(scidb::SystemCatalog::QueryLocks&)’:
/net/air/sc/1/scidb/scidbtrunk/src/system/catalog/SystemCatalog.cpp:2135:55: error: ‘treat_string’ was not declared in this scope
_connection->prepare(sql, sql)(“varchar”, treat_string);
^
/net/air/sc/1/scidb/scidbtrunk/src/system/catalog/SystemCatalog.cpp:2135:42: error: void value not ignored as it ought to be
_connection->prepare(sql, sql)(“varchar”, treat_string);
^
/net/air/sc/1/scidb/scidbtrunk/src/system/catalog/SystemCatalog.cpp: In member function ‘scidb::ArrayID scidb::SystemCatalog::_getOldestArrayVersion(scidb::ArrayID)’:
/net/air/sc/1/scidb/scidbtrunk/src/system/catalog/SystemCatalog.cpp:2204:28: error: ‘treat_direct’ was not declared in this scope
(“bigint”, treat_direct);
^
/net/air/sc/1/scidb/scidbtrunk/src/system/catalog/SystemCatalog.cpp:2203:62: error: void value not ignored as it ought to be
_connection->prepare(“select-oldest-version”, sql)
^
/net/air/sc/1/scidb/scidbtrunk/src/system/catalog/SystemCatalog.cpp: In member function ‘scidb::VersionID scidb::SystemCatalog::_lookupVersionByTimestamp(scidb::ArrayID, uint64_t)’:
/net/air/sc/1/scidb/scidbtrunk/src/system/catalog/SystemCatalog.cpp:2250:28: error: ‘treat_direct’ was not declared in this scope
(“bigint”, treat_direct)
^
/net/air/sc/1/scidb/scidbtrunk/src/system/catalog/SystemCatalog.cpp:2249:68: error: void value not ignored as it ought to be
_connection->prepare(“select-version-by-timestamp”, sql)
^
/net/air/sc/1/scidb/scidbtrunk/src/system/catalog/SystemCatalog.cpp: In member function ‘std::vectorscidb::VersionDesc scidb::SystemCatalog::_getArrayVersions(scidb::ArrayID)’:
/net/air/sc/1/scidb/scidbtrunk/src/system/catalog/SystemCatalog.cpp:2290:28: error: ‘treat_direct’ was not declared in this scope
(“bigint”, treat_direct);
^
/net/air/sc/1/scidb/scidbtrunk/src/system/catalog/SystemCatalog.cpp:2289:60: error: void value not ignored as it ought to be
_connection->prepare(“select-all-versions”, sql)
^
/net/air/sc/1/scidb/scidbtrunk/src/system/catalog/SystemCatalog.cpp: In member function ‘scidb::Coordinates scidb::SystemCatalog::_getHighBoundary(scidb::ArrayID)’:
/net/air/sc/1/scidb/scidbtrunk/src/system/catalog/SystemCatalog.cpp:2337:28: error: ‘treat_direct’ was not declared in this scope
(“bigint”, treat_direct);
^
/net/air/sc/1/scidb/scidbtrunk/src/system/catalog/SystemCatalog.cpp:2336:61: error: void value not ignored as it ought to be
_connection->prepare(“select-high-boundary”, sql)
^
/net/air/sc/1/scidb/scidbtrunk/src/system/catalog/SystemCatalog.cpp: In member function ‘scidb::Coordinates scidb::SystemCatalog::_getLowBoundary(scidb::ArrayID)’:
/net/air/sc/1/scidb/scidbtrunk/src/system/catalog/SystemCatalog.cpp:2386:28: error: ‘treat_direct’ was not declared in this scope
(“bigint”, treat_direct);
^
/net/air/sc/1/scidb/scidbtrunk/src/system/catalog/SystemCatalog.cpp:2385:60: error: void value not ignored as it ought to be
_connection->prepare(“select-low-boundary”, sql)
^
/net/air/sc/1/scidb/scidbtrunk/src/system/catalog/SystemCatalog.cpp: In member function ‘void scidb::SystemCatalog::_updateArrayBoundaries(const scidb::ArrayDesc&, const scidb::PhysicalBoundaries&)’:
/net/air/sc/1/scidb/scidbtrunk/src/system/catalog/SystemCatalog.cpp:2440:28: error: ‘treat_direct’ was not declared in this scope
(“bigint”, treat_direct)
^
/net/air/sc/1/scidb/scidbtrunk/src/system/catalog/SystemCatalog.cpp:2439:61: error: void value not ignored as it ought to be
_connection->prepare(“update-low-boundary”, sql1)
^
/net/air/sc/1/scidb/scidbtrunk/src/system/catalog/SystemCatalog.cpp:2444:62: error: void value not ignored as it ought to be
_connection->prepare(“update-high-boundary”, sql2)
^
/net/air/sc/1/scidb/scidbtrunk/src/system/catalog/SystemCatalog.cpp: In member function ‘scidb::InstanceID scidb::SystemCatalog::_addInstance(const scidb::InstanceDesc&)’:
/net/air/sc/1/scidb/scidbtrunk/src/system/catalog/SystemCatalog.cpp:2531:28: error: ‘treat_direct’ was not declared in this scope
(“bigint”, treat_direct)
^
/net/air/sc/1/scidb/scidbtrunk/src/system/catalog/SystemCatalog.cpp:2530:44: error: void value not ignored as it ought to be
_connection->prepare(sql1, sql1)
^
/net/air/sc/1/scidb/scidbtrunk/src/system/catalog/SystemCatalog.cpp:2532:29: error: ‘treat_string’ was not declared in this scope
(“varchar”, treat_string)
^
/net/air/sc/1/scidb/scidbtrunk/src/system/catalog/SystemCatalog.cpp: In member function ‘void scidb::SystemCatalog::_getClusterInstance(scidb::InstanceID, scidb::InstanceDesc&)’:
/net/air/sc/1/scidb/scidbtrunk/src/system/catalog/SystemCatalog.cpp:2630:54: error: ‘treat_direct’ was not declared in this scope
_connection->prepare(sql, sql)(“bigint”, treat_direct);
^
/net/air/sc/1/scidb/scidbtrunk/src/system/catalog/SystemCatalog.cpp:2630:42: error: void value not ignored as it ought to be
_connection->prepare(sql, sql)(“bigint”, treat_direct);
^
/net/air/sc/1/scidb/scidbtrunk/src/system/catalog/SystemCatalog.cpp: In member function ‘void scidb::SystemCatalog::_markInstanceOnline(scidb::InstanceID, const string&, uint16_t)’:
/net/air/sc/1/scidb/scidbtrunk/src/system/catalog/SystemCatalog.cpp:2682:29: error: ‘treat_string’ was not declared in this scope
(“varchar”, treat_string)
^
/net/air/sc/1/scidb/scidbtrunk/src/system/catalog/SystemCatalog.cpp:2681:42: error: void value not ignored as it ought to be
_connection->prepare(sql, sql)
^
/net/air/sc/1/scidb/scidbtrunk/src/system/catalog/SystemCatalog.cpp:2683:25: error: ‘treat_direct’ was not declared in this scope
(“int”, treat_direct)
^
/net/air/sc/1/scidb/scidbtrunk/src/system/catalog/SystemCatalog.cpp: In member function ‘void scidb::SystemCatalog::_markInstanceOffline(scidb::InstanceID)’:
/net/air/sc/1/scidb/scidbtrunk/src/system/catalog/SystemCatalog.cpp:2724:28: error: ‘treat_direct’ was not declared in this scope
(“bigint”, treat_direct);
^
/net/air/sc/1/scidb/scidbtrunk/src/system/catalog/SystemCatalog.cpp:2723:42: error: void value not ignored as it ought to be
_connection->prepare(sql, sql)
^
/net/air/sc/1/scidb/scidbtrunk/src/system/catalog/SystemCatalog.cpp: In member function ‘void scidb::SystemCatalog::_addLibrary(const string&)’:
/net/air/sc/1/scidb/scidbtrunk/src/system/catalog/SystemCatalog.cpp:3001:28: error: ‘treat_direct’ was not declared in this scope
(“bigint”, treat_direct)
^
/net/air/sc/1/scidb/scidbtrunk/src/system/catalog/SystemCatalog.cpp:3000:52: error: void value not ignored as it ought to be
_connection->prepare(“addLibrary”, sql1)
^
/net/air/sc/1/scidb/scidbtrunk/src/system/catalog/SystemCatalog.cpp:3002:29: error: ‘treat_string’ was not declared in this scope
(“varchar”, treat_string);
^
/net/air/sc/1/scidb/scidbtrunk/src/system/catalog/SystemCatalog.cpp: In member function ‘void scidb::SystemCatalog::_removeLibrary(const string&)’:
/net/air/sc/1/scidb/scidbtrunk/src/system/catalog/SystemCatalog.cpp:3097:29: error: ‘treat_string’ was not declared in this scope
(“varchar”, treat_string);
^
/net/air/sc/1/scidb/scidbtrunk/src/system/catalog/SystemCatalog.cpp:3096:55: error: void value not ignored as it ought to be
_connection->prepare(“removeLibrary”, sql1)
^
/net/air/sc/1/scidb/scidbtrunk/src/system/catalog/SystemCatalog.cpp: In member function ‘bool scidb::SystemCatalog::_lockArray(const std::shared_ptrscidb::SystemCatalog::LockDesc&, scidb::SystemCatalog::ErrorChecker&)’:
/net/air/sc/1/scidb/scidbtrunk/src/system/catalog/SystemCatalog.cpp:3256:31: error: ‘treat_string’ was not declared in this scope
(“varchar”, treat_string)
^
/net/air/sc/1/scidb/scidbtrunk/src/system/catalog/SystemCatalog.cpp:3255:81: error: void value not ignored as it ought to be
_connection->prepare(uniquePrefix+lockInsertSql, lockInsertSql)
^
/net/air/sc/1/scidb/scidbtrunk/src/system/catalog/SystemCatalog.cpp:3257:30: error: ‘treat_direct’ was not declared in this scope
(“bigint”, treat_direct)
^
/net/air/sc/1/scidb/scidbtrunk/src/system/catalog/SystemCatalog.cpp:3287:31: error: ‘treat_string’ was not declared in this scope
(“varchar”, treat_string)
^
/net/air/sc/1/scidb/scidbtrunk/src/system/catalog/SystemCatalog.cpp:3286:81: error: void value not ignored as it ought to be
_connection->prepare(uniquePrefix+lockInsertSql, lockInsertSql)
^
/net/air/sc/1/scidb/scidbtrunk/src/system/catalog/SystemCatalog.cpp:3288:30: error: ‘treat_direct’ was not declared in this scope
(“bigint”, treat_direct)
^
/net/air/sc/1/scidb/scidbtrunk/src/system/catalog/SystemCatalog.cpp:3313:31: error: ‘treat_string’ was not declared in this scope
(“varchar”, treat_string)
^
/net/air/sc/1/scidb/scidbtrunk/src/system/catalog/SystemCatalog.cpp:3312:81: error: void value not ignored as it ought to be
_connection->prepare(uniquePrefix+lockInsertSql, lockInsertSql)
^
/net/air/sc/1/scidb/scidbtrunk/src/system/catalog/SystemCatalog.cpp:3314:30: error: ‘treat_direct’ was not declared in this scope
(“bigint”, treat_direct)
^
/net/air/sc/1/scidb/scidbtrunk/src/system/catalog/SystemCatalog.cpp:3333:68: error: void value not ignored as it ought to be
_connection->prepare(lockReadSql, lockReadSql)
^
/net/air/sc/1/scidb/scidbtrunk/src/system/catalog/SystemCatalog.cpp:3355:31: error: ‘treat_string’ was not declared in this scope
(“varchar”, treat_string)
^
/net/air/sc/1/scidb/scidbtrunk/src/system/catalog/SystemCatalog.cpp:3354:81: error: void value not ignored as it ought to be
_connection->prepare(uniquePrefix+lockInsertSql, lockInsertSql)
^
/net/air/sc/1/scidb/scidbtrunk/src/system/catalog/SystemCatalog.cpp:3356:30: error: ‘treat_direct’ was not declared in this scope
(“bigint”, treat_direct)
^
/net/air/sc/1/scidb/scidbtrunk/src/system/catalog/SystemCatalog.cpp:3379:31: error: ‘treat_string’ was not declared in this scope
(“varchar”, treat_string)
^
/net/air/sc/1/scidb/scidbtrunk/src/system/catalog/SystemCatalog.cpp:3378:81: error: void value not ignored as it ought to be
_connection->prepare(uniquePrefix+lockInsertSql, lockInsertSql)
^
/net/air/sc/1/scidb/scidbtrunk/src/system/catalog/SystemCatalog.cpp:3380:30: error: ‘treat_direct’ was not declared in this scope
(“bigint”, treat_direct)
^
/net/air/sc/1/scidb/scidbtrunk/src/system/catalog/SystemCatalog.cpp:3402:68: error: void value not ignored as it ought to be
_connection->prepare(lockReadSql, lockReadSql)
^
/net/air/sc/1/scidb/scidbtrunk/src/system/catalog/SystemCatalog.cpp:3430:27: error: ‘treat_string’ was not declared in this scope
(“varchar”, treat_string)
^
/net/air/sc/1/scidb/scidbtrunk/src/system/catalog/SystemCatalog.cpp:3429:77: error: void value not ignored as it ought to be
_connection->prepare(uniquePrefix+lockInsertSql, lockInsertSql)
^
/net/air/sc/1/scidb/scidbtrunk/src/system/catalog/SystemCatalog.cpp:3431:26: error: ‘treat_direct’ was not declared in this scope
(“bigint”, treat_direct)
^
/net/air/sc/1/scidb/scidbtrunk/src/system/catalog/SystemCatalog.cpp:3454:31: error: ‘treat_string’ was not declared in this scope
(“varchar”, treat_string)
^
/net/air/sc/1/scidb/scidbtrunk/src/system/catalog/SystemCatalog.cpp:3453:81: error: void value not ignored as it ought to be
_connection->prepare(uniquePrefix+lockInsertSql, lockInsertSql)
^
/net/air/sc/1/scidb/scidbtrunk/src/system/catalog/SystemCatalog.cpp:3455:30: error: ‘treat_direct’ was not declared in this scope
(“bigint”, treat_direct)
^
/net/air/sc/1/scidb/scidbtrunk/src/system/catalog/SystemCatalog.cpp:3478:31: error: ‘treat_string’ was not declared in this scope
(“varchar”, treat_string)
^
/net/air/sc/1/scidb/scidbtrunk/src/system/catalog/SystemCatalog.cpp:3477:81: error: void value not ignored as it ought to be
_connection->prepare(uniquePrefix+lockInsertSql, lockInsertSql)
^
/net/air/sc/1/scidb/scidbtrunk/src/system/catalog/SystemCatalog.cpp:3479:30: error: ‘treat_direct’ was not declared in this scope
(“bigint”, treat_direct)
^
/net/air/sc/1/scidb/scidbtrunk/src/system/catalog/SystemCatalog.cpp: In member function ‘bool scidb::SystemCatalog::_unlockArray(const std::shared_ptrscidb::SystemCatalog::LockDesc&)’:
/net/air/sc/1/scidb/scidbtrunk/src/system/catalog/SystemCatalog.cpp:3578:22: error: ‘treat_string’ was not declared in this scope
(“varchar”, treat_string)
^
/net/air/sc/1/scidb/scidbtrunk/src/system/catalog/SystemCatalog.cpp:3577:59: error: void value not ignored as it ought to be
_connection->prepare(lockDeleteSql, lockDeleteSql)
^
/net/air/sc/1/scidb/scidbtrunk/src/system/catalog/SystemCatalog.cpp:3579:21: error: ‘treat_direct’ was not declared in this scope
(“bigint”, treat_direct)
^
/net/air/sc/1/scidb/scidbtrunk/src/system/catalog/SystemCatalog.cpp: In member function ‘bool scidb::SystemCatalog::_updateArrayLock(const std::shared_ptrscidb::SystemCatalog::LockDesc&)’:
/net/air/sc/1/scidb/scidbtrunk/src/system/catalog/SystemCatalog.cpp:3634:22: error: ‘treat_string’ was not declared in this scope
(“varchar”, treat_string)
^
/net/air/sc/1/scidb/scidbtrunk/src/system/catalog/SystemCatalog.cpp:3633:59: error: void value not ignored as it ought to be
_connection->prepare(lockUpdateSql, lockUpdateSql)
^
/net/air/sc/1/scidb/scidbtrunk/src/system/catalog/SystemCatalog.cpp:3635:21: error: ‘treat_direct’ was not declared in this scope
(“bigint”, treat_direct)
^
/net/air/sc/1/scidb/scidbtrunk/src/system/catalog/SystemCatalog.cpp: In member function ‘void scidb::SystemCatalog::_readArrayLocks(scidb::InstanceID, std::list<std::shared_ptrscidb::SystemCatalog::LockDesc >&, std::list<std::shared_ptrscidb::SystemCatalog::LockDesc >&)’:
/net/air/sc/1/scidb/scidbtrunk/src/system/catalog/SystemCatalog.cpp:3697:48: error: ‘treat_direct’ was not declared in this scope
_connection->prepare(sql, sql)(“bigint”, treat_direct);
^
/net/air/sc/1/scidb/scidbtrunk/src/system/catalog/SystemCatalog.cpp:3697:36: error: void value not ignored as it ought to be
_connection->prepare(sql, sql)(“bigint”, treat_direct);
^
/net/air/sc/1/scidb/scidbtrunk/src/system/catalog/SystemCatalog.cpp: In member function ‘uint32_t scidb::SystemCatalog::_deleteArrayLocks(scidb::InstanceID, scidb::QueryID, scidb::SystemCatalog::LockDesc::InstanceRole)’:
/net/air/sc/1/scidb/scidbtrunk/src/system/catalog/SystemCatalog.cpp:3791:7: error: ‘declaration’ is not a member of ‘pqxx::prepare’
pqxx::prepare::declaration decl = _connection->prepare(lockDeleteSql, lockDeleteSql)
^
/net/air/sc/1/scidb/scidbtrunk/src/system/catalog/SystemCatalog.cpp:3795:26: error: ‘treat_direct’ was not declared in this scope
decl(“bigint”, treat_direct);
^
/net/air/sc/1/scidb/scidbtrunk/src/system/catalog/SystemCatalog.cpp:3795:38: error: ‘decl’ was not declared in this scope
decl(“bigint”, treat_direct);
^
/net/air/sc/1/scidb/scidbtrunk/src/system/catalog/SystemCatalog.cpp:3798:27: error: ‘treat_direct’ was not declared in this scope
decl(“integer”, treat_direct);
^
/net/air/sc/1/scidb/scidbtrunk/src/system/catalog/SystemCatalog.cpp:3798:39: error: ‘decl’ was not declared in this scope
decl(“integer”, treat_direct);
^
/net/air/sc/1/scidb/scidbtrunk/src/system/catalog/SystemCatalog.cpp: In member function ‘std::shared_ptrscidb::SystemCatalog::LockDesc scidb::SystemCatalog::_checkForCoordinatorLock(const string&, scidb::QueryID)’:
/net/air/sc/1/scidb/scidbtrunk/src/system/catalog/SystemCatalog.cpp:3861:19: error: ‘treat_string’ was not declared in this scope
(“varchar”, treat_string)
^
/net/air/sc/1/scidb/scidbtrunk/src/system/catalog/SystemCatalog.cpp:3860:36: error: void value not ignored as it ought to be
_connection->prepare(sql, sql)
^
/net/air/sc/1/scidb/scidbtrunk/src/system/catalog/SystemCatalog.cpp:3862:18: error: ‘treat_direct’ was not declared in this scope
(“bigint”, treat_direct)
^
/net/air/sc/1/scidb/scidbtrunk/src/system/catalog/SystemCatalog.cpp: In member function ‘void scidb::SystemCatalog::_renameArray(const string&, const string&)’:
/net/air/sc/1/scidb/scidbtrunk/src/system/catalog/SystemCatalog.cpp:3921:61: error: ‘treat_string’ was not declared in this scope
_connection->prepare(renameSql, renameSql)(“varchar”, treat_string)(“varchar”, treat_string);
^
/net/air/sc/1/scidb/scidbtrunk/src/system/catalog/SystemCatalog.cpp:3921:48: error: void value not ignored as it ought to be
_connection->prepare(renameSql, renameSql)(“varchar”, treat_string)(“varchar”, treat_string);
^
In file included from /opt/scidb/15.7/3rdparty/boost/include/boost/filesystem/path_traits.hpp:23:0,
from /opt/scidb/15.7/3rdparty/boost/include/boost/filesystem/path.hpp:25,
from /opt/scidb/15.7/3rdparty/boost/include/boost/filesystem.hpp:16,
from /net/air/sc/1/scidb/scidbtrunk/include/system/Utils.h:36,
from /net/air/sc/1/scidb/scidbtrunk/include/system/Config.h:45,
from /net/air/sc/1/scidb/scidbtrunk/include/query/Operator.h:58,
from /net/air/sc/1/scidb/scidbtrunk/src/query/QueryPlan.h:37,
from /net/air/sc/1/scidb/scidbtrunk/src/query/Serialize.h:28,
from /net/air/sc/1/scidb/scidbtrunk/src/system/catalog/SystemCatalog.cpp:56:
/opt/scidb/15.7/3rdparty/boost/include/boost/system/error_code.hpp: At global scope:
/opt/scidb/15.7/3rdparty/boost/include/boost/system/error_code.hpp:222:36: warning: ‘boost::system::posix_category’ defined but not used [-Wunused-variable]
static const error_category & posix_category = generic_category();
^
/opt/scidb/15.7/3rdparty/boost/include/boost/system/error_code.hpp:223:36: warning: ‘boost::system::errno_ecat’ defined but not used [-Wunused-variable]
static const error_category & errno_ecat = generic_category();
^
/opt/scidb/15.7/3rdparty/boost/include/boost/system/error_code.hpp:224:36: warning: ‘boost::system::native_ecat’ defined but not used [-Wunused-variable]
static const error_category & native_ecat = system_category();
^
make[2]: *** [src/system/catalog/CMakeFiles/catalog_lib.dir/SystemCatalog.cpp.o] Error 1
make[1]: *** [src/system/catalog/CMakeFiles/catalog_lib.dir/all] Error 2
make: *** [all] Error 2
run.py: ERROR: Command make failed: Abnormal return code: 2 on command [’/usr/bin/make’, ‘-j1’]
run.py: ERROR: Make sure commands setup,make,install,start are performed (in that order) before stop,stopForce,tests
: scidb@air scidbtrunk; lsb_release -a
LSB Version: :core-4.1-amd64:core-4.1-noarch
Distributor ID: RedHatEnterpriseServer
Description: Red Hat Enterprise Linux Server release 7.1 (Maipo)
Release: 7.1
Codename: Maipo
: scidb@air scidbtrunk; scl -l devtoolset-3
devtoolset-3-runtime-3.1-12.el7.x86_64
devtoolset-3-gcc-c+±4.9.2-6.el7.x86_64
devtoolset-3-libstdc+±devel-4.9.2-6.el7.x86_64
devtoolset-3-libquadmath-devel-4.9.2-6.el7.x86_64
devtoolset-3-gcc-4.9.2-6.el7.x86_64
devtoolset-3-gcc-gfortran-4.9.2-6.el7.x86_64
rpm -q libpqxx
libpqxx-4.0.1-0.1.el7.x86_64


#3

Hi, I’m afraid support on this forum isn’t great. No one replies with any solutions :frowning: I haven’t been able to resolve the issue yet as I am not a C++ programmer.

Regards,


#4

We only support building on CentOS 6. You are trying to build on RHEL 7.

: scidb@air scidbtrunk; lsb_release -a
LSB Version: :core-4.1-amd64:core-4.1-noarch
Distributor ID: RedHatEnterpriseServer
Description: Red Hat Enterprise Linux Server release 7.1 (Maipo)
Release: 7.1

We build on CentOS 6 which is then compatible with RHEL 6.
We have yet to support CentOS 7 (and therefor RHEL 7).


#5

Hi, thanks for the info. I was thinking of building it on RHEL 6 actually.

Regards,


#6

I have the same problem in CentOS 6. It seems that libpqxx-devel package from epel repo causes it. You can try to disable it by adding exclude=libpqxx* to /etc/yum.repos.d/epel.repo
Something like

rpm -U http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm sed -i '/[epel]/a exclude=libpqxx*' /etc/yum.repos.d/epel.repo before prepare_toolchain step from build instructions might help.


#7

I actually have the same issue on CentOS 6.


#8

Are you trying to build on CentOS 7 ? We do not support that.


#9

I’ve solved this issue and managed to get a clean build. The problem is that during the installation process, libpqxx version 4.0 was installed automatically by one of the scripts during the install process. I removed libpqxx version 4.0 and manually replaced it with rpms for version 3.1.

The install process would be smoother is something was done to check version compatibility of libpqxx, since SciDB does depend on 3.1 and can’t use 4.0.

Also I had to comment out three lines from deployment/common/prepare_toolchain.sh, starting with “wget //http::/linuxsoft.cern.ch/…” On my machine, this connection times out for some reason. This may very possibly be due to something done on my local network, but I didn’t have time to track that issue down.

This was on CentOS 6.3