[Debian-med-packaging] Bug#871573: insighttoolkit4 fails to build from source

Matthias Klose doko at debian.org
Wed Aug 9 12:40:32 UTC 2017


Package: src:insighttoolkit4
Version: 4.12.0-dfsg1-1
Severity: serious
Tags: sid buster

[...]
[ 55%] Generating ../../itkFixedArray.xml
cd
/home/packages/tmp/insighttoolkit4-4.12.0-dfsg1/BUILD/Wrapping/Modules/ITKCommon
&& /usr/bin/castxml -o
/home/packages/tmp/insighttoolkit4-4.12.0-dfsg1/BUILD/Wrapping/itkFixedArray.xml
--castxml-gccxml --castxml-start _wrapping_ --castxml-cc-gnu "(" /usr/bin/c++ -g
-O2 -fdebug-prefix-map=/home/packages/tmp/insighttoolkit4-4.12.0-dfsg1=.
-fstack-protector-strong -Wformat -Werror=format-security -Wdate-time
-D_FORTIFY_SOURCE=2 -I/usr/include/nifti -Wall -Wcast-align
-Wdisabled-optimization -Wextra -Wformat=2 -Winvalid-pch -Wno-format-nonliteral
-Wpointer-arith -Wshadow -Wunused -Wwrite-strings -funit-at-a-time
-Wno-strict-overflow -Wno-deprecated -Wno-invalid-offsetof -Woverloaded-virtual
-Wstrict-null-sentinel ")" -w -c
@/home/packages/tmp/insighttoolkit4-4.12.0-dfsg1/BUILD/Wrapping/ITKCommon.castxml.inc
/home/packages/tmp/insighttoolkit4-4.12.0-dfsg1/BUILD/Wrapping/itkFixedArray.cxx
In file included from
/home/packages/tmp/insighttoolkit4-4.12.0-dfsg1/BUILD/Wrapping/itkFixedArray.cxx:1:
In file included from
/home/packages/tmp/insighttoolkit4-4.12.0-dfsg1/Modules/Core/Common/include/itkCommand.h:21:
In file included from
/home/packages/tmp/insighttoolkit4-4.12.0-dfsg1/Modules/Core/Common/include/itkObject.h:31:
In file included from
/home/packages/tmp/insighttoolkit4-4.12.0-dfsg1/Modules/Core/Common/include/itkLightObject.h:21:
In file included from
/home/packages/tmp/insighttoolkit4-4.12.0-dfsg1/Modules/Core/Common/include/itkMacro.h:47:
In file included from /usr/include/c++/7/string:52:
In file included from /usr/include/c++/7/bits/basic_string.h:6159:
In file included from /usr/include/c++/7/ext/string_conversions.h:41:
In file included from /usr/include/c++/7/cstdlib:77:
/usr/include/c++/7/bits/std_abs.h:103:16: error: invalid operands to binary
expression ('__castxml__float128' (aka '__castxml__float128_s') and 'int')
  { return __x < 0 ? -__x : __x; }
           ~~~ ^ ~
/usr/include/c++/7/bits/stl_pair.h:449:5: note: candidate template ignored:
could not match 'pair<type-parameter-0-0, type-parameter-0-1>' against
'__castxml__float128_s'
    operator<(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y)
    ^
/usr/include/c++/7/bits/stl_iterator.h:305:5: note: candidate template ignored:
could not match 'reverse_iterator<type-parameter-0-0>' against
'__castxml__float128_s'
    operator<(const reverse_iterator<_Iterator>& __x,
    ^
/usr/include/c++/7/bits/stl_iterator.h:343:5: note: candidate template ignored:
could not match 'reverse_iterator<type-parameter-0-0>' against
'__castxml__float128_s'
    operator<(const reverse_iterator<_IteratorL>& __x,
    ^
/usr/include/c++/7/bits/stl_iterator.h:1142:5: note: candidate template ignored:
could not match 'move_iterator<type-parameter-0-0>' against '__castxml__float128_s'
    operator<(const move_iterator<_IteratorL>& __x,
    ^
/usr/include/c++/7/bits/stl_iterator.h:1148:5: note: candidate template ignored:
could not match 'move_iterator<type-parameter-0-0>' against '__castxml__float128_s'
    operator<(const move_iterator<_Iterator>& __x,
    ^
/usr/include/c++/7/bits/basic_string.h:5892:5: note: candidate template ignored:
could not match 'basic_string<type-parameter-0-0, type-parameter-0-1,
type-parameter-0-2>' against '__castxml__float128_s'
    operator<(const basic_string<_CharT, _Traits, _Alloc>& __lhs,
    ^
/usr/include/c++/7/bits/basic_string.h:5905:5: note: candidate template ignored:
could not match 'basic_string<type-parameter-0-0, type-parameter-0-1,
type-parameter-0-2>' against '__castxml__float128_s'
    operator<(const basic_string<_CharT, _Traits, _Alloc>& __lhs,
    ^
/usr/include/c++/7/bits/basic_string.h:5917:5: note: candidate template ignored:
could not match 'const _CharT *' against '__castxml__float128' (aka
'__castxml__float128_s')
    operator<(const _CharT* __lhs,
    ^
In file included from
/home/packages/tmp/insighttoolkit4-4.12.0-dfsg1/BUILD/Wrapping/itkFixedArray.cxx:1:
In file included from
/home/packages/tmp/insighttoolkit4-4.12.0-dfsg1/Modules/Core/Common/include/itkCommand.h:21:
In file included from
/home/packages/tmp/insighttoolkit4-4.12.0-dfsg1/Modules/Core/Common/include/itkObject.h:31:
In file included from
/home/packages/tmp/insighttoolkit4-4.12.0-dfsg1/Modules/Core/Common/include/itkLightObject.h:21:
In file included from
/home/packages/tmp/insighttoolkit4-4.12.0-dfsg1/Modules/Core/Common/include/itkMacro.h:47:
In file included from /usr/include/c++/7/string:52:
In file included from /usr/include/c++/7/bits/basic_string.h:6159:
In file included from /usr/include/c++/7/ext/string_conversions.h:41:
In file included from /usr/include/c++/7/cstdlib:77:
/usr/include/c++/7/bits/std_abs.h:103:22: error: invalid argument type
'__castxml__float128' (aka '__castxml__float128_s') to unary expression
  { return __x < 0 ? -__x : __x; }
                     ^~~~
/usr/include/c++/7/bits/std_abs.h:102:3: error: no return statement in constexpr
function
  abs(__float128 __x)
  ^
3 errors generated.
Wrapping/Modules/ITKCommon/CMakeFiles/ITKCommonCastXML.dir/build.make:145:
recipe for target 'Wrapping/itkFixedArray.xml' failed
make[3]: *** [Wrapping/itkFixedArray.xml] Error 1
make[3]: Leaving directory '/home/packages/tmp/insighttoolkit4-4.12.0-dfsg1/BUILD'
CMakeFiles/Makefile2:33770: recipe for target
'Wrapping/Modules/ITKCommon/CMakeFiles/ITKCommonCastXML.dir/all' failed
make[2]: *** [Wrapping/Modules/ITKCommon/CMakeFiles/ITKCommonCastXML.dir/all]
Error 2
make[2]: Leaving directory '/home/packages/tmp/insighttoolkit4-4.12.0-dfsg1/BUILD'
Makefile:165: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/home/packages/tmp/insighttoolkit4-4.12.0-dfsg1/BUILD'
dh_auto_build: make -j1 returned exit code 2
debian/rules:82: recipe for target 'build' failed
make: *** [build] Error 2h



More information about the Debian-med-packaging mailing list