[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#701343: qt-at-spi: ftbfs with GCC-4.8



Package: src:qt-at-spi
Version: 0.3.1-3
Severity: important
Tags: sid jessie
User: debian-gcc@lists.debian.org
Usertags: ftbfs-gcc-4.8

The package fails to build in a test rebuild on at least amd64 with
gcc-4.8/g++-4.8, but succeeds to build with gcc-4.7/g++-4.7. The
severity of this report may be raised before the jessie release.

  qtconcurrentfilter.h:108:47: error: typedef 'Iterator' locally defined but not used [-Werror=unused-local-typedefs]

The full build log can be found at:
http://people.debian.org/~doko/logs-20130217/gcc48/qt-at-spi_0.3.1-3_unstable_gcc48.log
The last lines of the build log are at the end of this report.

To build with GCC 4.8, either set CC=gcc-4.8 CXX=g++-4.8 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.

  apt-get -t experimental install g++ g++-4.7 g++-4.8 libc6-dev

The test rebuild was done with eglibc-2.17 and GCC-4.8, so some issues
might be caused by the updated glibc.

[...]
                 from /usr/include/qt4/QtDBus/QtDBus:3,
                 from generated/dec_proxy.h:16,
                 from application.cpp:26:
/usr/include/qt4/QtCore/qtconcurrentfilter.h: In function 'QtConcurrent::ThreadEngineStarter<void> QtConcurrent::filterInternal(Sequence&, KeepFunctor, ReduceFunctor)':
/usr/include/qt4/QtCore/qtconcurrentfilter.h:108:47: error: typedef 'Iterator' locally defined but not used [-Werror=unused-local-typedefs]
     typedef typename Sequence::const_iterator Iterator;
                                               ^
In file included from /usr/include/qt4/QtCore/QtCore:94:0,
                 from /usr/include/qt4/QtDBus/QtDBus:3,
                 from generated/dec_proxy.h:16,
                 from bridge.cpp:32:
/usr/include/qt4/QtCore/qtconcurrentfilter.h: In function 'QtConcurrent::ThreadEngineStarter<void> QtConcurrent::filterInternal(Sequence&, KeepFunctor, ReduceFunctor)':
/usr/include/qt4/QtCore/qtconcurrentfilter.h:108:47: error: typedef 'Iterator' locally defined but not used [-Werror=unused-local-typedefs]
     typedef typename Sequence::const_iterator Iterator;
                                               ^
/usr/bin/moc-qt4 -DQT_PLUGIN -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I/usr/include/qt4/QtDBus -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I.moc generated/dec_proxy.h -o .moc/moc_dec_proxy.cpp
/usr/bin/moc-qt4 -DQT_PLUGIN -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I/usr/include/qt4/QtDBus -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I.moc generated/socket_proxy.h -o .moc/moc_socket_proxy.cpp
cc1plus: all warnings being treated as errors
make[3]: *** [.obj/cache_adaptor.o] Error 1
make[3]: *** Waiting for unfinished jobs....
cc1plus: all warnings being treated as errors
cc1plus: all warnings being treated as errors
make[3]: *** [.obj/dec_proxy.o] Error 1
make[3]: *** [.obj/socket_proxy.o] Error 1
cc1plus: all warnings being treated as errors
make[3]: *** [.obj/cache.o] Error 1
cc1plus: all warnings being treated as errors
make[3]: *** [.obj/bridge.o] Error 1
cc1plus: all warnings being treated as errors
make[3]: *** [.obj/struct_marshallers.o] Error 1
cc1plus: all warnings being treated as errors
make[3]: *** [.obj/application.o] Error 1
In file included from /usr/include/qt4/QtCore/QtCore:94:0,
                 from /usr/include/qt4/QtDBus/QtDBus:3,
                 from generated/socket_proxy.h:21,
                 from atspiadaptor.cpp:30:
/usr/include/qt4/QtCore/qtconcurrentfilter.h: In function 'QtConcurrent::ThreadEngineStarter<void> QtConcurrent::filterInternal(Sequence&, KeepFunctor, ReduceFunctor)':
/usr/include/qt4/QtCore/qtconcurrentfilter.h:108:47: error: typedef 'Iterator' locally defined but not used [-Werror=unused-local-typedefs]
     typedef typename Sequence::const_iterator Iterator;
                                               ^
cc1plus: all warnings being treated as errors
make[3]: *** [.obj/atspiadaptor.o] Error 1
make[3]: Leaving directory `/«PKGBUILDDIR»/src'
make[2]: *** [sub-src-make_default-ordered] Error 2
make[2]: Leaving directory `/«PKGBUILDDIR»'
dh_auto_build: make -j10 returned exit code 2
make[1]: *** [override_dh_auto_build] Error 25
make[1]: Leaving directory `/«PKGBUILDDIR»'
make: *** [build-arch] Error 2
dpkg-buildpackage: error: debian/rules build-arch gave error exit status 2


Reply to: