Bug 193130

Summary: security/p5-Net-SAML does not install on FreeBSD 10.0 with perl 5.20
Product: Ports & Packages Reporter: Toshiro <toshiro.biz>
Component: Individual Port(s)Assignee: freebsd-perl (Nobody) <perl>
Status: Closed DUPLICATE    
Severity: Affects Many People    
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   

Description Toshiro 2014-08-29 19:03:02 UTC
Here's the error when trying to install from sources:

root@sales-demo:/usr/ports/security/p5-Net-SAML # make install clean
===>  Building for p5-Net-SAML-1.18
cc -c  -I.. -I/usr/local/include -I/apps/include  -O2 -pipe -fno-strict-aliasing -O2 -pipe -fno-strict-aliasing    -DVERSION=\"\"  -DXS_VERSION=\"\" -DPIC -fPIC "-I/usr/local/lib/perl5/5.20/mach/CORE"   SAML_wrap.c
SAML_wrap.c:1620:6: error: use of undeclared identifier 'bool'
     SvSetSV(tmp, obj);
     ^
/usr/local/lib/perl5/5.20/mach/CORE/sv.h:2079:3: note: expanded from macro 'SvSetSV'
                SvSetSV_and(dst,src,/*nothing*/;)
                ^
/usr/local/lib/perl5/5.20/mach/CORE/sv.h:2065:10: note: expanded from macro 'SvSetSV_and'
            if (LIKELY((dst) != (src))) {               \
                ^
/usr/local/lib/perl5/5.20/mach/CORE/perl.h:3118:52: note: expanded from macro 'LIKELY'
#define LIKELY(cond)                        EXPECT(cBOOL(cond),TRUE)
                                                   ^
/usr/local/lib/perl5/5.20/mach/CORE/handy.h:124:34: note: expanded from macro 'cBOOL'
#define cBOOL(cbool) ((cbool) ? (bool)1 : (bool)0)
                                 ^
/usr/local/lib/perl5/5.20/mach/CORE/perl.h:3114:62: note: expanded from macro 'EXPECT'
#  define EXPECT(expr,val)                  __builtin_expect(expr,val)
                                                             ^
SAML_wrap.c:1620:6: error: expected ':'
/usr/local/lib/perl5/5.20/mach/CORE/sv.h:2079:3: note: expanded from macro 'SvSetSV'
                SvSetSV_and(dst,src,/*nothing*/;)
                ^
/usr/local/lib/perl5/5.20/mach/CORE/sv.h:2065:10: note: expanded from macro 'SvSetSV_and'
            if (LIKELY((dst) != (src))) {               \
                ^
/usr/local/lib/perl5/5.20/mach/CORE/perl.h:3118:52: note: expanded from macro 'LIKELY'
#define LIKELY(cond)                        EXPECT(cBOOL(cond),TRUE)
                                                   ^
/usr/local/lib/perl5/5.20/mach/CORE/handy.h:124:39: note: expanded from macro 'cBOOL'
#define cBOOL(cbool) ((cbool) ? (bool)1 : (bool)0)
                                      ^
/usr/local/lib/perl5/5.20/mach/CORE/perl.h:3114:62: note: expanded from macro 'EXPECT'
#  define EXPECT(expr,val)                  __builtin_expect(expr,val)
                                                             ^
SAML_wrap.c:1620:6: note: to match this '?'
/usr/local/lib/perl5/5.20/mach/CORE/sv.h:2079:3: note: expanded from macro 'SvSetSV'
                SvSetSV_and(dst,src,/*nothing*/;)
                ^
/usr/local/lib/perl5/5.20/mach/CORE/sv.h:2065:10: note: expanded from macro 'SvSetSV_and'
            if (LIKELY((dst) != (src))) {               \
                ^
/usr/local/lib/perl5/5.20/mach/CORE/perl.h:3118:52: note: expanded from macro 'LIKELY'
#define LIKELY(cond)                        EXPECT(cBOOL(cond),TRUE)
                                                   ^
/usr/local/lib/perl5/5.20/mach/CORE/handy.h:124:31: note: expanded from macro 'cBOOL'
#define cBOOL(cbool) ((cbool) ? (bool)1 : (bool)0)
                              ^
/usr/local/lib/perl5/5.20/mach/CORE/perl.h:3114:62: note: expanded from macro 'EXPECT'
#  define EXPECT(expr,val)                  __builtin_expect(expr,val)
                                                             ^
SAML_wrap.c:4418:9: error: use of undeclared identifier 'bool'
        EXTEND(sp,1);
        ^
/usr/local/lib/perl5/5.20/mach/CORE/pp.h:282:31: note: expanded from macro 'EXTEND'
# define EXTEND(p,n)   (void)(UNLIKELY(PL_stack_max - p < (SSize_t)(n)) &&     \
                              ^
/usr/local/lib/perl5/5.20/mach/CORE/perl.h:3119:52: note: expanded from macro 'UNLIKELY'
#define UNLIKELY(cond)                      EXPECT(cBOOL(cond),FALSE)
                                                   ^
/usr/local/lib/perl5/5.20/mach/CORE/handy.h:124:34: note: expanded from macro 'cBOOL'
#define cBOOL(cbool) ((cbool) ? (bool)1 : (bool)0)
                                 ^
/usr/local/lib/perl5/5.20/mach/CORE/perl.h:3114:62: note: expanded from macro 'EXPECT'
#  define EXPECT(expr,val)                  __builtin_expect(expr,val)
                                                             ^
SAML_wrap.c:4418:9: error: expected ':'
/usr/local/lib/perl5/5.20/mach/CORE/pp.h:282:31: note: expanded from macro 'EXTEND'
# define EXTEND(p,n)   (void)(UNLIKELY(PL_stack_max - p < (SSize_t)(n)) &&     \
                              ^
/usr/local/lib/perl5/5.20/mach/CORE/perl.h:3119:52: note: expanded from macro 'UNLIKELY'
#define UNLIKELY(cond)                      EXPECT(cBOOL(cond),FALSE)
                                                   ^
/usr/local/lib/perl5/5.20/mach/CORE/handy.h:124:39: note: expanded from macro 'cBOOL'
#define cBOOL(cbool) ((cbool) ? (bool)1 : (bool)0)
                                      ^
/usr/local/lib/perl5/5.20/mach/CORE/perl.h:3114:62: note: expanded from macro 'EXPECT'
#  define EXPECT(expr,val)                  __builtin_expect(expr,val)
                                                             ^
SAML_wrap.c:4418:9: note: to match this '?'
/usr/local/lib/perl5/5.20/mach/CORE/pp.h:282:31: note: expanded from macro 'EXTEND'
# define EXTEND(p,n)   (void)(UNLIKELY(PL_stack_max - p < (SSize_t)(n)) &&     \
                              ^
/usr/local/lib/perl5/5.20/mach/CORE/perl.h:3119:52: note: expanded from macro 'UNLIKELY'
#define UNLIKELY(cond)                      EXPECT(cBOOL(cond),FALSE)
                                                   ^
/usr/local/lib/perl5/5.20/mach/CORE/handy.h:124:31: note: expanded from macro 'cBOOL'
#define cBOOL(cbool) ((cbool) ? (bool)1 : (bool)0)
                              ^
/usr/local/lib/perl5/5.20/mach/CORE/perl.h:3114:62: note: expanded from macro 'EXPECT'
#  define EXPECT(expr,val)                  __builtin_expect(expr,val)
                                                             ^
SAML_wrap.c:4647:9: error: use of undeclared identifier 'bool'
        EXTEND(sp,1);
        ^
/usr/local/lib/perl5/5.20/mach/CORE/pp.h:282:31: note: expanded from macro 'EXTEND'
# define EXTEND(p,n)   (void)(UNLIKELY(PL_stack_max - p < (SSize_t)(n)) &&     \
                              ^
/usr/local/lib/perl5/5.20/mach/CORE/perl.h:3119:52: note: expanded from macro 'UNLIKELY'
#define UNLIKELY(cond)                      EXPECT(cBOOL(cond),FALSE)
                                                   ^
/usr/local/lib/perl5/5.20/mach/CORE/handy.h:124:34: note: expanded from macro 'cBOOL'
#define cBOOL(cbool) ((cbool) ? (bool)1 : (bool)0)
                                 ^
/usr/local/lib/perl5/5.20/mach/CORE/perl.h:3114:62: note: expanded from macro 'EXPECT'
#  define EXPECT(expr,val)                  __builtin_expect(expr,val)
                                                             ^
SAML_wrap.c:4647:9: error: expected ':'
/usr/local/lib/perl5/5.20/mach/CORE/pp.h:282:31: note: expanded from macro 'EXTEND'
# define EXTEND(p,n)   (void)(UNLIKELY(PL_stack_max - p < (SSize_t)(n)) &&     \
                              ^
/usr/local/lib/perl5/5.20/mach/CORE/perl.h:3119:52: note: expanded from macro 'UNLIKELY'
#define UNLIKELY(cond)                      EXPECT(cBOOL(cond),FALSE)
                                                   ^
/usr/local/lib/perl5/5.20/mach/CORE/handy.h:124:39: note: expanded from macro 'cBOOL'
#define cBOOL(cbool) ((cbool) ? (bool)1 : (bool)0)
                                      ^
/usr/local/lib/perl5/5.20/mach/CORE/perl.h:3114:62: note: expanded from macro 'EXPECT'
#  define EXPECT(expr,val)                  __builtin_expect(expr,val)
                                                             ^
SAML_wrap.c:4647:9: note: to match this '?'
/usr/local/lib/perl5/5.20/mach/CORE/pp.h:282:31: note: expanded from macro 'EXTEND'
# define EXTEND(p,n)   (void)(UNLIKELY(PL_stack_max - p < (SSize_t)(n)) &&     \
                              ^
/usr/local/lib/perl5/5.20/mach/CORE/perl.h:3119:52: note: expanded from macro 'UNLIKELY'
#define UNLIKELY(cond)                      EXPECT(cBOOL(cond),FALSE)
                                                   ^
/usr/local/lib/perl5/5.20/mach/CORE/handy.h:124:31: note: expanded from macro 'cBOOL'
#define cBOOL(cbool) ((cbool) ? (bool)1 : (bool)0)
                              ^
/usr/local/lib/perl5/5.20/mach/CORE/perl.h:3114:62: note: expanded from macro 'EXPECT'
#  define EXPECT(expr,val)                  __builtin_expect(expr,val)
                                                             ^
SAML_wrap.c:4744:9: error: use of undeclared identifier 'bool'
        EXTEND(sp,1);
        ^
/usr/local/lib/perl5/5.20/mach/CORE/pp.h:282:31: note: expanded from macro 'EXTEND'
# define EXTEND(p,n)   (void)(UNLIKELY(PL_stack_max - p < (SSize_t)(n)) &&     \
                              ^
/usr/local/lib/perl5/5.20/mach/CORE/perl.h:3119:52: note: expanded from macro 'UNLIKELY'
#define UNLIKELY(cond)                      EXPECT(cBOOL(cond),FALSE)
                                                   ^
/usr/local/lib/perl5/5.20/mach/CORE/handy.h:124:34: note: expanded from macro 'cBOOL'
#define cBOOL(cbool) ((cbool) ? (bool)1 : (bool)0)
                                 ^
/usr/local/lib/perl5/5.20/mach/CORE/perl.h:3114:62: note: expanded from macro 'EXPECT'
#  define EXPECT(expr,val)                  __builtin_expect(expr,val)
                                                             ^
SAML_wrap.c:4744:9: error: expected ':'
/usr/local/lib/perl5/5.20/mach/CORE/pp.h:282:31: note: expanded from macro 'EXTEND'
# define EXTEND(p,n)   (void)(UNLIKELY(PL_stack_max - p < (SSize_t)(n)) &&     \
                              ^
/usr/local/lib/perl5/5.20/mach/CORE/perl.h:3119:52: note: expanded from macro 'UNLIKELY'
#define UNLIKELY(cond)                      EXPECT(cBOOL(cond),FALSE)
                                                   ^
/usr/local/lib/perl5/5.20/mach/CORE/handy.h:124:39: note: expanded from macro 'cBOOL'
#define cBOOL(cbool) ((cbool) ? (bool)1 : (bool)0)
                                      ^
/usr/local/lib/perl5/5.20/mach/CORE/perl.h:3114:62: note: expanded from macro 'EXPECT'
#  define EXPECT(expr,val)                  __builtin_expect(expr,val)
                                                             ^
SAML_wrap.c:4744:9: note: to match this '?'
/usr/local/lib/perl5/5.20/mach/CORE/pp.h:282:31: note: expanded from macro 'EXTEND'
# define EXTEND(p,n)   (void)(UNLIKELY(PL_stack_max - p < (SSize_t)(n)) &&     \
                              ^
/usr/local/lib/perl5/5.20/mach/CORE/perl.h:3119:52: note: expanded from macro 'UNLIKELY'
#define UNLIKELY(cond)                      EXPECT(cBOOL(cond),FALSE)
                                                   ^
/usr/local/lib/perl5/5.20/mach/CORE/handy.h:124:31: note: expanded from macro 'cBOOL'
#define cBOOL(cbool) ((cbool) ? (bool)1 : (bool)0)
                              ^
/usr/local/lib/perl5/5.20/mach/CORE/perl.h:3114:62: note: expanded from macro 'EXPECT'
#  define EXPECT(expr,val)                  __builtin_expect(expr,val)
                                                             ^
SAML_wrap.c:5063:9: error: use of undeclared identifier 'bool'
        EXTEND(sp,1);
        ^
/usr/local/lib/perl5/5.20/mach/CORE/pp.h:282:31: note: expanded from macro 'EXTEND'
# define EXTEND(p,n)   (void)(UNLIKELY(PL_stack_max - p < (SSize_t)(n)) &&     \
                              ^
/usr/local/lib/perl5/5.20/mach/CORE/perl.h:3119:52: note: expanded from macro 'UNLIKELY'
#define UNLIKELY(cond)                      EXPECT(cBOOL(cond),FALSE)
                                                   ^
/usr/local/lib/perl5/5.20/mach/CORE/handy.h:124:34: note: expanded from macro 'cBOOL'
#define cBOOL(cbool) ((cbool) ? (bool)1 : (bool)0)
                                 ^
/usr/local/lib/perl5/5.20/mach/CORE/perl.h:3114:62: note: expanded from macro 'EXPECT'
#  define EXPECT(expr,val)                  __builtin_expect(expr,val)
                                                             ^
SAML_wrap.c:5063:9: error: expected ':'
/usr/local/lib/perl5/5.20/mach/CORE/pp.h:282:31: note: expanded from macro 'EXTEND'
# define EXTEND(p,n)   (void)(UNLIKELY(PL_stack_max - p < (SSize_t)(n)) &&     \
                              ^
/usr/local/lib/perl5/5.20/mach/CORE/perl.h:3119:52: note: expanded from macro 'UNLIKELY'
#define UNLIKELY(cond)                      EXPECT(cBOOL(cond),FALSE)
                                                   ^
/usr/local/lib/perl5/5.20/mach/CORE/handy.h:124:39: note: expanded from macro 'cBOOL'
#define cBOOL(cbool) ((cbool) ? (bool)1 : (bool)0)
                                      ^
/usr/local/lib/perl5/5.20/mach/CORE/perl.h:3114:62: note: expanded from macro 'EXPECT'
#  define EXPECT(expr,val)                  __builtin_expect(expr,val)
                                                             ^
SAML_wrap.c:5063:9: note: to match this '?'
/usr/local/lib/perl5/5.20/mach/CORE/pp.h:282:31: note: expanded from macro 'EXTEND'
# define EXTEND(p,n)   (void)(UNLIKELY(PL_stack_max - p < (SSize_t)(n)) &&     \
                              ^
/usr/local/lib/perl5/5.20/mach/CORE/perl.h:3119:52: note: expanded from macro 'UNLIKELY'
#define UNLIKELY(cond)                      EXPECT(cBOOL(cond),FALSE)
                                                   ^
/usr/local/lib/perl5/5.20/mach/CORE/handy.h:124:31: note: expanded from macro 'cBOOL'
#define cBOOL(cbool) ((cbool) ? (bool)1 : (bool)0)
                              ^
/usr/local/lib/perl5/5.20/mach/CORE/perl.h:3114:62: note: expanded from macro 'EXPECT'
#  define EXPECT(expr,val)                  __builtin_expect(expr,val)
                                                             ^
SAML_wrap.c:5525:14: warning: incompatible pointer types passing 'int *' to parameter of type 'STRLEN *' (aka 'unsigned long *')
      [-Wincompatible-pointer-types]
      arg5 = SvPV(ST(3), arg4);
             ^~~~~~~~~~~~~~~~~
/usr/local/lib/perl5/5.20/mach/CORE/sv.h:1666:30: note: expanded from macro 'SvPV'
#define SvPV(sv, lp)         SvPV_flags(sv, lp, SV_GMAGIC)
                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/lib/perl5/5.20/mach/CORE/sv.h:1672:57: note: expanded from macro 'SvPV_flags'
     ? ((lp = SvCUR(sv)), SvPVX(sv)) : sv_2pv_flags(sv, &lp, flags))
                                       ~~~~~~~~~~~~~~~~~^~~~~~~~~~~
/usr/local/lib/perl5/5.20/mach/CORE/embed.h:558:55: note: expanded from macro 'sv_2pv_flags'
#define sv_2pv_flags(a,b,c)     Perl_sv_2pv_flags(aTHX_ a,b,c)
                                                          ^
/usr/local/lib/perl5/5.20/mach/CORE/proto.h:3931:73: note: passing argument to parameter 'lp' here
PERL_CALLCONV char*     Perl_sv_2pv_flags(pTHX_ SV *const sv, STRLEN *const lp, const I32 flags)
                                                                            ^
SAML_wrap.c:5637:14: warning: incompatible pointer types passing 'int *' to parameter of type 'STRLEN *' (aka 'unsigned long *')
      [-Wincompatible-pointer-types]
      arg5 = SvPV(ST(3), arg4);
             ^~~~~~~~~~~~~~~~~
/usr/local/lib/perl5/5.20/mach/CORE/sv.h:1666:30: note: expanded from macro 'SvPV'
#define SvPV(sv, lp)         SvPV_flags(sv, lp, SV_GMAGIC)
                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/lib/perl5/5.20/mach/CORE/sv.h:1672:57: note: expanded from macro 'SvPV_flags'
     ? ((lp = SvCUR(sv)), SvPVX(sv)) : sv_2pv_flags(sv, &lp, flags))
                                       ~~~~~~~~~~~~~~~~~^~~~~~~~~~~
/usr/local/lib/perl5/5.20/mach/CORE/embed.h:558:55: note: expanded from macro 'sv_2pv_flags'
#define sv_2pv_flags(a,b,c)     Perl_sv_2pv_flags(aTHX_ a,b,c)
                                                          ^
/usr/local/lib/perl5/5.20/mach/CORE/proto.h:3931:73: note: passing argument to parameter 'lp' here
PERL_CALLCONV char*     Perl_sv_2pv_flags(pTHX_ SV *const sv, STRLEN *const lp, const I32 flags)
                                                                            ^
SAML_wrap.c:5749:14: warning: incompatible pointer types passing 'int *' to parameter of type 'STRLEN *' (aka 'unsigned long *')
      [-Wincompatible-pointer-types]
      arg5 = SvPV(ST(3), arg4);
             ^~~~~~~~~~~~~~~~~
/usr/local/lib/perl5/5.20/mach/CORE/sv.h:1666:30: note: expanded from macro 'SvPV'
#define SvPV(sv, lp)         SvPV_flags(sv, lp, SV_GMAGIC)
                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/lib/perl5/5.20/mach/CORE/sv.h:1672:57: note: expanded from macro 'SvPV_flags'
     ? ((lp = SvCUR(sv)), SvPVX(sv)) : sv_2pv_flags(sv, &lp, flags))
                                       ~~~~~~~~~~~~~~~~~^~~~~~~~~~~
