facebook / watchman

Watches files and records, or triggers actions, when they change.
https://facebook.github.io/watchman/
MIT License
12.56k stars 987 forks source link

Adaptation problems of macOS15 #1233

Open YangGong-Zi opened 1 month ago

YangGong-Zi commented 1 month ago

The current version is not compatible with macOS15. When will the latest macOS15 be supported?

MichaelCuevas commented 1 month ago

We're working on testing Watchman with macOS 15. However, it would be helpful if you enumerate the issues you've found so far.

YangGong-Zi commented 1 month ago

Thank you for your reply, and we will continue to pay attention to this project in the future. I wish you a good day

MoneyPool-xu commented 1 month ago

My macOS is macOS 15 beta3. I have this issue. but it is work on macOS 15 beta1

MoneyPool-xu commented 1 month ago
Downloading https://raw.githubusercontent.com/Homebrew/homebrew-core/e5797379a517da052954dbe90b3abd4b2f1a108f/Formula/w/watchman.rb Already downloaded: /Users/xbm/Library/Caches/Homebrew/downloads/0cbba154a73ff9dbd90facc2f93bde218078eb627fb40d0fab5ac5f1f4a076cc--watchman.rb ==> Downloading https://github.com/facebook/watchman/archive/refs/tags/v2024.07.08.00.tar.gz Already downloaded: /Users/xbm/Library/Caches/Homebrew/downloads/8e330df712b3533c2d5177f634215b83f6de33fd9f294ac600af3eda2ab3ca81--watchman-2024.07.08.00.tar.gz ==> cmake -S . -B build -DENABLE_EDEN_SUPPORT=ON -DPython3_EXECUTABLE=/usr/local/opt/python@3.12/bin/python3.12 -DWATCHMAN_VERSION_OVERRIDE=2024.07.08.00 -DWAT ==> cmake --build build Last 15 lines from /Users/xbm/Library/Logs/Homebrew/watchman/02.cmake: help: remove this mut

= note: #[warn(unused_mut)] on by default

