Description of problem: Package cyrus-imapd fails to build from source with Perl 5.36 in Fedora Rawhide with error: In file included from /usr/lib64/perl5/CORE/perl.h:3855, from managesieve.xs:46: /usr/lib64/perl5/CORE/sv_inline.h: In function 'Perl_newSV_type': ../../../lib/assert.h:47:25: error: expected expression before '{' token 47 | #define assert(ex) {if (!(ex))assertionfailed(__FILE__, __LINE__, #ex);} | ^ /usr/lib64/perl5/CORE/handy.h:2787:28: note: in expansion of macro 'assert' 2787 | #define perl_assert_ptr(p) assert( ((void*)(p)) != 0 ) | ^~~~~~ Additional info and logs: This package is tracked by Koschei. See: https://koschei.fedoraproject.org/package/cyrus-imapd
Thanks for reporting this issue Jitka!
With this patch: https://github.com/omniosorg/omnios-extra/pull/1120/commits/fbd1b6bf2bdf13a171fce67eb5a3c483d3a67941 I am able to scratch build the upcoming 3.4.3 version using Perl 5.36 without the assert() issue: https://koji.fedoraproject.org/koji/taskinfo?taskID=87980867
https://bodhi.fedoraproject.org/updates/FEDORA-2022-fc6bb4d41b