/usr/local/lib/perl5/5.20/mach/CORE/embed.h:558:55: note: expanded from macro 'sv_2pv_flags'
#define sv_2pv_flags(a,b,c)     Perl_sv_2pv_flags(aTHX_ a,b,c)
                                                          ^
/usr/local/lib/perl5/5.20/mach/CORE/proto.h:3931:73: note: passing argument to parameter 'lp' here
PERL_CALLCONV char*     Perl_sv_2pv_flags(pTHX_ SV *const sv, STRLEN *const lp, const I32 flags)
                                                                            ^
SAML_wrap.c:5919:14: warning: incompatible pointer types passing 'int *' to parameter of type 'STRLEN *' (aka 'unsigned long *')
      [-Wincompatible-pointer-types]
      arg5 = SvPV(ST(3), arg4);
             ^~~~~~~~~~~~~~~~~
/usr/local/lib/perl5/5.20/mach/CORE/sv.h:1666:30: note: expanded from macro 'SvPV'
#define SvPV(sv, lp)         SvPV_flags(sv, lp, SV_GMAGIC)
                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/lib/perl5/5.20/mach/CORE/sv.h:1672:57: note: expanded from macro 'SvPV_flags'
     ? ((lp = SvCUR(sv)), SvPVX(sv)) : sv_2pv_flags(sv, &lp, flags))
                                       ~~~~~~~~~~~~~~~~~^~~~~~~~~~~
