Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Mar 2016 02:09:25 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 208227] devel/arcanist: add optional dependency on mbstring for encodings support
Message-ID:  <bug-208227-13@https.bugs.freebsd.org/bugzilla/>

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

            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@FreeBSD.org
          Reporter: amdmi3@FreeBSD.org
          Assignee: grembo@FreeBSD.org
             Flags: maintainer-feedback?(grembo@FreeBSD.org)

Created attachment 168523
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D168523&action=
=3Dedit
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 le=
ad
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. Enabl=
e it
by default, since it's crucial for working with localized FreeBSD
documentation, which still uses obsolete 8 bit locales.

--=20
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-208227-13>