warning: unused variable: buf --> src/rage/stream.rs:37:29 | 37 | fn write(&mut self, buf: &[u8]) -> io::Result { | ^^^ help: if this is intentional, prefix it with an underscore: _buf

warning: watchmanctl (bin "watchmanctl") generated 3 warnings (run cargo fix --bin "watchmanctl" to apply 1 suggestion) Finished release profile [optimized] target(s) in 45.45s [ 9%] Built target watchmanctl.cargo make: *** [all] Error 2

Do not report this issue to Homebrew/brew or Homebrew/homebrew-core!

Error: You are using macOS 15. We do not provide support for this pre-release version. It is expected behaviour that some formulae will fail to build in this pre-release version. It is expected behaviour that Homebrew will be buggy and slow. Do not create any issues about this on Homebrew's GitHub repositories. Do not create any issues even if you think this message is unrelated. Any opened issues will be immediately closed without response. Do not ask for help from Homebrew or its maintainers on social media. You may ask for help in Homebrew's discussions but are unlikely to receive a response. Try to figure out the problem yourself and submit a fix as a pull request. We will review it but may or may not accept it.

YangGong-Zi commented 1 month ago

Downloading https://raw.githubusercontent.com/Homebrew/homebrew-core/e5797379a517da052954dbe90b3abd4b2f1a108f/Formula/w/watchman.rb Already downloaded: /Users/xbm/Library/Caches/Homebrew/downloads/0cbba154a73ff9dbd90facc2f93bde218078eb627fb40d0fab5ac5f1f4a076cc--watchman.rb ==> Downloading https://github.com/facebook/watchman/archive/refs/tags/v2024.07.08.00.tar.gz Already downloaded: /Users/xbm/Library/Caches/Homebrew/downloads/8e330df712b3533c2d5177f634215b83f6de33fd9f294ac600af3eda2ab3ca81--watchman-2024.07.08.00.tar.gz ==> cmake -S . -B build -DENABLE_EDEN_SUPPORT=ON -DPython3_EXECUTABLE=/usr/local/opt/python@3.12/bin/python3.12 -DWATCHMAN_VERSION_OVERRIDE=2024.07.08.00 -DWAT ==> cmake --build build Last 15 lines from /Users/xbm/Library/Logs/Homebrew/watchman/02.cmake: | help: remove this mut | = note: #[warn(unused_mut)] on by default

warning: unused variable: buf --> src/rage/stream.rs:37:29 | 37 | fn write(&mut self, buf: &[u8]) -> io::Result { | ^^^ help: if this is intentional, prefix it with an underscore: _buf

warning: watchmanctl (bin "watchmanctl") generated 3 warnings (run cargo fix --bin "watchmanctl" to apply 1 suggestion) Finished release profile [optimized] target(s) in 45.45s [ 9%] Built target watchmanctl.cargo make: *** [all] Error 2

Do not report this issue to Homebrew/brew or Homebrew/homebrew-core!

Error: You are using macOS 15. We do not provide support for this pre-release version. It is expected behaviour that some formulae will fail to build in this pre-release version. It is expected behaviour that Homebrew will be buggy and slow. Do not create any issues about this on Homebrew's GitHub repositories. Do not create any issues even if you think this message is unrelated. Any opened issues will be immediately closed without response. Do not ask for help from Homebrew or its maintainers on social media. You may ask for help in Homebrew's discussions but are unlikely to receive a response. Try to figure out the problem yourself and submit a fix as a pull request. We will review it but may or may not accept it.

I have the same problem as you

YangGong-Zi commented 1 month ago

Downloading https://raw.githubusercontent.com/Homebrew/homebrew-core/e5797379a517da052954dbe90b3abd4b2f1a108f/Formula/w/watchman.rb Already downloaded: /Users/xbm/Library/Caches/Homebrew/downloads/0cbba154a73ff9dbd90facc2f93bde218078eb627fb40d0fab5ac5f1f4a076cc--watchman.rb ==> Downloading https://github.com/facebook/watchman/archive/refs/tags/v2024.07.08.00.tar.gz Already downloaded: /Users/xbm/Library/Caches/Homebrew/downloads/8e330df712b3533c2d5177f634215b83f6de33fd9f294ac600af3eda2ab3ca81--watchman-2024.07.08.00.tar.gz ==> cmake -S . -B build -DENABLE_EDEN_SUPPORT=ON -DPython3_EXECUTABLE=/usr/local/opt/python@3.12/bin/python3.12 -DWATCHMAN_VERSION_OVERRIDE=2024.07.08.00 -DWAT ==> cmake --build build Last 15 lines from /Users/xbm/Library/Logs/Homebrew/watchman/02.cmake: | help: remove this mut | = note: #[warn(unused_mut)] on by default

warning: unused variable: buf --> src/rage/stream.rs:37:29 | 37 | fn write(&mut self, buf: &[u8]) -> io::Result { | ^^^ help: if this is intentional, prefix it with an underscore: _buf

warning: watchmanctl (bin "watchmanctl") generated 3 warnings (run cargo fix --bin "watchmanctl" to apply 1 suggestion) Finished release profile [optimized] target(s) in 45.45s [ 9%] Built target watchmanctl.cargo make: *** [all] Error 2

Do not report this issue to Homebrew/brew or Homebrew/homebrew-core!

Error: You are using macOS 15. We do not provide support for this pre-release version. It is expected behaviour that some formulae will fail to build in this pre-release version. It is expected behaviour that Homebrew will be buggy and slow. Do not create any issues about this on Homebrew's GitHub repositories. Do not create any issues even if you think this message is unrelated. Any opened issues will be immediately closed without response. Do not ask for help from Homebrew or its maintainers on social media. You may ask for help in Homebrew's discussions but are unlikely to receive a response. Try to figure out the problem yourself and submit a fix as a pull request. We will review it but may or may not accept it.

This problem may be caused by the wrong installation path of brew,I have completed the installation of watchman by reinstalling brew

ruan-azevedo commented 4 weeks ago

This problem may be caused by the wrong installation path of brew,I have completed the installation of watchman by reinstalling brew

That was the case for me. Reinstall homebrew fixed the problem, thanks!