[Debian-med-packaging] Bug#867782: orthanc FTBFS with libsqlite3-dev 3.19.3-3
Adrian Bunk
bunk at debian.org
Sun Jul 9 11:28:29 UTC 2017
Source: orthanc
Version: 1.2.0+dfsg-2
Severity: serious
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/orthanc.html
...
/build/1st/orthanc-1.2.0+dfsg/Core/SQLite/FunctionContext.cpp: In member function 'Orthanc::SQLite::ColumnType Orthanc::SQLite::FunctionContext::GetColumnType(unsigned int) const':
/build/1st/orthanc-1.2.0+dfsg/Core/SQLite/FunctionContext.cpp:74:77: error: cannot convert 'Mem*' to 'sqlite3_value*' for argument '1' to 'int sqlite3_value_type(sqlite3_value*)'
return static_cast<SQLite::ColumnType>(sqlite3_value_type(argv_[index]));
^
In file included from /build/1st/orthanc-1.2.0+dfsg/Core/SQLite/FunctionContext.cpp:39:0:
/build/1st/orthanc-1.2.0+dfsg/Core/SQLite/FunctionContext.h:40:8: note: class type 'Mem' is incomplete
struct Mem; // This corresponds to the opaque type "sqlite3_value"
^~~
/build/1st/orthanc-1.2.0+dfsg/Core/SQLite/FunctionContext.cpp: In member function 'int Orthanc::SQLite::FunctionContext::GetIntValue(unsigned int) const':
/build/1st/orthanc-1.2.0+dfsg/Core/SQLite/FunctionContext.cpp:80:44: error: cannot convert 'Mem*' to 'sqlite3_value*' for argument '1' to 'int sqlite3_value_int(sqlite3_value*)'
return sqlite3_value_int(argv_[index]);
^
In file included from /build/1st/orthanc-1.2.0+dfsg/Core/SQLite/FunctionContext.cpp:39:0:
/build/1st/orthanc-1.2.0+dfsg/Core/SQLite/FunctionContext.h:40:8: note: class type 'Mem' is incomplete
struct Mem; // This corresponds to the opaque type "sqlite3_value"
^~~
/build/1st/orthanc-1.2.0+dfsg/Core/SQLite/FunctionContext.cpp: In member function 'int64_t Orthanc::SQLite::FunctionContext::GetInt64Value(unsigned int) const':
/build/1st/orthanc-1.2.0+dfsg/Core/SQLite/FunctionContext.cpp:86:46: error: cannot convert 'Mem*' to 'sqlite3_value*' for argument '1' to 'sqlite3_int64 sqlite3_value_int64(sqlite3_value*)'
return sqlite3_value_int64(argv_[index]);
^
In file included from /build/1st/orthanc-1.2.0+dfsg/Core/SQLite/FunctionContext.cpp:39:0:
/build/1st/orthanc-1.2.0+dfsg/Core/SQLite/FunctionContext.h:40:8: note: class type 'Mem' is incomplete
struct Mem; // This corresponds to the opaque type "sqlite3_value"
^~~
/build/1st/orthanc-1.2.0+dfsg/Core/SQLite/FunctionContext.cpp: In member function 'double Orthanc::SQLite::FunctionContext::GetDoubleValue(unsigned int) const':
/build/1st/orthanc-1.2.0+dfsg/Core/SQLite/FunctionContext.cpp:92:47: error: cannot convert 'Mem*' to 'sqlite3_value*' for argument '1' to 'double sqlite3_value_double(sqlite3_value*)'
return sqlite3_value_double(argv_[index]);
^
In file included from /build/1st/orthanc-1.2.0+dfsg/Core/SQLite/FunctionContext.cpp:39:0:
/build/1st/orthanc-1.2.0+dfsg/Core/SQLite/FunctionContext.h:40:8: note: class type 'Mem' is incomplete
struct Mem; // This corresponds to the opaque type "sqlite3_value"
^~~
/build/1st/orthanc-1.2.0+dfsg/Core/SQLite/FunctionContext.cpp: In member function 'std::__cxx11::string Orthanc::SQLite::FunctionContext::GetStringValue(unsigned int) const':
/build/1st/orthanc-1.2.0+dfsg/Core/SQLite/FunctionContext.cpp:98:87: error: cannot convert 'Mem*' to 'sqlite3_value*' for argument '1' to 'const unsigned char* sqlite3_value_text(sqlite3_value*)'
return std::string(reinterpret_cast<const char*>(sqlite3_value_text(argv_[index])));
^
In file included from /build/1st/orthanc-1.2.0+dfsg/Core/SQLite/FunctionContext.cpp:39:0:
/build/1st/orthanc-1.2.0+dfsg/Core/SQLite/FunctionContext.h:40:8: note: class type 'Mem' is incomplete
struct Mem; // This corresponds to the opaque type "sqlite3_value"
^~~
/build/1st/orthanc-1.2.0+dfsg/Core/SQLite/FunctionContext.cpp: In member function 'bool Orthanc::SQLite::FunctionContext::IsNullValue(unsigned int) const':
/build/1st/orthanc-1.2.0+dfsg/Core/SQLite/FunctionContext.cpp:104:45: error: cannot convert 'Mem*' to 'sqlite3_value*' for argument '1' to 'int sqlite3_value_type(sqlite3_value*)'
return sqlite3_value_type(argv_[index]) == SQLITE_NULL;
^
In file included from /build/1st/orthanc-1.2.0+dfsg/Core/SQLite/FunctionContext.cpp:39:0:
/build/1st/orthanc-1.2.0+dfsg/Core/SQLite/FunctionContext.h:40:8: note: class type 'Mem' is incomplete
struct Mem; // This corresponds to the opaque type "sqlite3_value"
^~~
CMakeFiles/CoreLibrary.dir/build.make:1424: recipe for target 'CMakeFiles/CoreLibrary.dir/Core/SQLite/FunctionContext.cpp.o' failed
make[4]: *** [CMakeFiles/CoreLibrary.dir/Core/SQLite/FunctionContext.cpp.o] Error 1
make[4]: *** Waiting for unfinished jobs....
/build/1st/orthanc-1.2.0+dfsg/Core/SQLite/Connection.cpp: In function 'void Orthanc::SQLite::ScalarFunctionCaller(sqlite3_context*, int, sqlite3_value**)':
/build/1st/orthanc-1.2.0+dfsg/Core/SQLite/Connection.cpp:346:53: error: no matching function for call to 'Orthanc::SQLite::FunctionContext::FunctionContext(sqlite3_context*&, int&, sqlite3_value**&)'
FunctionContext context(rawContext, argc, argv);
^
In file included from /build/1st/orthanc-1.2.0+dfsg/Core/SQLite/IScalarFunction.h:38:0,
from /build/1st/orthanc-1.2.0+dfsg/Core/SQLite/Connection.h:41,
from /build/1st/orthanc-1.2.0+dfsg/Core/SQLite/Connection.cpp:42:
/build/1st/orthanc-1.2.0+dfsg/Core/SQLite/FunctionContext.h:58:7: note: candidate: Orthanc::SQLite::FunctionContext::FunctionContext(sqlite3_context*, int, Mem**)
FunctionContext(struct sqlite3_context* context,
^~~~~~~~~~~~~~~
/build/1st/orthanc-1.2.0+dfsg/Core/SQLite/FunctionContext.h:58:7: note: no known conversion for argument 3 from 'sqlite3_value**' to 'Mem**'
CMakeFiles/CoreLibrary.dir/build.make:1400: recipe for target 'CMakeFiles/CoreLibrary.dir/Core/SQLite/Connection.cpp.o' failed
make[4]: *** [CMakeFiles/CoreLibrary.dir/Core/SQLite/Connection.cpp.o] Error 1
More information about the Debian-med-packaging
mailing list