[Debian-med-packaging] Bug#1086565: genomicsdb: FTBFS with fmtlib 10
陈 晟祺
harry-chen at outlook.com
Fri Nov 1 13:22:35 GMT 2024
Source: genomicsdb
Version: 1.5.3-3
Severity: important
Tags: ftbfs
X-Debbugs-Cc: fmtlib at packages.debian.org
Control: block 1072674 by -1
Control: affects -1 src:fmtlib
Dear maintainers,
fmtlib 10 transition will start soon, your package genomicsdb FTBFS
with fmtlib 10.1.1+ds1-2 in experimental.
Here is some related log:
[ 40%] Building CXX object src/main/CMakeFiles/GenomicsDB_library_object_files.dir/__/resources/genomicsdb_export_config.pb.cc.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/main && /usr/bin/c++ -DDUPLICATE_CELL_AT_END=1 -DGENOMICSDB_VERSION=\"1.5.3-SNAPSHOT-\" -DSTRING_VIEW_FOUND=1 -D_FILE_OFFSET_BITS=64 -I/<<PKGBUILDDIR>>/genomicsdb-htslib -I/<<PKGBUILDDIR>>/genomicsdb-tiledb -I/<<PKGBUILDDIR>>/genomicsdb-tiledb/core/include/c_api -I/usr/lib/x86_64-linux-gnu/openmpi/include -I/usr/lib/x86_64-linux-gnu/openmpi/include/openmpi -I/<<PKGBUILDDIR>>/src/main/cpp/include/genomicsdb -I/<<PKGBUILDDIR>>/src/main/cpp/include/loader -I/<<PKGBUILDDIR>>/src/main/cpp/include/query_operations -I/<<PKGBUILDDIR>>/src/main/cpp/include/utils -I/<<PKGBUILDDIR>>/src/main/cpp/include/vcf -I/<<PKGBUILDDIR>>/src/main/cpp/include/config -I/<<PKGBUILDDIR>>/src/main/cpp/include/api -I/<<PKGBUILDDIR>>/src/test/cpp/include -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/resources -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++17 -fstack-protector-strong -Wall -Wno-reorder -Wno-unknown-pragmas -Wno-unused-variable -Wno-unused-but-set-variable -Wno-unused-result -fopenmp -fPIC -MD -MT src/main/CMakeFiles/GenomicsDB_library_object_files.dir/__/resources/genomicsdb_export_config.pb.cc.o -MF CMakeFiles/GenomicsDB_library_object_files.dir/__/resources/genomicsdb_export_config.pb.cc.o.d -o CMakeFiles/GenomicsDB_library_object_files.dir/__/resources/genomicsdb_export_config.pb.cc.o -c /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/resources/genomicsdb_export_config.pb.cc
In file included from /usr/include/spdlog/fmt/fmt.h:31,
from /usr/include/spdlog/common.h:50,
from /usr/include/spdlog/spdlog.h:12,
from /<<PKGBUILDDIR>>/src/main/cpp/include/utils/genomicsdb_logger.h:41,
from /<<PKGBUILDDIR>>/src/main/cpp/include/loader/tiledb_loader_file_base.h:31,
from /<<PKGBUILDDIR>>/src/main/cpp/include/loader/tiledb_loader.h:29:
/usr/include/fmt/core.h: In instantiation of ‘constexpr fmt::v10::detail::value<Context> fmt::v10::detail::make_arg(T&) [with bool PACKED = true; Context = fmt::v10::basic_format_context<fmt::v10::appender, char>; T = const VidFileTypeEnum; typename std::enable_if<PACKED, int>::type <anonymous> = 0]’:
/usr/include/fmt/core.h:1808:51: required from ‘constexpr fmt::v10::format_arg_store<Context, Args>::format_arg_store(T& ...) [with T = {const VidFileTypeEnum}; Context = fmt::v10::basic_format_context<fmt::v10::appender, char>; Args = {VidFileTypeEnum}]’
1808 | data_{detail::make_arg<is_packed, Context>(args)...} {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
/usr/include/fmt/core.h:1826:18: required from ‘void spdlog::logger::log_(spdlog::source_loc, spdlog::level::level_enum, spdlog::string_view_t, Args&& ...) [with Args = {const VidFileTypeEnum&}; spdlog::string_view_t = fmt::v10::basic_string_view<char>]’
1826 | return {args...};
| ^
/usr/include/spdlog/logger.h:90:13: required from ‘void spdlog::logger::log(spdlog::source_loc, spdlog::level::level_enum, fmt::v10::format_string<T ...>, Args&& ...) [with Args = {const VidFileTypeEnum&}; fmt::v10::format_string<T ...> = fmt::v10::basic_format_string<char, const VidFileTypeEnum&>]’
90 | log_(loc, lvl, details::to_string_view(fmt), std::forward<Args>(args)...);
| ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/spdlog/logger.h:96:12: required from ‘void spdlog::logger::log(spdlog::level::level_enum, fmt::v10::format_string<T ...>, Args&& ...) [with Args = {const VidFileTypeEnum&}; fmt::v10::format_string<T ...> = fmt::v10::basic_format_string<char, const VidFileTypeEnum&>]’
96 | log(source_loc{}, lvl, fmt, std::forward<Args>(args)...);
| ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/spdlog/logger.h:170:12: required from ‘void spdlog::logger::error(fmt::v10::format_string<T ...>, Args&& ...) [with Args = {const VidFileTypeEnum&}; fmt::v10::format_string<T ...> = fmt::v10::basic_format_string<char, const VidFileTypeEnum&>]’
170 | log(level::err, fmt, std::forward<Args>(args)...);
| ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/src/main/cpp/include/utils/genomicsdb_logger.h:113:20: required from ‘void Logger::fatal(const T&, const char*, const Args& ...) [with T = VCF2TileDBException; Args = {VidFileTypeEnum}]’
113 | m_logger->error(fmt, args...);
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/src/main/cpp/src/loader/tiledb_loader.cc:252:17: required from here
252 | logger.fatal(VCF2TileDBException(), "Unknown file type: {}", file_info.m_type);
| ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/spdlog/logger.h:374:75: in ‘constexpr’ expansion of ‘fmt::v10::make_format_args<>(args#0)’
/usr/include/fmt/core.h:1576:63: error: ‘fmt::v10::detail::type_is_unformattable_for<const VidFileTypeEnum, char> _’ has incomplete type
1576 | type_is_unformattable_for<T, typename Context::char_type> _;
| ^
/usr/include/fmt/core.h:1580:7: error: static assertion failed: Cannot format an argument. To make type T formattable provide a formatter<T> specialization: https://fmt.dev/latest/api.html#udt
1580 | formattable,
| ^~~~~~~~~~~
/usr/include/fmt/core.h:1580:7: note: ‘formattable’ evaluates to false
--
Thanks,
Shengqi Chen
More information about the Debian-med-packaging
mailing list