#1150444 kylin-ai-vector-engine: FTBFS: /usr/include/fmt/compile.h:169:25: error: call of overloaded ‘write<char>(std::back_insert_iterator<std::__cxx11::basic_string<char> >&, const folly::Range<const char*>&)’ is ambiguous

#1150444#5
Date:
2026-10-09 18:13:37 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/202610/

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:kylin-ai-vector-engine, so that this is still
visible in the BTS web page for this package.

Thanks.
--------------------------------------------------------------------------------
[...]
      |       ~~~~~~~~~~~~~~~~~~
  170 |           "nullptr_t should be passed if you want {} to be default constructed"),
      |           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  171 |       folly::StringPiece(demangle(type)));
      |       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/fmt/compile.h:169:25: error: call of overloaded ‘write<char>(std::back_insert_iterator<std::__cxx11::basic_string<char> >&, const folly::Range<const char*>&)’ is ambiguous
  169 |       return write<Char>(out, arg);
      |              ~~~~~~~~~~~^~~~~~~~~~
  • there are 2 candidates
In file included from /<<PKGBUILDDIR>>/thirdparty/folly/folly/FBString.h:34,
                 from /<<PKGBUILDDIR>>/thirdparty/folly/folly/Demangle.h:19,
                 from /<<PKGBUILDDIR>>/thirdparty/folly/folly/Conv.h:124,
                 from /<<PKGBUILDDIR>>/thirdparty/folly/folly/Exception.h:25,
                 from /<<PKGBUILDDIR>>/thirdparty/folly/folly/Singleton.h:126,
                 from /<<PKGBUILDDIR>>/thirdparty/folly/folly/Singleton.cpp:17:
    • candidate 1: ‘constexpr OutputIt fmt::v11::detail::write(OutputIt, const T&) [with Char = char; OutputIt = std::back_insert_iterator<std::__cxx11::basic_string<char> >; T = folly::Range<const char*>; typename std::enable_if<has_to_string_view<T>::value, int>::type <anonymous> = 0]’
      /usr/include/fmt/format.h:3390:16:
       3390 | constexpr auto write(OutputIt out, const T& value) -> OutputIt {
            |                ^~~~~
    • candidate 2: ‘constexpr OutputIt fmt::v11::detail::write(OutputIt, const T&) [with Char = char; OutputIt = std::back_insert_iterator<std::__cxx11::basic_string<char> >; T = folly::Range<const char*>; typename std::enable_if<((type_constant<decltype (type_mapper<Char>::map(declval<T&>())), Char>::value == type::custom_type) && (! std::is_fundamental<T>::value)), int>::type <anonymous> = 0]’
      /usr/include/fmt/format.h:3439:20:
       3439 | FMT_CONSTEXPR auto write(OutputIt out, const T& value) -> OutputIt {
            |                    ^~~~~
make[3]: *** [thirdparty/folly/CMakeFiles/folly_base.dir/build.make:334: thirdparty/folly/CMakeFiles/folly_base.dir/folly/Singleton.cpp.o] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[2]: *** [CMakeFiles/Makefile2:1163: thirdparty/folly/CMakeFiles/folly_base.dir/all] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[1]: *** [Makefile:139: all] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
dh_auto_build: error: cd obj-x86_64-linux-gnu && make -j1 INSTALL="install --strip-program=true" VERBOSE=1 returned exit code 2
make: *** [debian/rules:4: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
--------------------------------------------------------------------------------

#1150444#10
Date:
2026-10-20 19:54:38 UTC
From:
To:
Dear maintainer,

I've prepared an NMU for kylin-ai-vector-engine (versioned as 1.2.0.1-1.1) and
uploaded it to DELAYED/0. Diff is attached.

Please feel free to tell me if I should cancel it.

Best regards,

Anton

#1150444#19
Date:
2026-10-20 20:26:13 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
kylin-ai-vector-engine, 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 1150444@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Anton Gladky <gladk@debian.org> (supplier of updated kylin-ai-vector-engine 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: Tue, 20 Oct 2026 16:31:16 +0200
Source: kylin-ai-vector-engine
Architecture: source
Version: 1.2.0.1-1.1
Distribution: unstable
Urgency: medium
Maintainer: kylin Team <team+kylin@tracker.debian.org>
Changed-By: Anton Gladky <gladk@debian.org>
Closes: 1150444
Changes:
 kylin-ai-vector-engine (1.2.0.1-1.1) unstable; urgency=medium
 .
   * Non-maintainer upload.
   * Fix FTBFS with fmt 11 in the embedded folly copy. (Closes: #1150444)
Checksums-Sha1:
 e087565743924ceea9de171dc169d4512cb4a665 2546 kylin-ai-vector-engine_1.2.0.1-1.1.dsc
 fafb56e51bba20ed2191f96a17a8adfdb5dc34ee 8536 kylin-ai-vector-engine_1.2.0.1-1.1.debian.tar.xz
 d72b8f72429dab5542417eb1227c23917b01ae05 16894 kylin-ai-vector-engine_1.2.0.1-1.1_source.buildinfo
Checksums-Sha256:
 940dafadc492002ab709ae43cba467dd54880e07e7a7410ae1e3707de1d8a783 2546 kylin-ai-vector-engine_1.2.0.1-1.1.dsc
 682167c6b4ba5d026196bd6e0f93eb1eace6c94a773d6a1328f1b8f6455ba70e 8536 kylin-ai-vector-engine_1.2.0.1-1.1.debian.tar.xz
 f7749e59b46dd93c0a44c49befc7a826e238575a78263404cae30862edcd2249 16894 kylin-ai-vector-engine_1.2.0.1-1.1_source.buildinfo
Files:
 688c23d93ef87c22b135e47360f7d180 2546 database optional kylin-ai-vector-engine_1.2.0.1-1.1.dsc
 19ebfa75bba03f60910ce399f4e8072b 8536 database optional kylin-ai-vector-engine_1.2.0.1-1.1.debian.tar.xz
 552a56cfa57de10214a8476deaea6d3a 16894 database optional kylin-ai-vector-engine_1.2.0.1-1.1_source.buildinfo
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEu71F6oGKuG/2fnKF0+Fzg8+n/wYFAmrXx7kACgkQ0+Fzg8+n
/wYF+g/+Owe+5S8SLILp9R9mq5N6KnaX/nNgkZ4rA1cQymkA9WPnOHjwuXjXPCeT
aufOUZdX71G0tCU0Q9kmD4TzVGO2zvJR34c5DUxYcBQfIvTBfGiAUeoeV27EYSWV
9w8wxItAX3LJnSURN3EYljLTx0YqiyxoxzxhHb9JyZUZWsKUqEhOrf7Gntto5XBL
zhsbUdWGGt+T8r5ceLJSFQqRVvHaB7ffrLLLvGYTCDT41d9RpOB+n/cmeLBvyFLj
Sj2tOjeKhLmd87+aEF4PvClgnmUlnfe/BwhldGB0T10g62VhNx/Xu16ahApEO3Cw
l10xIDNZNQpJxuRzQTpt5h+RYW3/JYQNkWaocWABdOrGJIYQv+g96yZuuTlH/XQk
PxJ+gz6Ts8PSTcGsih5WhxflKFcTIBjG+CovRSTmYzoOMnOemuHOEtiCL68zFZui
ya4L4nNHNUrdzrWGwi5hw7ElEmw/wp0aeYZGTT053+FTh5FX2HueUa6cuEWvuLM/
d/WUwV52WPEJdz2qw+9OqU/4s2VvChbuB/42IlXo8kBlT1cR0vCW6OjmBaoVLlyN
ywTy9NbZyIuIdmre8JY9sD7uydGNa4sORmD6kJtIV6QWeacSUxRE0Rww5oe3hsti
SS007QTLLB9r0v0+yd9HBiqBh3WUZ8GnJMvF7jLZERn54ywccBY=
=X6N6
-----END PGP SIGNATURE-----

#1150444#24
Date:
2026-10-21 01:35:51 UTC
From:
To: