Bug#1016274: qtsystems-opensource-src: FTBFS: qdeviceinfo.cpp:308:63: error: virt-specifiers in ‘connectNotify’ not allowed outside a class definition
Source: qtsystems-opensource-src
Version: 5.0~git20190103.e3332ee+dfsg1-2
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lucas@debian.org
Usertags: ftbfs-20220728 ftbfs-bookworm
Hi,
During a rebuild of all packages in sid, your package failed to build
on amd64.
Relevant part (hopefully):
> g++ -c -include .pch/Qt5SystemInfo -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++1z -fvisibility=hidden -fvisibility-inlines-hidden -fno-exceptions -Wall -Wextra -Wvla -Wdate-time -Wshift-overflow=2 -Wduplicated-cond -Wno-stringop-overflow -Wno-format-overflow -D_REENTRANT -fPIC -DQT_NO_LINKED_LIST -DQT_NO_MIR -DQT_NO_UDEV -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_BUILD_SYSTEMINFO_LIB -DQT_BUILDING_QT -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x050000 -DQT_DEPRECATED_WARNINGS_SINCE=0x060000 -DQT_NO_EXCEPTIONS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_DBUS_LIB -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_CORE_LIB -I. -I../../include -I../../include/QtSystemInfo -I../../include/QtSystemInfo/5.4.0 -I../../include/QtSystemInfo/5.4.0/QtSystemInfo -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtDBus -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.moc -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .obj/qinputinfomanager.o qinputinfomanager.cpp
> qdeviceinfo.cpp:308:63: error: virt-specifiers in ‘connectNotify’ not allowed outside a class definition
> 308 | void QDeviceInfo::connectNotify(const QMetaMethod &signalSig) override
> | ^~~~~~~~
> qdeviceinfo.cpp:321:66: error: virt-specifiers in ‘disconnectNotify’ not allowed outside a class definition
> 321 | void QDeviceInfo::disconnectNotify(const QMetaMethod &signalSig) override
> | ^~~~~~~~
> qnetworkinfo.cpp:355:61: error: virt-specifiers in ‘connectNotify’ not allowed outside a class definition
> 355 | void QNetworkInfo::connectNotify(const QMetaMethod &signal) override
> | ^~~~~~~~
> qnetworkinfo.cpp:368:64: error: virt-specifiers in ‘disconnectNotify’ not allowed outside a class definition
> 368 | void QNetworkInfo::disconnectNotify(const QMetaMethod &signal) override
> | ^~~~~~~~
> qbatteryinfo.cpp:382:61: error: virt-specifiers in ‘connectNotify’ not allowed outside a class definition
> 382 | void QBatteryInfo::connectNotify(const QMetaMethod &signal) override
> | ^~~~~~~~
> qbatteryinfo.cpp:395:64: error: virt-specifiers in ‘disconnectNotify’ not allowed outside a class definition
> 395 | void QBatteryInfo::disconnectNotify(const QMetaMethod &signal) override
> | ^~~~~~~~
> make[3]: *** [Makefile:682: .obj/qbatteryinfo.o] Error 1
The full build log is available from:
http://qa-logs.debian.net/2022/07/28/qtsystems-opensource-src_5.0~git20190103.e3332ee+dfsg1-2_unstable.log
All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20220728;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20220728&fusertaguser=lucas@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results
A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!
If you reassign this bug to another package, please marking it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects
If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.
Reply to: