FS#78514 - [cyrus-imapd] Undefined symbol: pcre2_regexec
Attached to Project:
Community Packages
Opened by Giovanni Bottaro (bgiovanni) - Saturday, 13 May 2023, 20:33 GMT
Last edited by Torsten Keßler (tpkessler) - Sunday, 03 September 2023, 08:26 GMT
Opened by Giovanni Bottaro (bgiovanni) - Saturday, 13 May 2023, 20:33 GMT
Last edited by Torsten Keßler (tpkessler) - Sunday, 03 September 2023, 08:26 GMT
|
Details
Description:
It seems like the /usr/lib/perl5/5.36/vendor_perl/auto/Cyrus/IMAP/IMAP.so shared object, which is used by the cyradm administration tool, is missing linking against the pcre2 library and as a result causes invocations of cyradm to error out as follows: """ [waw@archlinux cyrus_PKGBUILD]$ cyradm Can't load '/usr/lib/perl5/5.36/vendor_perl/auto/Cyrus/IMAP/IMAP.so' for module Cyrus::IMAP: /usr/lib/perl5/5.36/vendor_perl/auto/Cyrus/IMAP/IMAP.so: undefined symbol: pcre2_regexec at /usr/lib/perl5/5.36/core_perl/DynaLoader.pm line 206. at /usr/lib/perl5/5.36/vendor_perl/Cyrus/IMAP/Admin.pm line 43. Compilation failed in require at /usr/lib/perl5/5.36/vendor_perl/Cyrus/IMAP/Admin.pm line 43. BEGIN failed--compilation aborted at /usr/lib/perl5/5.36/vendor_perl/Cyrus/IMAP/Admin.pm line 43. Compilation failed in require at /usr/lib/perl5/5.36/vendor_perl/Cyrus/IMAP/Shell.pm line 59. BEGIN failed--compilation aborted at /usr/lib/perl5/5.36/vendor_perl/Cyrus/IMAP/Shell.pm line 59. Compilation failed in require at /usr/bin/vendor_perl/cyradm line 66. BEGIN failed--compilation aborted at /usr/bin/vendor_perl/cyradm line 66. """ Additional info: * package version(s) : 3.6.1-1 * link to upstream bug report, if any: - https://github.com/cyrusimap/cyrus-imapd/issues/2629#issuecomment-456925909 - https://bugzilla.redhat.com/show_bug.cgi?id=1668723 - !!! FEDORA PATCH WHICH SOLVES THE ISSUE !!! : https://src.fedoraproject.org/rpms/cyrus-imapd/blob/rawhide/f/patch-cyrus-perl-linking --> Note that this patch is for the old pcre library, since Arch is looking forward to use pcre2 this should be taken into account. (We probably should use "-lpcre2-posix" instead) Steps to reproduce: Install cyrus-imapd from community-testing, execute cyradm, the error message mentioned above pops out. --> !!! I've personally verified that applying the patch Fedora is using actually solves the issue! !!! |
This task depends upon
Closed by Torsten Keßler (tpkessler)
Sunday, 03 September 2023, 08:26 GMT
Reason for closing: Won't fix
Additional comments about closing: Package is currently not in the repos.
Sunday, 03 September 2023, 08:26 GMT
Reason for closing: Won't fix
Additional comments about closing: Package is currently not in the repos.
[1] https://github.com/cyrusimap/cyrus-imapd/pull/4545
cyradm is seemingly running OK.