[Debian-med-packaging] Bug#632582: insighttoolkit: FTBFS on s390: error: expected unqualified-id before 'namespace'

Jakub Wilk jwilk at debian.org
Sun Jul 3 18:41:43 UTC 2011


Package: insighttoolkit
Version: 3.20.0-10
Severity: serious
Justification: fails to build from source
User: debian-s390 at lists.debian.org
Usertags: s390

insighttoolkit failed to build from source on s390:
| /usr/include/c++/4.6/s390-linux-gnu/bits/c++config.h:314: error: expected unqualified-id before 'namespace'
| In file included from /usr/include/c++/4.6/bits/locale_facets.h:2608,
|                  from /usr/include/c++/4.6/bits/basic_ios.h:39,
|                  from /usr/include/c++/4.6/ios:45,
|                  from /usr/include/c++/4.6/istream:40,
|                  from /usr/include/c++/4.6/sstream:39,
|                  from /usr/share/gccxml-0.9/GCC/4.6/complex:47,
|                  from /build/buildd-insighttoolkit_3.20.0-10-s390-zuwxL3/insighttoolkit-3.20.0/Utilities/vxl/vcl/iso/vcl_complex.h:6,
|                  from /build/buildd-insighttoolkit_3.20.0-10-s390-zuwxL3/insighttoolkit-3.20.0/Utilities/vxl/vcl/vcl_complex.h:62,
|                  from /build/buildd-insighttoolkit_3.20.0-10-s390-zuwxL3/insighttoolkit-3.20.0/obj-s390-linux-gnu/Wrapping/WrapITK/Modules/VXLNumerics/wrap_vcl_complex.cxx:1:
| /usr/include/c++/4.6/bits/locale_facets.tcc:1295: error: explicit instantiation of non-template 'const int std::num_put'
| /usr/include/c++/4.6/bits/locale_facets.tcc:1295: error: expected `;' before '<' token
| /usr/include/c++/4.6/bits/locale_facets.tcc:1299: error: explicit instantiation of non-template 'const int std::num_get'
| /usr/include/c++/4.6/bits/locale_facets.tcc:1299: error: expected `;' before '<' token
| /usr/include/c++/4.6/bits/locale_facets.tcc:1312: error: 'num_put' was not declared in this scope
| /usr/include/c++/4.6/bits/locale_facets.tcc:1312: error: parse error in template argument list
| /usr/include/c++/4.6/bits/locale_facets.tcc:1312: error: template-id 'has_facet<<expression error> >' used as a declarator
| /usr/include/c++/4.6/bits/locale_facets.tcc:1312: error: explicit instantiation of non-template 'bool std::has_facet'
| /usr/include/c++/4.6/bits/locale_facets.tcc:1312: error: expected `;' before '>' token
| /usr/include/c++/4.6/bits/locale_facets.tcc:1316: error: 'num_get' was not declared in this scope
| /usr/include/c++/4.6/bits/locale_facets.tcc:1316: error: parse error in template argument list
| /usr/include/c++/4.6/bits/locale_facets.tcc:1316: error: template-id 'has_facet<<expression error> >' used as a declarator
| /usr/include/c++/4.6/bits/locale_facets.tcc:1316: error: explicit instantiation of non-template 'bool std::has_facet'
| /usr/include/c++/4.6/bits/locale_facets.tcc:1316: error: expected `;' before '>' token
| /usr/include/c++/4.6/bits/locale_facets.tcc:1334: error: explicit instantiation of non-template 'const int std::num_put'
| /usr/include/c++/4.6/bits/locale_facets.tcc:1334: error: expected `;' before '<' token
| /usr/include/c++/4.6/bits/locale_facets.tcc:1338: error: explicit instantiation of non-template 'const int std::num_get'
| /usr/include/c++/4.6/bits/locale_facets.tcc:1338: error: expected `;' before '<' token
| /usr/include/c++/4.6/bits/locale_facets.tcc:1351: error: 'num_put' was not declared in this scope
| /usr/include/c++/4.6/bits/locale_facets.tcc:1351: error: parse error in template argument list
| /usr/include/c++/4.6/bits/locale_facets.tcc:1351: error: template-id 'has_facet<<expression error> >' used as a declarator
| /usr/include/c++/4.6/bits/locale_facets.tcc:1351: error: explicit instantiation of non-template 'bool std::has_facet'
| /usr/include/c++/4.6/bits/locale_facets.tcc:1351: error: expected `;' before '>' token
| /usr/include/c++/4.6/bits/locale_facets.tcc:1355: error: 'num_get' was not declared in this scope
| /usr/include/c++/4.6/bits/locale_facets.tcc:1355: error: parse error in template argument list
| /usr/include/c++/4.6/bits/locale_facets.tcc:1355: error: template-id 'has_facet<<expression error> >' used as a declarator
| /usr/include/c++/4.6/bits/locale_facets.tcc:1355: error: explicit instantiation of non-template 'bool std::has_facet'
| /usr/include/c++/4.6/bits/locale_facets.tcc:1355: error: expected `;' before '>' token
| In file included from /usr/include/c++/4.6/ios:45,
|                  from /usr/include/c++/4.6/istream:40,
|                  from /usr/include/c++/4.6/sstream:39,
|                  from /usr/share/gccxml-0.9/GCC/4.6/complex:47,
|                  from /build/buildd-insighttoolkit_3.20.0-10-s390-zuwxL3/insighttoolkit-3.20.0/Utilities/vxl/vcl/iso/vcl_complex.h:6,
|                  from /build/buildd-insighttoolkit_3.20.0-10-s390-zuwxL3/insighttoolkit-3.20.0/Utilities/vxl/vcl/vcl_complex.h:62,
|                  from /build/buildd-insighttoolkit_3.20.0-10-s390-zuwxL3/insighttoolkit-3.20.0/obj-s390-linux-gnu/Wrapping/WrapITK/Modules/VXLNumerics/wrap_vcl_complex.cxx:1:
| /usr/include/c++/4.6/bits/basic_ios.h:85: error: expected ';' before '<' token
| /usr/include/c++/4.6/bits/basic_ios.h:87: error: expected ';' before '<' token
| /usr/include/c++/4.6/bits/basic_ios.h:101: error: expected ';' before '*' token
| /usr/include/c++/4.6/bits/basic_ios.h:103: error: expected ';' before '*' token
| /usr/include/c++/4.6/bits/basic_ios.h: In constructor 'std::basic_ios<_CharT, _Traits>::basic_ios(std::basic_streambuf<_CharT, _Traits>*)':
| /usr/include/c++/4.6/bits/basic_ios.h:264: error: class 'std::basic_ios<_CharT, _Traits>' does not have any field named '_M_num_put'
| /usr/include/c++/4.6/bits/basic_ios.h:264: error: class 'std::basic_ios<_CharT, _Traits>' does not have any field named '_M_num_get'
| /usr/include/c++/4.6/bits/basic_ios.h: In constructor 'std::basic_ios<_CharT, _Traits>::basic_ios()':
| /usr/include/c++/4.6/bits/basic_ios.h:454: error: class 'std::basic_ios<_CharT, _Traits>' does not have any field named '_M_num_put'
| /usr/include/c++/4.6/bits/basic_ios.h:454: error: class 'std::basic_ios<_CharT, _Traits>' does not have any field named '_M_num_get'
| In file included from /usr/include/c++/4.6/bits/basic_ios.h:473,
|                  from /usr/include/c++/4.6/ios:45,
|                  from /usr/include/c++/4.6/istream:40,
|                  from /usr/include/c++/4.6/sstream:39,
|                  from /usr/share/gccxml-0.9/GCC/4.6/complex:47,
|                  from /build/buildd-insighttoolkit_3.20.0-10-s390-zuwxL3/insighttoolkit-3.20.0/Utilities/vxl/vcl/iso/vcl_complex.h:6,
|                  from /build/buildd-insighttoolkit_3.20.0-10-s390-zuwxL3/insighttoolkit-3.20.0/Utilities/vxl/vcl/vcl_complex.h:62,
|                  from /build/buildd-insighttoolkit_3.20.0-10-s390-zuwxL3/insighttoolkit-3.20.0/obj-s390-linux-gnu/Wrapping/WrapITK/Modules/VXLNumerics/wrap_vcl_complex.cxx:1:
| /usr/include/c++/4.6/bits/basic_ios.tcc: In member function 'void std::basic_ios<_CharT, _Traits>::_M_cache_locale(const std::locale&)':
| /usr/include/c++/4.6/bits/basic_ios.tcc:165: error: '__num_put_type' was not declared in this scope
| /usr/include/c++/4.6/bits/basic_ios.tcc:165: error: no matching function for call to 'has_facet(const std::locale&)'
| /usr/include/c++/4.6/bits/basic_ios.tcc:166: error: '_M_num_put' was not declared in this scope
| /usr/include/c++/4.6/bits/basic_ios.tcc:166: error: '__num_put_type' cannot appear in a constant-expression
| /usr/include/c++/4.6/bits/basic_ios.tcc:166: error: no matching function for call to 'use_facet(const std::locale&)'
| /usr/include/c++/4.6/bits/basic_ios.tcc:168: error: '_M_num_put' was not declared in this scope
| /usr/include/c++/4.6/bits/basic_ios.tcc:170: error: '__num_get_type' was not declared in this scope
| /usr/include/c++/4.6/bits/basic_ios.tcc:170: error: no matching function for call to 'has_facet(const std::locale&)'
| /usr/include/c++/4.6/bits/basic_ios.tcc:171: error: '_M_num_get' was not declared in this scope
| /usr/include/c++/4.6/bits/basic_ios.tcc:171: error: '__num_get_type' cannot appear in a constant-expression
| /usr/include/c++/4.6/bits/basic_ios.tcc:171: error: no matching function for call to 'use_facet(const std::locale&)'
| /usr/include/c++/4.6/bits/basic_ios.tcc:173: error: '_M_num_get' was not declared in this scope
| In file included from /usr/include/c++/4.6/istream:41,
|                  from /usr/include/c++/4.6/sstream:39,
|                  from /usr/share/gccxml-0.9/GCC/4.6/complex:47,
|                  from /build/buildd-insighttoolkit_3.20.0-10-s390-zuwxL3/insighttoolkit-3.20.0/Utilities/vxl/vcl/iso/vcl_complex.h:6,
|                  from /build/buildd-insighttoolkit_3.20.0-10-s390-zuwxL3/insighttoolkit-3.20.0/Utilities/vxl/vcl/vcl_complex.h:62,
|                  from /build/buildd-insighttoolkit_3.20.0-10-s390-zuwxL3/insighttoolkit-3.20.0/obj-s390-linux-gnu/Wrapping/WrapITK/Modules/VXLNumerics/wrap_vcl_complex.cxx:1:
| /usr/include/c++/4.6/ostream: At global scope:
| /usr/include/c++/4.6/ostream:71: error: expected ';' before '<' token
| In file included from /usr/include/c++/4.6/ostream:588,
|                  from /usr/include/c++/4.6/istream:41,
|                  from /usr/include/c++/4.6/sstream:39,
|                  from /usr/share/gccxml-0.9/GCC/4.6/complex:47,
|                  from /build/buildd-insighttoolkit_3.20.0-10-s390-zuwxL3/insighttoolkit-3.20.0/Utilities/vxl/vcl/iso/vcl_complex.h:6,
|                  from /build/buildd-insighttoolkit_3.20.0-10-s390-zuwxL3/insighttoolkit-3.20.0/Utilities/vxl/vcl/vcl_complex.h:62,
|                  from /build/buildd-insighttoolkit_3.20.0-10-s390-zuwxL3/insighttoolkit-3.20.0/obj-s390-linux-gnu/Wrapping/WrapITK/Modules/VXLNumerics/wrap_vcl_complex.cxx:1:
| /usr/include/c++/4.6/bits/ostream.tcc: In member function 'std::basic_ostream<_CharT, _Traits>& std::basic_ostream<_CharT, _Traits>::_M_insert(_ValueT)':
| /usr/include/c++/4.6/bits/ostream.tcc:74: error: expected initializer before '&' token
| /usr/include/c++/4.6/bits/ostream.tcc:75: error: '__np' was not declared in this scope
| In file included from /usr/include/c++/4.6/sstream:39,
|                  from /usr/share/gccxml-0.9/GCC/4.6/complex:47,
|                  from /build/buildd-insighttoolkit_3.20.0-10-s390-zuwxL3/insighttoolkit-3.20.0/Utilities/vxl/vcl/iso/vcl_complex.h:6,
|                  from /build/buildd-insighttoolkit_3.20.0-10-s390-zuwxL3/insighttoolkit-3.20.0/Utilities/vxl/vcl/vcl_complex.h:62,
|                  from /build/buildd-insighttoolkit_3.20.0-10-s390-zuwxL3/insighttoolkit-3.20.0/obj-s390-linux-gnu/Wrapping/WrapITK/Modules/VXLNumerics/wrap_vcl_complex.cxx:1:
| /usr/include/c++/4.6/istream: At global scope:
| /usr/include/c++/4.6/istream:71: error: expected ';' before '<' token
| In file included from /usr/include/c++/4.6/istream:859,
|                  from /usr/include/c++/4.6/sstream:39,
|                  from /usr/share/gccxml-0.9/GCC/4.6/complex:47,
|                  from /build/buildd-insighttoolkit_3.20.0-10-s390-zuwxL3/insighttoolkit-3.20.0/Utilities/vxl/vcl/iso/vcl_complex.h:6,
|                  from /build/buildd-insighttoolkit_3.20.0-10-s390-zuwxL3/insighttoolkit-3.20.0/Utilities/vxl/vcl/vcl_complex.h:62,
|                  from /build/buildd-insighttoolkit_3.20.0-10-s390-zuwxL3/insighttoolkit-3.20.0/obj-s390-linux-gnu/Wrapping/WrapITK/Modules/VXLNumerics/wrap_vcl_complex.cxx:1:
| /usr/include/c++/4.6/bits/istream.tcc: In member function 'std::basic_istream<_CharT, _Traits>& std::basic_istream<_CharT, _Traits>::_M_extract(_ValueT&)':
| /usr/include/c++/4.6/bits/istream.tcc:97: error: expected initializer before '&' token
| /usr/include/c++/4.6/bits/istream.tcc:98: error: '__ng' was not declared in this scope
| /usr/include/c++/4.6/bits/istream.tcc: In member function 'std::basic_istream<_CharT, _Traits>& std::basic_istream<_CharT, _Traits>::operator>>(short int&)':
| /usr/include/c++/4.6/bits/istream.tcc:127: error: expected initializer before '&' token
| /usr/include/c++/4.6/bits/istream.tcc:128: error: '__ng' was not declared in this scope
| /usr/include/c++/4.6/bits/istream.tcc: In member function 'std::basic_istream<_CharT, _Traits>& std::basic_istream<_CharT, _Traits>::operator>>(int&)':
| /usr/include/c++/4.6/bits/istream.tcc:172: error: expected initializer before '&' token
| /usr/include/c++/4.6/bits/istream.tcc:173: error: '__ng' was not declared in this scope
| make[3]: *** [Wrapping/WrapITK/Modules/VXLNumerics/wrap_vcl_complex.xml] Error 1

Full build log:
https://buildd.debian.org/status/fetch.php?pkg=insighttoolkit&arch=s390&ver=3.20.0-10&stamp=1304749437

-- 
Jakub Wilk





More information about the Debian-med-packaging mailing list