=> Bootstrap dependency digest>=20010302: found digest-20121220 ===> Building for p5-IO-Interface-1.06nb4 cp Interface/Simple.pm blib/lib/IO/Interface/Simple.pm cp Interface.pm blib/lib/IO/Interface.pm AutoSplitting blib/lib/IO/Interface.pm (blib/lib/auto/IO/Interface) Running Mkbootstrap for IO::Interface () chmod 644 "Interface.bs" "/usr/pkg/bin/perl" "/usr/pkg/lib/perl5/5.22.0/ExtUtils/xsubpp" -typemap "/usr/pkg/lib/perl5/5.22.0/ExtUtils/typemap" Interface.xs > Interface.xsc && mv Interface.xsc Interface.c cc -c -O2 -march=i586 -I/usr/include -fno-strict-aliasing -pipe -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -march=i586 -DVERSION=\"1.06\" -DXS_VERSION=\"1.06\" -DPIC -fPIC "-I/usr/pkg/lib/perl5/5.22.0/i386-netbsd/CORE" -DUSE_GETIFADDRS Interface.c Interface.xs:411:20: error: variable has incomplete type 'struct ifreq' struct ifreq ifr; ^ Interface.xs:411:13: note: forward declaration of 'struct ifreq' struct ifreq ifr; ^ Interface.xs:421:26: error: invalid application of 'sizeof' to an incomplete type 'struct ifreq' bzero((void*)&ifr,sizeof(struct ifreq)); ^ ~~~~~~~~~~~~~~ /usr/include/ssp/strings.h:44:36: note: expanded from macro 'bzero' __builtin___memset_chk(dst, 0, len, __ssp_bos0(dst)) : \ ^ Interface.xs:411:13: note: forward declaration of 'struct ifreq' struct ifreq ifr; ^ Interface.xs:421:26: error: invalid application of 'sizeof' to an incomplete type 'struct ifreq' bzero((void*)&ifr,sizeof(struct ifreq)); ^ ~~~~~~~~~~~~~~ /usr/include/ssp/strings.h:45:27: note: expanded from macro 'bzero' __memset_ichk(dst, 0, len)) ^ Interface.xs:411:13: note: forward declaration of 'struct ifreq' struct ifreq ifr; ^ Interface.xs:422:34: error: use of undeclared identifier 'IFNAMSIZ' strncpy(ifr.ifr_name,name,IFNAMSIZ-1); ^ /usr/include/ssp/string.h:104:68: note: expanded from macro 'strncpy' #define strncpy(dst, src, len) __ssp_bos_check3(strncpy, dst, src, len) ^ /usr/include/ssp/string.h:52:43: note: expanded from macro '__ssp_bos_check3' __builtin___ ## fun ## _chk(dst, src, len, __ssp_bos0(dst)) : \ ^ Interface.xs:422:34: error: use of undeclared identifier 'IFNAMSIZ' /usr/include/ssp/string.h:104:68: note: expanded from macro 'strncpy' #define strncpy(dst, src, len) __ssp_bos_check3(strncpy, dst, src, len) ^ /usr/include/ssp/string.h:53:34: note: expanded from macro '__ssp_bos_check3' __ ## fun ## _ichk(dst, src, len)) ^ Interface.xs:429:15: error: invalid application of 'sizeof' to an incomplete type 'struct ifreq' operation = SIOCSIFADDR; ^~~~~~~~~~~ /usr/include/sys/sockio.h:51:22: note: expanded from macro 'SIOCSIFADDR' #define SIOCSIFADDR _IOW('i', 12, struct ifreq) /* set ifnet address */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/sys/ioccom.h:87:44: note: expanded from macro '_IOW' #define _IOW(g,n,t) _IOC(IOC_IN, (g), (n), sizeof(t)) ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /usr/include/sys/ioccom.h:83:19: note: expanded from macro '_IOC' ((inout) | (((len) & IOCPARM_MASK) << IOCPARM_SHIFT) | \ ^ Interface.xs:411:13: note: forward declaration of 'struct ifreq' struct ifreq ifr; ^ Interface.xs:434:15: error: invalid application of 'sizeof' to an incomplete type 'struct ifreq' operation = SIOCGIFADDR; ^~~~~~~~~~~ /usr/include/sys/sockio.h:52:21: note: expanded from macro 'SIOCGIFADDR' #define SIOCGIFADDR _IOWR('i', 33, struct ifreq) /* get ifnet address */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/sys/ioccom.h:89:48: note: expanded from macro '_IOWR' #define _IOWR(g,n,t) _IOC(IOC_INOUT, (g), (n), sizeof(t)) ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /usr/include/sys/ioccom.h:83:19: note: expanded from macro '_IOC' ((inout) | (((len) & IOCPARM_MASK) << IOCPARM_SHIFT) | \ ^ Interface.xs:411:13: note: forward declaration of 'struct ifreq' struct ifreq ifr; ^ Interface.xs:453:20: error: variable has incomplete type 'struct ifreq' struct ifreq ifr; ^ Interface.xs:453:13: note: forward declaration of 'struct ifreq' struct ifreq ifr; ^ Interface.xs:460:24: error: invalid application of 'sizeof' to an incomplete type 'struct ifreq' bzero((void*)&ifr,sizeof(struct ifreq)); ^ ~~~~~~~~~~~~~~ /usr/include/ssp/strings.h:44:36: note: expanded from macro 'bzero' __builtin___memset_chk(dst, 0, len, __ssp_bos0(dst)) : \ ^ Interface.xs:453:13: note: forward declaration of 'struct ifreq' struct ifreq ifr; ^ Interface.xs:460:24: error: invalid application of 'sizeof' to an incomplete type 'struct ifreq' bzero((void*)&ifr,sizeof(struct ifreq)); ^ ~~~~~~~~~~~~~~ /usr/include/ssp/strings.h:45:27: note: expanded from macro 'bzero' __memset_ichk(dst, 0, len)) ^ Interface.xs:453:13: note: forward declaration of 'struct ifreq' struct ifreq ifr; ^ Interface.xs:461:32: error: use of undeclared identifier 'IFNAMSIZ' strncpy(ifr.ifr_name,name,IFNAMSIZ-1); ^ /usr/include/ssp/string.h:104:68: note: expanded from macro 'strncpy' #define strncpy(dst, src, len) __ssp_bos_check3(strncpy, dst, src, len) ^ /usr/include/ssp/string.h:52:43: note: expanded from macro '__ssp_bos_check3' __builtin___ ## fun ## _chk(dst, src, len, __ssp_bos0(dst)) : \ ^ Interface.xs:461:32: error: use of undeclared identifier 'IFNAMSIZ' /usr/include/ssp/string.h:104:68: note: expanded from macro 'strncpy' #define strncpy(dst, src, len) __ssp_bos_check3(strncpy, dst, src, len) ^ /usr/include/ssp/string.h:53:34: note: expanded from macro '__ssp_bos_check3' __ ## fun ## _ichk(dst, src, len)) ^ Interface.xs:468:22: error: invalid application of 'sizeof' to an incomplete type 'struct ifreq' operation = SIOCSIFBRDADDR; ^~~~~~~~~~~~~~ /usr/include/sys/sockio.h:61:25: note: expanded from macro 'SIOCSIFBRDADDR' #define SIOCSIFBRDADDR _IOW('i', 19, struct ifreq) /* set broadcast addr */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/sys/ioccom.h:87:44: note: expanded from macro '_IOW' #define _IOW(g,n,t) _IOC(IOC_IN, (g), (n), sizeof(t)) ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /usr/include/sys/ioccom.h:83:19: note: expanded from macro '_IOC' ((inout) | (((len) & IOCPARM_MASK) << IOCPARM_SHIFT) | \ ^ Interface.xs:453:13: note: forward declaration of 'struct ifreq' struct ifreq ifr; ^ Interface.xs:473:16: error: invalid application of 'sizeof' to an incomplete type 'struct ifreq' operation = SIOCGIFBRDADDR; ^~~~~~~~~~~~~~ /usr/include/sys/sockio.h:60:24: note: expanded from macro 'SIOCGIFBRDADDR' #define SIOCGIFBRDADDR _IOWR('i', 35, struct ifreq) /* get broadcast addr */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/sys/ioccom.h:89:48: note: expanded from macro '_IOWR' #define _IOWR(g,n,t) _IOC(IOC_INOUT, (g), (n), sizeof(t)) ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /usr/include/sys/ioccom.h:83:19: note: expanded from macro '_IOC' ((inout) | (((len) & IOCPARM_MASK) << IOCPARM_SHIFT) | \ ^ Interface.xs:453:13: note: forward declaration of 'struct ifreq' struct ifreq ifr; ^ Interface.xs:491:21: error: variable has incomplete type 'struct ifreq' struct ifreq ifr; ^ Interface.xs:491:13: note: forward declaration of 'struct ifreq' struct ifreq ifr; ^ Interface.xs:498:24: error: invalid application of 'sizeof' to an incomplete type 'struct ifreq' bzero((void*)&ifr,sizeof(struct ifreq)); ^ ~~~~~~~~~~~~~~ /usr/include/ssp/strings.h:44:36: note: expanded from macro 'bzero' __builtin___memset_chk(dst, 0, len, __ssp_bos0(dst)) : \ ^ Interface.xs:491:13: note: forward declaration of 'struct ifreq' struct ifreq ifr; ^ Interface.xs:498:24: error: invalid application of 'sizeof' to an incomplete type 'struct ifreq' bzero((void*)&ifr,sizeof(struct ifreq)); ^ ~~~~~~~~~~~~~~ /usr/include/ssp/strings.h:45:27: note: expanded from macro 'bzero' __memset_ichk(dst, 0, len)) ^ Interface.xs:491:13: note: forward declaration of 'struct ifreq' struct ifreq ifr; ^ Interface.xs:499:32: error: use of undeclared identifier 'IFNAMSIZ' strncpy(ifr.ifr_name,name,IFNAMSIZ-1); ^ /usr/include/ssp/string.h:104:68: note: expanded from macro 'strncpy' #define strncpy(dst, src, len) __ssp_bos_check3(strncpy, dst, src, len) ^ /usr/include/ssp/string.h:52:43: note: expanded from macro '__ssp_bos_check3' __builtin___ ## fun ## _chk(dst, src, len, __ssp_bos0(dst)) : \ ^ Interface.xs:499:32: error: use of undeclared identifier 'IFNAMSIZ' /usr/include/ssp/string.h:104:68: note: expanded from macro 'strncpy' #define strncpy(dst, src, len) __ssp_bos_check3(strncpy, dst, src, len) ^ /usr/include/ssp/string.h:53:34: note: expanded from macro '__ssp_bos_check3' __ ## fun ## _ichk(dst, src, len)) ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/work/net/p5-IO-Interface/work/IO-Interface-1.06 *** Error code 1 Stop. bmake[1]: stopped in /usr/pkgsrc/net/p5-IO-Interface *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/net/p5-IO-Interface