Source: odin
Version: 2.0.2-0.3
Severity: serious
Tags: stretch sid
User: debian...@lists.debian.org
Usertags: qa-ftbfs-20160828 qa-ftbfs
Justification: FTBFS on amd64

Hi,

During a rebuild of all packages in sid, your package failed to build on
amd64.

Relevant part (hopefully):
> /bin/bash ../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. 
> -I../tjutils  -I.. -I/<<PKGBUILDDIR>> -I/usr/include/qwt-qt4 
> -I/usr/share/qt4/include/QtGui -I/usr/share/qt4/include/QtCore 
> -I/usr/share/qt4/include -I. -I/usr/include/dcmtk 
> -I/usr/include/dcmtk/dcmdata -I/usr/include/dcmtk/ofstd 
> -I/usr/include/vtk-6.3 -I/usr/include/nifti   -Wdate-time -D_FORTIFY_SOURCE=2 
>  -O3 -fno-tree-vectorize -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. 
> -fstack-protector-strong -Wformat -Werror=format-security -c -o 
> seqgradspiral.lo seqgradspiral.cpp
> libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../tjutils -I.. 
> -I/<<PKGBUILDDIR>> -I/usr/include/qwt-qt4 -I/usr/share/qt4/include/QtGui 
> -I/usr/share/qt4/include/QtCore -I/usr/share/qt4/include -I. 
> -I/usr/include/dcmtk -I/usr/include/dcmtk/dcmdata -I/usr/include/dcmtk/ofstd 
> -I/usr/include/vtk-6.3 -I/usr/include/nifti -Wdate-time -D_FORTIFY_SOURCE=2 
> -O3 -fno-tree-vectorize -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. 
> -fstack-protector-strong -Wformat -Werror=format-security -c 
> seqgradspiral.cpp  -fPIC -DPIC -o .libs/seqgradspiral.o
> In file included from ../odinseq/seqplatform.h:24:0,
>                  from ../odinseq/seqdriver.h:23,
>                  from ../odinseq/seqphase.h:26,
>                  from ../odinseq/seqfreq.h:25,
>                  from ../odinseq/seqpuls.h:22,
>                  from ../odinseq/odinpulse.h:24,
>                  from seqgradspiral.h:23,
>                  from seqgradspiral.cpp:1:
> ../odinseq/seqplot.h:39:87: warning: invalid suffix on literal; C++11 
> requires a space between literal and string macro [-Wliteral-suffix]
>  static const char* timecourseUnit[]=  {ODIN_GRAD_UNIT,  ODIN_GRAD_UNIT, 
> ODIN_GRAD_UNIT"/"ODIN_TIME_UNIT, "rad/" ODIN_SPAT_UNIT, "rad*" ODIN_TIME_UNIT 
> "/" ODIN_SPAT_UNIT, "rad*" ODIN_TIME_UNIT "^2/" ODIN_SPAT_UNIT, 
> ODIN_TIME_UNIT "/" ODIN_SPAT_UNIT "^2", "rad/" ODIN_SPAT_UNIT, ODIN_TIME_UNIT 
> "/" ODIN_SPAT_UNIT "^2", ODIN_GRAD_UNIT};
>                                                                               
>          ^
> seqgradspiral.cpp: In member function 'float SeqGradSpiral::readout_npts() 
> const':
> seqgradspiral.cpp:30:71: error: no matching function for call to 'max(double, 
> float)'
>        max_grad_diff=STD_max(double(max_grad_diff),fabs(tds.Gx-last_Gx));
>                                                                        ^
> In file included from /usr/include/c++/6/bits/char_traits.h:39:0,
>                  from /usr/include/c++/6/ios:40,
>                  from /usr/include/c++/6/ostream:38,
>                  from /usr/include/c++/6/iostream:39,
>                  from ../tjutils/tjstd.h:72,
>                  from ../tjutils/tjutils.h:28,
>                  from ../tjutils/tjnumeric.h:21,
>                  from seqgradspiral.h:21,
>                  from seqgradspiral.cpp:1:
> /usr/include/c++/6/bits/stl_algobase.h:219:5: note: candidate: template<class 
> _Tp> constexpr const _Tp& std::max(const _Tp&, const _Tp&)
>      max(const _Tp& __a, const _Tp& __b)
>      ^~~
> /usr/include/c++/6/bits/stl_algobase.h:219:5: note:   template argument 
> deduction/substitution failed:
> seqgradspiral.cpp:30:71: note:   deduced conflicting types for parameter 
> 'const _Tp' ('double' and 'float')
>        max_grad_diff=STD_max(double(max_grad_diff),fabs(tds.Gx-last_Gx));
>                                                                        ^
> In file included from /usr/include/c++/6/bits/char_traits.h:39:0,
>                  from /usr/include/c++/6/ios:40,
>                  from /usr/include/c++/6/ostream:38,
>                  from /usr/include/c++/6/iostream:39,
>                  from ../tjutils/tjstd.h:72,
>                  from ../tjutils/tjutils.h:28,
>                  from ../tjutils/tjnumeric.h:21,
>                  from seqgradspiral.h:21,
>                  from seqgradspiral.cpp:1:
> /usr/include/c++/6/bits/stl_algobase.h:265:5: note: candidate: template<class 
> _Tp, class _Compare> constexpr const _Tp& std::max(const _Tp&, const _Tp&, 
> _Compare)
>      max(const _Tp& __a, const _Tp& __b, _Compare __comp)
>      ^~~
> /usr/include/c++/6/bits/stl_algobase.h:265:5: note:   template argument 
> deduction/substitution failed:
> seqgradspiral.cpp:30:71: note:   deduced conflicting types for parameter 
> 'const _Tp' ('double' and 'float')
>        max_grad_diff=STD_max(double(max_grad_diff),fabs(tds.Gx-last_Gx));
>                                                                        ^
> In file included from /usr/include/c++/6/algorithm:62:0,
>                  from ../tjutils/tjstd.h:111,
>                  from ../tjutils/tjutils.h:28,
>                  from ../tjutils/tjnumeric.h:21,
>                  from seqgradspiral.h:21,
>                  from seqgradspiral.cpp:1:
> /usr/include/c++/6/bits/stl_algo.h:3459:5: note: candidate: template<class 
> _Tp> constexpr _Tp std::max(std::initializer_list<_Tp>)
>      max(initializer_list<_Tp> __l)
>      ^~~
> /usr/include/c++/6/bits/stl_algo.h:3459:5: note:   template argument 
> deduction/substitution failed:
> seqgradspiral.cpp:30:71: note:   mismatched types 
> 'std::initializer_list<_Tp>' and 'double'
>        max_grad_diff=STD_max(double(max_grad_diff),fabs(tds.Gx-last_Gx));
>                                                                        ^
> In file included from /usr/include/c++/6/algorithm:62:0,
>                  from ../tjutils/tjstd.h:111,
>                  from ../tjutils/tjutils.h:28,
>                  from ../tjutils/tjnumeric.h:21,
>                  from seqgradspiral.h:21,
>                  from seqgradspiral.cpp:1:
> /usr/include/c++/6/bits/stl_algo.h:3465:5: note: candidate: template<class 
> _Tp, class _Compare> constexpr _Tp std::max(std::initializer_list<_Tp>, 
> _Compare)
>      max(initializer_list<_Tp> __l, _Compare __comp)
>      ^~~
> /usr/include/c++/6/bits/stl_algo.h:3465:5: note:   template argument 
> deduction/substitution failed:
> seqgradspiral.cpp:30:71: note:   mismatched types 
> 'std::initializer_list<_Tp>' and 'double'
>        max_grad_diff=STD_max(double(max_grad_diff),fabs(tds.Gx-last_Gx));
>                                                                        ^
> seqgradspiral.cpp:31:71: error: no matching function for call to 'max(double, 
> float)'
>        max_grad_diff=STD_max(double(max_grad_diff),fabs(tds.Gy-last_Gy));
>                                                                        ^
> In file included from /usr/include/c++/6/bits/char_traits.h:39:0,
>                  from /usr/include/c++/6/ios:40,
>                  from /usr/include/c++/6/ostream:38,
>                  from /usr/include/c++/6/iostream:39,
>                  from ../tjutils/tjstd.h:72,
>                  from ../tjutils/tjutils.h:28,
>                  from ../tjutils/tjnumeric.h:21,
>                  from seqgradspiral.h:21,
>                  from seqgradspiral.cpp:1:
> /usr/include/c++/6/bits/stl_algobase.h:219:5: note: candidate: template<class 
> _Tp> constexpr const _Tp& std::max(const _Tp&, const _Tp&)
>      max(const _Tp& __a, const _Tp& __b)
>      ^~~
> /usr/include/c++/6/bits/stl_algobase.h:219:5: note:   template argument 
> deduction/substitution failed:
> seqgradspiral.cpp:31:71: note:   deduced conflicting types for parameter 
> 'const _Tp' ('double' and 'float')
>        max_grad_diff=STD_max(double(max_grad_diff),fabs(tds.Gy-last_Gy));
>                                                                        ^
> In file included from /usr/include/c++/6/bits/char_traits.h:39:0,
>                  from /usr/include/c++/6/ios:40,
>                  from /usr/include/c++/6/ostream:38,
>                  from /usr/include/c++/6/iostream:39,
>                  from ../tjutils/tjstd.h:72,
>                  from ../tjutils/tjutils.h:28,
>                  from ../tjutils/tjnumeric.h:21,
>                  from seqgradspiral.h:21,
>                  from seqgradspiral.cpp:1:
> /usr/include/c++/6/bits/stl_algobase.h:265:5: note: candidate: template<class 
> _Tp, class _Compare> constexpr const _Tp& std::max(const _Tp&, const _Tp&, 
> _Compare)
>      max(const _Tp& __a, const _Tp& __b, _Compare __comp)
>      ^~~
> /usr/include/c++/6/bits/stl_algobase.h:265:5: note:   template argument 
> deduction/substitution failed:
> seqgradspiral.cpp:31:71: note:   deduced conflicting types for parameter 
> 'const _Tp' ('double' and 'float')
>        max_grad_diff=STD_max(double(max_grad_diff),fabs(tds.Gy-last_Gy));
>                                                                        ^
> In file included from /usr/include/c++/6/algorithm:62:0,
>                  from ../tjutils/tjstd.h:111,
>                  from ../tjutils/tjutils.h:28,
>                  from ../tjutils/tjnumeric.h:21,
>                  from seqgradspiral.h:21,
>                  from seqgradspiral.cpp:1:
> /usr/include/c++/6/bits/stl_algo.h:3459:5: note: candidate: template<class 
> _Tp> constexpr _Tp std::max(std::initializer_list<_Tp>)
>      max(initializer_list<_Tp> __l)
>      ^~~
> /usr/include/c++/6/bits/stl_algo.h:3459:5: note:   template argument 
> deduction/substitution failed:
> seqgradspiral.cpp:31:71: note:   mismatched types 
> 'std::initializer_list<_Tp>' and 'double'
>        max_grad_diff=STD_max(double(max_grad_diff),fabs(tds.Gy-last_Gy));
>                                                                        ^
> In file included from /usr/include/c++/6/algorithm:62:0,
>                  from ../tjutils/tjstd.h:111,
>                  from ../tjutils/tjutils.h:28,
>                  from ../tjutils/tjnumeric.h:21,
>                  from seqgradspiral.h:21,
>                  from seqgradspiral.cpp:1:
> /usr/include/c++/6/bits/stl_algo.h:3465:5: note: candidate: template<class 
> _Tp, class _Compare> constexpr _Tp std::max(std::initializer_list<_Tp>, 
> _Compare)
>      max(initializer_list<_Tp> __l, _Compare __comp)
>      ^~~
> /usr/include/c++/6/bits/stl_algo.h:3465:5: note:   template argument 
> deduction/substitution failed:
> seqgradspiral.cpp:31:71: note:   mismatched types 
> 'std::initializer_list<_Tp>' and 'double'
>        max_grad_diff=STD_max(double(max_grad_diff),fabs(tds.Gy-last_Gy));
>                                                                        ^
> seqgradspiral.cpp:34:61: error: no matching function for call to 'max(double, 
> float)'
>      max_grad_magn=STD_max(double(max_grad_magn),fabs(tds.Gx));
>                                                              ^
> In file included from /usr/include/c++/6/bits/char_traits.h:39:0,
>                  from /usr/include/c++/6/ios:40,
>                  from /usr/include/c++/6/ostream:38,
>                  from /usr/include/c++/6/iostream:39,
>                  from ../tjutils/tjstd.h:72,
>                  from ../tjutils/tjutils.h:28,
>                  from ../tjutils/tjnumeric.h:21,
>                  from seqgradspiral.h:21,
>                  from seqgradspiral.cpp:1:
> /usr/include/c++/6/bits/stl_algobase.h:219:5: note: candidate: template<class 
> _Tp> constexpr const _Tp& std::max(const _Tp&, const _Tp&)
>      max(const _Tp& __a, const _Tp& __b)
>      ^~~
> /usr/include/c++/6/bits/stl_algobase.h:219:5: note:   template argument 
> deduction/substitution failed:
> seqgradspiral.cpp:34:61: note:   deduced conflicting types for parameter 
> 'const _Tp' ('double' and 'float')
>      max_grad_magn=STD_max(double(max_grad_magn),fabs(tds.Gx));
>                                                              ^
> In file included from /usr/include/c++/6/bits/char_traits.h:39:0,
>                  from /usr/include/c++/6/ios:40,
>                  from /usr/include/c++/6/ostream:38,
>                  from /usr/include/c++/6/iostream:39,
>                  from ../tjutils/tjstd.h:72,
>                  from ../tjutils/tjutils.h:28,
>                  from ../tjutils/tjnumeric.h:21,
>                  from seqgradspiral.h:21,
>                  from seqgradspiral.cpp:1:
> /usr/include/c++/6/bits/stl_algobase.h:265:5: note: candidate: template<class 
> _Tp, class _Compare> constexpr const _Tp& std::max(const _Tp&, const _Tp&, 
> _Compare)
>      max(const _Tp& __a, const _Tp& __b, _Compare __comp)
>      ^~~
> /usr/include/c++/6/bits/stl_algobase.h:265:5: note:   template argument 
> deduction/substitution failed:
> seqgradspiral.cpp:34:61: note:   deduced conflicting types for parameter 
> 'const _Tp' ('double' and 'float')
>      max_grad_magn=STD_max(double(max_grad_magn),fabs(tds.Gx));
>                                                              ^
> In file included from /usr/include/c++/6/algorithm:62:0,
>                  from ../tjutils/tjstd.h:111,
>                  from ../tjutils/tjutils.h:28,
>                  from ../tjutils/tjnumeric.h:21,
>                  from seqgradspiral.h:21,
>                  from seqgradspiral.cpp:1:
> /usr/include/c++/6/bits/stl_algo.h:3459:5: note: candidate: template<class 
> _Tp> constexpr _Tp std::max(std::initializer_list<_Tp>)
>      max(initializer_list<_Tp> __l)
>      ^~~
> /usr/include/c++/6/bits/stl_algo.h:3459:5: note:   template argument 
> deduction/substitution failed:
> seqgradspiral.cpp:34:61: note:   mismatched types 
> 'std::initializer_list<_Tp>' and 'double'
>      max_grad_magn=STD_max(double(max_grad_magn),fabs(tds.Gx));
>                                                              ^
> In file included from /usr/include/c++/6/algorithm:62:0,
>                  from ../tjutils/tjstd.h:111,
>                  from ../tjutils/tjutils.h:28,
>                  from ../tjutils/tjnumeric.h:21,
>                  from seqgradspiral.h:21,
>                  from seqgradspiral.cpp:1:
> /usr/include/c++/6/bits/stl_algo.h:3465:5: note: candidate: template<class 
> _Tp, class _Compare> constexpr _Tp std::max(std::initializer_list<_Tp>, 
> _Compare)
>      max(initializer_list<_Tp> __l, _Compare __comp)
>      ^~~
> /usr/include/c++/6/bits/stl_algo.h:3465:5: note:   template argument 
> deduction/substitution failed:
> seqgradspiral.cpp:34:61: note:   mismatched types 
> 'std::initializer_list<_Tp>' and 'double'
>      max_grad_magn=STD_max(double(max_grad_magn),fabs(tds.Gx));
>                                                              ^
> seqgradspiral.cpp:35:61: error: no matching function for call to 'max(double, 
> float)'
>      max_grad_magn=STD_max(double(max_grad_magn),fabs(tds.Gy));
>                                                              ^
> In file included from /usr/include/c++/6/bits/char_traits.h:39:0,
>                  from /usr/include/c++/6/ios:40,
>                  from /usr/include/c++/6/ostream:38,
>                  from /usr/include/c++/6/iostream:39,
>                  from ../tjutils/tjstd.h:72,
>                  from ../tjutils/tjutils.h:28,
>                  from ../tjutils/tjnumeric.h:21,
>                  from seqgradspiral.h:21,
>                  from seqgradspiral.cpp:1:
> /usr/include/c++/6/bits/stl_algobase.h:219:5: note: candidate: template<class 
> _Tp> constexpr const _Tp& std::max(const _Tp&, const _Tp&)
>      max(const _Tp& __a, const _Tp& __b)
>      ^~~
> /usr/include/c++/6/bits/stl_algobase.h:219:5: note:   template argument 
> deduction/substitution failed:
> seqgradspiral.cpp:35:61: note:   deduced conflicting types for parameter 
> 'const _Tp' ('double' and 'float')
>      max_grad_magn=STD_max(double(max_grad_magn),fabs(tds.Gy));
>                                                              ^
> In file included from /usr/include/c++/6/bits/char_traits.h:39:0,
>                  from /usr/include/c++/6/ios:40,
>                  from /usr/include/c++/6/ostream:38,
>                  from /usr/include/c++/6/iostream:39,
>                  from ../tjutils/tjstd.h:72,
>                  from ../tjutils/tjutils.h:28,
>                  from ../tjutils/tjnumeric.h:21,
>                  from seqgradspiral.h:21,
>                  from seqgradspiral.cpp:1:
> /usr/include/c++/6/bits/stl_algobase.h:265:5: note: candidate: template<class 
> _Tp, class _Compare> constexpr const _Tp& std::max(const _Tp&, const _Tp&, 
> _Compare)
>      max(const _Tp& __a, const _Tp& __b, _Compare __comp)
>      ^~~
> /usr/include/c++/6/bits/stl_algobase.h:265:5: note:   template argument 
> deduction/substitution failed:
> seqgradspiral.cpp:35:61: note:   deduced conflicting types for parameter 
> 'const _Tp' ('double' and 'float')
>      max_grad_magn=STD_max(double(max_grad_magn),fabs(tds.Gy));
>                                                              ^
> In file included from /usr/include/c++/6/algorithm:62:0,
>                  from ../tjutils/tjstd.h:111,
>                  from ../tjutils/tjutils.h:28,
>                  from ../tjutils/tjnumeric.h:21,
>                  from seqgradspiral.h:21,
>                  from seqgradspiral.cpp:1:
> /usr/include/c++/6/bits/stl_algo.h:3459:5: note: candidate: template<class 
> _Tp> constexpr _Tp std::max(std::initializer_list<_Tp>)
>      max(initializer_list<_Tp> __l)
>      ^~~
> /usr/include/c++/6/bits/stl_algo.h:3459:5: note:   template argument 
> deduction/substitution failed:
> seqgradspiral.cpp:35:61: note:   mismatched types 
> 'std::initializer_list<_Tp>' and 'double'
>      max_grad_magn=STD_max(double(max_grad_magn),fabs(tds.Gy));
>                                                              ^
> In file included from /usr/include/c++/6/algorithm:62:0,
>                  from ../tjutils/tjstd.h:111,
>                  from ../tjutils/tjutils.h:28,
>                  from ../tjutils/tjnumeric.h:21,
>                  from seqgradspiral.h:21,
>                  from seqgradspiral.cpp:1:
> /usr/include/c++/6/bits/stl_algo.h:3465:5: note: candidate: template<class 
> _Tp, class _Compare> constexpr _Tp std::max(std::initializer_list<_Tp>, 
> _Compare)
>      max(initializer_list<_Tp> __l, _Compare __comp)
>      ^~~
> /usr/include/c++/6/bits/stl_algo.h:3465:5: note:   template argument 
> deduction/substitution failed:
> seqgradspiral.cpp:35:61: note:   mismatched types 
> 'std::initializer_list<_Tp>' and 'double'
>      max_grad_magn=STD_max(double(max_grad_magn),fabs(tds.Gy));
>                                                              ^
> Makefile:652: recipe for target 'seqgradspiral.lo' failed
> make[2]: *** [seqgradspiral.lo] Error 1

The full build log is available from:
   http://people.debian.org/~lucas/logs/2016/08/28/odin_2.0.2-0.3_unstable.log

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.

Reply via email to