--- Begin Message ---
Package: src:kremotecontrol
Version: 4:17.08.3-1
Severity: normal
Tags: sid bullseye
User: debian-gcc@lists.debian.org
Usertags: ftbfs-gcc-9
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-9/g++-9, but succeeds to build with gcc-8/g++-8. The
severity of this report will be raised before the bullseye release,
so nothing has to be done for the buster release.
The full build log can be found at:
http://people.debian.org/~doko/logs/gcc9-20190321/kremotecontrol_17.08.3-1_unstable_gcc9.log
The last lines of the build log are at the end of this report.
To build with GCC 9, either set CC=gcc-9 CXX=g++-9 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-9/porting_to.html
GCC 9 also passes the linker option --as-needed by default; typical
build issues are passing libraries before object files to the linker,
or underlinking of convenience libraries built from the same source.
[...]
412 | new (current) T(*reinterpret_cast<T*>(src));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/qt4/QtDBus/qdbusabstractinterface.h:51,
from /usr/include/qt4/QtDBus/qdbusinterface.h:45,
from /usr/include/qt4/QtDBus/QDBusInterface:1,
from /<<PKGBUILDDIR>>/kcmremotecontrol/../libkremotecontrol/dbusinterface.h:34,
from /<<PKGBUILDDIR>>/kcmremotecontrol/modedialog.cpp:29:
/usr/include/qt4/QtDBus/qdbusextratypes.h:143:24: note: because 'QDBusSignature' has user-provided 'QDBusSignature& QDBusSignature::operator=(const QDBusSignature&)'
143 | inline QDBusSignature &QDBusSignature::operator=(const QDBusSignature &dbusSignature)
| ^~~~~~~~~~~~~~
[100%] Linking CXX shared module ../lib/kcm_remotecontrol.so
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/kcmremotecontrol && /usr/bin/cmake -E cmake_link_script CMakeFiles/kcm_remotecontrol.dir/link.txt --verbose=1
/usr/bin/c++ -fPIC -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -Wnon-virtual-dtor -Wno-long-long -Wundef -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -Wformat-security -fno-exceptions -DQT_NO_EXCEPTIONS -fno-check-new -fno-common -Woverloaded-virtual -fno-threadsafe-statics -fvisibility=hidden -Werror=return-type -fvisibility-inlines-hidden -DNDEBUG -DQT_NO_DEBUG -Wl,--enable-new-dtags -Wl,--fatal-warnings -Wl,--no-undefined -lc -Wl,-z,relro -Wl,--as-needed -Wl,--no-undefined -shared -o ../lib/kcm_remotecontrol.so CMakeFiles/kcm_remotecontrol.dir/kcm_remotecontrol_automoc.o CMakeFiles/kcm_remotecontrol.dir/kcmremotecontrol.o CMakeFiles/kcm_remotecontrol.dir/addaction.o CMakeFiles/kcm_remotecontrol.dir/editactioncontainer.o CMakeFiles/kcm_remotecontrol.dir/editdbusaction.o CMakeFiles/kcm_remotecontrol.dir/editprofileaction.o CMakeFiles/kcm_remotecontro
l.dir/editkeypressaction.o CMakeFiles/kcm_remotecontrol.dir/model.o CMakeFiles/kcm_remotecontrol.dir/modedialog.o CMakeFiles/kcm_remotecontrol.dir/selectprofile.o -Wl,-rpath,/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/lib: ../lib/liblibkremotecontrol.so.1.0.0 /usr/lib/libkio.so.5.14.38 /usr/lib/x86_64-linux-gnu/libQtNetwork.so /usr/lib/x86_64-linux-gnu/libQtXml.so /usr/lib/libkdeui.so.5.14.38 /usr/lib/libkdecore.so.5.14.38 /usr/lib/x86_64-linux-gnu/libQtDBus.so /usr/lib/x86_64-linux-gnu/libQtCore.so /usr/lib/x86_64-linux-gnu/libQtGui.so /usr/lib/x86_64-linux-gnu/libQtSvg.so
make[4]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
[100%] Built target kcm_remotecontrol
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
/usr/bin/cmake -E cmake_progress_start /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/CMakeFiles 0
make[2]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
if ! test -d debian/man/out; then mkdir -p debian/man/out; fi
for f in $(find debian/man -name '*.sgml'); do \
docbook-to-man $f > debian/man/out/`basename $f .sgml`.1; \
done
for f in $(find debian/man -name '*.man'); do \
soelim -I debian/man $f \
> debian/man/out/`basename $f .man`.`head -n1 $f | awk '{print $NF}'`; \
done
touch debian/stamp-man-pages
dh_auto_test '--buildsystem=kde' --parallel # [-a]
cd obj-x86_64-linux-gnu && make -j4 test ARGS\+=-j4
make[2]: Entering directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
Running tests...
/usr/bin/ctest --force-new-ctest-process -j4
Test project /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu
Start 1: profileTest
Start 2: remoteTest
1/2 Test #1: profileTest ...................... Passed 0.02 sec
2/2 Test #2: remoteTest .......................***Failed 0.02 sec
********* Start testing of RemoteTest *********
Config: Using QTest library 4.8.7, Qt 4.8.7
PASS : RemoteTest::initTestCase()
PASS : RemoteTest::testGetter()
PASS : RemoteTest::testGroupChangeHandler()
FAIL! : RemoteTest::testCycleChangeHandler() Compared values are not the same
Actual (3): 3
Expected (remote->allModes().size()): 4
Loc: [/<<PKGBUILDDIR>>/tests/remotetest.cpp(64)]
PASS : RemoteTest::testOperatorEquals()
FAIL! : RemoteTest::toggleModeChangeHandler() Compared values are not the same
Actual (QString()):
Expected (mode1->button()): 1
Loc: [/<<PKGBUILDDIR>>/tests/remotetest.cpp(276)]
PASS : RemoteTest::cleanupTestCase()
Totals: 5 passed, 2 failed, 0 skipped
********* Finished testing of RemoteTest *********
50% tests passed, 1 tests failed out of 2
Total Test time (real) = 0.02 sec
The following tests FAILED:
2 - remoteTest (Failed)
Errors while running CTest
make[2]: *** [Makefile:133: test] Error 8
make[2]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
dh_auto_test: cd obj-x86_64-linux-gnu && make -j4 test ARGS\+=-j4 returned exit code 2
make[1]: *** [/usr/share/pkg-kde-tools/qt-kde-team/2/dhmk.mk:97: pre_build-arch_dh_auto_test] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [/usr/share/pkg-kde-tools/qt-kde-team/2/dhmk.mk:110: debian/dhmk_build-arch] Error 2
dpkg-buildpackage: error: debian/rules build-arch subprocess returned exit status 2
--- End Message ---