control: tags -1 confirmed fixed pending
control: affects 1009149 claws-mail

Hi Lucas,

On Tue, Apr 12, 2022 at 07:45:18PM +0200, Lucas Nussbaum wrote:
> Source: claws-mail
> Version: 4.0.0-3
> Severity: serious
> Justification: FTBFS
> Tags: bookworm sid ftbfs
> User: lu...@debian.org
> Usertags: ftbfs-20220412 ftbfs-bookworm
> 
> Hi,
> 
> During a rebuild of all packages in sid, your package failed to build
> on amd64.
> 
> 
> Relevant part (hopefully):
> > In file included from perl_plugin.c:51:
> > perl_plugin.c: In function ‘XS_ClawsMail_filter_init’:
> > /usr/lib/x86_64-linux-gnu/perl/5.34/CORE/perl.h:736:25: error: expected 
> > expression before ‘do’
> >   736 | #   define STMT_START   do
> >       |                         ^~
> > /usr/lib/x86_64-linux-gnu/perl/5.34/CORE/XSUB.h:333:24: note: in expansion 
> > of macro ‘STMT_START’
> >   333 | #define XSRETURN_UV(v) STMT_START { XST_mUV(0,v);  XSRETURN(1); } 
> > STMT_END
> >       |                        ^~~~~~~~~~
> > perl_plugin.c:576:27: note: in expansion of macro ‘XSRETURN_UV’
> >   576 |     msginfo->size       ? XSRETURN_UV(msginfo->size)       : 
> > XSRETURN_UNDEF;
> >       |                           ^~~~~~~~~~~
[…]

Already fixed in salsa:
https://salsa.debian.org/claws-mail-team/claws-mail/-/blob/master/debian/patches/20cope_with_fix_for_1009149.patch

> If you reassign this bug to another package, please marking it as 
> 'affects'-ing
> this package. See https://www.debian.org/Bugs/server-control#affects

This is caused by the fix of #1009149¹, which invalidates the usage of
XSRETURN macros within expressions just because clang "warns a lot" and
because it has "little value", oh well.

Nevertheless I wonder why the above fix is not updating some doc to
reflect this new behaviour, but perhaps that's been done in other patch.

regards,

¹ 
https://salsa.debian.org/perl-team/interpreter/perl/-/commit/c949a3d4176ec66493af1aa87c1dc64fc6127bb6
-- 
  Ricardo Mones 
  ~
  Absence of evidence is not evidence of absence.          Carl Sagan

Attachment: signature.asc
Description: PGP signature

Reply via email to