Bug#1009412: libsendmail-milter-perl: FTBFS: perl.h:736:25: error: expected expression before ‘do’
Lucas Nussbaum
lucas at debian.org
Tue Apr 12 18:46:40 BST 2022
Source: libsendmail-milter-perl
Version: 0.18-8
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lucas at 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):
> x86_64-linux-gnu-gcc -c -I -I/usr/include/libmilter -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fwrapv -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DVERSION=\"0.18\" -DXS_VERSION=\"0.18\" -fPIC "-I/usr/lib/x86_64-linux-gnu/perl/5.34/CORE" callbacks.c
> In file included from callbacks.c:10:
> callbacks.c: In function ‘callback_noargs’:
> /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/pp.h:479:25: note: in expansion of macro ‘STMT_START’
> 479 | #define XPUSHs(s) STMT_START { EXTEND(sp,1); *++sp = (s); } STMT_END
> | ^~~~~~~~~~
> callbacks.c:34:10: note: in expansion of macro ‘XPUSHs’
> 34 | (XPUSHs(sv_2mortal(sv_setref_iv(NEWSV(25, 0), \
> | ^~~~~~
> callbacks.c:262:9: note: in expansion of macro ‘XPUSHs_Sendmail_Milter_Context’
> 262 | XPUSHs_Sendmail_Milter_Context;
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> callbacks.c: In function ‘callback_s’:
> /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/pp.h:479:25: note: in expansion of macro ‘STMT_START’
> 479 | #define XPUSHs(s) STMT_START { EXTEND(sp,1); *++sp = (s); } STMT_END
> | ^~~~~~~~~~
> callbacks.c:34:10: note: in expansion of macro ‘XPUSHs’
> 34 | (XPUSHs(sv_2mortal(sv_setref_iv(NEWSV(25, 0), \
> | ^~~~~~
> callbacks.c:302:9: note: in expansion of macro ‘XPUSHs_Sendmail_Milter_Context’
> 302 | XPUSHs_Sendmail_Milter_Context;
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> callbacks.c: In function ‘callback_body’:
> /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/pp.h:479:25: note: in expansion of macro ‘STMT_START’
> 479 | #define XPUSHs(s) STMT_START { EXTEND(sp,1); *++sp = (s); } STMT_END
> | ^~~~~~~~~~
> callbacks.c:34:10: note: in expansion of macro ‘XPUSHs’
> 34 | (XPUSHs(sv_2mortal(sv_setref_iv(NEWSV(25, 0), \
> | ^~~~~~
> callbacks.c:344:9: note: in expansion of macro ‘XPUSHs_Sendmail_Milter_Context’
> 344 | XPUSHs_Sendmail_Milter_Context;
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> callbacks.c: In function ‘callback_argv’:
> /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/pp.h:479:25: note: in expansion of macro ‘STMT_START’
> 479 | #define XPUSHs(s) STMT_START { EXTEND(sp,1); *++sp = (s); } STMT_END
> | ^~~~~~~~~~
> callbacks.c:34:10: note: in expansion of macro ‘XPUSHs’
> 34 | (XPUSHs(sv_2mortal(sv_setref_iv(NEWSV(25, 0), \
> | ^~~~~~
> callbacks.c:387:9: note: in expansion of macro ‘XPUSHs_Sendmail_Milter_Context’
> 387 | XPUSHs_Sendmail_Milter_Context;
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> callbacks.c: In function ‘callback_ss’:
> /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/pp.h:479:25: note: in expansion of macro ‘STMT_START’
> 479 | #define XPUSHs(s) STMT_START { EXTEND(sp,1); *++sp = (s); } STMT_END
> | ^~~~~~~~~~
> callbacks.c:34:10: note: in expansion of macro ‘XPUSHs’
> 34 | (XPUSHs(sv_2mortal(sv_setref_iv(NEWSV(25, 0), \
> | ^~~~~~
> callbacks.c:436:9: note: in expansion of macro ‘XPUSHs_Sendmail_Milter_Context’
> 436 | XPUSHs_Sendmail_Milter_Context;
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> callbacks.c: In function ‘callback_ssockaddr’:
> /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/pp.h:479:25: note: in expansion of macro ‘STMT_START’
> 479 | #define XPUSHs(s) STMT_START { EXTEND(sp,1); *++sp = (s); } STMT_END
> | ^~~~~~~~~~
> callbacks.c:34:10: note: in expansion of macro ‘XPUSHs’
> 34 | (XPUSHs(sv_2mortal(sv_setref_iv(NEWSV(25, 0), \
> | ^~~~~~
> callbacks.c:479:9: note: in expansion of macro ‘XPUSHs_Sendmail_Milter_Context’
> 479 | XPUSHs_Sendmail_Milter_Context;
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> make[1]: *** [Makefile:347: callbacks.o] Error 1
The full build log is available from:
http://qa-logs.debian.net/2022/04/12/libsendmail-milter-perl_0.18-8_unstable.log
All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20220412;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20220412&fusertaguser=lucas@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results
A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!
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
If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.
More information about the pkg-perl-maintainers
mailing list