[Pkg-kde-extras] Bug#897792: libqaccessibilityclient: ftbfs with GCC-8
Matthias Klose
doko at debian.org
Fri May 4 13:22:21 BST 2018
Package: src:libqaccessibilityclient
Version: 0.1.1-5
Severity: normal
Tags: sid buster
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-8
Please keep this issue open in the bug tracker for the package it
was filed for. If a fix in another package is required, please
file a bug for the other package (or clone), and add a block in this
package. Please keep the issue open until the package can be built in
a follow-up test rebuild.
The package fails to build in a test rebuild on at least amd64 with
gcc-8/g++-8, but succeeds to build with gcc-7/g++-7. The
severity of this report will be raised before the buster release.
The full build log can be found at:
http://aws-logs.debian.net/2018/05/01/gcc8/libqaccessibilityclient_0.1.1-5_unstable_gcc8.log.gz
The last lines of the build log are at the end of this report.
To build with GCC 8, either set CC=gcc-8 CXX=g++-8 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.
apt-get -t=experimental install g++
Common build failures are new warnings resulting in build failures with
-Werror turned on, or new/dropped symbols in Debian symbols files.
For other C/C++ related build failures see the porting guide at
http://gcc.gnu.org/gcc-8/porting_to.html
[...]
make[3]: Entering directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src && /usr/bin/c++ -DQACCESSIBILITYCLIENT_LIBRARY -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_USE_FAST_CONCATENATION -DQT_USE_FAST_OPERATOR_PLUS -Dqaccessibilityclient_EXPORTS -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/qaccessibilityclient_autogen/include -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -I/<<PKGBUILDDIR>> -isystem /usr/include/qt4 -isystem /usr/include/qt4/QtGui -isystem /usr/include/qt4/QtCore -I/usr/include/qt4/QtDBus -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src -I/<<PKGBUILDDIR>>/src -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -fvisibility=hidden -fvisibility-inlines-hidden -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -g -DNDEBUG -fPIC -o CMakeFiles/qaccessibilityclient.dir/qaccessibilityclient/registry.cpp.o -c /<<PKGBUILDDIR>>/src/qaccessibilityclient/registry.cpp
In file included from /<<PKGBUILDDIR>>/src/qaccessibilityclient/registry.h:27,
from /<<PKGBUILDDIR>>/src/qaccessibilityclient/registry.cpp:21:
/<<PKGBUILDDIR>>/src/qaccessibilityclient/accessibleobject.h:718:81: error: 'QDebug QAccessibleClient::operator<<(QDebug, const QAccessibleClient::AccessibleObject&)' should have been declared inside 'QAccessibleClient'
friend QDebug QAccessibleClient::operator<<(QDebug, const AccessibleObject &);
^
In file included from /<<PKGBUILDDIR>>/src/qaccessibilityclient/registry_p.h:38,
from /<<PKGBUILDDIR>>/src/qaccessibilityclient/registry.cpp:22:
/<<PKGBUILDDIR>>/src/qaccessibilityclient/cachestrategy_p.h: In member function 'virtual bool QAccessibleClient::CacheWeakStrategy::remove(const QString&)':
/<<PKGBUILDDIR>>/src/qaccessibilityclient/cachestrategy_p.h:59:5: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
/<<PKGBUILDDIR>>/src/qaccessibilityclient/cachestrategy_p.h: In member function 'virtual bool QAccessibleClient::CacheStrongStrategy::remove(const QString&)':
/<<PKGBUILDDIR>>/src/qaccessibilityclient/cachestrategy_p.h:100:5: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
make[3]: *** [src/CMakeFiles/qaccessibilityclient.dir/build.make:92: src/CMakeFiles/qaccessibilityclient.dir/qaccessibilityclient/registry.cpp.o] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[3]: Entering directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src && /usr/bin/c++ -DQACCESSIBILITYCLIENT_LIBRARY -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_USE_FAST_CONCATENATION -DQT_USE_FAST_OPERATOR_PLUS -Dqaccessibilityclient_EXPORTS -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/qaccessibilityclient_autogen/include -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -I/<<PKGBUILDDIR>> -isystem /usr/include/qt4 -isystem /usr/include/qt4/QtGui -isystem /usr/include/qt4/QtCore -I/usr/include/qt4/QtDBus -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src -I/<<PKGBUILDDIR>>/src -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -fvisibility=hidden -fvisibility-inlines-hidden -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -g -DNDEBUG -fPIC -o CMakeFiles/qaccessibilityclient.dir/qaccessibilityclient/registry_p.cpp.o -c /<<PKGBUILDDIR>>/src/qaccessibilityclient/registry_p.cpp
In file included from /<<PKGBUILDDIR>>/src/qaccessibilityclient/registry.h:27,
from /<<PKGBUILDDIR>>/src/qaccessibilityclient/registry_p.h:34,
from /<<PKGBUILDDIR>>/src/qaccessibilityclient/registry_p.cpp:21:
/<<PKGBUILDDIR>>/src/qaccessibilityclient/accessibleobject.h:718:81: error: 'QDebug QAccessibleClient::operator<<(QDebug, const QAccessibleClient::AccessibleObject&)' should have been declared inside 'QAccessibleClient'
friend QDebug QAccessibleClient::operator<<(QDebug, const AccessibleObject &);
^
In file included from /<<PKGBUILDDIR>>/src/qaccessibilityclient/registry_p.h:38,
from /<<PKGBUILDDIR>>/src/qaccessibilityclient/registry_p.cpp:21:
/<<PKGBUILDDIR>>/src/qaccessibilityclient/cachestrategy_p.h: In member function 'virtual bool QAccessibleClient::CacheWeakStrategy::remove(const QString&)':
/<<PKGBUILDDIR>>/src/qaccessibilityclient/cachestrategy_p.h:59:5: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
/<<PKGBUILDDIR>>/src/qaccessibilityclient/cachestrategy_p.h: In member function 'virtual bool QAccessibleClient::CacheStrongStrategy::remove(const QString&)':
/<<PKGBUILDDIR>>/src/qaccessibilityclient/cachestrategy_p.h:100:5: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
make[3]: *** [src/CMakeFiles/qaccessibilityclient.dir/build.make:105: src/CMakeFiles/qaccessibilityclient.dir/qaccessibilityclient/registry_p.cpp.o] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[3]: Entering directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src && /usr/bin/c++ -DQACCESSIBILITYCLIENT_LIBRARY -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_USE_FAST_CONCATENATION -DQT_USE_FAST_OPERATOR_PLUS -Dqaccessibilityclient_EXPORTS -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/qaccessibilityclient_autogen/include -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -I/<<PKGBUILDDIR>> -isystem /usr/include/qt4 -isystem /usr/include/qt4/QtGui -isystem /usr/include/qt4/QtCore -I/usr/include/qt4/QtDBus -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src -I/<<PKGBUILDDIR>>/src -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -fvisibility=hidden -fvisibility-inlines-hidden -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -g -DNDEBUG -fPIC -o CMakeFiles/qaccessibilityclient.dir/atspi/dbusconnection.cpp.o -c /<<PKGBUILDDIR>>/src/atspi/dbusconnection.cpp
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[3]: Entering directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src && /usr/bin/c++ -DQACCESSIBILITYCLIENT_LIBRARY -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_USE_FAST_CONCATENATION -DQT_USE_FAST_OPERATOR_PLUS -Dqaccessibilityclient_EXPORTS -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/qaccessibilityclient_autogen/include -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -I/<<PKGBUILDDIR>> -isystem /usr/include/qt4 -isystem /usr/include/qt4/QtGui -isystem /usr/include/qt4/QtCore -I/usr/include/qt4/QtDBus -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src -I/<<PKGBUILDDIR>>/src -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -fvisibility=hidden -fvisibility-inlines-hidden -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -g -DNDEBUG -fPIC -o CMakeFiles/qaccessibilityclient.dir/atspi/qt-atspi.cpp.o -c /<<PKGBUILDDIR>>/src/atspi/qt-atspi.cpp
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[2]: *** [CMakeFiles/Makefile2:90: src/CMakeFiles/qaccessibilityclient.dir/all] Error 2
make[1]: *** [Makefile:133: all] Error 2
dh_auto_build: cd obj-x86_64-linux-gnu && make -j8 -Oline returned exit code 2
make: *** [debian/rules:13: build-arch] Error 25
dpkg-buildpackage: error: debian/rules build-arch subprocess returned exit status 2
More information about the pkg-kde-extras
mailing list