/usr/local/lib/perl5/5.20/mach/CORE/embed.h:558:55: note: expanded from macro 'sv_2pv_flags'
#define sv_2pv_flags(a,b,c)     Perl_sv_2pv_flags(aTHX_ a,b,c)
                                                          ^
/usr/local/lib/perl5/5.20/mach/CORE/proto.h:3931:73: note: passing argument to parameter 'lp' here
PERL_CALLCONV char*     Perl_sv_2pv_flags(pTHX_ SV *const sv, STRLEN *const lp, const I32 flags)
                                                                            ^
SAML_wrap.c:6084:9: error: use of undeclared identifier 'bool'
        EXTEND(sp,1);
        ^
/usr/local/lib/perl5/5.20/mach/CORE/pp.h:282:31: note: expanded from macro 'EXTEND'
# define EXTEND(p,n)   (void)(UNLIKELY(PL_stack_max - p < (SSize_t)(n)) &&     \
                              ^
/usr/local/lib/perl5/5.20/mach/CORE/perl.h:3119:52: note: expanded from macro 'UNLIKELY'
#define UNLIKELY(cond)                      EXPECT(cBOOL(cond),FALSE)
                                                   ^
/usr/local/lib/perl5/5.20/mach/CORE/handy.h:124:34: note: expanded from macro 'cBOOL'
#define cBOOL(cbool) ((cbool) ? (bool)1 : (bool)0)
                                 ^
