cyrus-imap and perl 5.36

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Not sure what the issue is, but the cyrus-imapd 3.4.3 build fails with perl 5.36:


cc -c  -I../../../lib -I../../../perl/sieve -I../../../perl/sieve/lib   -D_REENTRANT -D_GNU_SOURCE -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -flto   -DVERSION=\"0.01\" -DXS_VERSION=\"0.01\" -fPIC "-I/usr/lib/perl5/5.36/core_perl/CORE"  -DPERL_POLLUTE managesieve.c
In file included from /usr/lib/perl5/5.36/core_perl/CORE/perl.h:3855,
                 from managesieve.xs:46:
/usr/lib/perl5/5.36/core_perl/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/lib/perl5/5.36/core_perl/CORE/handy.h:2787:28: note: in expansion of macro 'assert'
 2787 | #define perl_assert_ptr(p) assert( ((void*)(p)) != 0 )
      |                            ^~~~~~
/usr/lib/perl5/5.36/core_perl/CORE/handy.h:2792:47: note: in expansion of macro 'perl_assert_ptr'
 2792 | #define Zero(d,n,t)     (MEM_WRAP_CHECK_(n,t) perl_assert_ptr(d), (void)memzero((char*)(d), (n) * sizeof(t)))
      |                                               ^~~~~~~~~~~~~~~
/usr/lib/perl5/5.36/core_perl/CORE/sv_inline.h:468:13: note: in expansion of macro 'Zero'
  468 |             Zero(new_body, type_details->body_size, char);
      |             ^~~~
make[2]: *** [Makefile:346: managesieve.o] Error 1
make[2]: Leaving directory '/build/cyrus-imapd/src/cyrus-imapd-3.4.3/perl/sieve/managesieve'
make[1]: *** [Makefile:6964: all-recursive] Error 1
make[1]: Leaving directory '/build/cyrus-imapd/src/cyrus-imapd-3.4.3'
make: *** [Makefile:3237: all] Error 2

-ap

------------------------------------------
Cyrus: Info
Permalink: https://cyrus.topicbox.com/groups/info/T4dbb95a05bf1581e-Mdc484c415098530c67b67f26
Delivery options: https://cyrus.topicbox.com/groups/info/subscription




[Index of Archives]     [Cyrus SASL]     [Squirrel Mail]     [Asterisk PBX]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [KDE]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux