Hi there, we're trying to update Homebrew's version of Watchman at Homebrew/homebrew-core#92869. We were last able to build Watchman against fmt 8.0.1, and it now no longer builds since Homebrew's fmt was updated to 8.1.0. The failure occurs on multiple versions of macOS and on Linux.
The Watchman build fails with this error:
In file included from /tmp/watchman-20220110-77236-142y8ko/watchman-2022.01.10.00/watchman/PendingCollection.cpp:8:
In file included from /tmp/watchman-20220110-77236-142y8ko/watchman-2022.01.10.00/watchman/PendingCollection.h:11:
In file included from /opt/homebrew/include/folly/futures/Promise.h:23:
In file included from /opt/homebrew/include/folly/futures/detail/Core.h:27:
In file included from /opt/homebrew/include/folly/Executor.h:25:
In file included from /opt/homebrew/include/folly/Range.h:45:
In file included from /opt/homebrew/include/fmt/format.h:48:
/opt/homebrew/include/fmt/core.h:1722:3: error: static_assert failed due to requirement 'formattable_pointer' "Formatting of non-void pointers is disallowed."
static_assert(formattable_pointer,
^ ~~~~~~~~~~~~~~~~~~~
Complete build logs available at https://github.com/Homebrew/homebrew-core/actions/runs/1680135847.
I tried to follow the call stack (see the log after the snippet I pasted above), and it doesn't look to me that Watchman is passing any pointers at all to fmt. However, I don't really do C++, and I'm unfamiliar with Watchman's codebase, so I could be mistaken.
Any assistance trying to resolve this would be appreciated. Thank you!
Hi there, we're trying to update Homebrew's version of Watchman at Homebrew/homebrew-core#92869. We were last able to build Watchman against fmt 8.0.1, and it now no longer builds since Homebrew's fmt was updated to 8.1.0. The failure occurs on multiple versions of macOS and on Linux.
The Watchman build fails with this error:
Complete build logs available at https://github.com/Homebrew/homebrew-core/actions/runs/1680135847.
I tried to follow the call stack (see the log after the snippet I pasted above), and it doesn't look to me that Watchman is passing any pointers at all to fmt. However, I don't really do C++, and I'm unfamiliar with Watchman's codebase, so I could be mistaken.
Any assistance trying to resolve this would be appreciated. Thank you!