[Bug 208227] devel/arcanist: add optional dependency on mbstring for encodings support

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Mar 23 02:09:26 UTC 2016


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

            Bug ID: 208227
           Summary: devel/arcanist: add optional dependency on mbstring
                    for encodings support
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: grembo at FreeBSD.org
          Reporter: amdmi3 at FreeBSD.org
          Assignee: grembo at FreeBSD.org
             Flags: maintainer-feedback?(grembo at FreeBSD.org)

Created attachment 168523
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=168523&action=edit
Patch

Arcanist does support encodings other than utf-8, but it needs mbstring php
extension for this, otherwise an attempt to use --encoding argument will lead
to an error:

% arc diff --encoding koi8-r --update D5713
ru_RU.KOI8-R/books/handbook/x11/chapter.xml
Linting...
No lint engine configured for this project.
Running unit tests...
No unit test engine is configured for this project.
Exception
Attempting to convert a string encoding from 'koi8-r' to 'UTF-8', but the
'mbstring' PHP extension is not available. Install mbstring to work with
encodings other than UTF-8.
(Run with `--trace` for a full exception trace.)

To support this, add an optional dependency on mbstring for arcanist. Enable it
by default, since it's crucial for working with localized FreeBSD
documentation, which still uses obsolete 8 bit locales.

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


More information about the freebsd-ports-bugs mailing list