[MacPorts] #63368: cherrytree @0.99.39: build fails with spdlog @1.9.1. Still builds against spdlog @1.9.0.
MacPorts
noreply at macports.org
Sat Aug 14 18:15:26 UTC 2021
#63368: cherrytree @0.99.39: build fails with spdlog @1.9.1. Still builds against
spdlog @1.9.0.
--------------------+-------------------------------
Reporter: kencu | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Keywords: | Port: cherrytree spdlog
--------------------+-------------------------------
I was going to update cherrytree, but the build now fails since spdlog was
updated to @1.9.1:
{{{
[ 78%] Building CXX object
src/ct/CMakeFiles/cherrytree_shared.dir/ct_actions_file.cc.o
cd /opt/local/var/macports/build/_opt_macportsofficial_macports-
ports_editors_cherrytree/cherrytree/work/build/src/ct && /usr/bin/clang++
-DHAVE_NLS -DSHARED_FMT_SPDLOG -DSPDLOG_ACTIVE_LEVEL=SPDLOG_LEVEL_DEBUG
-DSPDLOG_FMT_EXTERNAL -isystem /opt/local/include/gtkmm-3.0 -isystem
/opt/local/lib/gtkmm-3.0/include -isystem /opt/local/include/atkmm-1.6
-isystem /opt/local/include/gtk-3.0/unix-print -isystem
/opt/local/include/gdkmm-3.0 -isystem /opt/local/lib/gdkmm-3.0/include
-isystem /opt/local/include/giomm-2.4 -isystem
/opt/local/lib/giomm-2.4/include -isystem /opt/local/include/pangomm-1.4
-isystem /opt/local/lib/pangomm-1.4/include -isystem
/opt/local/include/glibmm-2.4 -isystem /opt/local/lib/glibmm-2.4/include
-isystem /opt/local/include/gtk-3.0 -isystem /opt/local/include/gio-
unix-2.0 -isystem /opt/local/include/cairo -isystem
/opt/local/include/pango-1.0 -isystem /opt/local/include/harfbuzz -isystem
/opt/local/include/fribidi -isystem /opt/local/include/atk-1.0 -isystem
/opt/local/include/cairomm-1.0 -isystem /opt/local/lib/cairomm-1.0/include
-isystem /opt/local/include/pixman-1 -isystem /opt/local/include/ossp
-isystem /opt/local/include/freetype2 -isystem /opt/local/include/libpng16
-isystem /opt/local/include/sigc++-2.0 -isystem
/opt/local/lib/sigc++-2.0/include -isystem /opt/local/include/gdk-
pixbuf-2.0 -isystem /opt/local/include/glib-2.0 -isystem
/opt/local/lib/glib-2.0/include -isystem
/opt/local/include/gtksourceviewmm-3.0 -isystem
/opt/local/lib/gtksourceviewmm-3.0/include -isystem
/opt/local/include/gtksourceview-3.0 -isystem /opt/local/include/libxml2
-isystem /opt/local/include/gspell-1 -isystem
/opt/local/include/gtkmacintegration -isystem /opt/local/include/enchant-2
-isystem /opt/local/include/libxml++-2.6 -isystem
/opt/local/lib/libxml++-2.6/include -isystem /opt/local/include/uchardet
-isystem /opt/local/var/macports/build/_opt_macportsofficial_macports-
ports_editors_cherrytree/cherrytree/work/cherrytree-0.99.40/. -pipe -Os
-nostdinc++ -I/opt/local/include/libcxx/v1 -DNDEBUG -I/opt/local/include
-stdlib=libc++ -arch x86_64 -mmacosx-version-min=10.13 "-Wno-#warnings"
-Wthread-safety -D_LIBCPP_ENABLE_CXX17_REMOVED_AUTO_PTR -Wno-deprecated
-Wno-deprecated-declarations -Wall -Wextra -Wunreachable-code
-Wuninitialized -std=gnu++17 -MD -MT
src/ct/CMakeFiles/cherrytree_shared.dir/ct_actions_file.cc.o -MF
CMakeFiles/cherrytree_shared.dir/ct_actions_file.cc.o.d -o
CMakeFiles/cherrytree_shared.dir/ct_actions_file.cc.o -c
/opt/local/var/macports/build/_opt_macportsofficial_macports-
ports_editors_cherrytree/cherrytree/work/cherrytree-0.99.40/src/ct/ct_actions_file.cc
In file included from /opt/local/var/macports/build
/_opt_macportsofficial_macports-
ports_editors_cherrytree/cherrytree/work/cherrytree-0.99.40/src/ct/ct_actions_file.cc:24:
In file included from /opt/local/var/macports/build
/_opt_macportsofficial_macports-
ports_editors_cherrytree/cherrytree/work/cherrytree-0.99.40/src/ct/ct_actions.h:26:
In file included from /opt/local/var/macports/build
/_opt_macportsofficial_macports-
ports_editors_cherrytree/cherrytree/work/cherrytree-0.99.40/src/ct/ct_main_win.h:33:
In file included from /opt/local/var/macports/build
/_opt_macportsofficial_macports-
ports_editors_cherrytree/cherrytree/work/cherrytree-0.99.40/src/ct/ct_misc_utils.h:27:
In file included from /opt/local/var/macports/build
/_opt_macportsofficial_macports-
ports_editors_cherrytree/cherrytree/work/cherrytree-0.99.40/src/ct/ct_logging.h:27:
In file included from /opt/local/include/spdlog/spdlog.h:12:
/opt/local/include/spdlog/common.h:141:86: error: expected expression
: std::integral_constant<bool, std::is_convertible<const T &,
fmt::format_string<>>::value ||
is_convertible_to_wformat_string<T>::value>
^
In file included from /opt/local/var/macports/build
/_opt_macportsofficial_macports-
ports_editors_cherrytree/cherrytree/work/cherrytree-0.99.40/src/ct/ct_actions_find.cc:24:
In file included from /opt/local/var/macports/build
/_opt_macportsofficial_macports-
ports_editors_cherrytree/cherrytree/work/cherrytree-0.99.40/src/ct/ct_actions_export.cc:24:
In file included from /opt/local/var/macports/build
/_opt_macportsofficial_macports-
ports_editors_cherrytree/cherrytree/work/cherrytree-0.99.40/src/ct/ct_actions.h:26:
In file included from /opt/local/var/macports/build
/_opt_macportsofficial_macports-
ports_editors_cherrytree/cherrytree/work/cherrytree-0.99.40/src/ct/ct_main_win.h:33:
In file included from /opt/local/var/macports/build
/_opt_macportsofficial_macports-
ports_editors_cherrytree/cherrytree/work/cherrytree-0.99.40/src/ct/ct_misc_utils.h:27:
In file included from /opt/local/var/macports/build
/_opt_macportsofficial_macports-
ports_editors_cherrytree/cherrytree/work/cherrytree-0.99.40/src/ct/ct_logging.h:27:
In file included from /opt/local/include/spdlog/spdlog.h:12:
/opt/local/include/spdlog/common.h:141:86: error: expected expression
: std::integral_constant<bool, std::is_convertible<const T &,
fmt::format_string<>>::value ||
is_convertible_to_wformat_string<T>::value>
^
In file included from /opt/local/var/macports/build
/_opt_macportsofficial_macports-
ports_editors_cherrytree/cherrytree/work/cherrytree-0.99.40/src/ct/ct_actions.h:26:
In file included from /opt/local/var/macports/build
/_opt_macportsofficial_macports-
ports_editors_cherrytree/cherrytree/work/cherrytree-0.99.40/src/ct/ct_main_win.h:33:
In file included from /opt/local/var/macports/build
/_opt_macportsofficial_macports-
ports_editors_cherrytree/cherrytree/work/cherrytree-0.99.40/src/ct/ct_misc_utils.h:27:
In file included from /opt/local/var/macports/build
/_opt_macportsofficial_macports-
ports_editors_cherrytree/cherrytree/work/cherrytree-0.99.40/src/ct/ct_logging.h:27:
In file included from /opt/local/include/spdlog/spdlog.h:12:
/opt/local/include/spdlog/common.h:141:86: error: expected expression
: std::integral_constant<bool, std::is_convertible<const T &,
fmt::format_string<>>::value ||
is_convertible_to_wformat_string<T>::value>
^
/opt/local/include/spdlog/common.h:/opt/local/include/spdlog/common.h/opt/local/include/spdlog/common.h141::141:7272::
:141: 72: errorerror: errorno member named 'format_string' in namespace
'fmt'; did you mean 'vformat_to_n'?
: no member named 'format_string' in namespace 'fmt'; did you mean
'vformat_to_n'?
: no member named 'format_string' in namespace 'fmt'; did you mean
'vformat_to_n'?
In file included from /opt/local/var/macports/build
/_opt_macportsofficial_macports-
ports_editors_cherrytree/cherrytree/work/cherrytree-0.99.40/src/ct/ct_actions_edit.cc:24:
In file included from /opt/local/var/macports/build
/_opt_macportsofficial_macports-
ports_editors_cherrytree/cherrytree/work/cherrytree-0.99.40/src/ct/ct_actions.h:26:
In file included from /opt/local/var/macports/build
/_opt_macportsofficial_macports-
ports_editors_cherrytree/cherrytree/work/cherrytree-0.99.40/src/ct/ct_main_win.h:33:
In file included from /opt/local/var/macports/build
/_opt_macportsofficial_macports-
ports_editors_cherrytree/cherrytree/work/cherrytree-0.99.40/src/ct/ct_misc_utils.h:27:
In file included from /opt/local/var/macports/build
/_opt_macportsofficial_macports-
ports_editors_cherrytree/cherrytree/work/cherrytree-0.99.40/src/ct/ct_logging.h:27:
In file included from /opt/local/include/spdlog/spdlog.h:12:
/opt/local/include/spdlog/common.h:141:86: error: expected expression
: std::integral_constant<bool, std::is_convertible<const T &,
fmt::format_string<>>::value ||
is_convertible_to_wformat_string<T>::value>
^
: std::integral_constant<bool, std::is_convertible<const T &,
fmt::format_string<>>::value ||
is_convertible_to_wformat_string<T>::value>
~~~~~^~~~~~~~~~~~~
vformat_to_n
: std::integral_constant<bool, std::is_convertible<const T &,
fmt::format_string<>>::value ||
is_convertible_to_wformat_string<T>::value>
~~~~~^~~~~~~~~~~~~
vformat_to_n
: std::integral_constant<bool, std::is_convertible<const T &,
fmt::format_string<>>::value ||
is_convertible_to_wformat_string<T>::value>
~~~~~^~~~~~~~~~~~~
vformat_to_n
/opt/local/include/fmt/core.h:2017:37: note: 'vformat_to_n' declared here
inline format_to_n_result<OutputIt> vformat_to_n(
^
/opt/local/include/fmt/core.h:2017:37: note: 'vformat_to_n' declared here
inline format_to_n_result<OutputIt> vformat_to_n(
^
/opt/local/include/fmt/core.h:2017:37: note: 'vformat_to_n' declared here
inline format_to_n_result<OutputIt> vformat_to_n(
^
/opt/local/include/spdlog/common.h:141:72: error: no member named
'format_string' in namespace 'fmt'; did you mean 'vformat_to_n'?
: std::integral_constant<bool, std::is_convertible<const T &,
fmt::format_string<>>::value ||
is_convertible_to_wformat_string<T>::value>
~~~~~^~~~~~~~~~~~~
vformat_to_n
/opt/local/include/fmt/core.h:2017:37: note: 'vformat_to_n' declared here
inline format_to_n_result<OutputIt> vformat_to_n(
^
In file included from /opt/local/var/macports/build
/_opt_macportsofficial_macports-
ports_editors_cherrytree/cherrytree/work/cherrytree-0.99.40/src/ct/ct_actions_find.cc:24:
In file included from /opt/local/var/macports/build
/_opt_macportsofficial_macports-
ports_editors_cherrytree/cherrytree/work/cherrytree-0.99.40/src/ct/ct_actions.h:26:
In file included from /opt/local/var/macports/build
/_opt_macportsofficial_macports-
ports_editors_cherrytree/cherrytree/work/cherrytree-0.99.40/src/ct/ct_main_win.h:33:
In file included from /opt/local/var/macports/build
/_opt_macportsofficial_macports-
ports_editors_cherrytree/cherrytree/work/cherrytree-0.99.40/src/ct/ct_misc_utils.h:27:
In file included from /opt/local/var/macports/build
/_opt_macportsofficial_macports-
ports_editors_cherrytree/cherrytree/work/cherrytree-0.99.40/src/ct/ct_actions_file.cc:24:
In file included from In file included from /opt/local/var/macports/build
/_opt_macportsofficial_macports-
ports_editors_cherrytree/cherrytree/work/cherrytree-0.99.40/src/ct/ct_logging.h:27:
In file included from /opt/local/include/spdlog/spdlog.h:12:
/opt/local/include/spdlog/common.h:141:136: error: no type named 'value'
in the global namespace
/opt/local/var/macports/build/_opt_macportsofficial_macports-
ports_editors_cherrytree/cherrytree/work/cherrytree-0.99.40/src/ct/ct_actions.h:26:
In file included from /opt/local/var/macports/build
/_opt_macportsofficial_macports-
ports_editors_cherrytree/cherrytree/work/cherrytree-0.99.40/src/ct/ct_main_win.h:33:
In file included from /opt/local/var/macports/build
/_opt_macportsofficial_macports-
ports_editors_cherrytree/cherrytree/work/cherrytree-0.99.40/src/ct/ct_misc_utils.h:27:
In file included from /opt/local/var/macports/build
/_opt_macportsofficial_macports-
ports_editors_cherrytree/cherrytree/work/cherrytree-0.99.40/src/ct/ct_logging.h:27:
In file included from /opt/local/include/spdlog/spdlog.h:12:
/opt/local/include/spdlog/common.h:141:136: error: no type named 'value'
in the global namespace
: std::integral_constant<bool, std::is_convertible<const T &,
fmt::format_string<>>::value ||
is_convertible_to_wformat_string<T>::value>
~~^
: std::integral_constant<bool, std::is_convertible<const T &,
fmt::format_string<>>::value ||
is_convertible_to_wformat_string<T>::value>
~~^
/opt/local/include/spdlog/common.h:142:1: error: expected class name
{};
^
/opt/local/include/spdlog/common.h:142:1: error: expected class name
{};In file included from
/opt/local/var/macports/build/_opt_macportsofficial_macports-
ports_editors_cherrytree/cherrytree/work/cherrytree-0.99.40/src/ct/ct_actions_export.cc:24:
}}}
trying cherrytree 0.99.39 again also fails now. Both succeed if spdlog is
rolled bck to 1.9.0.
spdlog has a new version out, 1.9.2. Unfortunately, no bueno -- same error
as 1.9.1.
--
Ticket URL: <https://trac.macports.org/ticket/63368>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list