[Debian-med-packaging] Bug#822503: mia: FTBFS: error: 'accumulate' was not declared in this scope
Martin Michlmayr
tbm at hpe.com
Mon Apr 25 01:20:02 UTC 2016
Package: mia
Version: 2.2.7-3
Severity: serious
This package fails to build in unstable:
> sbuild (Debian sbuild) 0.68.0 (15 Jan 2016) on dl580gen9-02.hlinux
...
> make[3]: Entering directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
> cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/addons/tiff && ln -sf /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/addons/tiff/2dimage-io-tiff.mia /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/plugintest//usr/lib/x86_64-linux-gnu/mia-2.2/plugins/2dimage/io/
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
> [ 4%] Built target 2dimage-io-tiff_test_link
> In file included from /<<PKGBUILDDIR>>/mia/core/testplugin.cc:33:0:
> /<<PKGBUILDDIR>>/mia/core/testplugin.hh:55:35: warning: type attributes ignored after type is already defined [-Wattributes]
> extern template class EXPORT_CORE TPluginHandler<CTestPlugin>;
> ^
> /<<PKGBUILDDIR>>/mia/core/waveletslopeclassifier.cc: In constructor 'mia::CWaveletSlopeClassifierImpl::CWaveletSlopeClassifierImpl(const Columns&, bool, float)':
> /<<PKGBUILDDIR>>/mia/core/waveletslopeclassifier.cc:241:103: error: 'accumulate' was not declared in this scope
> float low_freq = accumulate(e.begin() + low_energy_start_idx, e.begin() + movement_idx-skip_idx, 0.0);
> ^
> mia/core/CMakeFiles/miacore.dir/build.make:1697: recipe for target 'mia/core/CMakeFiles/miacore.dir/waveletslopeclassifier.cc.o' failed
> make[3]: *** [mia/core/CMakeFiles/miacore.dir/waveletslopeclassifier.cc.o] Error 1
> make[3]: *** Waiting for unfinished jobs....
> [ 4%] Linking CXX executable test-vector
> cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/gsl++ && /usr/bin/cmake -E cmake_link_script CMakeFiles/test-vector.dir/link.txt --verbose=1
> /usr/bin/c++ -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -fvisibility=hidden -Wl,-z,relro -Wl,--as-needed -fvisibility=hidden CMakeFiles/test-vector.dir/test_vector.cc.o -o test-vector -rdynamic libmiagsl-2.2.so.4.0.3 -lboost_unit_test_framework -lgsl -lgslcblas -lm -Wl,-rpath,/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/gsl++
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
--
Martin Michlmayr
Linux for HPE Helion, Hewlett Packard Enterprise
More information about the Debian-med-packaging
mailing list