Package Details: watchman 2024.10.28.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: 12
Popularity: 0.013934
First Submitted: 2021-01-09 14:09 (UTC)
Last Updated: 2024-11-03 16:16 (UTC)

Latest Comments

1 2 Next › Last »

batrudinych commented on 2024-08-15 19:56 (UTC)

fails to build watchman 2024.05.27.00-1

Compiling watchman_client v0.8.0 (/var/tmp/pamac-build-XXX/watchman/src/watchman-2024.05.27.00/watchman/rust/watchman_client)
error: field `unilateral` is never read
   --> /var/tmp/pamac-build-XXX/watchman/src/watchman-2024.05.27.00/watchman/rust/watchman_client/src/lib.rs:590:17
    |
589 |         pub struct Unilateral {
    |                    ---------- field in this struct
590 |             pub unilateral: bool,
    |                 ^^^^^^^^^^
    |
    = note: `Unilateral` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
note: the lint level is defined here

carsme commented on 2024-04-04 17:37 (UTC)

Facebook introduced a dependency to fb303, fbthrift and mvfst in edencommon in March. This means that building watchman + deps from source will take an incredibly long time.

I might try to patch out that dependency in the future (if possible), I published this now as a reference point for that endeavor. In the meantime, feel free to use watchman-bin if the compile times are problematic.

Tieje commented on 2024-03-02 00:49 (UTC)

I needed to use the Homebrew workaround. https://github.com/facebook/watchman/issues/1186 Otherwise, building from Make files seems to take an awfully long time.

pedro.fernandesf commented on 2023-11-08 15:47 (UTC)

I'm getting this error

Building folly...
==> Making package: folly 2023.11.06.00-1 (qua 08 nov 2023 12:40:38)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found v2023.11.06.00.tar.gz
==> Validating source files with sha256sums...
    v2023.11.06.00.tar.gz ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources...
  -> Extracting v2023.11.06.00.tar.gz with bsdtar
==> Removing existing $pkgdir/ directory...
==> Starting build()...
CMake Deprecation Warning at CMakeLists.txt:15 (cmake_minimum_required):
  Compatibility with CMake < 3.5 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.


-- other platform:
CMake Error: CMake was unable to find a build program corresponding to "Unix Makefiles".  CMAKE_MAKE_PROGRAM is not set.  You probably need to select a different build tool.
CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage
CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage
CMake Error: CMAKE_ASM_COMPILER not set, after EnableLanguage
-- Configuring incomplete, errors occurred!
==> ERROR: A failure occurred in build().
    Aborting...

kusoneko commented on 2023-09-14 04:51 (UTC)

@carsme problem solved thanks

carsme commented on 2023-09-10 16:21 (UTC)

@kusoneko, I can't reproduce that issue. Can you try rebuilding folly and edencommon and see if the issue persists?

kusoneko commented on 2023-09-10 01:39 (UTC)

2023.09.04.00-1 doesn't compile on my end; I get the following error:

    Finished release [optimized] target(s) in 0.71s
[ 92%] Built target watchmanctl.cargo
/usr/bin/ld: /usr/lib/libedencommon_utils.a(ProcessNameCache.cpp.o): in function `facebook::eden::ProcessNameHandle::get[abi:cxx11]() const':
(.text+0x2658): undefined reference to `folly::futures::detail::CoreBase::getDeferredExecutor() const'
/usr/bin/ld: (.text+0x2685): undefined reference to `folly::futures::detail::CoreBase::CoreBase(folly::futures::detail::State, unsigned char)'
/usr/bin/ld: /usr/lib/libedencommon_utils.a(ProcessNameCache.cpp.o): in function `facebook::eden::ProcessNameCache::getAllProcessNames[abi:cxx11]()':
(.text+0x2d11): undefined reference to `folly::futures::detail::CoreBase::CoreBase(folly::futures::detail::State, unsigned char)'
/usr/bin/ld: /usr/lib/libedencommon_utils.a(ProcessNameCache.cpp.o): in function `std::pair<folly::Promise<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, folly::SemiFuture<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > folly::makePromiseContract<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >()':
(.text._ZN5folly19makePromiseContractINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEESt4pairINS_7PromiseIT_EENS_10SemiFutureIS9_EEEv[_ZN5folly19makePromiseContractINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEESt4pairINS_7PromiseIT_EENS_10SemiFutureIS9_EEEv]+0x38): undefined reference to `folly::futures::detail::CoreBase::CoreBase(folly::futures::detail::State, unsigned char)'
/usr/bin/ld: /usr/lib/libedencommon_utils.a(ProcessNameCache.cpp.o): in function `void folly::futures::detail::waitImpl<folly::SemiFuture<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >(folly::SemiFuture<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&)':
(.text._ZN5folly7futures6detail8waitImplINS_10SemiFutureINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEES9_EEvRT_[_ZN5folly7futures6detail8waitImplINS_10SemiFutureINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEES9_EEvRT_]+0x7d): undefined reference to `folly::futures::detail::CoreBase::CoreBase(folly::futures::detail::State, unsigned char)'
/usr/bin/ld: /usr/lib/libedencommon_utils.a(ProcessNameCache.cpp.o): in function `void folly::futures::detail::waitImpl<folly::SemiFuture<std::map<int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::less<int>, std::allocator<std::pair<int const, std::__cxx11::basic_string<char,
std::char_traits<char>, std::allocator<char> > > > > >, std::map<int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::less<int>, std::allocator<std::pair<int const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >(folly::SemiFuture<std::map<int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::less<int>, std::allocator<std::pair<int const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >&)':
(.text._ZN5folly7futures6detail8waitImplINS_10SemiFutureISt3mapIiNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIiESaISt4pairIKiSA_EEEEESH_EEvRT_[_ZN5folly7futures6detail8waitImplINS_10SemiFutureISt3mapIiNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIiESaISt4pairIKiSA_EEEEESH_EEvRT_]+0x7d): undefined reference to `folly::futures::detail::CoreBase::CoreBase(folly::futures::detail::State, unsigned char)'
/usr/bin/ld: /usr/lib/libedencommon_utils.a(ProcessNameCache.cpp.o): in function `folly::SemiFuture<std::map<int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::less<int>, std::allocator<std::pair<int const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >::getTry() &&':
(.text._ZNO5folly10SemiFutureISt3mapIiNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIiESaISt4pairIKiS7_EEEE6getTryEv[_ZNO5folly10SemiFutureISt3mapIiNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIiESaISt4pairIKiS7_EEEE6getTryEv]+0x3c): undefined reference to `folly::futures::detail::CoreBase::getDeferredExecutor() const'
/usr/bin/ld: (.text._ZNO5folly10SemiFutureISt3mapIiNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIiESaISt4pairIKiS7_EEEE6getTryEv[_ZNO5folly10SemiFutureISt3mapIiNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIiESaISt4pairIKiS7_EEEE6getTryEv]+0x69): undefined reference to `folly::futures::detail::CoreBase::CoreBase(folly::futures::detail::State, unsigned char)'
collect2: error: ld returned 1 exit status
make[2]: *** [CMakeFiles/watchman.dir/build.make:1816: bin/watchman] Error 1
make[1]: *** [CMakeFiles/Makefile2:453: CMakeFiles/watchman.dir/all] Error 2
make: *** [Makefile:146: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...

AlexBocken commented on 2023-03-12 14:27 (UTC)

@carsme Thank you, works smoothly now for me :)

carsme commented on 2023-03-12 14:21 (UTC)

@AlexBocken I've excluded what I think are the problematic tests now. Let me know if you experience any other issues.

AlexBocken commented on 2023-03-12 12:26 (UTC)

@carsme Rebuilt it again, same four checks failed. Note that I'm not building in a clean chroot.