[Bug 219604] devel/libphutil: [patch] The fallback editor is not in the base system

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat May 27 21:48:54 UTC 2017


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=219604

            Bug ID: 219604
           Summary: devel/libphutil: [patch] The fallback editor is not in
                    the base system
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Keywords: patch
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: grembo at FreeBSD.org
          Reporter: kdrakehp at zoho.com
             Flags: maintainer-feedback?(grembo at FreeBSD.org)
          Assignee: grembo at FreeBSD.org
          Keywords: patch

Created attachment 182976
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=182976&action=edit
Replace the hard-coded fallback editors with vi(1)

If `PhutilInteractiveEditor' is not configured with a preferred
editor, and the EDITOR environment variable is unset, it attempts
to fallback to using `nano' (editors/nano) producing an error if it
is not installed.

How-To-Repeat: (using devel/arcanist)
$ arc diff --create <path>
Exception
Unable to launch an interactive text editor. Set the EDITOR environment
variable to an appropriate editor.
(Run with `--trace` for a full exception trace.)

Fix:
The attached fix adds a patch to the port's files that replaces the
hard-coded fallback editor with vi(1).

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


More information about the freebsd-ports-bugs mailing list