[Pkg-kde-extras] Bug#925855: wacomtablet: ftbfs with GCC-9

Matthias Klose doko at debian.org
Wed Mar 27 19:48:35 GMT 2019


Package: src:wacomtablet
Version: 3.1.1-1
Severity: normal
Tags: sid bullseye
User: debian-gcc at 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/wacomtablet_3.1.1-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.

[...]
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/autotests/faketablet && /usr/bin/c++  -DHAVE_XCB_XINPUT -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_TO_ASCII -DQT_STRICT_ITERATORS -DQT_USE_FAST_CONCATENATION -DQT_USE_FAST_OPERATOR_PLUS -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/autotests/faketablet -I/<<PKGBUILDDIR>>/autotests/faketablet -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/autotests/faketablet/faketablet_autogen/include -I/<<PKGBUILDDIR>>/src -I/<<PKGBUILDDIR>>/src/common -I/<<PKGBUILDDIR>>/src/kded  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++0x -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Wvla -Wdate-time -fvisibility=hidden -fvisibility-inlines-hidden   -o CMakeFiles/faketablet.dir/faketablet.cpp.o -c /<<PKGBUILDDIR>>/autotests/faketablet/faketablet.cpp
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
[  8%] Built target doc-user-index-cache-bz2
[  8%] Built target pofiles-975ceb2857b7ee121b8a66c04b65c90a
[  8%] Building CXX object autotests/faketablet/CMakeFiles/faketablet.dir/faketablet_autogen/mocs_compilation.cpp.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/autotests/faketablet && /usr/bin/c++  -DHAVE_XCB_XINPUT -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_TO_ASCII -DQT_STRICT_ITERATORS -DQT_USE_FAST_CONCATENATION -DQT_USE_FAST_OPERATOR_PLUS -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/autotests/faketablet -I/<<PKGBUILDDIR>>/autotests/faketablet -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/autotests/faketablet/faketablet_autogen/include -I/<<PKGBUILDDIR>>/src -I/<<PKGBUILDDIR>>/src/common -I/<<PKGBUILDDIR>>/src/kded  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++0x -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Wvla -Wdate-time -fvisibility=hidden -fvisibility-inlines-hidden   -o CMakeFiles/faketablet.dir/faketablet_autogen/mocs_compilation.cpp.o -c /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/autotests/faketablet/faketablet_autogen/mocs_compilation.cpp
[  9%] Building CXX object src/common/CMakeFiles/wacom_common.dir/buttonshortcut.cpp.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/common && /usr/bin/c++  -DHAVE_XCB_XINPUT -DKCOREADDONS_LIB -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_GUI_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_STRICT_ITERATORS -DQT_USE_FAST_CONCATENATION -DQT_USE_FAST_OPERATOR_PLUS -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DTRANSLATION_DOMAIN=\"wacomtablet\" -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/common -I/<<PKGBUILDDIR>>/src/common -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/common/wacom_common_autogen/include -I/usr/include/libwacom-1.0 -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -isystem /usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtWidgets -isystem /usr/include/x86_64-linux-gnu/qt5/QtX11Extras -isystem /usr/include/KF5/KI18n -isystem /usr/include/KF5 -isystem /usr/include/KF5/KGlobalAccel -isystem /usr/include/x86_64-linux-gnu/qt5/QtDBus -isystem /usr/include/KF5/KConfigCore -isystem /usr/include/KF5/KCoreAddons  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++0x -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Wvla -Wdate-time -fvisibility=hidden -fvisibility-inlines-hidden   -fPIC -fPIC -std=gnu++11 -o CMakeFiles/wacom_common.dir/buttonshortcut.cpp.o -c /<<PKGBUILDDIR>>/src/common/buttonshortcut.cpp
[  9%] Building CXX object src/common/CMakeFiles/wacom_common.dir/dbustabletinterface.cpp.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/common && /usr/bin/c++  -DHAVE_XCB_XINPUT -DKCOREADDONS_LIB -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_GUI_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_STRICT_ITERATORS -DQT_USE_FAST_CONCATENATION -DQT_USE_FAST_OPERATOR_PLUS -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DTRANSLATION_DOMAIN=\"wacomtablet\" -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/common -I/<<PKGBUILDDIR>>/src/common -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/common/wacom_common_autogen/include -I/usr/include/libwacom-1.0 -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -isystem /usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtWidgets -isystem /usr/include/x86_64-linux-gnu/qt5/QtX11Extras -isystem /usr/include/KF5/KI18n -isystem /usr/include/KF5 -isystem /usr/include/KF5/KGlobalAccel -isystem /usr/include/x86_64-linux-gnu/qt5/QtDBus -isystem /usr/include/KF5/KConfigCore -isystem /usr/include/KF5/KCoreAddons  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++0x -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Wvla -Wdate-time -fvisibility=hidden -fvisibility-inlines-hidden   -fPIC -fPIC -std=gnu++11 -o CMakeFiles/wacom_common.dir/dbustabletinterface.cpp.o -c /<<PKGBUILDDIR>>/src/common/dbustabletinterface.cpp
[ 10%] Linking CXX executable faketablet
[ 11%] Building CXX object src/common/CMakeFiles/wacom_common.dir/deviceinformation.cpp.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/autotests/faketablet && /usr/bin/cmake -E cmake_link_script CMakeFiles/faketablet.dir/link.txt --verbose=1
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/common && /usr/bin/c++  -DHAVE_XCB_XINPUT -DKCOREADDONS_LIB -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_GUI_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_STRICT_ITERATORS -DQT_USE_FAST_CONCATENATION -DQT_USE_FAST_OPERATOR_PLUS -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DTRANSLATION_DOMAIN=\"wacomtablet\" -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/common -I/<<PKGBUILDDIR>>/src/common -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/common/wacom_common_autogen/include -I/usr/include/libwacom-1.0 -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -isystem /usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtWidgets -isystem /usr/include/x86_64-linux-gnu/qt5/QtX11Extras -isystem /usr/include/KF5/KI18n -isystem /usr/include/KF5 -isystem /usr/include/KF5/KGlobalAccel -isystem /usr/include/x86_64-linux-gnu/qt5/QtDBus -isystem /usr/include/KF5/KConfigCore -isystem /usr/include/KF5/KCoreAddons  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++0x -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Wvla -Wdate-time -fvisibility=hidden -fvisibility-inlines-hidden   -fPIC -fPIC -std=gnu++11 -o CMakeFiles/wacom_common.dir/deviceinformation.cpp.o -c /<<PKGBUILDDIR>>/src/common/deviceinformation.cpp
/usr/bin/c++  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++0x -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Wvla -Wdate-time  -Wl,--enable-new-dtags -Wl,-z,relro -Wl,-z,now -rdynamic CMakeFiles/faketablet.dir/faketablet.cpp.o CMakeFiles/faketablet.dir/faketablet_autogen/mocs_compilation.cpp.o  -o faketablet 
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
[ 11%] Built target faketablet
[ 11%] Building CXX object src/common/CMakeFiles/wacom_common.dir/deviceprofile.cpp.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/common && /usr/bin/c++  -DHAVE_XCB_XINPUT -DKCOREADDONS_LIB -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_GUI_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_STRICT_ITERATORS -DQT_USE_FAST_CONCATENATION -DQT_USE_FAST_OPERATOR_PLUS -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DTRANSLATION_DOMAIN=\"wacomtablet\" -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/common -I/<<PKGBUILDDIR>>/src/common -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/common/wacom_common_autogen/include -I/usr/include/libwacom-1.0 -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -isystem /usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtWidgets -isystem /usr/include/x86_64-linux-gnu/qt5/QtX11Extras -isystem /usr/include/KF5/KI18n -isystem /usr/include/KF5 -isystem /usr/include/KF5/KGlobalAccel -isystem /usr/include/x86_64-linux-gnu/qt5/QtDBus -isystem /usr/include/KF5/KConfigCore -isystem /usr/include/KF5/KCoreAddons  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++0x -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Wvla -Wdate-time -fvisibility=hidden -fvisibility-inlines-hidden   -fPIC -fPIC -std=gnu++11 -o CMakeFiles/wacom_common.dir/deviceprofile.cpp.o -c /<<PKGBUILDDIR>>/src/common/deviceprofile.cpp
[ 11%] Building CXX object src/common/CMakeFiles/wacom_common.dir/deviceprofileconfigadaptor.cpp.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/common && /usr/bin/c++  -DHAVE_XCB_XINPUT -DKCOREADDONS_LIB -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_GUI_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_STRICT_ITERATORS -DQT_USE_FAST_CONCATENATION -DQT_USE_FAST_OPERATOR_PLUS -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DTRANSLATION_DOMAIN=\"wacomtablet\" -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/common -I/<<PKGBUILDDIR>>/src/common -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/common/wacom_common_autogen/include -I/usr/include/libwacom-1.0 -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -isystem /usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtWidgets -isystem /usr/include/x86_64-linux-gnu/qt5/QtX11Extras -isystem /usr/include/KF5/KI18n -isystem /usr/include/KF5 -isystem /usr/include/KF5/KGlobalAccel -isystem /usr/include/x86_64-linux-gnu/qt5/QtDBus -isystem /usr/include/KF5/KConfigCore -isystem /usr/include/KF5/KCoreAddons  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++0x -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Wvla -Wdate-time -fvisibility=hidden -fvisibility-inlines-hidden   -fPIC -fPIC -std=gnu++11 -o CMakeFiles/wacom_common.dir/deviceprofileconfigadaptor.cpp.o -c /<<PKGBUILDDIR>>/src/common/deviceprofileconfigadaptor.cpp
[ 12%] Building CXX object src/common/CMakeFiles/wacom_common.dir/deviceproperty.cpp.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/common && /usr/bin/c++  -DHAVE_XCB_XINPUT -DKCOREADDONS_LIB -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_GUI_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_STRICT_ITERATORS -DQT_USE_FAST_CONCATENATION -DQT_USE_FAST_OPERATOR_PLUS -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DTRANSLATION_DOMAIN=\"wacomtablet\" -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/common -I/<<PKGBUILDDIR>>/src/common -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/common/wacom_common_autogen/include -I/usr/include/libwacom-1.0 -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -isystem /usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtWidgets -isystem /usr/include/x86_64-linux-gnu/qt5/QtX11Extras -isystem /usr/include/KF5/KI18n -isystem /usr/include/KF5 -isystem /usr/include/KF5/KGlobalAccel -isystem /usr/include/x86_64-linux-gnu/qt5/QtDBus -isystem /usr/include/KF5/KConfigCore -isystem /usr/include/KF5/KCoreAddons  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++0x -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Wvla -Wdate-time -fvisibility=hidden -fvisibility-inlines-hidden   -fPIC -fPIC -std=gnu++11 -o CMakeFiles/wacom_common.dir/deviceproperty.cpp.o -c /<<PKGBUILDDIR>>/src/common/deviceproperty.cpp
[ 12%] Building CXX object src/common/CMakeFiles/wacom_common.dir/devicetype.cpp.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/common && /usr/bin/c++  -DHAVE_XCB_XINPUT -DKCOREADDONS_LIB -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_GUI_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_STRICT_ITERATORS -DQT_USE_FAST_CONCATENATION -DQT_USE_FAST_OPERATOR_PLUS -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DTRANSLATION_DOMAIN=\"wacomtablet\" -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/common -I/<<PKGBUILDDIR>>/src/common -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/common/wacom_common_autogen/include -I/usr/include/libwacom-1.0 -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -isystem /usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtWidgets -isystem /usr/include/x86_64-linux-gnu/qt5/QtX11Extras -isystem /usr/include/KF5/KI18n -isystem /usr/include/KF5 -isystem /usr/include/KF5/KGlobalAccel -isystem /usr/include/x86_64-linux-gnu/qt5/QtDBus -isystem /usr/include/KF5/KConfigCore -isystem /usr/include/KF5/KCoreAddons  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++0x -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Wvla -Wdate-time -fvisibility=hidden -fvisibility-inlines-hidden   -fPIC -fPIC -std=gnu++11 -o CMakeFiles/wacom_common.dir/devicetype.cpp.o -c /<<PKGBUILDDIR>>/src/common/devicetype.cpp
[ 13%] Building CXX object src/common/CMakeFiles/wacom_common.dir/libwacomwrapper.cpp.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/common && /usr/bin/c++  -DHAVE_XCB_XINPUT -DKCOREADDONS_LIB -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_GUI_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_STRICT_ITERATORS -DQT_USE_FAST_CONCATENATION -DQT_USE_FAST_OPERATOR_PLUS -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DTRANSLATION_DOMAIN=\"wacomtablet\" -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/common -I/<<PKGBUILDDIR>>/src/common -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/common/wacom_common_autogen/include -I/usr/include/libwacom-1.0 -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -isystem /usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtWidgets -isystem /usr/include/x86_64-linux-gnu/qt5/QtX11Extras -isystem /usr/include/KF5/KI18n -isystem /usr/include/KF5 -isystem /usr/include/KF5/KGlobalAccel -isystem /usr/include/x86_64-linux-gnu/qt5/QtDBus -isystem /usr/include/KF5/KConfigCore -isystem /usr/include/KF5/KCoreAddons  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++0x -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Wvla -Wdate-time -fvisibility=hidden -fvisibility-inlines-hidden   -fPIC -fPIC -std=gnu++11 -o CMakeFiles/wacom_common.dir/libwacomwrapper.cpp.o -c /<<PKGBUILDDIR>>/src/common/libwacomwrapper.cpp
In file included from /usr/include/c++/9/memory:80,
                 from /<<PKGBUILDDIR>>/src/common/libwacomwrapper.cpp:24:
