Opened 13 months ago
Closed 12 months ago
#68581 closed defect (fixed)
doxygen-devel: either fix bundled spdlog headers or use Macports-provided ones
Reported by: | barracuda156 | Owned by: | barracuda156 |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.8.1 |
Keywords: | tiger, leopard, snowleopard, powerpc | Cc: | mascguy (Christopher Nielsen) |
Port: | doxygen-devel |
Description (last modified by ryandesign (Ryan Carsten Schmidt))
It is broken now on PowerPC due to a bug in bundled spdlog
headers:
In file included from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_textproc_doxygen-devel/doxygen-devel/work/doxygen-1.9.8/deps/spdlog/include/spdlog/details/os.h:117, from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_textproc_doxygen-devel/doxygen-devel/work/doxygen-1.9.8/deps/spdlog/include/spdlog/details/log_msg-inl.h:10, from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_textproc_doxygen-devel/doxygen-devel/work/doxygen-1.9.8/deps/spdlog/include/spdlog/details/log_msg.h:36, from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_textproc_doxygen-devel/doxygen-devel/work/doxygen-1.9.8/deps/spdlog/include/spdlog/logger.h:18, from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_textproc_doxygen-devel/doxygen-devel/work/doxygen-1.9.8/deps/spdlog/include/spdlog/details/registry-inl.h:12, from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_textproc_doxygen-devel/doxygen-devel/work/doxygen-1.9.8/deps/spdlog/include/spdlog/details/registry.h:120, from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_textproc_doxygen-devel/doxygen-devel/work/doxygen-1.9.8/deps/spdlog/include/spdlog/spdlog.h:13, from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_textproc_doxygen-devel/doxygen-devel/work/doxygen-1.9.8/src/trace.h:42, from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_textproc_doxygen-devel/doxygen-devel/work/doxygen-1.9.8/src/commentscan.l:64: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_textproc_doxygen-devel/doxygen-devel/work/doxygen-1.9.8/deps/spdlog/include/spdlog/details/os-inl.h: In function 'size_t spdlog::details::os::_thread_id()': /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_textproc_doxygen-devel/doxygen-devel/work/doxygen-1.9.8/deps/spdlog/include/spdlog/details/os-inl.h:356:5: error: 'pthread_threadid_np' was not declared in this scope; did you mean 'pthread_is_threaded_np'? 356 | pthread_threadid_np(nullptr, &tid); | ^~~~~~~~~~~~~~~~~~~ | pthread_is_threaded_np
Upstream merged the fix earlier, and our spdlog
port uses fixed ones.
Not sure why at all bundled headers are used; but if it is needed for w/e reason, the fix for missing pthread_is_threaded_np
should be backported from: [0379c87280faa1a14758cb61a52fb4e6d5922a97/macports-ports]
Change History (2)
comment:1 Changed 13 months ago by ryandesign (Ryan Carsten Schmidt)
Cc: | mascguy added |
---|---|
Description: | modified (diff) |
comment:2 Changed 12 months ago by barracuda156
Owner: | set to barracuda156 |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
Another recent problem related to doxygen and spdlog is #68534.