[Bug 264447] mail/cyrus-imapd34 compilation error for managesieve.c with lang/perl5.36 installed
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 264447] mail/cyrus-imapd34 compilation error for managesieve.c with lang/perl5.36 installed"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 264447] mail/cyrus-imapd34 compilation error for managesieve.c with lang/perl5.36 installed"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 264447] mail/cyrus-imapd34 compilation error for managesieve.c with lang/perl5.36 installed"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 264447] mail/cyrus-imapd34 compilation error for managesieve.c with lang/perl5.36 installed"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 04 Jun 2022 09:40:18 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=264447
Bug ID: 264447
Summary: mail/cyrus-imapd34 compilation error for managesieve.c
with lang/perl5.36 installed
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: ports-bugs@FreeBSD.org
Reporter: hlh@restart.be
CC: mat@FreeBSD.org, ume@FreeBSD.org
CC: mat@FreeBSD.org, ume@FreeBSD.org
Here is the output:
gmake[4]: Entering directory
'/usr/ports/mail/cyrus-imapd34/work-basic/cyrus-imapd-3.4.3/perl/sieve/managesieve'
Makefile:364: warning: ignoring prerequisites on suffix rule definition
Makefile:364: warning: ignoring prerequisites on suffix rule definition
cp managesieve.pm blib/lib/Cyrus/SIEVE/managesieve.pm
Running Mkbootstrap for managesieve ()
chmod 644 "managesieve.bs"
"/usr/local/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' --
managesieve.bs blib/arch/auto/Cyrus/SIEVE/managesieve/managesieve.bs 644
"/usr/local/bin/perl" "/usr/local/lib/perl5/5.36/ExtUtils/xsubpp" -typemap
'/usr/local/lib/perl5/5.36/ExtUtils/typemap' -typemap
'/usr/ports/mail/cyrus-imapd34/work-basic/cyrus-imapd-3.4.3/perl/sieve/managesieve/typemap'
managesieve.xs > managesieve.xsc && mv managesieve.xsc managesieve.c
cc -c -I../../../lib -I../../../perl/sieve -I../../../perl/sieve/lib
-I/usr/local/include -I/usr/include -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H
-DUSE_THREAD_SAFE_LOCALE -fno-strict-aliasing -pipe -fstack-protector-strong
-I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing
-DVERSION=\"0.01\" -DXS_VERSION=\"0.01\" -DPIC -fPIC
"-I/usr/local/lib/perl5/5.36/mach/CORE" -DPERL_POLLUTE managesieve.c
In file included from managesieve.xs:46:
In file included from /usr/local/lib/perl5/5.36/mach/CORE/perl.h:7243:
/usr/local/lib/perl5/5.36/mach/CORE/sv_inline.h:468:13: error: expected ')'
Zero(new_body, type_details->body_size, char);
^
/usr/local/lib/perl5/5.36/mach/CORE/handy.h:2792:22: note: expanded from macro
'Zero'
#define Zero(d,n,t) (MEM_WRAP_CHECK_(n,t) perl_assert_ptr(d),
(void)memzero((char*)(d), (n) * sizeof(t)))
^
/usr/local/lib/perl5/5.36/mach/CORE/handy.h:2680:49: note: expanded from macro
'MEM_WRAP_CHECK_'
#define MEM_WRAP_CHECK_(n,t) MEM_WRAP_CHECK(n,t),
^
/usr/local/lib/perl5/5.36/mach/CORE/sv_inline.h:468:13: note: to match this '('
/usr/local/lib/perl5/5.36/mach/CORE/handy.h:2792:21: note: expanded from macro
'Zero'
#define Zero(d,n,t) (MEM_WRAP_CHECK_(n,t) perl_assert_ptr(d),
(void)memzero((char*)(d), (n) * sizeof(t)))
^
1 error generated.
What I find:
/usr/local/lib/perl5/5.36/mach/CORE/perl.h include assert.h which is found in
../../../lib and used in /usr/local/lib/perl5/5.36/mach/CORE/sv_inline.h
If I rename ../../../lib/assert.h to ../../../lib/Assert.h compilation is OK.
If I add -I/usr/include in front of -I../../../lib it don't work :-O I'm lost
here...
there is a conflict between the cyrus-imap assert.h and the system assert.h but
I can't find a solution.
--
You are receiving this mail because:
You are the assignee for the bug.