/usr/local/lib/perl5/5.20/mach/CORE/perl.h:3114:62: note: expanded from macro 'EXPECT'
#  define EXPECT(expr,val)                  __builtin_expect(expr,val)
                                                             ^
SAML_wrap.c:6084:9: error: expected ':'
/usr/local/lib/perl5/5.20/mach/CORE/pp.h:282:31: note: expanded from macro 'EXTEND'
# define EXTEND(p,n)   (void)(UNLIKELY(PL_stack_max - p < (SSize_t)(n)) &&     \
                              ^
/usr/local/lib/perl5/5.20/mach/CORE/perl.h:3119:52: note: expanded from macro 'UNLIKELY'
#define UNLIKELY(cond)                      EXPECT(cBOOL(cond),FALSE)
                                                   ^
/usr/local/lib/perl5/5.20/mach/CORE/handy.h:124:39: note: expanded from macro 'cBOOL'
#define cBOOL(cbool) ((cbool) ? (bool)1 : (bool)0)
                                      ^
/usr/local/lib/perl5/5.20/mach/CORE/perl.h:3114:62: note: expanded from macro 'EXPECT'
#  define EXPECT(expr,val)                  __builtin_expect(expr,val)
                                                             ^
SAML_wrap.c:6084:9: note: to match this '?'
/usr/local/lib/perl5/5.20/mach/CORE/pp.h:282:31: note: expanded from macro 'EXTEND'
# define EXTEND(p,n)   (void)(UNLIKELY(PL_stack_max - p < (SSize_t)(n)) &&     \
                              ^
