#1014292 cyrus-imapd: FTBFS with Perl 5.36: expected expression before ‘{’ token

Package:
src:cyrus-imapd
Source:
cyrus-imapd
Submitter:
Niko Tyni
Date:
2022-07-05 07:21:12 UTC
Severity:
normal
Tags:
#1014292#5
Date:
2022-07-03 14:06:15 UTC
From:
To:
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

#1014292#10
Date:
2022-07-03 17:04:16 UTC
From:
To:
#1014292#17
Date:
2022-07-05 07:19:39 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
cyrus-imapd, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1014292@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Yadd <yadd@debian.org> (supplier of updated cyrus-imapd package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Tue, 05 Jul 2022 09:00:47 +0200
Source: cyrus-imapd
Built-For-Profiles: nocheck
Architecture: source
Version: 3.6.0~beta2-4
Distribution: experimental
Urgency: medium
Maintainer: Debian Cyrus Team <team+cyrus@tracker.debian.org>
Changed-By: Yadd <yadd@debian.org>
Closes: 1014292
Changes:
 cyrus-imapd (3.6.0~beta2-4) experimental; urgency=medium
 .
   * Declare compliance with policy 4.6.1
   * Add fix for Perl 5.36 (Closes: #1014292)
Checksums-Sha1:
 3654f3aa02b4acf24bf0964d47bfe2b4115ed979 5492 cyrus-imapd_3.6.0~beta2-4.dsc
 2a83bb31975a4d8856c5895a658af5a9e71f480a 129128 cyrus-imapd_3.6.0~beta2-4.debian.tar.xz
Checksums-Sha256:
 c1468d046c61173802664872f12f8b392444be05982897b2e736946b07745652 5492 cyrus-imapd_3.6.0~beta2-4.dsc
 573b66f0d78f3a248b562b68466a82634b2bf788b47f06c25fbd222f4f87188b 129128 cyrus-imapd_3.6.0~beta2-4.debian.tar.xz
Files:
 dd4ef4ff81174f0e27782fef228b3d28 5492 mail optional cyrus-imapd_3.6.0~beta2-4.dsc
 f39550bd66cf1e0a8e98eaa56c716fe3 129128 mail optional cyrus-imapd_3.6.0~beta2-4.debian.tar.xz
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEAN/li4tVV3nRAF7J9tdMp8mZ7ukFAmLD4k0ACgkQ9tdMp8mZ
7unryQ//SMIZEQTuvQqGh0xpNs6Xey1ScLkzuvvsT5g8zBqOnz7tb5O5B40jm6hu
dtoAuw7P8I7upG9RZ8ZBZBtOTARWbmsa6PYKzi7jejQltyUlP0Alhz+xqqXsTKII
qQJf0wXJ+c7dnXTb0NlKApsjS63XzVID95vpO+hLInQd1pjo1yfKeFc6YrtJssO7
YHJGk/SNcq2mAvy/IfZxYPqlEJleXGeyJZKvYIPnl6fIaT8cU91HnBOySHE4iQCy
MT4ftO+QxL0656g89MUZ39/HvVXKnjPFJhnQkcmXTI2G+m7x6oFDR5KGl6zd7J3D
ECLuj78euMoML7h001YKgpHiBHxgfmBNs/W7VpjeWpVbkmQjuQmUp3bBj6LIMpig
zjPTSWzIom+Gf2vuOUzoGz4cQ3OANpGSgcJD56+vBnUcN8umcLWLxjopi64UvvvY
2MHsvBP5zDZCDbZmdzXReCGLMPLQcyUFLbdTt0j85penT2ZslRbQHHAxp8FFiU6v
ZZYj3uDtpE6HFObix5GPy1qaKbPSNVxWsEgyB8la8i7/fuSAr8RPsH8FqKf/pItk
uplygnxtj0z00aU6NzkIQOpildK5s9VC6Xb3Lz+jjbLbcjmXAqZEguBLjtR7voVU
aRr70ZW0yp6Jn/T8ctmGH8gvUqQ9isU/RWBM67gKI10W+mawJfQ=
=FTz8
-----END PGP SIGNATURE-----