Back
From: metabase:user:322078bc-2aae-11df-837a-5e0a49663a4f
Subject: UNKNOWN Socket-Mmsg-0.02 v5.14.4 FreeBSD
Date: 2013-05-17T04:06:28Z
This distribution has been tested as part of the CPAN Testers
project, supporting the Perl programming language. See
http://wiki.cpantesters.org/ for more information or email
questions to cpan-testers-discuss@perl.org
--
Dear HITHIM,
This is a computer-generated error report created automatically by
CPANPLUS, version 0.9136. Testers personal comments may appear
at the end of this report.
Thank you for uploading your work to CPAN. However, it appears that
there were some problems testing your distribution.
TEST RESULTS:
Below is the error stack from stage 'fetch':
cp lib/Socket/Mmsg.pm blib/lib/Socket/Mmsg.pm
clang -c -I. -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -O -DVERSION=\"0.02\" -DXS_VERSION=\"0.02\" -DPIC -fPIC "-I/usr/home/cpan/pit/bare-clang/perl-5.14.4/lib/5.14.4/amd64-freebsd/CORE" Mmsg.c
Mmsg.xs:14:7: warning: incompatible pointer types initializing 'AV *' (aka 'struct av *') with an expression of type 'SV *' (aka 'struct sv *') [-Wincompatible-pointer-types]
AV *msg_array = SvRV(msg_array_ref);
^ ~~~~~~~~~~~~~~~~~~~
Mmsg.xs:24:9: error: invalid application of 'sizeof' to an incomplete type 'struct mmsghdr'
Newxz( msgs, msg_count, struct mmsghdr);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/home/cpan/pit/bare-clang/perl-5.14.4/lib/5.14.4/amd64-freebsd/CORE/handy.h:1133:28: note: expanded from macro 'Newxz'
#define Newxz(v,n,t) (v = (MEM_WRAP_CHECK_(n,t) (t*)MEM_LOG_ALLOC(n,t,safecalloc((n),sizeof(t)))))
^
/usr/home/cpan/pit/bare-clang/perl-5.14.4/lib/5.14.4/amd64-freebsd/CORE/handy.h:1043:30: note: expanded from macro 'MEM_WRAP_CHECK_'
#define MEM_WRAP_CHECK_(n,t) MEM_WRAP_CHECK(n,t),
^
/usr/home/cpan/pit/bare-clang/perl-5.14.4/lib/5.14.4/amd64-freebsd/CORE/handy.h:1040:29: note: expanded from macro 'MEM_WRAP_CHECK'
#define MEM_WRAP_CHECK(n,t) MEM_WRAP_CHECK_1(n,t,PL_memory_wrap)
^
/usr/home/cpan/pit/bare-clang/perl-5.14.4/lib/5.14.4/amd64-freebsd/CORE/handy.h:1042:9: note: expanded from macro 'MEM_WRAP_CHECK_1'
(void)(sizeof(t) > 1 && ((MEM_SIZE)(n)+0.0) > MEM_SIZE_MAX/sizeof(t) && (Perl_croak_nocontext("%s",(a)),0))
^ ~~~
Mmsg.xs:17:10: note: forward declaration of 'struct mmsghdr'
struct mmsghdr *msgs;
^
Mmsg.xs:24:9: error: invalid application of 'sizeof' to an incomplete type 'struct mmsghdr'
Newxz( msgs, msg_count, struct mmsghdr);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/home/cpan/pit/bare-clang/perl-5.14.4/lib/5.14.4/amd64-freebsd/CORE/handy.h:1133:28: note: expanded from macro 'Newxz'
#define Newxz(v,n,t) (v = (MEM_WRAP_CHECK_(n,t) (t*)MEM_LOG_ALLOC(n,t,safecalloc((n),sizeof(t)))))
^
/usr/home/cpan/pit/bare-clang/perl-5.14.4/lib/5.14.4/amd64-freebsd/CORE/handy.h:1043:30: note: expanded from macro 'MEM_WRAP_CHECK_'
#define MEM_WRAP_CHECK_(n,t) MEM_WRAP_CHECK(n,t),
^
/usr/home/cpan/pit/bare-clang/perl-5.14.4/lib/5.14.4/amd64-freebsd/CORE/handy.h:1040:29: note: expanded from macro 'MEM_WRAP_CHECK'
#define MEM_WRAP_CHECK(n,t) MEM_WRAP_CHECK_1(n,t,PL_memory_wrap)
^
/usr/home/cpan/pit/bare-clang/perl-5.14.4/lib/5.14.4/amd64-freebsd/CORE/handy.h:1042:61: note: expanded from macro 'MEM_WRAP_CHECK_1'
(void)(sizeof(t) > 1 && ((MEM_SIZE)(n)+0.0) > MEM_SIZE_MAX/sizeof(t) && (Perl_croak_nocontext("%s",(a)),0))
^ ~~~
Mmsg.xs:17:10: note: forward declaration of 'struct mmsghdr'
struct mmsghdr *msgs;
^
Mmsg.xs:24:9: error: invalid application of 'sizeof' to an incomplete type 'struct mmsghdr'
Newxz( msgs, msg_count, struct mmsghdr);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/home/cpan/pit/bare-clang/perl-5.14.4/lib/5.14.4/amd64-freebsd/CORE/handy.h:1133:86: note: expanded from macro 'Newxz'
#define Newxz(v,n,t) (v = (MEM_WRAP_CHECK_(n,t) (t*)MEM_LOG_ALLOC(n,t,safecalloc((n),sizeof(t)))))
^
/usr/home/cpan/pit/bare-clang/perl-5.14.4/lib/5.14.4/amd64-freebsd/CORE/handy.h:1122:35: note: expanded from macro 'MEM_LOG_ALLOC'
#define MEM_LOG_ALLOC(n,t,a) (a)
^
Mmsg.xs:17:10: note: forward declaration of 'struct mmsghdr'
struct mmsghdr *msgs;
^
Mmsg.xs:30:8: warning: incompatible pointer types assigning to 'AV *' (aka 'struct av *') from 'SV *' (aka 'struct sv *') [-Wincompatible-pointer-types]
msg = SvRV(*av_fetch(msg_array, i, 0));
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Mmsg.xs:34:26: warning: incompatible pointer types initializing 'struct sockaddr_in *' with an expression of type 'char *' [-Wincompatible-pointer-types]
struct sockaddr_in * from_str_link = SvPV_nolen(from_link);
^ ~~~~~~~~~~~~~~~~~~~~~
Mmsg.xs:36:9: error: subscript of pointer to incomplete type 'struct mmsghdr'
msgs[i].msg_hdr.msg_name = from_str_link;
~~~~^
Mmsg.xs:17:10: note: forward declaration of 'struct mmsghdr'
struct mmsghdr *msgs;
^
Mmsg.xs:37:9: error: subscript of pointer to incomplete type 'struct mmsghdr'
msgs[i].msg_hdr.msg_namelen = sizeof(*from_str_link);
~~~~^
Mmsg.xs:17:10: note: forward declaration of 'struct mmsghdr'
struct mmsghdr *msgs;
^
Mmsg.xs:42:20: warning: incompatible pointer types passing 'int *' to parameter of type 'STRLEN *' (aka 'unsigned long *') [-Wincompatible-pointer-types]
buf_str_link = SvPV(buf_link,buf_len);
^~~~~~~~~~~~~~~~~~~~~~
/usr/home/cpan/pit/bare-clang/perl-5.14.4/lib/5.14.4/amd64-freebsd/CORE/sv.h:1550:22: note: expanded from macro 'SvPV'
#define SvPV(sv, lp) SvPV_flags(sv, lp, SV_GMAGIC)
^
/usr/home/cpan/pit/bare-clang/perl-5.14.4/lib/5.14.4/amd64-freebsd/CORE/sv.h:1556:57: note: expanded from macro 'SvPV_flags'
? ((lp = SvCUR(sv)), SvPVX(sv)) : sv_2pv_flags(sv, &lp, flags))
^
/usr/home/cpan/pit/bare-clang/perl-5.14.4/lib/5.14.4/amd64-freebsd/CORE/embed.h:515:55: note: expanded from macro 'sv_2pv_flags'
#define sv_2pv_flags(a,b,c) Perl_sv_2pv_flags(aTHX_ a,b,c)
^
/usr/home/cpan/pit/bare-clang/perl-5.14.4/lib/5.14.4/amd64-freebsd/CORE/proto.h:3565: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);
^
Mmsg.xs:46:9: error: subscript of pointer to incomplete type 'struct mmsghdr'
msgs[i].msg_hdr.msg_iov = &iovecs[i];
~~~~^
Mmsg.xs:17:10: note: forward declaration of 'struct mmsghdr'
struct mmsghdr *msgs;
^
Mmsg.xs:47:9: error: subscript of pointer to incomplete type 'struct mmsghdr'
msgs[i].msg_hdr.msg_iovlen = 1;
~~~~^
Mmsg.xs:17:10: note: forward declaration of 'struct mmsghdr'
struct mmsghdr *msgs;
^
Mmsg.xs:50:12: warning: implicit declaration of function 'sendmmsg' is invalid in C99 [-Wimplicit-function-declaration]
retval = sendmmsg(sockfd, msgs, msg_count, 0);
^
Mmsg.xs:82:3: error: invalid application of 'sizeof' to an incomplete type 'struct mmsghdr'
Newxz( msgs, msg_count, struct mmsghdr); // For mmsghdr struct
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/home/cpan/pit/bare-clang/perl-5.14.4/lib/5.14.4/amd64-freebsd/CORE/handy.h:1133:28: note: expanded from macro 'Newxz'
#define Newxz(v,n,t) (v = (MEM_WRAP_CHECK_(n,t) (t*)MEM_LOG_ALLOC(n,t,safecalloc((n),sizeof(t)))))
^
/usr/home/cpan/pit/bare-clang/perl-5.14.4/lib/5.14.4/amd64-freebsd/CORE/handy.h:1043:30: note: expanded from macro 'MEM_WRAP_CHECK_'
#define MEM_WRAP_CHECK_(n,t) MEM_WRAP_CHECK(n,t),
^
/usr/home/cpan/pit/bare-clang/perl-5.14.4/lib/5.14.4/amd64-freebsd/CORE/handy.h:1040:29: note: expanded from macro 'MEM_WRAP_CHECK'
#define MEM_WRAP_CHECK(n,t) MEM_WRAP_CHECK_1(n,t,PL_memory_wrap)
^
/usr/home/cpan/pit/bare-clang/perl-5.14.4/lib/5.14.4/amd64-freebsd/CORE/handy.h:1042:9: note: expanded from macro 'MEM_WRAP_CHECK_1'
(void)(sizeof(t) > 1 && ((MEM_SIZE)(n)+0.0) > MEM_SIZE_MAX/sizeof(t) && (Perl_croak_nocontext("%s",(a)),0))
^ ~~~
Mmsg.xs:73:9: note: forward declaration of 'struct mmsghdr'
struct mmsghdr * msgs;
^
Mmsg.xs:82:3: error: invalid application of 'sizeof' to an incomplete type 'struct mmsghdr'
Newxz( msgs, msg_count, struct mmsghdr); // For mmsghdr struct
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/home/cpan/pit/bare-clang/perl-5.14.4/lib/5.14.4/amd64-freebsd/CORE/handy.h:1133:28: note: expanded from macro 'Newxz'
#define Newxz(v,n,t) (v = (MEM_WRAP_CHECK_(n,t) (t*)MEM_LOG_ALLOC(n,t,safecalloc((n),sizeof(t)))))
^
/usr/home/cpan/pit/bare-clang/perl-5.14.4/lib/5.14.4/amd64-freebsd/CORE/handy.h:1043:30: note: expanded from macro 'MEM_WRAP_CHECK_'
#define MEM_WRAP_CHECK_(n,t) MEM_WRAP_CHECK(n,t),
^
/usr/home/cpan/pit/bare-clang/perl-5.14.4/lib/5.14.4/amd64-freebsd/CORE/handy.h:1040:29: note: expanded from macro 'MEM_WRAP_CHECK'
#define MEM_WRAP_CHECK(n,t) MEM_WRAP_CHECK_1(n,t,PL_memory_wrap)
^
/usr/home/cpan/pit/bare-clang/perl-5.14.4/lib/5.14.4/amd64-freebsd/CORE/handy.h:1042:61: note: expanded from macro 'MEM_WRAP_CHECK_1'
(void)(sizeof(t) > 1 && ((MEM_SIZE)(n)+0.0) > MEM_SIZE_MAX/sizeof(t) && (Perl_croak_nocontext("%s",(a)),0))
^ ~~~
Mmsg.xs:73:9: note: forward declaration of 'struct mmsghdr'
struct mmsghdr * msgs;
^
Mmsg.xs:82:3: error: invalid application of 'sizeof' to an incomplete type 'struct mmsghdr'
Newxz( msgs, msg_count, struct mmsghdr); // For mmsghdr struct
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/home/cpan/pit/bare-clang/perl-5.14.4/lib/5.14.4/amd64-freebsd/CORE/handy.h:1133:86: note: expanded from macro 'Newxz'
#define Newxz(v,n,t) (v = (MEM_WRAP_CHECK_(n,t) (t*)MEM_LOG_ALLOC(n,t,safecalloc((n),sizeof(t)))))
^
/usr/home/cpan/pit/bare-clang/perl-5.14.4/lib/5.14.4/amd64-freebsd/CORE/handy.h:1122:35: note: expanded from macro 'MEM_LOG_ALLOC'
#define MEM_LOG_ALLOC(n,t,a) (a)
^
Mmsg.xs:73:9: note: forward declaration of 'struct mmsghdr'
struct mmsghdr * msgs;
^
Mmsg.xs:98:8: error: subscript of pointer to incomplete type 'struct mmsghdr'
msgs[i].msg_hdr.msg_iov = &iovecs[i];
~~~~^
Mmsg.xs:73:9: note: forward declaration of 'struct mmsghdr'
struct mmsghdr * msgs;
^
Mmsg.xs:99:8: error: subscript of pointer to incomplete type 'struct mmsghdr'
msgs[i].msg_hdr.msg_iovlen = 1;
~~~~^
Mmsg.xs:73:9: note: forward declaration of 'struct mmsghdr'
struct mmsghdr * msgs;
^
Mmsg.xs:101:8: error: subscript of pointer to incomplete type 'struct mmsghdr'
msgs[i].msg_hdr.msg_name = &src_addr[i];
~~~~^
Mmsg.xs:73:9: note: forward declaration of 'struct mmsghdr'
struct mmsghdr * msgs;
^
Mmsg.xs:102:8: error: subscript of pointer to incomplete type 'struct mmsghdr'
msgs[i].msg_hdr.msg_namelen = sizeof(src_addr[i]);
~~~~^
Mmsg.xs:73:9: note: forward declaration of 'struct mmsghdr'
struct mmsghdr * msgs;
^
Mmsg.xs:111:12: warning: implicit declaration of function 'recvmmsg' is invalid in C99 [-Wimplicit-function-declaration]
retval = recvmmsg(sockfd, msgs, msg_count, MSG_WAITFORONE, &timeout);
^
Mmsg.xs:111:46: error: use of undeclared identifier 'MSG_WAITFORONE'
retval = recvmmsg(sockfd, msgs, msg_count, MSG_WAITFORONE, &timeout);
^
Mmsg.xs:124:41: error: subscript of pointer to incomplete type 'struct mmsghdr'
av_push(pack, newSVpv(msgs[i].msg_hdr.msg_name, msgs[i].msg_hdr.msg_namelen)); // sockaddr_in
~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/home/cpan/pit/bare-clang/perl-5.14.4/lib/5.14.4/amd64-freebsd/CORE/embed.h:349:42: note: expanded from macro 'newSVpv'
#define newSVpv(a,b) Perl_newSVpv(aTHX_ a,b)
^
/usr/home/cpan/pit/bare-clang/perl-5.14.4/lib/5.14.4/amd64-freebsd/CORE/embed.h:46:44: note: expanded from macro 'av_push'
#define av_push(a,b) Perl_av_push(aTHX_ a,b)
^
Mmsg.xs:73:9: note: forward declaration of 'struct mmsghdr'
struct mmsghdr * msgs;
^
Mmsg.xs:125:49: error: subscript of pointer to incomplete type 'struct mmsghdr'
av_push(pack, newSVpv(bufs[i],msgs[i].msg_len)); // bufer
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
/usr/home/cpan/pit/bare-clang/perl-5.14.4/lib/5.14.4/amd64-freebsd/CORE/embed.h:349:44: note: expanded from macro 'newSVpv'
#define newSVpv(a,b) Perl_newSVpv(aTHX_ a,b)
^
/usr/home/cpan/pit/bare-clang/perl-5.14.4/lib/5.14.4/amd64-freebsd/CORE/embed.h:46:44: note: expanded from macro 'av_push'
#define av_push(a,b) Perl_av_push(aTHX_ a,b)
^
Mmsg.xs:73:9: note: forward declaration of 'struct mmsghdr'
struct mmsghdr * msgs;
^
6 warnings and 17 errors generated.
*** [Mmsg.o] Error code 1
Stop in /usr/home/cpan/pit/bare-clang/conf/perl-5.14.4/.cpanplus/5.14.4/build/Socket-Mmsg.
PREREQUISITES:
Here is a list of prerequisites you specified and versions we
managed to load:
Module Name Have Want
ExtUtils::MakeMaker 6.66 0
Perl module toolchain versions installed:
Module Name Have
CPANPLUS 0.9136
CPANPLUS::Dist::Build 0.70
Cwd 3.40
ExtUtils::CBuilder 0.280205
ExtUtils::Command 1.17
ExtUtils::Install 1.56
ExtUtils::MakeMaker 6.66
ExtUtils::Manifest 1.61
ExtUtils::ParseXS 3.18
File::Spec 3.40
Module::Build 0.4005
Pod::Parser 1.37
Pod::Simple 3.16
Test::Harness 3.26
Test::More 0.98
version 0.9902
******************************** NOTE ********************************
The comments above are created mechanically, possibly without manual
checking by the sender. As there are many people performing automatic
tests on each upload to CPAN, it is likely that you will receive
identical messages about the same problem.
If you believe that the message is mistaken, please reply to the first
one with correction and/or additional informations, and do not take
it personally. We appreciate your patience. :)
**********************************************************************
Additional comments:
This report was machine-generated by CPANPLUS::Dist::YACSmoke 0.86.
Powered by minismokebox version 0.56
------------------------------
ENVIRONMENT AND OTHER CONTEXT
------------------------------
Environment variables:
AUTOMATED_TESTING = 1
PATH = /sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/home/cpan/bin
PERL5_CPANPLUS_IS_RUNNING = 15087
PERL5_CPANPLUS_IS_VERSION = 0.9136
PERL5_MINISMOKEBOX = 0.56
PERL5_YACSMOKE_BASE = /usr/home/cpan/pit/bare-clang/conf/perl-5.14.4
PERL_EXTUTILS_AUTOINSTALL = --defaultdeps
PERL_MM_USE_DEFAULT = 1
SHELL = /usr/local/bin/bash
TERM = screen
Perl special variables (and OS-specific diagnostics, for MSWin32):
Perl: $^X = /usr/home/cpan/pit/bare-clang/perl-5.14.4/bin/perl
UID: $< = 1002
EUID: $> = 1002
GID: $( = 1002 1002
EGID: $) = 1002 1002
-------------------------------
--
Summary of my perl5 (revision 5 version 14 subversion 4) configuration:
Platform:
osname=freebsd, osvers=9.1-release, archname=amd64-freebsd
uname='freebsd fremen 9.1-release freebsd 9.1-release #0 r243825: tue dec 4 09:23:10 utc 2012 root@farrell.cse.buffalo.edu:usrobjusrsrcsysgeneric amd64 '
config_args='-des -Dprefix=/usr/home/cpan/pit/bare-clang/perl-5.14.4 -Dcc=clang'
hint=recommended, useposix=true, d_sigaction=define
useithreads=undef, usemultiplicity=undef
useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef
use64bitint=define, use64bitall=define, uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='clang', ccflags ='-DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include',
optimize='-O',
cppflags='-DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include'
ccversion='', gccversion='4.2.1 Compatible FreeBSD Clang 3.1 ((branches/release_31 156863))', gccosandvers=''
intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=12345678
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
ivtype='long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
alignbytes=8, prototype=define
Linker and Libraries:
ld='clang', ldflags ='-Wl,-E -fstack-protector -L/usr/local/lib'
libpth=/usr/lib /usr/local/lib
libs=-lgdbm -lm -lcrypt -lutil -lc
perllibs=-lm -lcrypt -lutil -lc
libc=, so=so, useshrplib=false, libperl=libperl.a
gnulibc_version=''
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' '
cccdlflags='-DPIC -fPIC', lddlflags='-shared -L/usr/local/lib -fstack-protector'
Characteristics of this binary (from libperl):
Compile-time options: PERL_DONT_CREATE_GVSV PERL_MALLOC_WRAP
PERL_PRESERVE_IVUV USE_64_BIT_ALL USE_64_BIT_INT
USE_LARGE_FILES USE_PERLIO USE_PERL_ATOF
Built under freebsd
Compiled at Mar 11 2013 10:37:10
%ENV:
PERL5_CPANPLUS_IS_RUNNING="15087"
PERL5_CPANPLUS_IS_VERSION="0.9136"
PERL5_MINISMOKEBOX="0.56"
PERL5_YACSMOKE_BASE="/usr/home/cpan/pit/bare-clang/conf/perl-5.14.4"
PERL_EXTUTILS_AUTOINSTALL="--defaultdeps"
PERL_MM_USE_DEFAULT="1"
@INC:
/usr/home/cpan/pit/bare-clang/perl-5.14.4/lib/site_perl/5.14.4/amd64-freebsd
/usr/home/cpan/pit/bare-clang/perl-5.14.4/lib/site_perl/5.14.4
/usr/home/cpan/pit/bare-clang/perl-5.14.4/lib/5.14.4/amd64-freebsd
/usr/home/cpan/pit/bare-clang/perl-5.14.4/lib/5.14.4
.