/usr/local/lib/perl5/5.20/mach/CORE/perl.h:3119:52: note: expanded from macro 'UNLIKELY'
#define UNLIKELY(cond)                      EXPECT(cBOOL(cond),FALSE)
                                                   ^
/usr/local/lib/perl5/5.20/mach/CORE/handy.h:124:31: note: expanded from macro 'cBOOL'
#define cBOOL(cbool) ((cbool) ? (bool)1 : (bool)0)
                              ^
/usr/local/lib/perl5/5.20/mach/CORE/perl.h:3114:62: note: expanded from macro 'EXPECT'
#  define EXPECT(expr,val)                  __builtin_expect(expr,val)
                                                             ^
SAML_wrap.c:6121:14: warning: incompatible pointer types passing 'int *' to parameter of type 'STRLEN *' (aka 'unsigned long *')
      [-Wincompatible-pointer-types]
      arg3 = SvPV(ST(1), arg2);
             ^~~~~~~~~~~~~~~~~
/usr/local/lib/perl5/5.20/mach/CORE/sv.h:1666:30: note: expanded from macro 'SvPV'
#define SvPV(sv, lp)         SvPV_flags(sv, lp, SV_GMAGIC)
                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/lib/perl5/5.20/mach/CORE/sv.h:1672:57: note: expanded from macro 'SvPV_flags'
     ? ((lp = SvCUR(sv)), SvPVX(sv)) : sv_2pv_flags(sv, &lp, flags))
                                       ~~~~~~~~~~~~~~~~~^~~~~~~~~~~
