=> Bootstrap dependency digest>=20010302: found digest-20121220 ===> Building for p5-IO-Interface-1.06nb2 cp Interface.pm blib/lib/IO/Interface.pm AutoSplitting blib/lib/IO/Interface.pm (blib/lib/auto/IO/Interface) cp Interface/Simple.pm blib/lib/IO/Interface/Simple.pm /usr/pkg/bin/perl /usr/pkg/lib/perl5/5.18.0/ExtUtils/xsubpp -typemap /usr/pkg/lib/perl5/5.18.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 -O2 -march=i586 -I/usr/pkg/include -I/usr/pkg/include -DVERSION=\"1.06\" -DXS_VERSION=\"1.06\" -DPIC -fPIC "-I/usr/pkg/lib/perl5/5.18.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: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: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:506:22: error: invalid application of 'sizeof' to an incomplete type 'struct ifreq' operation = SIOCSIFNETMASK; ^~~~~~~~~~~~~~ /usr/include/sys/sockio.h:66:25: note: expanded from macro 'SIOCSIFNETMASK' #define SIOCSIFNETMASK _IOW('i', 22, struct ifreq) /* set net addr mask */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /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:491:13: note: forward declaration of 'struct ifreq' struct ifreq ifr; ^ Interface.xs:511:16: error: invalid application of 'sizeof' to an incomplete type 'struct ifreq' operation = SIOCGIFNETMASK; ^~~~~~~~~~~~~~ /usr/include/sys/sockio.h:65:24: note: expanded from macro 'SIOCGIFNETMASK' #define SIOCGIFNETMASK _IOWR('i', 37, struct ifreq) /* get net addr mask */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /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:491:13: note: forward declaration of 'struct ifreq' struct ifreq ifr; ^ Interface.xs:532:21: error: variable has incomplete type 'struct ifreq' struct ifreq ifr; ^ Interface.xs:532:13: note: forward declaration of 'struct ifreq' struct ifreq ifr; ^ Interface.xs:547:20: error: invalid application of 'sizeof' to an incomplete type 'struct ifreq' operation = SIOCSIFDSTADDR; ^~~~~~~~~~~~~~ /usr/include/sys/sockio.h:54:25: note: expanded from macro 'SIOCSIFDSTADDR' #define SIOCSIFDSTADDR _IOW('i', 14, struct ifreq) /* set p-p 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:532:13: note: forward declaration of 'struct ifreq' struct ifreq ifr; ^ Interface.xs:552:20: error: invalid application of 'sizeof' to an incomplete type 'struct ifreq' operation = SIOCGIFDSTADDR; ^~~~~~~~~~~~~~ /usr/include/sys/sockio.h:55:24: note: expanded from macro 'SIOCGIFDSTADDR' #define SIOCGIFDSTADDR _IOWR('i', 34, struct ifreq) /* get p-p 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:532:13: note: forward declaration of 'struct ifreq' struct ifreq ifr; ^ Interface.xs:570:21: error: variable has incomplete type 'struct ifreq' struct ifreq ifr; ^ Interface.xs:570:13: note: forward declaration of 'struct ifreq' struct ifreq ifr; ^ Interface.xs:647:21: error: variable has incomplete type 'struct ifreq' struct ifreq ifr; ^ Interface.xs:647:13: note: forward declaration of 'struct ifreq' struct ifreq ifr; ^ Interface.xs:658:20: error: invalid application of 'sizeof' to an incomplete type 'struct ifreq' operation = SIOCSIFFLAGS; ^~~~~~~~~~~~ /usr/include/sys/sockio.h:57:23: note: expanded from macro 'SIOCSIFFLAGS' #define SIOCSIFFLAGS _IOW('i', 16, struct ifreq) /* set ifnet flags */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /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:647:13: note: forward declaration of 'struct ifreq' struct ifreq ifr; ^ Interface.xs:663:20: error: invalid application of 'sizeof' to an incomplete type 'struct ifreq' operation = SIOCGIFFLAGS; ^~~~~~~~~~~~ /usr/include/sys/sockio.h:58:22: note: expanded from macro 'SIOCGIFFLAGS' #define SIOCGIFFLAGS _IOWR('i', 17, struct ifreq) /* get ifnet flags */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /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:647:13: note: forward declaration of 'struct ifreq' struct ifreq ifr; ^ Interface.xs:679:21: error: variable has incomplete type 'struct ifreq' struct ifreq ifr; ^ Interface.xs:679:13: note: forward declaration of 'struct ifreq' struct ifreq ifr; ^ Interface.xs:690:20: error: invalid application of 'sizeof' to an incomplete type 'struct ifreq' operation = SIOCSIFMTU; ^~~~~~~~~~ /usr/include/sys/sockio.h:102:21: note: expanded from macro 'SIOCSIFMTU' #define SIOCSIFMTU _IOW('i', 127, struct ifreq) /* set ifnet mtu */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /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:679:13: note: forward declaration of 'struct ifreq' struct ifreq ifr; ^ Interface.xs:695:20: error: invalid application of 'sizeof' to an incomplete type 'struct ifreq' operation = SIOCGIFMTU; ^~~~~~~~~~ /usr/include/sys/sockio.h:103:20: note: expanded from macro 'SIOCGIFMTU' #define SIOCGIFMTU _IOWR('i', 126, struct ifreq) /* get ifnet mtu */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /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:679:13: note: forward declaration of 'struct ifreq' struct ifreq ifr; ^ 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: stopped in /usr/pkgsrc/net/p5-IO-Interface *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/net/p5-IO-Interface