Bug#1143646: colord-kde: FTBFS: /<<PKGBUILDDIR>>/colord-kcm/ColordKCM.cpp:53:5: error: 'qmlRegisterAnonymousType' was not declared in this scope
Santiago Vila <[email protected]> Wed, 05 Aug 2026 11:23:30 +0000
| Newsgroups | gmane.linux.debian.devel.qt-kde |
|---|---|
| Message-ID | <E1wrZic-00GxZG-2X__5592.37853610597$1785929166$gmane$org@paradis.debian.org> |
Package: src:colord-kde
Version: 26.04.0-1
Severity: serious
Tags: ftbfs forky sid
Dear maintainer:
During a rebuild of all packages in unstable, this package failed to build.
Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:
https://people.debian.org/~sanvila/build-logs/202608/
About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.
If you cannot reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.
If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:colord-kde, so that this is still
visible in the BTS web page for this package.
Thanks.
--------------------------------------------------------------------------------
[...]
[ 73%] Building CXX object colord-kcm/CMakeFiles/kcm_colord.dir/ColordKCM.cpp.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/colord-kcm && /usr/ [too-long-redacted] DDIR>>/colord-kcm/ColordKCM.cpp
/<<PKGBUILDDIR>>/colord-kcm/ColordKCM.cpp: In constructor ‘KCMColord::KCMColord(QObject*, const KPluginMetaData&, const QVariantList&)’:
/<<PKGBUILDDIR>>/colord-kcm/ColordKCM.cpp:53:5: error: ‘qmlRegisterAnonymousType’ was not declared in this scope
53 | qmlRegisterAnonymousType<DeviceModel>("kcmcolord", 1);
| ^~~~~~~~~~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/colord-kcm/ColordKCM.cpp:53:41: error: expected primary-expression before ‘>’ token
53 | qmlRegisterAnonymousType<DeviceModel>("kcmcolord", 1);
| ^
/<<PKGBUILDDIR>>/colord-kcm/ColordKCM.cpp:53:43: warning: left operand of comma operator has no effect [-Wunused-value]
53 | qmlRegisterAnonymousType<DeviceModel>("kcmcolord", 1);
| ^~~~~~~~~~~
/<<PKGBUILDDIR>>/colord-kcm/ColordKCM.cpp:54:42: error: expected primary-expression before ‘>’ token
54 | qmlRegisterAnonymousType<ProfileModel>("kcmcolord", 1);
| ^
/<<PKGBUILDDIR>>/colord-kcm/ColordKCM.cpp:54:44: warning: left operand of comma operator has no effect [-Wunused-value]
54 | qmlRegisterAnonymousType<ProfileModel>("kcmcolord", 1);
| ^~~~~~~~~~~
/<<PKGBUILDDIR>>/colord-kcm/ColordKCM.cpp:55:50: error: expected primary-expression before ‘>’ token
55 | qmlRegisterAnonymousType<ProfileMetaDataModel>("kcmcolord", 1);
| ^
/<<PKGBUILDDIR>>/colord-kcm/ColordKCM.cpp:55:52: warning: left operand of comma operator has no effect [-Wunused-value]
55 | qmlRegisterAnonymousType<ProfileMetaDataModel>("kcmcolord", 1);
| ^~~~~~~~~~~
/<<PKGBUILDDIR>>/colord-kcm/ColordKCM.cpp:56:53: error: expected primary-expression before ‘>’ token
56 | qmlRegisterAnonymousType<ProfileNamedColorsModel>("kcmcolord", 1);
| ^
/<<PKGBUILDDIR>>/colord-kcm/ColordKCM.cpp:56:55: warning: left operand of comma operator has no effect [-Wunused-value]
56 | qmlRegisterAnonymousType<ProfileNamedColorsModel>("kcmcolord", 1);
| ^~~~~~~~~~~
/<<PKGBUILDDIR>>/colord-kcm/ColordKCM.cpp:57:47: error: expected primary-expression before ‘>’ token
57 | qmlRegisterAnonymousType<DeviceDescription>("kcmcolord", 1);
| ^
/<<PKGBUILDDIR>>/colord-kcm/ColordKCM.cpp:57:49: warning: left operand of comma operator has no effect [-Wunused-value]
57 | qmlRegisterAnonymousType<DeviceDescription>("kcmcolord", 1);
| ^~~~~~~~~~~
/<<PKGBUILDDIR>>/colord-kcm/ColordKCM.cpp:58:48: error: expected primary-expression before ‘>’ token
58 | qmlRegisterAnonymousType<ProfileDescription>("kcmcolord", 1);
| ^
/<<PKGBUILDDIR>>/colord-kcm/ColordKCM.cpp:58:50: warning: left operand of comma operator has no effect [-Wunused-value]
58 | qmlRegisterAnonymousType<ProfileDescription>("kcmcolord", 1);
| ^~~~~~~~~~~
/<<PKGBUILDDIR>>/colord-kcm/ColordKCM.cpp:59:52: error: expected primary-expression before ‘>’ token
59 | qmlRegisterAnonymousType<AddProfileComboBoxItem>("kcmcolord", 1);
| ^
/<<PKGBUILDDIR>>/colord-kcm/ColordKCM.cpp:59:54: warning: left operand of comma operator has no effect [-Wunused-value]
59 | qmlRegisterAnonymousType<AddProfileComboBoxItem>("kcmcolord", 1);
| ^~~~~~~~~~~
/<<PKGBUILDDIR>>/colord-kcm/ColordKCM.cpp:43:88: warning: unused parameter ‘args’ [-Wunused-parameter]
43 | KCMColord::KCMColord(QObject *parent, const KPluginMetaData &data, const QVariantList &args)
| ~~~~~~~~~~~~~~~~~~~~^~~~
[ 75%] Building CXX object colord-kded/CMakeFiles/kded_colord.dir/CdDeviceInterface.cpp.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/colord-kded && /usr [too-long-redacted] lord-kded/CdDeviceInterface.cpp
make[3]: *** [colord-kcm/CMakeFiles/kcm_colord.dir/build.make:200: colord-kcm/CMakeFiles/kcm_colord.dir/ColordKCM.cpp.o] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[2]: *** [CMakeFiles/Makefile2:463: colord-kcm/CMakeFiles/kcm_colord.dir/all] Error 2
make[2]: *** Waiting for unfinished jobs....
[ 77%] Building CXX object colord-kded/CMakeFiles/kded_colord.dir/CdProfileInterface.cpp.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/colord-kded && /usr [too-long-redacted] ord-kded/CdProfileInterface.cpp
[ 78%] Linking CXX shared module ../bin/kf6/kded/colord.so
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/colord-kded && /usr/bin/cmake -E cmake_link_script CMakeFiles/kded_colord.dir/link.txt --verbose=1
/usr/bin/x86_64-linux-gnu-g++ -fPIC -g -O2 -ffile-prefix-map [too-long-redacted] nux-gnu/liblcms2_threaded.a -lm
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
[ 80%] Built target kded_colord
make[2]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[1]: *** [Makefile:149: all] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
dh_auto_build: error: cd obj-x86_64-linux-gnu && make -j2 INSTALL="install --strip-program=true" VERBOSE=1 returned exit code 2
make: *** [debian/rules:6: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
--------------------------------------------------------------------------------