/usr/local/lib/perl5/5.20/mach/CORE/embed.h:558:55: note: expanded from macro 'sv_2pv_flags'
#define sv_2pv_flags(a,b,c)     Perl_sv_2pv_flags(aTHX_ a,b,c)
                                                          ^
/usr/local/lib/perl5/5.20/mach/CORE/proto.h:3931:73: note: passing argument to parameter 'lp' here
PERL_CALLCONV char*     Perl_sv_2pv_flags(pTHX_ SV *const sv, STRLEN *const lp, const I32 flags)
                                                                            ^
SAML_wrap.c:6126:9: error: use of undeclared identifier 'bool'
        EXTEND(sp,1);
        ^
/usr/local/lib/perl5/5.20/mach/CORE/pp.h:282:31: note: expanded from macro 'EXTEND'
# define EXTEND(p,n)   (void)(UNLIKELY(PL_stack_max - p < (SSize_t)(n)) &&     \
                              ^
/usr/local/lib/perl5/5.20/mach/CORE/perl.h:3119:52: note: expanded from macro 'UNLIKELY'
#define UNLIKELY(cond)                      EXPECT(cBOOL(cond),FALSE)
                                                   ^
/usr/local/lib/perl5/5.20/mach/CORE/handy.h:124:34: note: expanded from macro 'cBOOL'
#define cBOOL(cbool) ((cbool) ? (bool)1 : (bool)0)
                                 ^
/usr/local/lib/perl5/5.20/mach/CORE/perl.h:3114:62: note: expanded from macro 'EXPECT'
#  define EXPECT(expr,val)                  __builtin_expect(expr,val)
                                                             ^
SAML_wrap.c:6126:9: error: expected ':'
/usr/local/lib/perl5/5.20/mach/CORE/pp.h:282:31: note: expanded from macro 'EXTEND'
# define EXTEND(p,n)   (void)(UNLIKELY(PL_stack_max - p < (SSize_t)(n)) &&     \
                              ^
/usr/local/lib/perl5/5.20/mach/CORE/perl.h:3119:52: note: expanded from macro 'UNLIKELY'
#define UNLIKELY(cond)                      EXPECT(cBOOL(cond),FALSE)
                                                   ^
/usr/local/lib/perl5/5.20/mach/CORE/handy.h:124:39: note: expanded from macro 'cBOOL'
#define cBOOL(cbool) ((cbool) ? (bool)1 : (bool)0)
                                      ^
/usr/local/lib/perl5/5.20/mach/CORE/perl.h:3114:62: note: expanded from macro 'EXPECT'
#  define EXPECT(expr,val)                  __builtin_expect(expr,val)
                                                             ^
SAML_wrap.c:6126:9: note: to match this '?'
/usr/local/lib/perl5/5.20/mach/CORE/pp.h:282:31: note: expanded from macro 'EXTEND'
# define EXTEND(p,n)   (void)(UNLIKELY(PL_stack_max - p < (SSize_t)(n)) &&     \
                              ^
/usr/local/lib/perl5/5.20/mach/CORE/perl.h:3119:52: note: expanded from macro 'UNLIKELY'
#define UNLIKELY(cond)                      EXPECT(cBOOL(cond),FALSE)
                                                   ^
