Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Oct 2015 15:22:29 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 203961] [sysutils/watchman] pywatchman fails due to version out of date
Message-ID:  <bug-203961-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=203961

            Bug ID: 203961
           Summary: [sysutils/watchman] pywatchman fails due to version
                    out of date
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: freebsd-ports-bugs@FreeBSD.org
          Reporter: tony@git-pull.com
                CC: linpct@gmail.com
             Flags: maintainer-feedback?(linpct@gmail.com)
                CC: linpct@gmail.com

pywatchman is an officially supported python wrapper that relies on your
system's watchman.

https://github.com/facebook/watchman/tree/master/python

I built 4.1.0 from source and watchman + pywatchman works correctly.

Another bug #201031 is a patch to upgrade 3.0.0 to 3.5.0 - however now a few
months have passed, and that is out of date now too.

Conversation with upstream maintainer @
https://github.com/facebook/watchman/issues/176

$ freebsd-version -ku; uname -apKU 
11.0-CURRENT
11.0-CURRENT
FreeBSD x230 11.0-CURRENT FreeBSD 11.0-CURRENT #0: Wed Oct  7 17:47:58 CDT 2015
    root@x230:/usr/obj/usr/src/sys/MYKERNEL  amd64 amd64 1100080 1100080

$ pkg info watchman
watchman-3.0.0
Name           : watchman
Version        : 3.0.0
Installed on   : Thu Oct 22 09:46:52 CDT 2015
Origin         : sysutils/watchman
Architecture   : freebsd:11:x86:64
Prefix         : /usr/local
Categories     : sysutils
Licenses       : APACHE20
Maintainer     : linpct@gmail.com
WWW            : https://facebook.github.io/watchman/
Comment        : File alteration monitoring service
Shared Libs required:
        libpcre.so.1
Annotations    :
        repo_type      : binary
        repository     : FreeBSD
Flat size      : 163KiB
Description    :
Watchman exists to watch files and record when they change.  It can also
trigger actions (such as rebuilding assets) when matching files change.

WWW: https://facebook.github.io/watchman/


$ watchman-make -p '**/*.py' --make './run-tests.py' -t test
Traceback (most recent call last):
  File "/usr/home/tony/study/python/tmuxp/.env/bin/watchman-make", line 171, in
<module>
    required=['cmd-watch-project', 'wildmatch'])
  File
"/usr/home/tony/study/python/tmuxp/.env/lib/python2.7/site-packages/pywatchman/__init__.py",
line 509, in capabilityCheck
    capabilities.synthesize(res, opts)
NameError: global name 'opts' is not defined

-- 
You are receiving this mail because:
You are the assignee for the bug.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-203961-13>