From owner-freebsd-ports-bugs@freebsd.org Thu Oct 22 15:22:30 2015 Return-Path: Delivered-To: freebsd-ports-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 757AAA1AA7E for ; Thu, 22 Oct 2015 15:22:30 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 5B1621C85 for ; Thu, 22 Oct 2015 15:22:30 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id t9MFMU1d096855 for ; Thu, 22 Oct 2015 15:22:30 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 203961] [sysutils/watchman] pywatchman fails due to version out of date Date: Thu, 22 Oct 2015 15:22:29 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: tony@git-pull.com X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-ports-bugs@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter cc flagtypes.name Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Oct 2015 15:22:30 -0000 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 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.