/usr/local/lib/perl5/5.20/mach/CORE/handy.h:124:31: note: expanded from macro 'cBOOL'
#define cBOOL(cbool) ((cbool) ? (bool)1 : (bool)0)
                              ^
/usr/local/lib/perl5/5.20/mach/CORE/perl.h:3114:62: note: expanded from macro 'EXPECT'
#  define EXPECT(expr,val)                  __builtin_expect(expr,val)
                                                             ^
SAML_wrap.c:6169:9: error: use of undeclared identifier 'bool'
        EXTEND(sp,1);
        ^
/usr/local/lib/perl5/5.20/mach/CORE/pp.h:282:31: note: expanded from macro 'EXTEND'
# define EXTEND(p,n)   (void)(UNLIKELY(PL_stack_max - p < (SSize_t)(n)) &&     \
                              ^
/usr/local/lib/perl5/5.20/mach/CORE/perl.h:3119:52: note: expanded from macro 'UNLIKELY'
#define UNLIKELY(cond)                      EXPECT(cBOOL(cond),FALSE)
                                                   ^
/usr/local/lib/perl5/5.20/mach/CORE/handy.h:124:34: note: expanded from macro 'cBOOL'
#define cBOOL(cbool) ((cbool) ? (bool)1 : (bool)0)
                                 ^
/usr/local/lib/perl5/5.20/mach/CORE/perl.h:3114:62: note: expanded from macro 'EXPECT'
#  define EXPECT(expr,val)                  __builtin_expect(expr,val)
                                                             ^
SAML_wrap.c:6169:9: error: expected ':'
/usr/local/lib/perl5/5.20/mach/CORE/pp.h:282:31: note: expanded from macro 'EXTEND'
# define EXTEND(p,n)   (void)(UNLIKELY(PL_stack_max - p < (SSize_t)(n)) &&     \
                              ^
/usr/local/lib/perl5/5.20/mach/CORE/perl.h:3119:52: note: expanded from macro 'UNLIKELY'
#define UNLIKELY(cond)                      EXPECT(cBOOL(cond),FALSE)
                                                   ^
/usr/local/lib/perl5/5.20/mach/CORE/handy.h:124:39: note: expanded from macro 'cBOOL'
#define cBOOL(cbool) ((cbool) ? (bool)1 : (bool)0)
                                      ^
/usr/local/lib/perl5/5.20/mach/CORE/perl.h:3114:62: note: expanded from macro 'EXPECT'
#  define EXPECT(expr,val)                  __builtin_expect(expr,val)
                                                             ^
SAML_wrap.c:6169:9: note: to match this '?'
/usr/local/lib/perl5/5.20/mach/CORE/pp.h:282:31: note: expanded from macro 'EXTEND'
# define EXTEND(p,n)   (void)(UNLIKELY(PL_stack_max - p < (SSize_t)(n)) &&     \
                              ^
/usr/local/lib/perl5/5.20/mach/CORE/perl.h:3119:52: note: expanded from macro 'UNLIKELY'
#define UNLIKELY(cond)                      EXPECT(cBOOL(cond),FALSE)
                                                   ^
/usr/local/lib/perl5/5.20/mach/CORE/handy.h:124:31: note: expanded from macro 'cBOOL'
#define cBOOL(cbool) ((cbool) ? (bool)1 : (bool)0)
                              ^
/usr/local/lib/perl5/5.20/mach/CORE/perl.h:3114:62: note: expanded from macro 'EXPECT'
#  define EXPECT(expr,val)                  __builtin_expect(expr,val)
                                                             ^
SAML_wrap.c:6206:14: warning: incompatible pointer types passing 'int *' to parameter of type 'STRLEN *' (aka 'unsigned long *')
      [-Wincompatible-pointer-types]
      arg3 = SvPV(ST(1), arg2);
             ^~~~~~~~~~~~~~~~~
/usr/local/lib/perl5/5.20/mach/CORE/sv.h:1666:30: note: expanded from macro 'SvPV'
#define SvPV(sv, lp)         SvPV_flags(sv, lp, SV_GMAGIC)
                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/lib/perl5/5.20/mach/CORE/sv.h:1672:57: note: expanded from macro 'SvPV_flags'
     ? ((lp = SvCUR(sv)), SvPVX(sv)) : sv_2pv_flags(sv, &lp, flags))
                                       ~~~~~~~~~~~~~~~~~^~~~~~~~~~~
/usr/local/lib/perl5/5.20/mach/CORE/embed.h:558:55: note: expanded from macro 'sv_2pv_flags'
#define sv_2pv_flags(a,b,c)     Perl_sv_2pv_flags(aTHX_ a,b,c)
                                                          ^
/usr/local/lib/perl5/5.20/mach/CORE/proto.h:3931:73: note: passing argument to parameter 'lp' here
PERL_CALLCONV char*     Perl_sv_2pv_flags(pTHX_ SV *const sv, STRLEN *const lp, const I32 flags)
                                                                            ^
