Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Apr 2023 00:49:59 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 271109] mail/roundcube: ICU & ctypes bugs
Message-ID:  <bug-271109-7788@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 271109
           Summary: mail/roundcube: ICU & ctypes bugs
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ale@FreeBSD.org
          Reporter: darius@dons.net.au
          Assignee: ale@FreeBSD.org
             Flags: maintainer-feedback?(ale@FreeBSD.org)

Hi,
I just installed the roundcube-php81-1.6.1,1 package on a 13.1-RELEASE-p6
system and ran into two problems.

The first was:
[28-Apr-2023 00:30:52 +0000]: <mksj46p8> DB Error: SQLSTATE[HY000] [14] una=
ble
to open database file in
/usr/local/www/roundcube/program/lib/Roundcube/rcube_db.php on line 201 (GE=
T /)
[28-Apr-2023 00:31:31 UTC] PHP Fatal error:  Uncaught Error: Undefined cons=
tant
"INTL_IDNA_VARIANT_UTS46" in
/usr/local/www/roundcube/program/lib/Roundcube/rcube_utils.php:1153

Which I fixed by replacing INTL_IDNA_VARIANT_UTS46 with 0 as per
https://github.com/guzzle/guzzle/pull/2454/commits/c63379edaad8af790be9e3bb=
d3d40d4eaae4e30c

The second was:
[28-Apr-2023 00:38:29 UTC] PHP Fatal error:  Uncaught Error: Call to undefi=
ned
function Masterminds\HTML5\Parser\ctype_alpha() in
/usr/local/www/roundcube/vendor/masterminds/html5/src/HTM
L5/Parser/Tokenizer.php:140

Which I fixed by replacing the ctype_alpha() call with a hand rolled functi=
on
as per https://github.com/Masterminds/html5-php/issues/173

--=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-271109-7788>