[DRE-maint] Bug#455665: FTBFS with GCC 4.3: error: explicit template specialization cannot have a storage class

Martin Michlmayr tbm at cyrius.com
Tue Dec 11 03:56:44 UTC 2007


Package: libqt4-ruby
Version: 1.4.9-6
Usertags: ftbfs-gcc-4.3

Your package fails to build with GCC 4.3.  Version 4.3 has not been
released yet but I'm building with a snapshot in order to find errors
and give people an advance warning.

You can reproduce this problem with gcc-snapshot from unstable.  Note
that Red Hat, Novell and Ubuntu have done some work getting packages
to build with GCC 4.3 so there might be patches floating around
somewhere.  I suggest you talk to your upstream.


> Automatic build of libqt4-ruby_1.4.9-6 on em64t by sbuild/amd64 0.53
...
> [ 51%] Building CXX object smoke/qt/CMakeFiles/smokeqt4.dir/x_20.o
> Linking CXX shared library libsmokeqt4.so
> make[3]: Leaving directory `/build/tbm/libqt4-ruby-1.4.9'
> [ 51%] Built target smokeqt4
> make[3]: Entering directory `/build/tbm/libqt4-ruby-1.4.9'
> Scanning dependencies of target qtruby4
> make[3]: Leaving directory `/build/tbm/libqt4-ruby-1.4.9'
> make[3]: Entering directory `/build/tbm/libqt4-ruby-1.4.9'
> [ 53%] Building CXX object ruby/qtruby/src/CMakeFiles/qtruby4.dir/Qt.o
> [ 55%] Building CXX object ruby/qtruby/src/CMakeFiles/qtruby4.dir/handlers.o
> In file included from /build/tbm/libqt4-ruby-1.4.9/ruby/qtruby/src/marshall_basetypes.h:41,
>                  from /build/tbm/libqt4-ruby-1.4.9/ruby/qtruby/src/handlers.cpp:704:
> /build/tbm/libqt4-ruby-1.4.9/ruby/qtruby/src/marshall_primitives.h:20: error: explicit template specialization cannot have a storage class
> /build/tbm/libqt4-ruby-1.4.9/ruby/qtruby/src/marshall_primitives.h:26: error: explicit template specialization cannot have a storage class
> /build/tbm/libqt4-ruby-1.4.9/ruby/qtruby/src/marshall_primitives.h:32: error: explicit template specialization cannot have a storage class
> /build/tbm/libqt4-ruby-1.4.9/ruby/qtruby/src/marshall_primitives.h:38: error: explicit template specialization cannot have a storage class
> /build/tbm/libqt4-ruby-1.4.9/ruby/qtruby/src/marshall_primitives.h:44: error: explicit template specialization cannot have a storage class
> /build/tbm/libqt4-ruby-1.4.9/ruby/qtruby/src/marshall_primitives.h:50: error: explicit template specialization cannot have a storage class
> /build/tbm/libqt4-ruby-1.4.9/ruby/qtruby/src/marshall_primitives.h:56: error: explicit template specialization cannot have a storage class
> /build/tbm/libqt4-ruby-1.4.9/ruby/qtruby/src/marshall_primitives.h:62: error: explicit template specialization cannot have a storage class
> /build/tbm/libqt4-ruby-1.4.9/ruby/qtruby/src/marshall_primitives.h:68: error: explicit template specialization cannot have a storage class
> /build/tbm/libqt4-ruby-1.4.9/ruby/qtruby/src/marshall_primitives.h:74: error: explicit template specialization cannot have a storage class
> /build/tbm/libqt4-ruby-1.4.9/ruby/qtruby/src/marshall_primitives.h:84: error: explicit template specialization cannot have a storage class
> /build/tbm/libqt4-ruby-1.4.9/ruby/qtruby/src/marshall_primitives.h:90: error: explicit template specialization cannot have a storage class
> /build/tbm/libqt4-ruby-1.4.9/ruby/qtruby/src/marshall_primitives.h:100: error: explicit template specialization cannot have a storage class
> /build/tbm/libqt4-ruby-1.4.9/ruby/qtruby/src/marshall_primitives.h:106: error: explicit template specialization cannot have a storage class
> /build/tbm/libqt4-ruby-1.4.9/ruby/qtruby/src/marshall_primitives.h:116: error: explicit template specialization cannot have a storage class
> /build/tbm/libqt4-ruby-1.4.9/ruby/qtruby/src/marshall_primitives.h:122: error: explicit template specialization cannot have a storage class
> /build/tbm/libqt4-ruby-1.4.9/ruby/qtruby/src/marshall_primitives.h:132: error: explicit template specialization cannot have a storage class
> /build/tbm/libqt4-ruby-1.4.9/ruby/qtruby/src/marshall_primitives.h:138: error: explicit template specialization cannot have a storage class
> /build/tbm/libqt4-ruby-1.4.9/ruby/qtruby/src/marshall_primitives.h:144: error: explicit template specialization cannot have a storage class
> /build/tbm/libqt4-ruby-1.4.9/ruby/qtruby/src/marshall_primitives.h:150: error: explicit template specialization cannot have a storage class
> /build/tbm/libqt4-ruby-1.4.9/ruby/qtruby/src/marshall_primitives.h:156: error: explicit template specialization cannot have a storage class
> /build/tbm/libqt4-ruby-1.4.9/ruby/qtruby/src/marshall_primitives.h:162: error: explicit template specialization cannot have a storage class
> /build/tbm/libqt4-ruby-1.4.9/ruby/qtruby/src/marshall_primitives.h:168: error: explicit template specialization cannot have a storage class
> /build/tbm/libqt4-ruby-1.4.9/ruby/qtruby/src/marshall_primitives.h:174: error: explicit template specialization cannot have a storage class
> /build/tbm/libqt4-ruby-1.4.9/ruby/qtruby/src/marshall_primitives.h:180: error: explicit template specialization cannot have a storage class
> /build/tbm/libqt4-ruby-1.4.9/ruby/qtruby/src/marshall_primitives.h:186: error: explicit template specialization cannot have a storage class
> /build/tbm/libqt4-ruby-1.4.9/ruby/qtruby/src/marshall_primitives.h:195: error: explicit template specialization cannot have a storage class
> /build/tbm/libqt4-ruby-1.4.9/ruby/qtruby/src/marshall_primitives.h:208: error: explicit template specialization cannot have a storage class
> /build/tbm/libqt4-ruby-1.4.9/ruby/qtruby/src/marshall_primitives.h:218: error: explicit template specialization cannot have a storage class
> In file included from /build/tbm/libqt4-ruby-1.4.9/ruby/qtruby/src/marshall_basetypes.h:42,
>                  from /build/tbm/libqt4-ruby-1.4.9/ruby/qtruby/src/handlers.cpp:704:
> /build/tbm/libqt4-ruby-1.4.9/ruby/qtruby/src/marshall_complex.h:22: error: explicit template specialization cannot have a storage class
> /build/tbm/libqt4-ruby-1.4.9/ruby/qtruby/src/marshall_complex.h:36: error: explicit template specialization cannot have a storage class
> /build/tbm/libqt4-ruby-1.4.9/ruby/qtruby/src/marshall_complex.h:63: error: explicit template specialization cannot have a storage class
> /build/tbm/libqt4-ruby-1.4.9/ruby/qtruby/src/marshall_complex.h:79: error: explicit template specialization cannot have a storage class
> /build/tbm/libqt4-ruby-1.4.9/ruby/qtruby/src/marshall_complex.h:103: error: explicit template specialization cannot have a storage class
> /build/tbm/libqt4-ruby-1.4.9/ruby/qtruby/src/marshall_complex.h:117: error: explicit template specialization cannot have a storage class
> In file included from /build/tbm/libqt4-ruby-1.4.9/ruby/qtruby/src/handlers.cpp:704:
> /build/tbm/libqt4-ruby-1.4.9/ruby/qtruby/src/marshall_basetypes.h:50: error: explicit template specialization cannot have a storage class
> /build/tbm/libqt4-ruby-1.4.9/ruby/qtruby/src/marshall_basetypes.h:65: error: explicit template specialization cannot have a storage class
> /build/tbm/libqt4-ruby-1.4.9/ruby/qtruby/src/marshall_basetypes.h:73: error: explicit template specialization cannot have a storage class
> /build/tbm/libqt4-ruby-1.4.9/ruby/qtruby/src/marshall_basetypes.h:119: error: explicit template specialization cannot have a storage class
> /build/tbm/libqt4-ruby-1.4.9/ruby/qtruby/src/marshall_basetypes.h:164: error: explicit template specialization cannot have a storage class
> /build/tbm/libqt4-ruby-1.4.9/ruby/qtruby/src/marshall_basetypes.h:180: error: explicit template specialization cannot have a storage class
> /build/tbm/libqt4-ruby-1.4.9/ruby/qtruby/src/marshall_basetypes.h:186: error: explicit template specialization cannot have a storage class
> make[3]: *** [ruby/qtruby/src/CMakeFiles/qtruby4.dir/handlers.o] Error 1
> make[3]: Leaving directory `/build/tbm/libqt4-ruby-1.4.9'
> make[2]: *** [ruby/qtruby/src/CMakeFiles/qtruby4.dir/all] Error 2

-- 
Martin Michlmayr
http://www.cyrius.com/






More information about the Pkg-ruby-extras-maintainers mailing list