SAML_wrap.c:6211:9: error: use of undeclared identifier 'bool'
        EXTEND(sp,1);
        ^
/usr/local/lib/perl5/5.20/mach/CORE/pp.h:282:31: note: expanded from macro 'EXTEND'
# define EXTEND(p,n)   (void)(UNLIKELY(PL_stack_max - p < (SSize_t)(n)) &&     \
                              ^
/usr/local/lib/perl5/5.20/mach/CORE/perl.h:3119:52: note: expanded from macro 'UNLIKELY'
#define UNLIKELY(cond)                      EXPECT(cBOOL(cond),FALSE)
                                                   ^
/usr/local/lib/perl5/5.20/mach/CORE/handy.h:124:34: note: expanded from macro 'cBOOL'
#define cBOOL(cbool) ((cbool) ? (bool)1 : (bool)0)
                                 ^
/usr/local/lib/perl5/5.20/mach/CORE/perl.h:3114:62: note: expanded from macro 'EXPECT'
#  define EXPECT(expr,val)                  __builtin_expect(expr,val)
                                                             ^
SAML_wrap.c:6211:9: error: expected ':'
/usr/local/lib/perl5/5.20/mach/CORE/pp.h:282:31: note: expanded from macro 'EXTEND'
# define EXTEND(p,n)   (void)(UNLIKELY(PL_stack_max - p < (SSize_t)(n)) &&     \
                              ^
/usr/local/lib/perl5/5.20/mach/CORE/perl.h:3119:52: note: expanded from macro 'UNLIKELY'
#define UNLIKELY(cond)                      EXPECT(cBOOL(cond),FALSE)
                                                   ^
/usr/local/lib/perl5/5.20/mach/CORE/handy.h:124:39: note: expanded from macro 'cBOOL'
#define cBOOL(cbool) ((cbool) ? (bool)1 : (bool)0)
                                      ^
/usr/local/lib/perl5/5.20/mach/CORE/perl.h:3114:62: note: expanded from macro 'EXPECT'
#  define EXPECT(expr,val)                  __builtin_expect(expr,val)
                                                             ^
SAML_wrap.c:6211:9: note: to match this '?'
/usr/local/lib/perl5/5.20/mach/CORE/pp.h:282:31: note: expanded from macro 'EXTEND'
# define EXTEND(p,n)   (void)(UNLIKELY(PL_stack_max - p < (SSize_t)(n)) &&     \
                              ^
/usr/local/lib/perl5/5.20/mach/CORE/perl.h:3119:52: note: expanded from macro 'UNLIKELY'
#define UNLIKELY(cond)                      EXPECT(cBOOL(cond),FALSE)
                                                   ^
/usr/local/lib/perl5/5.20/mach/CORE/handy.h:124:31: note: expanded from macro 'cBOOL'
#define cBOOL(cbool) ((cbool) ? (bool)1 : (bool)0)
                              ^
/usr/local/lib/perl5/5.20/mach/CORE/perl.h:3114:62: note: expanded from macro 'EXPECT'
#  define EXPECT(expr,val)                  __builtin_expect(expr,val)
                                                             ^
SAML_wrap.c:6255:9: error: use of undeclared identifier 'bool'
        EXTEND(sp,1);
        ^
/usr/local/lib/perl5/5.20/mach/CORE/pp.h:282:31: note: expanded from macro 'EXTEND'
# define EXTEND(p,n)   (void)(UNLIKELY(PL_stack_max - p < (SSize_t)(n)) &&     \
                              ^
/usr/local/lib/perl5/5.20/mach/CORE/perl.h:3119:52: note: expanded from macro 'UNLIKELY'
#define UNLIKELY(cond)                      EXPECT(cBOOL(cond),FALSE)
                                                   ^
/usr/local/lib/perl5/5.20/mach/CORE/handy.h:124:34: note: expanded from macro 'cBOOL'
#define cBOOL(cbool) ((cbool) ? (bool)1 : (bool)0)
                                 ^
/usr/local/lib/perl5/5.20/mach/CORE/perl.h:3114:62: note: expanded from macro 'EXPECT'
#  define EXPECT(expr,val)                  __builtin_expect(expr,val)
                                                             ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
6 warnings and 20 errors generated.
*** Error code 1

Stop.
make[2]: stopped in /usr/ports/security/p5-Net-SAML/work/zxid-1.18/Net
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/security/p5-Net-SAML
*** Error code 1

Stop.
make: stopped in /usr/ports/security/p5-Net-SAML
Comment 1 Carlo Strub freebsd_committer freebsd_triage 2014-08-29 19:50:30 UTC
This port does belong to the perl group. Could you maybe provide a patch that fixes the port?
Comment 2 Mark Linimon freebsd_committer freebsd_triage 2014-09-06 01:42:57 UTC
Over to maintainers.
Comment 3 Mathieu Arnold freebsd_committer freebsd_triage 2015-02-17 16:18:01 UTC

*** This bug has been marked as a duplicate of bug 194865 ***