Bug#1086566: open3d: FTBFS with fmtlib 10
陈 晟祺
harry-chen at outlook.com
Fri Nov 1 13:23:46 GMT 2024
Source: open3d
Version: 0.18.0+ds-5
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 open3d FTBFS with
fmtlib 10.1.1+ds1-2 in experimental.
Here is some related log:
[ 60%] Building CXX object cpp/open3d/core/CMakeFiles/core.dir/kernel/ArangeCPU.cpp.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/cpp/open3d/core && /usr/bin/c++ -DBUILD_GUI -DFMT_SHARED -DMSGPACK_DEFAULT_API_VERSION=3 -DOPEN3D_CUDA_COMPILER_ID=\"\" -DOPEN3D_CUDA_COMPILER_VERSION=\"\" -DOPEN3D_CXX_COMPILER_ID=\"GNU\" -DOPEN3D_CXX_COMPILER_VERSION=\"14.2.0\" -DOPEN3D_CXX_STANDARD=\"17\" -DOPEN3D_ENABLE_DLL_EXPORTS -DUNIX -DUSE_BLAS -DZMQ_STATIC -D_FORTIFY_SOURCE=2 -D_GLIBCXX_USE_CXX11_ABI=1 -D__TBB_LIB_NAME=tbb_static -Dkiss_fft_scalar=double -I/<<PKGBUILDDIR>>/cpp -I/<<PKGBUILDDIR>> -isystem /<<PKGBUILDDIR>>/3rdparty/tomasakeninemoeller/include -isystem /usr/include/p11-kit-1 -isystem /<<PKGBUILDDIR>>/3rdparty/rply/rply -isystem /<<PKGBUILDDIR>>/3rdparty/tinyfiledialogs/include -isystem /usr/include/vtk-9.3 -isystem /usr/include/jsoncpp -isystem /usr/include/liblzf -isystem /usr/include/minizip -isystem /usr/include/imgui -isystem /usr/include/pgm-5.3 -isystem /usr/include/libxml2 -isystem /usr/include/mit-krb5 -isystem /usr/include/eigen3 -isystem /usr/include/filament-1.9 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -faligned-new -Wno-psabi -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++17 -fPIC -Wall -Wextra -Wno-unused-parameter -fstack-protector-strong -Wformat -Wformat-security -fopenmp -MD -MT cpp/open3d/core/CMakeFiles/core.dir/kernel/ArangeCPU.cpp.o -MF CMakeFiles/core.dir/kernel/ArangeCPU.cpp.o.d -o CMakeFiles/core.dir/kernel/ArangeCPU.cpp.o -c /<<PKGBUILDDIR>>/cpp/open3d/core/kernel/ArangeCPU.cpp
In file included from /<<PKGBUILDDIR>>/cpp/open3d/utility/Logging.h:21,
from /<<PKGBUILDDIR>>/cpp/open3d/core/Dispatch.h:11,
from /<<PKGBUILDDIR>>/cpp/open3d/core/Dtype.h:14,
from /<<PKGBUILDDIR>>/cpp/open3d/core/Tensor.h:19,
from /<<PKGBUILDDIR>>/cpp/open3d/core/Tensor.cpp:8:
/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 DLDeviceType; 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 DLDeviceType}; Context = fmt::v10::basic_format_context<fmt::v10::appender, char>; Args = {DLDeviceType}]’
1808 | data_{detail::make_arg<is_packed, Context>(args)...} {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
/usr/include/fmt/core.h:1826:18: required from ‘static void open3d::utility::Logger::LogError_(const char*, int, const char*, const char*, Args&& ...) [with Args = {const DLDeviceType&}]’
1826 | return {args...};
| ^
/<<PKGBUILDDIR>>/cpp/open3d/core/Tensor.cpp:1790:22: required from here
49 | Logger::LogError_(__FILE__, __LINE__, \
/<<PKGBUILDDIR>>/cpp/open3d/utility/Logging.h:147:61: 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 DLDeviceType, 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-science-maintainers
mailing list