cyrus-imapd-3.4.3-1.fc37 fails to build in Fedora 37: make[2]: Entering directory '/builddir/build/BUILD/cyrus-imapd-3.4.3/perl/imap' rm -f blib/arch/auto/Cyrus/IMAP/IMAP.so gcc -lpthread -shared -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -L/usr/local/lib -fstack-protector-strong IMAP.o -o blib/arch/auto/Cyrus/IMAP/IMAP.so ../../perl/.libs/libcyrus.a ../../perl/.libs/libcyrus_min.a \ -lsasl2 -lssl -lcrypto -lssl -lcrypto -luuid -lz -lpcreposix -lperl \ /usr/bin/ld: cannot find -lpcreposix: No such file or directory collect2: error: ld returned 1 exit status make[2]: *** [Makefile:495: blib/arch/auto/Cyrus/IMAP/IMAP.so] Error 1 make[2]: Leaving directory '/builddir/build/BUILD/cyrus-imapd-3.4.3/perl/imap' A difference between passing and failing build roots is at <https://koschei.fedoraproject.org/build/13262133>. This is very probably triggered by upgrading glib2-devel from 2.73.1-2.fc37 to 2.73.2-2.fc37 which moved from PCRE to PCRE2 and stopped pulling in pcre-devel package. It seems a root cause is that cyrus-imapd is missing a build-time dependency on pcre-devel although it it uses -lpcre linker flag in patch-cyrus-perl-linking patch.
Thank you for reporting this. Yes, I am aware of this and just preparing a new version containing the pcre-devel in BuildRequires
Fixed in rawhide: https://bodhi.fedoraproject.org/updates/FEDORA-2022-38a47fa6ca