#1143646 colord-kde: FTBFS: /<<PKGBUILDDIR>>/colord-kcm/ColordKCM.cpp:53:5: error: 'qmlRegisterAnonymousType' was not declared in this scope

#1143646#5
Date:
2026-08-05 11:23:30 UTC
From:
To:
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
--------------------------------------------------------------------------------

#1143646#12
Date:
2026-08-12 06:18:43 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
colord-kde, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1143646@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Pino Toscano <pino@debian.org> (supplier of updated colord-kde package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Wed, 12 Aug 2026 08:04:45 +0200
Source: colord-kde
Architecture: source
Version: 26.04.3-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>
Changed-By: Pino Toscano <pino@debian.org>
Closes: 1143646
Changes:
 colord-kde (26.04.3-1) unstable; urgency=medium
 .
   * New upstream release. (Closes: #1143646)
   * Upgrade upstream signing key to new packet format.
   * CI: update/simplify configuration.
   * Bump the debhelper compatibility to 14:
     - bump the debhelper-compat build dependency to 14
     - drop the ${shlibs:Depends}, and ${misc:Depends} substvars
     - add the dh-sequence-single-binary build dependency, as there is only
       a single binary
Checksums-Sha1:
 b95938b77aca06b0d78f15c2bf020218fff99507 2702 colord-kde_26.04.3-1.dsc
 e399e518c853ead73640c9580e3e77cc2fd7a849 121056 colord-kde_26.04.3.orig.tar.xz
 b9f4e21e948b388500a5c3b7e21f6d9bbb563cee 833 colord-kde_26.04.3.orig.tar.xz.asc
 df5d06e9f610d25faa369937db79f39d3d4dad09 15244 colord-kde_26.04.3-1.debian.tar.xz
 0e91a371fb1002038d9961f6a7b11d58ff758989 18297 colord-kde_26.04.3-1_source.buildinfo
Checksums-Sha256:
 fdfec78fdb33cfad7070ae92b7f7f70c1b1d93ae6bb4d483fb6acc7735450c7c 2702 colord-kde_26.04.3-1.dsc
 f788b2702b7599a908a62dc871bfc9c150d40943307abdde3e76b4a0a86c2f24 121056 colord-kde_26.04.3.orig.tar.xz
 e1859b028571895205604ee373f169482358479201ec72c721f4a254388ad57d 833 colord-kde_26.04.3.orig.tar.xz.asc
 e50c15c6c4324f0e3bf29768c98b4dc97d6eedd1ff48b4a18560934ca68380d8 15244 colord-kde_26.04.3-1.debian.tar.xz
 ee882f552f7a46661f87587078b3e30cb027869122015f4c5db2cbb0ebed773c 18297 colord-kde_26.04.3-1_source.buildinfo
Files:
 ce6bdd26d0359a834512fb8307540b05 2702 kde optional colord-kde_26.04.3-1.dsc
 b5f9996989e171ac0bba9fc2cf70d9bd 121056 kde optional colord-kde_26.04.3.orig.tar.xz
 0e83caea04ae0fa43552d11acb3dc131 833 kde optional colord-kde_26.04.3.orig.tar.xz.asc
 633e2e83b99e4b70a271abe1b7153ecc 15244 kde optional colord-kde_26.04.3-1.debian.tar.xz
 e7520b0f8e44fd63fec10b00de571e17 18297 kde optional colord-kde_26.04.3-1_source.buildinfo
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEXyqfuC+mweEHcAcHLRkciEOxP00FAmp8DR4ACgkQLRkciEOx
P03qJQ/9HfYZ9LQp2Xbul3WtiXmGRrsl7f0tiXkqWJCv66fqQekGnYm43z93RTRz
R0/TYwfJnhaEiALcpIDQ2o+ByV8SfCfQZ/I5b1eyQR0X3I6IRAFkDVr6z3BsXtD+
Om5LztE7O5fFwzdW9OZSCiRCJXqIvBfEMTZTu6F8Vo+qKgIALOorGr5iBV7mxeje
yDMMNftJjCvCa3Ex3NfmaykdlUd1BhGrbw5Y6yple6N3SDKULrChieUIrtiFEtcJ
dp7A4lwlUNdlsl0ur/244m696iiG6NXOfRXCwKaoifV1XF7X+P6xRKgcoaqStWwq
JF1Bjpw8DKA//xuSz4/IXF2lBv9feYRIZjf527cht5pTYLP5/d+zckfmvZIvoxRj
ICmUl1BL/0oAHO+T3qyKcL8MydUFPTOwgJjk8a/UCTl/qAIkpo9KBe5+rgfLlhaR
oO7HyW7zoyIspDEA+h7IrPsGnrYWHxQwfuLG6qQhMSF7xSM68jrKVsH1IpQzhmBa
o7fgDcMe1qpBEF0XQZJXZzMlmcYIa2R2k8AMz83TOU8PBIPAd289324W24+yLhLO
OW2TQBYI20+9OlPIoFRR2dOUABPu2CdeY16LI2BXqtfLrdoiGbbsLofGKMH7K8B1
WsJBePrXiLG+Y6UD3mOlA8W+hZ5WSo6U69AcSDcZwrlT3q1D7Is=
=dLTW
-----END PGP SIGNATURE-----