FAILED: src/CMakeFiles/doxymain.dir/__/generated_src/pre.cpp.o /usr/bin/x86_64-pc-linux-gnu-g++ -DFMT_SHARED -DSPDLOG_COMPILED_LIB -DSPDLOG_FMT_EXTERNAL -DSPDLOG_SHARED_LIB -DYY_BUF_SIZE=262144 -DYY_READ_BUF_SIZE=262144 -I/var/tmp/portage/app-text/doxygen-1.11.0/work/doxygen-1.11.0/deps/TinyDeflate -I/var/tmp/portage/app-text/doxygen-1.11.0/work/doxygen-1.11.0/deps/filesystem -I/var/tmp/portage/app-text/doxygen-1.11.0/work/doxygen-1.11.0/deps/libmd5 -I/var/tmp/portage/app-text/doxygen-1.11.0/work/doxygen-1.11.0/deps/liblodepng -I/var/tmp/portage/app-text/doxygen-1.11.0/work/doxygen-1.11.0/deps/libmscgen -I/var/tmp/portage/app-text/doxygen-1.11.0/work/doxygen-1.11.0/libversion -I/var/tmp/portage/app-text/doxygen-1.11.0/work/doxygen-1.11.0/libxml -I/var/tmp/portage/app-text/doxygen-1.11.0/work/doxygen-1.11.0/vhdlparser -I/var/tmp/portage/app-text/doxygen-1.11.0/work/doxygen-1.11.0/src -I/var/tmp/portage/app-text/doxygen-1.11.0/work/doxygen-1.11.0_build/generated_src -I/var/tmp/portage/app-text/doxygen-1.11.0/work/doxygen-1.11.0/deps/sqlite3 -O2 -march=znver2 -pipe -fuse-linker-plugin -frecord-gcc-switches -Werror=odr -Werror=lto-type-mismatch -Werror=strict-aliasing -DJAVACC_CHAR_TYPE="unsigned char" -std=gnu++17 -fvisibility=hidden -fvisibility-inlines-hidden -Wall -Wextra -Wshadow -Wnon-virtual-dtor -Wcast-align -Wunused -Woverloaded-virtual -Wpedantic -Wdouble-promotion -Wformat=2 -Wno-unused-parameter -Wno-sign-conversion -Wno-format-nonliteral -Wno-implicit-fallthrough -MD -MT src/CMakeFiles/doxymain.dir/__/generated_src/pre.cpp.o -MF src/CMakeFiles/doxymain.dir/__/generated_src/pre.cpp.o.d -o src/CMakeFiles/doxymain.dir/__/generated_src/pre.cpp.o -c /var/tmp/portage/app-text/doxygen-1.11.0/work/doxygen-1.11.0_build/generated_src/pre.cpp In file included from /usr/include/fmt/format.h:41, from /usr/include/fmt/core.h:5, from /usr/include/spdlog/fmt/fmt.h:28, from /usr/include/spdlog/common.h:50, from /usr/include/spdlog/spdlog.h:12, from /var/tmp/portage/app-text/doxygen-1.11.0/work/doxygen-1.11.0/src/trace.h:42, from /var/tmp/portage/app-text/doxygen-1.11.0/work/doxygen-1.11.0/src/pre.l:64: /usr/include/fmt/base.h: In instantiation of ‘static void fmt::v11::detail::value<Context>::format_custom_arg(void*, typename Context::parse_context_type&, Context&) [with T = QCString; Formatter = fmt::v11::formatter<QCString>; Context = fmt::v11::context; typename Context::parse_context_type = fmt::v11::basic_format_parse_context<char>]’: /usr/include/fmt/base.h:1383:19: required from ‘fmt::v11::detail::value<Context>::value(T&) [with T = QCString; Context = fmt::v11::context]’ 1383 | custom.format = format_custom_arg< | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ 1384 | value_type, typename Context::template formatter_type<value_type>>; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/fmt/base.h:1647:41: required from ‘constexpr fmt::v11::detail::value<Context> fmt::v11::detail::make_arg(T&) [with bool PACKED = true; Context = fmt::v11::context; T = QCString; typename std::enable_if<PACKED, int>::type <anonymous> = 0]’ 1647 | return {arg_mapper<Context>().map(val)}; | ^ /usr/include/fmt/base.h:2018:74: required from ‘constexpr fmt::v11::detail::format_arg_store<Context, NUM_ARGS, 0, DESC> fmt::v11::make_format_args(T& ...) [with Context = context; T = {QCString}; long unsigned int NUM_ARGS = 1; long unsigned int NUM_NAMED_ARGS = 0; long long unsigned int DESC = 15; typename std::enable_if<(NUM_NAMED_ARGS == 0), int>::type <anonymous> = 0]’ 2018 | return {{detail::make_arg<NUM_ARGS <= detail::max_packed_args, Context>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 2019 | args)...}}; | ~~~~~ /usr/include/spdlog/logger.h:328:75: required from ‘void spdlog::logger::log_(spdlog::source_loc, spdlog::level::level_enum, spdlog::string_view_t, Args&& ...) [with Args = {QCString&}; spdlog::string_view_t = fmt::v11::basic_string_view<char>]’ 328 | fmt::vformat_to(fmt::appender(buf), fmt, fmt::make_format_args(args...)); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /usr/include/spdlog/logger.h:80:13: required from ‘void spdlog::logger::log(spdlog::source_loc, spdlog::level::level_enum, fmt::v11::format_string<T ...>, Args&& ...) [with Args = {QCString&}; fmt::v11::format_string<T ...> = fmt::v11::basic_format_string<char, QCString&>]’ 80 | log_(loc, lvl, details::to_string_view(fmt), std::forward<Args>(args)...); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/portage/app-text/doxygen-1.11.0/work/doxygen-1.11.0/src/pre.l:1982:45: required from here 75 | #define TRACE(...) if (g_tracer) SPDLOG_LOGGER_TRACE(g_tracer,__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~ /usr/include/fmt/base.h:1402:29: error: passing ‘const fmt::v11::formatter<QCString>’ as ‘this’ argument discards qualifiers [-fpermissive] 1402 | ctx.advance_to(cf.format(*static_cast<qualified_type*>(arg), ctx)); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/portage/app-text/doxygen-1.11.0/work/doxygen-1.11.0/src/trace.h:159:8: note: in call to ‘auto fmt::v11::formatter<QCString>::format(const QCString&, fmt::v11::format_context&)’ 159 | auto format(const QCString &c, format_context& ctx) { | ^~~~~~ https://github.com/fmtlib/fmt/commit/d70729215fba1d54862e407b626abf86ddf409bf
Created attachment 899647 [details] app-text-doxygen-1.11.0 build.log (xz compressed)
Created attachment 899648 [details] emerge --info
Created attachment 899649 [details, diff] doxygen-libfmt-11.patch
Created attachment 899650 [details, diff] doxygen-1.11.0-libfmt-11.patch Adjusted to apply to 1.11.0
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=30d25ae5f8ae00e545c4680235a718a59b2caf86 commit 30d25ae5f8ae00e545c4680235a718a59b2caf86 Author: Alfred Wingate <parona@protonmail.com> AuthorDate: 2024-08-20 04:32:20 +0000 Commit: Matthias Maier <tamiko@gentoo.org> CommitDate: 2024-08-25 23:19:40 +0000 app-text/doxygen: add 1.12.0 * It doesn't appear that doxygen uses libpng. They instead use vendored lodepng. * Doxygen doesn't directly use freetype, but it does recommend freetype to be used in graphviz to avoid misrendering. It's already built unconditionally so use (+). Closes: https://bugs.gentoo.org/937599 Signed-off-by: Alfred Wingate <parona@protonmail.com> Signed-off-by: Matthias Maier <tamiko@gentoo.org> app-text/doxygen/Manifest | 1 + app-text/doxygen/doxygen-1.12.0.ebuild | 165 +++++++++++++++++++++ .../doxygen/files/doxygen-1.12.0-clang-19.patch | 43 ++++++ .../doxygen/files/doxygen-1.12.0-libfmt-11.patch | 112 ++++++++++++++ 4 files changed, 321 insertions(+)
*** Bug 948571 has been marked as a duplicate of this bug. ***
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e955235523a2c2b11034a37e8520c37ebdba6486 commit e955235523a2c2b11034a37e8520c37ebdba6486 Author: Andreas Sturmlechner <asturm@gentoo.org> AuthorDate: 2025-01-07 19:54:14 +0000 Commit: Andreas Sturmlechner <asturm@gentoo.org> CommitDate: 2025-01-24 20:10:05 +0000 app-text/doxygen: drop 1.10.0-r1, 1.11.0 Closes: https://bugs.gentoo.org/937599 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org> app-text/doxygen/Manifest | 2 - app-text/doxygen/doxygen-1.10.0-r1.ebuild | 160 ------------------------------ app-text/doxygen/doxygen-1.11.0.ebuild | 160 ------------------------------ 3 files changed, 322 deletions(-)