Source: cyrus-imapd
Version: 3.6.0~beta2-3
Tags: ftbfs
User: debian-p...@lists.debian.org
Usertags: perl-5.36-transition

This package fails to build from source with Perl 5.36 (currently in
experimental.)

Build log at

  
http://perl.debian.net/rebuild-logs/perl-5.36/cyrus-imapd_3.6.0~beta2-3/cyrus-imapd_3.6.0~beta2-3+b2_amd64-2022-06-09T23:06:23Z.build

Excerpt:

  x86_64-linux-gnu-gcc -c  -I../../../lib -I../../../perl/sieve 
-I../../../perl/sieve/lib   -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fwrapv 
-fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE 
-D_FILE_OFFSET_BITS=64 -O2 -g   -DVERSION=\"0.01\" -DXS_VERSION=\"0.01\" -fPIC 
"-I/usr/lib/x86_64-linux-gnu/perl/5.36/CORE"  -DPERL_POLLUTE managesieve.c
  In file included from /usr/lib/x86_64-linux-gnu/perl/5.36/CORE/perl.h:3855,
                   from managesieve.xs:46:
  /usr/lib/x86_64-linux-gnu/perl/5.36/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/x86_64-linux-gnu/perl/5.36/CORE/handy.h:2787:28: note: in expansion 
of macro ‘assert’
   2787 | #define perl_assert_ptr(p) assert( ((void*)(p)) != 0 )
        |                            ^~~~~~
  /usr/lib/x86_64-linux-gnu/perl/5.36/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/x86_64-linux-gnu/perl/5.36/CORE/sv_inline.h:468:13: note: in 
expansion of macro ‘Zero’
    468 |             Zero(new_body, type_details->body_size, char);
        |             ^~~~
  make[4]: *** [Makefile:346: managesieve.o] Error 1

-- 
Niko Tyni   nt...@debian.org

Reply via email to