Opened 11 months ago

Last modified 11 months ago

#68534 assigned defect

doxygen @1.9.8: fatal error: 'fmt/core.h' file not found — at Version 1

Reported by: kwolcott Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.8.1
Keywords: Cc:
Port: doxygen

Description (last modified by ryandesign (Ryan Carsten Schmidt))

doxygen update build from source fails:

fmt/core.h' file not found
make[2]: *** [src/CMakeFiles/doxymain.dir/__/generated_src/commentscan.cpp.o] Error 1

arm64

Sonoma 14.0

Change History (2)

comment:1 Changed 11 months ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Summary: doxygen update build from source fails: fmt/core.h' file not founddoxygen @1.9.8: fatal error: 'fmt/core.h' file not found
Version: 2.8.1

The log says:

:info:build /opt/local/include/spdlog/fmt/fmt.h:31:14: fatal error: 'fmt/core.h' file not found
:info:build #    include <fmt/core.h>
:info:build              ^~~~~~~~~~~~

The doxygen port doesn't declare a dependency on the spdlog port and we have successful builds of doxygen on all buildbot workers that have tried to build this port (there isn't a Sonoma arm64 buildbot worker yet) so this may be an opportunistic use of spdlog. In fact it looks like doxygen includes a bundled copy of spdlog and is trying to use that but is inadvertently finding your MacPorts copy with which it is evidently not compatible.

If trace mode worked on Sonoma you could use that to hide spdlog during the doxygen build. But since it doesn't, you could deactivate spdlog for the duration of the doxygen build:

sudo port clean doxygen
sudo port -f deactivate spdlog
sudo port upgrade doxygen
sudo port activate spdlog
Note: See TracTickets for help on using tickets.