[Debian-med-packaging] Trying to get rid of code copy of jsoncpp in seqtools
Andreas Tille
andreas at an3as.eu
Wed Oct 25 14:52:35 UTC 2017
Hi,
I try to package seqtools[1] which originally contained a code copy of
jsoncpp which I removed. Unfortunately the build fails with the Debian
packaged jsoncpp and I'm lacking the necessary C++ knowledge to get this
fixed. Does anybody have an idea how to fix
...
gbtoolsTrackhub.cpp: In function 'Json::Value {anonymous}::processRequestResult(const string&, long int, Json::Reader, std::__cxx11::string&)':
gbtoolsTrackhub.cpp:174:16: error: aggregate 'std::stringstream err_ss' has incomplete type and cannot be defined
stringstream err_ss;
^~~~~~
gbtoolsTrackhub.cpp: In member function 'bool gbtools::trackhub::Registry::getSearchPage(std::stringstream&, int, std::__cxx11::list<gbtools::trackhub::TrackDb>&, std::__cxx11::string&)':
gbtoolsTrackhub.cpp:655:16: error: aggregate 'std::stringstream url_ss' has incomplete type and cannot be defined
stringstream url_ss;
^~~~~~
gbtoolsTrackhub.cpp:658:46: error: invalid use of incomplete type 'std::stringstream {aka class std::__cxx11::basic_stringstream<char>}'
Json::Value js = postRequest(url_ss.str(), payload_ss.str(), false, err_msg);
^~~~~~~~~~
In file included from /usr/include/c++/7/ios:38:0,
from /usr/include/c++/7/ostream:38,
from /usr/include/c++/7/iostream:39,
from gbtoolsTrackhub.cpp:31:
/usr/include/c++/7/iosfwd:108:11: note: declaration of 'std::stringstream {aka class std::__cxx11::basic_stringstream<char>}'
class basic_stringstream;
^~~~~~~~~~~~~~~~~~
gbtoolsTrackhub.cpp:658:46: error: invalid use of incomplete type 'std::stringstream {aka class std::__cxx11::basic_stringstream<char>}'
Json::Value js = postRequest(url_ss.str(), payload_ss.str(), false, err_msg);
^~~~~~~~~~
In file included from /usr/include/c++/7/ios:38:0,
from /usr/include/c++/7/ostream:38,
from /usr/include/c++/7/iostream:39,
from gbtoolsTrackhub.cpp:31:
/usr/include/c++/7/iosfwd:108:11: note: declaration of 'std::stringstream {aka class std::__cxx11::basic_stringstream<char>}'
class basic_stringstream;
^~~~~~~~~~~~~~~~~~
gbtoolsTrackhub.cpp: In member function 'std::__cxx11::list<gbtools::trackhub::TrackDb> gbtools::trackhub::Registry::search(const string&, const string&, const string&, const string&, std::__cxx11::string&)':
gbtoolsTrackhub.cpp:708:16: error: aggregate 'std::stringstream payload_ss' has incomplete type and cannot be defined
stringstream payload_ss;
^~~~~~~~~~
gbtoolsTrackhub.cpp: In member function 'gbtools::trackhub::TrackDb gbtools::trackhub::Registry::searchTrackDb(const string&, std::__cxx11::string&)':
gbtoolsTrackhub.cpp:731:20: error: aggregate 'std::stringstream query_ss' has incomplete type and cannot be defined
stringstream query_ss;
^~~~~~~~
gbtoolsTrackhub.cpp: In member function 'std::__cxx11::list<gbtools::trackhub::TrackDb> gbtools::trackhub::Registry::retrieveHub(const string&, std::__cxx11::string&)':
gbtoolsTrackhub.cpp:873:16: error: aggregate 'std::stringstream query_ss' has incomplete type and cannot be defined
stringstream query_ss;
^~~~~~~~
gbtoolsTrackhub.cpp:893:24: error: aggregate 'std::stringstream ss' has incomplete type and cannot be defined
stringstream ss;
^~
gbtoolsTrackhub.cpp: In member function 'Json::Value gbtools::trackhub::Registry::retrieveTrackDb(const string&, std::__cxx11::string&)':
gbtoolsTrackhub.cpp:932:16: error: aggregate 'std::stringstream query_ss' has incomplete type and cannot be defined
stringstream query_ss;
^~~~~~~~
...
Any hint is welcome.
Kind regards
Andreas.
[1] https://anonscm.debian.org/git/debian-med/seqtools.git
--
http://fam-tille.de
More information about the Debian-med-packaging
mailing list