[Debian-med-packaging] Help with C++ issue in sina needed
Andreas Tille
andreas at an3as.eu
Wed Jul 1 10:03:26 BST 2020
Hi,
the Debian Med team is working on Sina[1]
...
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I./include -DBOOST_TEST_DYN_LINK -DBOOST_TEST_MAIN -pthread -I/usr/include -Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fdebug-prefix-map=/build/sina-1.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -g -O2 -fdebug-prefix-map=/build/sina-1.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -W -c src/cseq.cpp -fPIC -DPIC -o src/.libs/cseq.o
In file included from src/sina.cpp:62:
/usr/include/tbb/task_scheduler_init.h:21:154: note: #pragma message: TBB Warning: tbb/task_scheduler_init.h is deprecated. For details, please see Deprecated Features appendix in the TBB reference manual.
21 | #pragma message("TBB Warning: tbb/task_scheduler_init.h is deprecated. For details, please see Deprecated Features appendix in the TBB reference manual.")
| ^
src/sina.cpp: In function ‘int real_main(int, char**)’:
src/sina.cpp:404:29: warning: ‘template<class Output> class tbb::flow::interface11::source_node’ is deprecated: TBB Warning: tbb::flow::source_node is deprecated, use tbb::flow::input_node. [-Wdeprecated-declarations]
404 | using source_node = tf::source_node<tray>; xd
| ^~~~~~~~~~~ re
In file included from src/sina.cpp:64: de
/usr/include/tbb/flow_graph.h:1181:1: note: declared here on
1181 | source_node : public graph_node, public sender< Output > { to
| ^~~~~~~~~~~ on
src/align.cpp: In function ‘void sina::do_align(sina::cseq&, const cseq&, MASTER&, transition&, std::ostream&)’:
src/align.cpp:481:55: error: ‘tbb_allocator’ is not a member of ‘tbb’
481 | using mesh_t = mesh<MASTER, cseq, data_type, tbb::tbb_allocator<data_type>>;
| ^~~~~~~~~~~~~
src/align.cpp:481:55: error: ‘tbb_allocator’ is not a member of ‘tbb’
src/align.cpp:481:69: error: template argument 4 is invalid
481 | using mesh_t = mesh<MASTER, cseq, data_type, tbb::tbb_allocator<data_type>>;
| ^~~~~~~~~
src/align.cpp:482:59: error: ‘mesh_t’ has not been declared
482 | logger->debug("Allocating {}MB for alignment matrix", mesh_t::guessMem(m, c)/1024/1024);
...
Any hint how to fix this?
Kind regards
Andreas.
[1] https://salsa.debian.org/med-team/sina
--
http://fam-tille.de
More information about the Debian-med-packaging
mailing list