Hello all,there is a new perl version in pkgsrc 2022Q3. Unfortunately this breaks the build of my cyrus-imapd package in wip. Since I'm not a Perl expert, here's a quick question for the round: can anyone do something with this error message and relate it to a change in the new Perl version? I hope that I will find the time this week to analyze this in more detail and I am glad about any hint.
Kind regards Matthias ```"/usr/pkg/bin/perl" "/usr/pkg/lib/perl5/5.36.0/ExtUtils/xsubpp" -typemap '/usr/pkg/lib/perl5/5.36.0/ExtUtils/typemap' -t ypemap '/tmp/work/cyrus-imapd-3.0.17/perl/sieve/managesieve/typemap' managesieve.xs > managesieve.xsc && mv managesieve.
xsc managesieve.cgcc -c -I../../../lib -I../../../perl/sieve -I../../../perl/sieve/lib -I/usr/pkg/include -I/usr/include -O2 -fPIC -D_FOR TIFY_SOURCE=2 -pthread -I/usr/include -fwrapv -fno-strict-aliasing -pipe -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include/krb5 -I/usr/include -I/usr/pkg/include -I/usr/include/krb5 -I/usr/include -I/usr/pkg/include -DVERSION=\"0.01\" -DXS_VERSION=\"0.01\" -DPIC -fPIC "-I/usr/pkg/lib/perl5/5.36.0/x86_64-netbsd-thread-multi/CORE" -DPERL_POLLUTE managesieve.c In file included from /tmp/work/.buildlink/lib/perl5/5.36.0/x86_64-netbsd-thread-multi/CORE/perl.h:3855,
from managesieve.xs:46:/tmp/work/.buildlink/lib/perl5/5.36.0/x86_64-netbsd-thread-multi/CORE/sv_inline.h: In function 'Perl_newSV_type':
../../../lib/assert.h:47:25: error: expected expression before '{' token47 | #define assert(ex) {if (!(ex))assertionfailed(__FILE__, __LINE__, #ex);}
| ^/tmp/work/.buildlink/lib/perl5/5.36.0/x86_64-netbsd-thread-multi/CORE/handy.h:2787:28: note: in expansion of macro 'assert'
2787 | #define perl_assert_ptr(p) assert( ((void*)(p)) != 0 ) | ^~~~~~/tmp/work/.buildlink/lib/perl5/5.36.0/x86_64-netbsd-thread-multi/CORE/handy.h:2792:43: 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)))
| ^~~~~~~~~~~~~~~/tmp/work/.buildlink/lib/perl5/5.36.0/x86_64-netbsd-thread-multi/CORE/sv_inline.h:468:13: note: in expansion of macro 'Zero'
468 | Zero(new_body, type_details->body_size, char); | ^~~~ ```
Attachment:
smime.p7s
Description: S/MIME Cryptographic Signature