Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 705388 - <mail-client/roundcube-1.3.10 with dev-libs/libpcre-10.33 - PHP Warning: preg_replace(): Compilation failed: escape sequence is invalid in character class at offset 8 in /usr/share/webapps/roundcubemail/program/lib/Roundcube/rcube_vcard.php on line 547
Summary: <mail-client/roundcube-1.3.10 with dev-libs/libpcre-10.33 - PHP Warning: preg...
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Aaron W. Swenson
Depends on:
Reported: 2020-01-14 03:48 UTC by Stopi
Modified: 2020-07-23 20:40 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Note You need to log in before you can comment on or make changes to this bug.
Description Stopi 2020-01-14 03:48:46 UTC
mail-client/roundcube-1.3.8 (current) as issue when using an internal PHP function (preg_replace) if dev-libs/libpcre2-10.33 (current is 10.33-r1) is installed.

This issue is breaking the Contact list feature and also the autocomplete of contacts.

Looks like it has been fixed in Roundcube-1.3.10.

I think someone should correct the ebuilds for versions 1.3.8 & 1.3.9 in order to limit dependency to dev-libs/libpcre2-10.32.

Reproducible: Always

Steps to Reproduce:
1. Install last version of roundcube and libpcre2
2. Connect to your mailbox
3. Try to edit a contact in your address book (or try composing new mail, you'll see autocomplete of mail address is not working)
Actual Results:  
Error is almost silent, maybe it's because of my current PHP configuration, but nothing raised in my logs on nginx

Expected Results:  
I expect to be able to use my contacts correctly

I did downgrad to libpcre2-10.32, it fixed the issue on my servers.
Comment 1 Larry the Git Cow gentoo-dev 2020-07-23 20:40:11 UTC
The bug has been closed via the following commit(s):

commit 637bca0e8feef63e8d6578d81bf342ac1d8e1e65
Author:     Aaron W. Swenson <>
AuthorDate: 2020-07-23 20:31:54 +0000
Commit:     Aaron W. Swenson <>
CommitDate: 2020-07-23 20:39:56 +0000

    mail-client/roundcube: Cleanup
    Package-Manager: Portage-2.3.99, Repoman-2.3.23
    Signed-off-by: Aaron W. Swenson <>

 mail-client/roundcube/Manifest                |  7 --
 mail-client/roundcube/roundcube-1.3.10.ebuild | 96 ---------------------------
 mail-client/roundcube/roundcube-1.3.8.ebuild  | 96 ---------------------------
 mail-client/roundcube/roundcube-1.3.9.ebuild  | 96 ---------------------------
 mail-client/roundcube/roundcube-1.4.0.ebuild  | 73 --------------------
 mail-client/roundcube/roundcube-1.4.1.ebuild  | 73 --------------------
 mail-client/roundcube/roundcube-1.4.2.ebuild  | 73 --------------------
 mail-client/roundcube/roundcube-1.4.3.ebuild  | 73 --------------------
 8 files changed, 587 deletions(-)