Package Details: watchman 2024.04.22.00-1

Git Clone URL: https://aur.archlinux.org/watchman.git (read-only, click to copy)
Package Base: watchman
Description: Watches files and records, or triggers actions, when they change
Upstream URL: https://github.com/facebook/watchman
Licenses: MIT
Submitter: jelly
Maintainer: carsme
Last Packager: carsme
Votes: 11
Popularity: 0.67
First Submitted: 2021-01-09 14:09 (UTC)
Last Updated: 2024-04-23 06:11 (UTC)

Latest Comments

« First ‹ Previous 1 2

AlexBocken commented on 2023-03-12 10:43 (UTC)

check() fails for me (4 / 451) tests fail.

        238 - test_py::watchman.integration.test_local_saved_state.TestSavedStateUnixBser2.test_localSavedStateSubscription (Failed)
        249 - test_py::watchman.integration.test_local_saved_state.TestSavedStateUnixJson.test_localSavedStateSubscription (Failed)
        311 - test_py::watchman.integration.test_scm.TestScmUnixJson.test_scmHg (Failed)
        336 - test_py::watchman.integration.test_site_spawn.TestSiteSpawn.test_failingSpawner (Failed)

One of the errors:

failed to start
2023-03-12T11:28:59,488: [cli] /home/alex/watchman/src/watchman-2023.03.06.00/watchman/integration/site_spawn_fail.py: exited with status 1
Fatal error detected at:
    @ 000000000020c195 watchman::Log::doLogToStdErr()
                       /home/alex/watchman/src/watchman-2023.03.06.00/watchman/Logging.cpp:56
    @ 0000000000208971 watchman::Publisher::enqueue(json_ref&&)
                       /usr/include/c++/12.2.1/bits/std_function.h:591
                       -> /home/alex/watchman/src/watchman-2023.03.06.00/watchman/PubSub.cpp
    @ 00000000001322d7 void watchman::Log::log<char const*&, char const (&) [22], int, char const (&) [2]>(watchman::LogLevel, char const*&, char const (&) [22], int&&, char const (&) [2])
                       /home/alex/watchman/src/watchman-2023.03.06.00/watchman/Logging.h:62
                       -> /home/alex/watchman/src/watchman-2023.03.06.00/watchman/main.cpp
    @ 0000000000052786 main
                       /home/alex/watchman/src/watchman-2023.03.06.00/watchman/Logging.h:124
                       -> /home/alex/watchman/src/watchman-2023.03.06.00/watchman/main.cpp
    @ 000000000002378f (unknown)
    @ 0000000000023849 __libc_start_main
    @ 0000000000054df4 _start
ERROR

======================================================================
ERROR: test_failingSpawner (watchman.integration.test_site_spawn.TestSiteSpawn)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/alex/watchman/src/watchman-2023.03.06.00/build/watchman/integration/test_py/watchman/integration/test_site_spawn.py", line 31, in test_failingSpawner
    stderr = stderr.decode("ascii")
UnicodeDecodeError: 'ascii' codec can't decode byte 0xf0 in position 13439: ordinal not in range(128)

Any clue how to fix this? You can find the full build log at https://bocken.org/static/watchman_build.log in case that could be of any use.

@scarleo have you tried running rustup default stable as recommended in the error? Still not working?

scarleo commented on 2023-03-12 08:07 (UTC)

Fails to build:

[100%] Building Rust executable 'watchmanctl'...
error: rustup could not choose a version of cargo to run, because one wasn't specified explicitly, and no default is configured.
help: run 'rustup default stable' to download the latest stable release of Rust and set it as your default toolchain.
make[2]: *** [watchman/cli/CMakeFiles/watchmanctl.cargo.dir/build.make:72: watchman/cli/CMakeFiles/watchmanctl.cargo] Error 1
make[1]: *** [CMakeFiles/Makefile2:1411: watchman/cli/CMakeFiles/watchmanctl.cargo.dir/all] Error 2
make: *** [Makefile:146: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...

eclairevoyant commented on 2023-03-06 23:23 (UTC)

Took a look at this software, seems like it tries to download and build all dependent libraries even if they're present in the system. Might need some patches to use the system versions instead.

pickfire commented on 2022-06-23 03:04 (UTC)

Is this missing watchman service like https://aur.archlinux.org/packages/watchman-bin?

xuanruiqi commented on 2021-03-03 19:50 (UTC) (edited on 2021-03-03 21:41 (UTC) by xuanruiqi)

For whoever flagged this package, I have unflagged it.

All releases since 4.9.0 have been internal Facebook releases, and Facebook is neither testing that the code will build on non-FB systems, nor willing to support people outside of Facebook. Everyone outside of Facebook are supposed to use the binary builds. Sadly, it's the way it is at Facebook open source.

For what is worth, I could not get the latest weekly releases to build. I'm still trying, but unfortunately without much luck. If you could, then your help is much appreciated. Before that happens, we'd have to stick to 4.9.0.

If you do need the latest weekly release, I guess you have to use watchman-bin until I'm able to fix the build...