[Bug 242598] mail/cyrus-imapd30: cyrus-imapd30-3.0.12 build fails with perl5.30
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Thu Dec 12 13:11:20 UTC 2019
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=242598
Bug ID: 242598
Summary: mail/cyrus-imapd30: cyrus-imapd30-3.0.12 build fails
with perl5.30
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: ume at FreeBSD.org
Reporter: freebsd at lrnx.net
Assignee: ume at FreeBSD.org
Flags: maintainer-feedback?(ume at FreeBSD.org)
Created attachment 209892
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=209892&action=edit
Full build logs
Hi,
I can't build cyrus-imapd30 on FreeBSD 12.1-RELEASE :
Making all in perl/sieve/managesieve
gmake[4]: Entering directory
'/usr/ports/mail/cyrus-imapd30/work/cyrus-imapd-3.0.12/perl/sieve/managesieve'
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.30/ExtUtils/xsubpp" -typemap
'/usr/local/lib/perl5/5.30/ExtUtils/typemap' -typemap
'/usr/ports/mail/cyrus-imapd30/work/cyrus-imapd-3.0.12/perl/sieve/managesieve/typemap'
managesieve.xs > m
anagesieve.xsc && mv managesieve.xsc managesieve.c
cc -c -I../../../lib -I../../../perl/sieve -I../../../perl/sieve/lib
-I/usr/local/include -I/usr/local/include -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H
-DUSE_THREAD_SAFE_LOCALE -DDEBUGGING -fno-strict-aliasing -pipe
-fstack-protector-stro
ng -I/usr/local/include -g -DVERSION=\"0.01\" -DXS_VERSION=\"0.01\" -DPIC
-fPIC "-I/usr/local/lib/perl5/5.30/mach/CORE" -DPERL_POLLUTE managesieve.c
In file included from managesieve.xs:46:
In file included from /usr/local/lib/perl5/5.30/mach/CORE/perl.h:5914:
/usr/local/lib/perl5/5.30/mach/CORE/inline.h:297:24: error: expected ')'
*((*dest)++) = UTF8_EIGHT_BIT_HI(byte);
^
/usr/local/lib/perl5/5.30/mach/CORE/utf8.h:571:31: note: expanded from macro
'UTF8_EIGHT_BIT_HI'
#define UTF8_EIGHT_BIT_HI(c) (__ASSERT_(FITS_IN_8_BITS(c)) \
^
/usr/local/lib/perl5/5.30/mach/CORE/handy.h:276:51: note: expanded from macro
'__ASSERT_'
# define __ASSERT_(statement) assert(statement),
^
/usr/local/lib/perl5/5.30/mach/CORE/inline.h:297:24: note: to match this '('
/usr/local/lib/perl5/5.30/mach/CORE/utf8.h:571:30: note: expanded from macro
'UTF8_EIGHT_BIT_HI'
#define UTF8_EIGHT_BIT_HI(c) (__ASSERT_(FITS_IN_8_BITS(c)) \
^
In file included from managesieve.xs:46:
In file included from /usr/local/lib/perl5/5.30/mach/CORE/perl.h:5914:
/usr/local/lib/perl5/5.30/mach/CORE/inline.h:297:22: error: assigning to 'U8'
(aka 'unsigned char') from incompatible type 'void'
*((*dest)++) = UTF8_EIGHT_BIT_HI(byte);
^ ~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/lib/perl5/5.30/mach/CORE/inline.h:298:24: error: expected ')'
*((*dest)++) = UTF8_EIGHT_BIT_LO(byte);
^
/usr/local/lib/perl5/5.30/mach/CORE/utf8.h:573:31: note: expanded from macro
'UTF8_EIGHT_BIT_LO'
#define UTF8_EIGHT_BIT_LO(c) (__ASSERT_(FITS_IN_8_BITS(c)) \
^
/usr/local/lib/perl5/5.30/mach/CORE/handy.h:276:51: note: expanded from macro
'__ASSERT_'
# define __ASSERT_(statement) assert(statement),
^
/usr/local/lib/perl5/5.30/mach/CORE/inline.h:298:24: note: to match this '('
/usr/local/lib/perl5/5.30/mach/CORE/utf8.h:573:30: note: expanded from macro
'UTF8_EIGHT_BIT_LO'
#define UTF8_EIGHT_BIT_LO(c) (__ASSERT_(FITS_IN_8_BITS(c)) \
^
In file included from managesieve.xs:46:
In file included from /usr/local/lib/perl5/5.30/mach/CORE/perl.h:5914:
/usr/local/lib/perl5/5.30/mach/CORE/inline.h:298:22: error: assigning to 'U8'
(aka 'unsigned char') from incompatible type 'void'
*((*dest)++) = UTF8_EIGHT_BIT_LO(byte);
^ ~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/lib/perl5/5.30/mach/CORE/inline.h:333:10: error: expected ')'
uv = NATIVE_UTF8_TO_I8(uv) & UTF_START_MASK(expectlen);
^
/usr/local/lib/perl5/5.30/mach/CORE/utf8.h:175:32: note: expanded from macro
'NATIVE_UTF8_TO_I8'
#define NATIVE_UTF8_TO_I8(ch) (__ASSERT_(FITS_IN_8_BITS(ch)) ((U8) (ch)))
^
/usr/local/lib/perl5/5.30/mach/CORE/handy.h:276:51: note: expanded from macro
'__ASSERT_'
# define __ASSERT_(statement) assert(statement),
^
/usr/local/lib/perl5/5.30/mach/CORE/inline.h:333:10: note: to match this '('
/usr/local/lib/perl5/5.30/mach/CORE/utf8.h:175:31: note: expanded from macro
'NATIVE_UTF8_TO_I8'
#define NATIVE_UTF8_TO_I8(ch) (__ASSERT_(FITS_IN_8_BITS(ch)) ((U8) (ch)))
^
In file included from managesieve.xs:46:
In file included from /usr/local/lib/perl5/5.30/mach/CORE/perl.h:5914:
/usr/local/lib/perl5/5.30/mach/CORE/inline.h:333:32: error: invalid operands to
binary expression ('void' and 'int')
uv = NATIVE_UTF8_TO_I8(uv) & UTF_START_MASK(expectlen);
~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/lib/perl5/5.30/mach/CORE/inline.h:339:14: error: expected ')'
uv = UTF8_ACCUMULATE(uv, *s);
^
/usr/local/lib/perl5/5.30/mach/CORE/utf8.h:436:36: note: expanded from macro
'UTF8_ACCUMULATE'
#define UTF8_ACCUMULATE(old, new) (__ASSERT_(FITS_IN_8_BITS(new))
\
^
/usr/local/lib/perl5/5.30/mach/CORE/handy.h:276:51: note: expanded from macro
'__ASSERT_'
# define __ASSERT_(statement) assert(statement),
^
/usr/local/lib/perl5/5.30/mach/CORE/inline.h:339:14: note: to match this '('
/usr/local/lib/perl5/5.30/mach/CORE/utf8.h:436:35: note: expanded from macro
'UTF8_ACCUMULATE'
#define UTF8_ACCUMULATE(old, new) (__ASSERT_(FITS_IN_8_BITS(new))
\
^
In file included from managesieve.xs:46:
In file included from /usr/local/lib/perl5/5.30/mach/CORE/perl.h:5914:
/usr/local/lib/perl5/5.30/mach/CORE/inline.h:339:12: error: assigning to 'UV'
(aka 'unsigned long') from incompatible type 'void'
uv = UTF8_ACCUMULATE(uv, *s);
^ ~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/lib/perl5/5.30/mach/CORE/inline.h:1080:9: error: expected ')'
if (NATIVE_UTF8_TO_I8(*s0) == 0xFF && e - s0 >= UTF8_MAXBYTES) {
^
/usr/local/lib/perl5/5.30/mach/CORE/utf8.h:175:32: note: expanded from macro
'NATIVE_UTF8_TO_I8'
#define NATIVE_UTF8_TO_I8(ch) (__ASSERT_(FITS_IN_8_BITS(ch)) ((U8) (ch)))
^
/usr/local/lib/perl5/5.30/mach/CORE/handy.h:276:51: note: expanded from macro
'__ASSERT_'
# define __ASSERT_(statement) assert(statement),
^
/usr/local/lib/perl5/5.30/mach/CORE/inline.h:1080:9: note: to match this '('
/usr/local/lib/perl5/5.30/mach/CORE/utf8.h:175:31: note: expanded from macro
'NATIVE_UTF8_TO_I8'
#define NATIVE_UTF8_TO_I8(ch) (__ASSERT_(FITS_IN_8_BITS(ch)) ((U8) (ch)))
^
In file included from managesieve.xs:46:
In file included from /usr/local/lib/perl5/5.30/mach/CORE/perl.h:5914:
/usr/local/lib/perl5/5.30/mach/CORE/inline.h:1080:32: error: invalid operands
to binary expression ('void' and 'int')
if (NATIVE_UTF8_TO_I8(*s0) == 0xFF && e - s0 >= UTF8_MAXBYTES) {
~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~
/usr/local/lib/perl5/5.30/mach/CORE/inline.h:1148:9: error: expected ')'
if (is_HANGUL_ED_utf8_safe(s0, e)) {
^
/usr/local/lib/perl5/5.30/mach/CORE/regcharclass.h:625:70: note: expanded from
macro 'is_HANGUL_ED_utf8_safe'
( ( ( ( ( ((e) - (s)) >= 3 ) && ( 0xED == ((const U8*)s)[0] ) ) && (
inRANGE(((const U8*)s)[1], 0x80, 0x9F ) ) ) && ( inRANGE(((const U8*)s)[2],
0x80, 0xBF ) ) ) ? 3 : 0 )
^
/usr/local/lib/perl5/5.30/mach/CORE/handy.h:1109:27: note: expanded from macro
'inRANGE'
#define inRANGE(c, l, u) (__ASSERT_((l) >= 0) __ASSERT_((u) >= (l))
\
^
/usr/local/lib/perl5/5.30/mach/CORE/handy.h:276:51: note: expanded from macro
'__ASSERT_'
# define __ASSERT_(statement) assert(statement),
^
/usr/local/lib/perl5/5.30/mach/CORE/inline.h:1148:9: note: to match this '('
/usr/local/lib/perl5/5.30/mach/CORE/regcharclass.h:625:70: note: expanded from
macro 'is_HANGUL_ED_utf8_safe'
( ( ( ( ( ((e) - (s)) >= 3 ) && ( 0xED == ((const U8*)s)[0] ) ) && (
inRANGE(((const U8*)s)[1], 0x80, 0x9F ) ) ) && ( inRANGE(((const U8*)s)[2],
0x80, 0xBF ) ) ) ? 3 : 0 )
^
/usr/local/lib/perl5/5.30/mach/CORE/handy.h:1109:26: note: expanded from macro
'inRANGE'
#define inRANGE(c, l, u) (__ASSERT_((l) >= 0) __ASSERT_((u) >= (l))
\
^
In file included from managesieve.xs:46:
In file included from /usr/local/lib/perl5/5.30/mach/CORE/perl.h:5914:
/usr/local/lib/perl5/5.30/mach/CORE/inline.h:1148:9: error: invalid operands to
binary expression ('int' and 'void')
if (is_HANGUL_ED_utf8_safe(s0, e)) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/lib/perl5/5.30/mach/CORE/regcharclass.h:625:65: note: expanded from
macro 'is_HANGUL_ED_utf8_safe'
( ( ( ( ( ((e) - (s)) >= 3 ) && ( 0xED == ((const U8*)s)[0] ) ) && (
inRANGE(((const U8*)s)[1], 0x80, 0x9F ) ) ) && ( inRANGE(((const U8*)s)[2],
0x80, 0xBF ) ) ) ? 3 : 0 )
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from managesieve.xs:46:
In file included from /usr/local/lib/perl5/5.30/mach/CORE/perl.h:5914:
/usr/local/lib/perl5/5.30/mach/CORE/inline.h:1148:9: error: expected ')'
/usr/local/lib/perl5/5.30/mach/CORE/regcharclass.h:625:119: note: expanded from
macro 'is_HANGUL_ED_utf8_safe'
( ( ( ( ( ((e) - (s)) >= 3 ) && ( 0xED == ((const U8*)s)[0] ) ) && (
inRANGE(((const U8*)s)[1], 0x80, 0x9F ) ) ) && ( inRANGE(((const U8*)s)[2],
0x80, 0xBF ) ) ) ? 3 : 0 )
^
/usr/local/lib/perl5/5.30/mach/CORE/handy.h:1109:27: note: expanded from macro
'inRANGE'
#define inRANGE(c, l, u) (__ASSERT_((l) >= 0) __ASSERT_((u) >= (l))
\
^
/usr/local/lib/perl5/5.30/mach/CORE/handy.h:276:51: note: expanded from macro
'__ASSERT_'
# define __ASSERT_(statement) assert(statement),
^
/usr/local/lib/perl5/5.30/mach/CORE/inline.h:1148:9: note: to match this '('
/usr/local/lib/perl5/5.30/mach/CORE/regcharclass.h:625:119: note: expanded from
macro 'is_HANGUL_ED_utf8_safe'
( ( ( ( ( ((e) - (s)) >= 3 ) && ( 0xED == ((const U8*)s)[0] ) ) && (
inRANGE(((const U8*)s)[1], 0x80, 0x9F ) ) ) && ( inRANGE(((const U8*)s)[2],
0x80, 0xBF ) ) ) ? 3 : 0 )
^
/usr/local/lib/perl5/5.30/mach/CORE/handy.h:1109:26: note: expanded from macro
'inRANGE'
#define inRANGE(c, l, u) (__ASSERT_((l) >= 0) __ASSERT_((u) >= (l))
\
^
In file included from managesieve.xs:46:
In file included from /usr/local/lib/perl5/5.30/mach/CORE/perl.h:5914:
/usr/local/lib/perl5/5.30/mach/CORE/inline.h:1517:13: error: expected ')'
while (UTF8_IS_CONTINUATION(*s))
^
/usr/local/lib/perl5/5.30/mach/CORE/utf8.h:280:38: note: expanded from macro
'UTF8_IS_CONTINUATION'
#define UTF8_IS_CONTINUATION(c) (__ASSERT_(FITS_IN_8_BITS(c)) \
^
/usr/local/lib/perl5/5.30/mach/CORE/handy.h:276:51: note: expanded from macro
'__ASSERT_'
# define __ASSERT_(statement) assert(statement),
^
/usr/local/lib/perl5/5.30/mach/CORE/inline.h:1517:13: note: to match this '('
/usr/local/lib/perl5/5.30/mach/CORE/utf8.h:280:37: note: expanded from macro
'UTF8_IS_CONTINUATION'
#define UTF8_IS_CONTINUATION(c) (__ASSERT_(FITS_IN_8_BITS(c)) \
^
In file included from managesieve.xs:46:
In file included from /usr/local/lib/perl5/5.30/mach/CORE/perl.h:5914:
/usr/local/lib/perl5/5.30/mach/CORE/inline.h:1517:6: error: statement requires
expression of scalar type ('void' invalid)
while (UTF8_IS_CONTINUATION(*s))
^ ~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/lib/perl5/5.30/mach/CORE/inline.h:1602:18: error: expected ')'
} while (UTF8_IS_CONTINUATION(*s) && s > start);
^
/usr/local/lib/perl5/5.30/mach/CORE/utf8.h:280:38: note: expanded from macro
'UTF8_IS_CONTINUATION'
#define UTF8_IS_CONTINUATION(c) (__ASSERT_(FITS_IN_8_BITS(c)) \
^
/usr/local/lib/perl5/5.30/mach/CORE/handy.h:276:51: note: expanded from macro
'__ASSERT_'
# define __ASSERT_(statement) assert(statement),
^
/usr/local/lib/perl5/5.30/mach/CORE/inline.h:1602:18: note: to match this '('
/usr/local/lib/perl5/5.30/mach/CORE/utf8.h:280:37: note: expanded from macro
'UTF8_IS_CONTINUATION'
#define UTF8_IS_CONTINUATION(c) (__ASSERT_(FITS_IN_8_BITS(c)) \
^
In file included from managesieve.xs:46:
In file included from /usr/local/lib/perl5/5.30/mach/CORE/perl.h:5914:
/usr/local/lib/perl5/5.30/mach/CORE/inline.h:1602:43: error: invalid operands
to binary expression ('void' and 'int')
} while (UTF8_IS_CONTINUATION(*s) && s > start);
~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~
/usr/local/lib/perl5/5.30/mach/CORE/inline.h:1819:35: error: expected ')'
? ((0xff >> type) & NATIVE_UTF8_TO_I8(*s))
^
/usr/local/lib/perl5/5.30/mach/CORE/utf8.h:175:32: note: expanded from macro
'NATIVE_UTF8_TO_I8'
#define NATIVE_UTF8_TO_I8(ch) (__ASSERT_(FITS_IN_8_BITS(ch)) ((U8) (ch)))
^
/usr/local/lib/perl5/5.30/mach/CORE/handy.h:276:51: note: expanded from macro
'__ASSERT_'
# define __ASSERT_(statement) assert(statement),
^
/usr/local/lib/perl5/5.30/mach/CORE/inline.h:1819:35: note: to match this '('
/usr/local/lib/perl5/5.30/mach/CORE/utf8.h:175:31: note: expanded from macro
'NATIVE_UTF8_TO_I8'
#define NATIVE_UTF8_TO_I8(ch) (__ASSERT_(FITS_IN_8_BITS(ch)) ((U8) (ch)))
^
In file included from managesieve.xs:46:
In file included from /usr/local/lib/perl5/5.30/mach/CORE/perl.h:5914:
/usr/local/lib/perl5/5.30/mach/CORE/inline.h:1819:33: error: invalid operands
to binary expression ('int' and 'void')
? ((0xff >> type) & NATIVE_UTF8_TO_I8(*s))
~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
gmake[4]: *** [Makefile:343: managesieve.o] Error 1
gmake[4]: Leaving directory
'/usr/ports/mail/cyrus-imapd30/work/cyrus-imapd-3.0.12/perl/sieve/managesieve'
gmake[3]: *** [Makefile:6172: all-recursive] Error 1
gmake[3]: Leaving directory
'/usr/ports/mail/cyrus-imapd30/work/cyrus-imapd-3.0.12'
gmake[2]: *** [Makefile:2706: all] Error 2
gmake[2]: Leaving directory
'/usr/ports/mail/cyrus-imapd30/work/cyrus-imapd-3.0.12'
*** Error code 1
Stop.
make[1]: stopped in /usr/ports/mail/cyrus-imapd30
*** Error code 1
cat /var/db/ports/mail_cyrus-imapd30/options
# This file is auto-generated by 'make config'.
# Options for cyrus-imapd30-3.0.12
_OPTIONS_READ=cyrus-imapd30-3.0.12
_FILE_COMPLETE_OPTIONS_LIST=AUTOCREATE BACKUP CLAMAV DOCS HTTP IDLED LDAP LMDB
MURDER MYSQL NNTP PGSQL REPLICATION SNMP SQLITE SQUAT XAPIAN GSSAPI_HEIMDAL
GSSAPI_MIT GSSAPI_BASE READLINE_GNU READLINE_PERL
OPTIONS_FILE_SET+=AUTOCREATE
OPTIONS_FILE_UNSET+=BACKUP
OPTIONS_FILE_UNSET+=CLAMAV
OPTIONS_FILE_SET+=DOCS
OPTIONS_FILE_UNSET+=HTTP
OPTIONS_FILE_SET+=IDLED
OPTIONS_FILE_SET+=LDAP
OPTIONS_FILE_SET+=LMDB
OPTIONS_FILE_SET+=MURDER
OPTIONS_FILE_UNSET+=MYSQL
OPTIONS_FILE_UNSET+=NNTP
OPTIONS_FILE_UNSET+=PGSQL
OPTIONS_FILE_UNSET+=REPLICATION
OPTIONS_FILE_UNSET+=SNMP
OPTIONS_FILE_SET+=SQLITE
OPTIONS_FILE_SET+=SQUAT
OPTIONS_FILE_UNSET+=XAPIAN
OPTIONS_FILE_UNSET+=GSSAPI_HEIMDAL
OPTIONS_FILE_SET+=GSSAPI_MIT
OPTIONS_FILE_UNSET+=GSSAPI_BASE
OPTIONS_FILE_UNSET+=READLINE_GNU
OPTIONS_FILE_UNSET+=READLINE_PERL
cat /var/db/ports/lang_perl5.30/options
# This file is auto-generated by 'make config'.
# Options for perl5-5.30.1
_OPTIONS_READ=perl5-5.30.1
_FILE_COMPLETE_OPTIONS_LIST=DEBUG DOT_INC DTRACE GDBM MULTIPLICITY
PERL_64BITINT PERL_MALLOC SITECUSTOMIZE THREADS
OPTIONS_FILE_SET+=DEBUG
OPTIONS_FILE_UNSET+=DOT_INC
OPTIONS_FILE_SET+=DTRACE
OPTIONS_FILE_UNSET+=GDBM
OPTIONS_FILE_SET+=MULTIPLICITY
OPTIONS_FILE_SET+=PERL_64BITINT
OPTIONS_FILE_UNSET+=PERL_MALLOC
OPTIONS_FILE_SET+=SITECUSTOMIZE
OPTIONS_FILE_SET+=THREADS
uname -a :
FreeBSD dib0250sx 12.1-RELEASE FreeBSD 12.1-RELEASE r354355 HP8000 amd64
Thanks for your help !
Francois
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list