/usr/include/c++/9/bits/unique_ptr.h: In instantiation of 'std::unique_ptr<_Tp, _Dp>::~unique_ptr() [with _Tp = _WacomError; _Dp = Wacom::libWacomWrapper::lookupTabletInfo(int, int, Wacom::TabletInformation&)::<lambda(WacomError*&)>]':
/<<PKGBUILDDIR>>/src/common/libwacomwrapper.cpp:65:53:   required from here
/usr/include/c++/9/bits/unique_ptr.h:285:56: error: static assertion failed: unique_ptr's deleter must be invocable with a pointer
  285 |  static_assert(__is_invocable<deleter_type&, pointer>::value,
      |                                                        ^~~~~
/usr/include/c++/9/bits/unique_ptr.h:289:17: error: no match for call to '(std::unique_ptr<_WacomError, Wacom::libWacomWrapper::lookupTabletInfo(int, int, Wacom::TabletInformation&)::<lambda(WacomError*&)> >::deleter_type {aka Wacom::libWacomWrapper::lookupTabletInfo(int, int, Wacom::TabletInformation&)::<lambda(WacomError*&)>}) (std::remove_reference<_WacomError*&>::type)'
  289 |    get_deleter()(std::move(__ptr));
      |    ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
/usr/include/c++/9/bits/unique_ptr.h:289:17: note: candidate: 'void (*)(WacomError*&)' {aka 'void (*)(_WacomError*&)'} <conversion>
/usr/include/c++/9/bits/unique_ptr.h:289:17: note:   conversion of argument 2 would be ill-formed:
/usr/include/c++/9/bits/unique_ptr.h:289:17: error: cannot bind non-const lvalue reference of type 'WacomError*&' {aka '_WacomError*&'} to an rvalue of type 'std::remove_reference<_WacomError*&>::type' {aka '_WacomError*'}
/<<PKGBUILDDIR>>/src/common/libwacomwrapper.cpp:63:25: note: candidate: 'Wacom::libWacomWrapper::lookupTabletInfo(int, int, Wacom::TabletInformation&)::<lambda(WacomError*&)>' <near match>
   63 |     auto errorDeleter = [](WacomError *&e){libwacom_error_free(&e);};
      |                         ^
/<<PKGBUILDDIR>>/src/common/libwacomwrapper.cpp:63:25: note:   conversion of argument 1 would be ill-formed:
In file included from /usr/include/c++/9/memory:80,
                 from /<<PKGBUILDDIR>>/src/common/libwacomwrapper.cpp:24:
/usr/include/c++/9/bits/unique_ptr.h:289:17: error: cannot bind non-const lvalue reference of type 'WacomError*&' {aka '_WacomError*&'} to an rvalue of type 'std::remove_reference<_WacomError*&>::type' {aka '_WacomError*'}
  289 |    get_deleter()(std::move(__ptr));
      |    ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
/usr/include/c++/9/bits/unique_ptr.h:362:7: error: 'std::unique_ptr<_Tp, _Dp>::deleter_type& std::unique_ptr<_Tp, _Dp>::get_deleter() [with _Tp = _WacomError; _Dp = Wacom::libWacomWrapper::lookupTabletInfo(int, int, Wacom::TabletInformation&)::<lambda(WacomError*&)>; std::unique_ptr<_Tp, _Dp>::deleter_type = Wacom::libWacomWrapper::lookupTabletInfo(int, int, Wacom::TabletInformation&)::<lambda(WacomError*&)>]', declared using local type 'std::unique_ptr<_WacomError, Wacom::libWacomWrapper::lookupTabletInfo(int, int, Wacom::TabletInformation&)::<lambda(WacomError*&)> >::deleter_type' {aka 'Wacom::libWacomWrapper::lookupTabletInfo(int, int, Wacom::TabletInformation&)::<lambda(WacomError*&)>'}, is used but never defined [-fpermissive]
  362 |       get_deleter() noexcept
      |       ^~~~~~~~~~~
[ 13%] Building CXX object src/common/CMakeFiles/wacom_common.dir/mainconfig.cpp.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/common && /usr/bin/c++  -DHAVE_XCB_XINPUT -DKCOREADDONS_LIB -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_GUI_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_STRICT_ITERATORS -DQT_USE_FAST_CONCATENATION -DQT_USE_FAST_OPERATOR_PLUS -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DTRANSLATION_DOMAIN=\"wacomtablet\" -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/common -I/<<PKGBUILDDIR>>/src/common -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/common/wacom_common_autogen/include -I/usr/include/libwacom-1.0 -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -isystem /usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtWidgets -isystem /usr/include/x86_64-linux-gnu/qt5/QtX11Extras -isystem /usr/include/KF5/KI18n -isystem /usr/include/KF5 -isystem /usr/include/KF5/KGlobalAccel -isystem /usr/include/x86_64-linux-gnu/qt5/QtDBus -isystem /usr/include/KF5/KConfigCore -isystem /usr/include/KF5/KCoreAddons  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++0x -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Wvla -Wdate-time -fvisibility=hidden -fvisibility-inlines-hidden   -fPIC -fPIC -std=gnu++11 -o CMakeFiles/wacom_common.dir/mainconfig.cpp.o -c /<<PKGBUILDDIR>>/src/common/mainconfig.cpp
/usr/include/c++/9/bits/unique_ptr.h:153:18: warning: 'std::__uniq_ptr_impl<_Tp, _Dp>::pointer& std::__uniq_ptr_impl<_Tp, _Dp>::_M_ptr() [with _Tp = _WacomError; _Dp = Wacom::libWacomWrapper::lookupTabletInfo(int, int, Wacom::TabletInformation&)::<lambda(WacomError*&)>]' used but never defined
  153 |       pointer&   _M_ptr() { return std::get<0>(_M_t); }
      |                  ^~~~~~
[ 14%] Building CXX object src/common/CMakeFiles/wacom_common.dir/profilemanager.cpp.o
make[3]: *** [src/common/CMakeFiles/wacom_common.dir/build.make:181: src/common/CMakeFiles/wacom_common.dir/libwacomwrapper.cpp.o] Error 1
make[3]: *** Waiting for unfinished jobs....
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/common && /usr/bin/c++  -DHAVE_XCB_XINPUT -DKCOREADDONS_LIB -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_GUI_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_STRICT_ITERATORS -DQT_USE_FAST_CONCATENATION -DQT_USE_FAST_OPERATOR_PLUS -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DTRANSLATION_DOMAIN=\"wacomtablet\" -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/common -I/<<PKGBUILDDIR>>/src/common -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/common/wacom_common_autogen/include -I/usr/include/libwacom-1.0 -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -isystem /usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtWidgets -isystem /usr/include/x86_64-linux-gnu/qt5/QtX11Extras -isystem /usr/include/KF5/KI18n -isystem /usr/include/KF5 -isystem /usr/include/KF5/KGlobalAccel -isystem /usr/include/x86_64-linux-gnu/qt5/QtDBus -isystem /usr/include/KF5/KConfigCore -isystem /usr/include/KF5/KCoreAddons  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++0x -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Wvla -Wdate-time -fvisibility=hidden -fvisibility-inlines-hidden   -fPIC -fPIC -std=gnu++11 -o CMakeFiles/wacom_common.dir/profilemanager.cpp.o -c /<<PKGBUILDDIR>>/src/common/profilemanager.cpp
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[2]: *** [CMakeFiles/Makefile2:1111: src/common/CMakeFiles/wacom_common.dir/all] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[1]: *** [Makefile:144: all] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
dh_auto_build: cd obj-x86_64-linux-gnu && make -j4 "INSTALL=install --strip-program=true" returned exit code 2
make: *** [debian/rules:8: build-arch] Error 2
dpkg-buildpackage: error: debian/rules build-arch subprocess returned exit status 2



More information about the pkg-kde-extras mailing list