Bug#701303: kstars: ftbfs with GCC-4.8
Package: src:kstars
Version: 4:4.8.4-1
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.
../../kstars/indi/indielement.h:55:47: error: expected identifier before numeric constant
The full build log can be found at:
http://people.debian.org/~doko/logs-20130217/gcc48/kstars_4.8.4-1_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 moc_skymapqdraw.cpp:10,
from kstars_automoc.cpp:8:
/usr/include/qt4/QtCore/qtconcurrentfilter.h: In function 'QtConcurrent::ThreadEngineStarter<void> QtConcurrent::filterInternal(Sequence&, KeepFunctor, ReduceFunctor)':
/usr/include/qt4/QtCore/qtconcurrentfilter.h:108:47: warning: typedef 'Iterator' locally defined but not used [-Wunused-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 ../../kstars/kstars.h:20,
from ../../kstars/oal/log.h:27,
from ../../kstars/indi/indidriver.cpp:44:
/usr/include/qt4/QtCore/qtconcurrentfilter.h: In function 'QtConcurrent::ThreadEngineStarter<void> QtConcurrent::filterInternal(Sequence&, KeepFunctor, ReduceFunctor)':
/usr/include/qt4/QtCore/qtconcurrentfilter.h:108:47: warning: typedef 'Iterator' locally defined but not used [-Wunused-local-typedefs]
typedef typename Sequence::const_iterator Iterator;
^
In file included from /usr/include/pthread.h:24:0,
from /usr/include/x86_64-linux-gnu/c++/4.8/bits/gthr-default.h:35,
from /usr/include/x86_64-linux-gnu/c++/4.8/bits/gthr.h:148,
from /usr/include/c++/4.8/ext/atomicity.h:33,
from /usr/include/c++/4.8/bits/basic_string.h:39,
from /usr/include/c++/4.8/string:52,
from /usr/include/qt4/QtCore/qstring.h:54,
from /usr/include/qt4/QtCore/qobject.h:48,
from /usr/include/qt4/QtGui/qwidget.h:46,
from /usr/include/qt4/QtGui/qframe.h:45,
from /usr/include/qt4/QtGui/QFrame:1,
from ../../kstars/indi/indidriver.h:20,
from ../../kstars/indi/indidriver.cpp:17:
../../kstars/indi/indielement.h: At global scope:
../../kstars/indi/indielement.h:55:47: error: expected identifier before numeric constant
enum stdProperties { CONNECTION, DEVICE_PORT, TIME_UTC, TIME_LST, TIME_UTC_OFFSET, GEOGRAPHIC_COORD, /* General */
^
../../kstars/indi/indielement.h:55:47: error: expected '}' before numeric constant
../../kstars/indi/indielement.h:55:47: error: expected unqualified-id before numeric constant
In file included from ../../kstars/indi/indimenu.h:15:0,
from ../../kstars/indi/indidriver.cpp:46:
../../kstars/indi/indielement.h:63:33: error: expected declaration before '}' token
FILTER_SLOT}; /* Filter */
^
make[4]: *** [kstars/CMakeFiles/kstars.dir/indi/indidriver.o] Error 1
make[3]: *** [kstars/CMakeFiles/kstars.dir/all] Error 2
make[4]: Leaving directory `/«PKGBUILDDIR»/obj-x86_64-linux-gnu'
make[3]: Leaving directory `/«PKGBUILDDIR»/obj-x86_64-linux-gnu'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/«PKGBUILDDIR»/obj-x86_64-linux-gnu'
dh_auto_build: make -j10 returned exit code 2
make[1]: *** [pre_build_dh_auto_build] Error 2
make[1]: Leaving directory `/«PKGBUILDDIR»'
make: *** [debian/dhmk_build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
Reply to: