Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 705388

Summary: <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
Product: Gentoo Linux Reporter: Stopi <gentoo>
Component: Current packagesAssignee: Aaron W. Swenson <titanofold>
Status: RESOLVED FIXED    
Severity: normal CC: web-apps
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/roundcube/roundcubemail/issues/6903
https://github.com/roundcube/roundcubemail/issues/6744
Whiteboard:
Package list:
Runtime testing required: ---

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):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=637bca0e8feef63e8d6578d81bf342ac1d8e1e65

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

    mail-client/roundcube: Cleanup
    
    Bug: https://bugs.gentoo.org/720876
    Bug: https://bugs.gentoo.org/726944
    Closes: https://bugs.gentoo.org/705388
    Package-Manager: Portage-2.3.99, Repoman-2.3.23
    Signed-off-by: Aaron W. Swenson <titanofold@gentoo.org>

 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(-)