Back
From: metabase:user:314402c4-2aae-11df-837a-5e0a49663a4f
Subject: UNKNOWN Socket-Mmsg-0.02 v5.20.0 FreeBSD
Date: 2014-09-14T12:14:00Z
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 Vladimir Krasulya,
This is a computer-generated report for Socket-Mmsg-0.02
on perl 5.20.0, created by CPAN-Reporter-1.2011.
Thank you for uploading your work to CPAN. However, attempting to
test your distribution gave an inconclusive result.
This could be because your distribution had an error during the make/build
stage, did not define tests, tests could not be found, because your tests were
interrupted before they finished, or because the results of the tests could not
be parsed. You may wish to consult the CPAN Testers Wiki:
http://wiki.cpantesters.org/wiki/CPANAuthorNotes
Sections of this report:
* Tester comments
* Program output
* Prerequisites
* Environment and other context
------------------------------
TESTER COMMENTS
------------------------------
Additional comments from tester:
none provided
------------------------------
PROGRAM OUTPUT
------------------------------
Output from '/usr/bin/make':
cp lib/Socket/Mmsg.pm blib/lib/Socket/Mmsg.pm
Running Mkbootstrap for Socket::Mmsg ()
chmod 644 Mmsg.bs
/usr/perl5.20.0/bin/perl /usr/perl5.20.0/lib/5.20.0/ExtUtils/xsubpp -typemap /usr/perl5.20.0/lib/5.20.0/ExtUtils/typemap Mmsg.xs > Mmsg.xsc && mv Mmsg.xsc Mmsg.c
cc -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/perl5.20.0/lib/5.20.0/amd64-freebsd/CORE" Mmsg.c
Mmsg.xs:24:3: error: invalid application of 'sizeof' to an incomplete type 'struct mmsghdr'
Newxz( msgs, msg_count, struct mmsghdr);
^
/usr/perl5.20.0/lib/5.20.0/amd64-freebsd/CORE/handy.h:1888: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/perl5.20.0/lib/5.20.0/amd64-freebsd/CORE/handy.h:1799:30: note: expanded from macro 'MEM_WRAP_CHECK_'
#define MEM_WRAP_CHECK_(n,t) MEM_WRAP_CHECK(n,t),
^
/usr/perl5.20.0/lib/5.20.0/amd64-freebsd/CORE/handy.h:1796:18: note: expanded from macro 'MEM_WRAP_CHECK'
(void)(UNLIKELY(sizeof(t) > 1 && ((MEM_SIZE)(n)+0.0) > MEM_SIZE_MAX/sizeof(t)) && (croak_memory_wrap(),0))
^
/usr/perl5.20.0/lib/5.20.0/amd64-freebsd/CORE/perl.h:3119:58: note: expanded from macro 'UNLIKELY'
#define UNLIKELY(cond) EXPECT(cBOOL(cond),FALSE)
^
/usr/perl5.20.0/lib/5.20.0/amd64-freebsd/CORE/handy.h:124:24: note: expanded from macro 'cBOOL'
#define cBOOL(cbool) ((cbool) ? (bool)1 : (bool)0)
^
/usr/perl5.20.0/lib/5.20.0/amd64-freebsd/CORE/perl.h:3114:62: note: expanded from macro 'EXPECT'
# define EXPECT(expr,val) __builtin_expect(expr,val)
^
Mmsg.xs:13:10: note: forward declaration of 'struct mmsghdr'
struct mmsghdr *msgs;
^
Mmsg.xs:24:3: error: invalid application of 'sizeof' to an incomplete type 'struct mmsghdr'
Newxz( msgs, msg_count, struct mmsghdr);
^
/usr/perl5.20.0/lib/5.20.0/amd64-freebsd/CORE/handy.h:1888: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/perl5.20.0/lib/5.20.0/amd64-freebsd/CORE/handy.h:1799:30: note: expanded from macro 'MEM_WRAP_CHECK_'
#define MEM_WRAP_CHECK_(n,t) MEM_WRAP_CHECK(n,t),
^
/usr/perl5.20.0/lib/5.20.0/amd64-freebsd/CORE/handy.h:1796:70: note: expanded from macro 'MEM_WRAP_CHECK'
(void)(UNLIKELY(sizeof(t) > 1 && ((MEM_SIZE)(n)+0.0) > MEM_SIZE_MAX/sizeof(t)) && (croak_memory_wrap(),0))
^
/usr/perl5.20.0/lib/5.20.0/amd64-freebsd/CORE/perl.h:3119:58: note: expanded from macro 'UNLIKELY'
#define UNLIKELY(cond) EXPECT(cBOOL(cond),FALSE)
^
/usr/perl5.20.0/lib/5.20.0/amd64-freebsd/CORE/handy.h:124:24: note: expanded from macro 'cBOOL'
#define cBOOL(cbool) ((cbool) ? (bool)1 : (bool)0)
^
/usr/perl5.20.0/lib/5.20.0/amd64-freebsd/CORE/perl.h:3114:62: note: expanded from macro 'EXPECT'
# define EXPECT(expr,val) __builtin_expect(expr,val)
^
Mmsg.xs:13:10: note: forward declaration of 'struct mmsghdr'
struct mmsghdr *msgs;
^
Mmsg.xs:24:3: error: invalid application of 'sizeof' to an incomplete type 'struct mmsghdr'
Newxz( msgs, msg_count, struct mmsghdr);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/perl5.20.0/lib/5.20.0/amd64-freebsd/CORE/handy.h:1888: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/perl5.20.0/lib/5.20.0/amd64-freebsd/CORE/handy.h:1877:35: note: expanded from macro 'MEM_LOG_ALLOC'
#define MEM_LOG_ALLOC(n,t,a) (a)
^
Mmsg.xs:13:10: note: forward declaration of 'struct mmsghdr'
struct mmsghdr *msgs;
^
Mmsg.xs:35:9: error: subscript of pointer to incomplete type 'struct mmsghdr'
msgs[i].msg_hdr.msg_name = (struct sockaddr_in*)SvPV_nolen(from_link);
~~~~^
Mmsg.xs:13:10: note: forward declaration of 'struct mmsghdr'
struct mmsghdr *msgs;
^
Mmsg.xs:36:9: error: subscript of pointer to incomplete type 'struct mmsghdr'
msgs[i].msg_hdr.msg_namelen = sizeof(struct sockaddr_in);
~~~~^
Mmsg.xs:13:10: note: forward declaration of 'struct mmsghdr'
struct mmsghdr *msgs;
^
Mmsg.xs:42:41: warning: incompatible pointer types passing 'int *' to parameter of type 'STRLEN *' (aka 'unsigned long *') [-Wincompatible-pointer-types]
iovecs[i].iov_base = (char*)SvPV(buf_link,buf_len);
^~~~~~~~~~~~~~~~~~~~~~
/usr/perl5.20.0/lib/5.20.0/amd64-freebsd/CORE/sv.h:1666:30: note: expanded from macro 'SvPV'
#define SvPV(sv, lp) SvPV_flags(sv, lp, SV_GMAGIC)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/perl5.20.0/lib/5.20.0/amd64-freebsd/CORE/sv.h:1672:57: note: expanded from macro 'SvPV_flags'
? ((lp = SvCUR(sv)), SvPVX(sv)) : sv_2pv_flags(sv, &lp, flags))
~~~~~~~~~~~~~~~~~^~~~~~~~~~~
/usr/perl5.20.0/lib/5.20.0/amd64-freebsd/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/perl5.20.0/lib/5.20.0/amd64-freebsd/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)
^
Mmsg.xs:44:9: error: subscript of pointer to incomplete type 'struct mmsghdr'
msgs[i].msg_hdr.msg_iov = &iovecs[i];
~~~~^
Mmsg.xs:13:10: note: forward declaration of 'struct mmsghdr'
struct mmsghdr *msgs;
^
Mmsg.xs:45:9: error: subscript of pointer to incomplete type 'struct mmsghdr'
msgs[i].msg_hdr.msg_iovlen = 1;
~~~~^
Mmsg.xs:13:10: note: forward declaration of 'struct mmsghdr'
struct mmsghdr *msgs;
^
Mmsg.xs:48:12: warning: implicit declaration of function 'sendmmsg' is invalid in C99 [-Wimplicit-function-declaration]
retval = sendmmsg(sockfd, msgs, msg_count, 0);
^
Mmsg.xs:84:3: error: invalid application of 'sizeof' to an incomplete type 'struct mmsghdr'
Newxz( msgs, msg_count, struct mmsghdr); // For mmsghdr struct
^
/usr/perl5.20.0/lib/5.20.0/amd64-freebsd/CORE/handy.h:1888: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/perl5.20.0/lib/5.20.0/amd64-freebsd/CORE/handy.h:1799:30: note: expanded from macro 'MEM_WRAP_CHECK_'
#define MEM_WRAP_CHECK_(n,t) MEM_WRAP_CHECK(n,t),
^
/usr/perl5.20.0/lib/5.20.0/amd64-freebsd/CORE/handy.h:1796:18: note: expanded from macro 'MEM_WRAP_CHECK'
(void)(UNLIKELY(sizeof(t) > 1 && ((MEM_SIZE)(n)+0.0) > MEM_SIZE_MAX/sizeof(t)) && (croak_memory_wrap(),0))
^
/usr/perl5.20.0/lib/5.20.0/amd64-freebsd/CORE/perl.h:3119:58: note: expanded from macro 'UNLIKELY'
#define UNLIKELY(cond) EXPECT(cBOOL(cond),FALSE)
^
/usr/perl5.20.0/lib/5.20.0/amd64-freebsd/CORE/handy.h:124:24: note: expanded from macro 'cBOOL'
#define cBOOL(cbool) ((cbool) ? (bool)1 : (bool)0)
^
/usr/perl5.20.0/lib/5.20.0/amd64-freebsd/CORE/perl.h:3114:62: note: expanded from macro 'EXPECT'
# define EXPECT(expr,val) __builtin_expect(expr,val)
^
Mmsg.xs:71:9: note: forward declaration of 'struct mmsghdr'
struct mmsghdr * msgs;
^
Mmsg.xs:84:3: error: invalid application of 'sizeof' to an incomplete type 'struct mmsghdr'
Newxz( msgs, msg_count, struct mmsghdr); // For mmsghdr struct
^
/usr/perl5.20.0/lib/5.20.0/amd64-freebsd/CORE/handy.h:1888: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/perl5.20.0/lib/5.20.0/amd64-freebsd/CORE/handy.h:1799:30: note: expanded from macro 'MEM_WRAP_CHECK_'
#define MEM_WRAP_CHECK_(n,t) MEM_WRAP_CHECK(n,t),
^
/usr/perl5.20.0/lib/5.20.0/amd64-freebsd/CORE/handy.h:1796:70: note: expanded from macro 'MEM_WRAP_CHECK'
(void)(UNLIKELY(sizeof(t) > 1 && ((MEM_SIZE)(n)+0.0) > MEM_SIZE_MAX/sizeof(t)) && (croak_memory_wrap(),0))
^
/usr/perl5.20.0/lib/5.20.0/amd64-freebsd/CORE/perl.h:3119:58: note: expanded from macro 'UNLIKELY'
#define UNLIKELY(cond) EXPECT(cBOOL(cond),FALSE)
^
/usr/perl5.20.0/lib/5.20.0/amd64-freebsd/CORE/handy.h:124:24: note: expanded from macro 'cBOOL'
#define cBOOL(cbool) ((cbool) ? (bool)1 : (bool)0)
^
/usr/perl5.20.0/lib/5.20.0/amd64-freebsd/CORE/perl.h:3114:62: note: expanded from macro 'EXPECT'
# define EXPECT(expr,val) __builtin_expect(expr,val)
^
Mmsg.xs:71:9: note: forward declaration of 'struct mmsghdr'
struct mmsghdr * msgs;
^
Mmsg.xs:84:3: error: invalid application of 'sizeof' to an incomplete type 'struct mmsghdr'
Newxz( msgs, msg_count, struct mmsghdr); // For mmsghdr struct
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/perl5.20.0/lib/5.20.0/amd64-freebsd/CORE/handy.h:1888: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/perl5.20.0/lib/5.20.0/amd64-freebsd/CORE/handy.h:1877:35: note: expanded from macro 'MEM_LOG_ALLOC'
#define MEM_LOG_ALLOC(n,t,a) (a)
^
Mmsg.xs:71:9: note: forward declaration of 'struct mmsghdr'
struct mmsghdr * msgs;
^
Mmsg.xs:100:8: error: subscript of pointer to incomplete type 'struct mmsghdr'
msgs[i].msg_hdr.msg_iov = &iovecs[i];
~~~~^
Mmsg.xs:71: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_iovlen = 1;
~~~~^
Mmsg.xs:71:9: note: forward declaration of 'struct mmsghdr'
struct mmsghdr * msgs;
^
Mmsg.xs:103:8: error: subscript of pointer to incomplete type 'struct mmsghdr'
msgs[i].msg_hdr.msg_name = &src_addr[i];
~~~~^
Mmsg.xs:71:9: note: forward declaration of 'struct mmsghdr'
struct mmsghdr * msgs;
^
Mmsg.xs:104:8: error: subscript of pointer to incomplete type 'struct mmsghdr'
msgs[i].msg_hdr.msg_namelen = sizeof(src_addr[i]);
~~~~^
Mmsg.xs:71:9: note: forward declaration of 'struct mmsghdr'
struct mmsghdr * msgs;
^
Mmsg.xs:112:13: warning: implicit declaration of function 'recvmmsg' is invalid in C99 [-Wimplicit-function-declaration]
retval = recvmmsg(sockfd, msgs, msg_count, MSG_WAITFORONE, &timeout);
^
Mmsg.xs:112:47: error: use of undeclared identifier 'MSG_WAITFORONE'
retval = recvmmsg(sockfd, msgs, msg_count, MSG_WAITFORONE, &timeout);
^
Mmsg.xs:124:31: 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/perl5.20.0/lib/5.20.0/amd64-freebsd/CORE/embed.h:381:42: note: expanded from macro 'newSVpv'
#define newSVpv(a,b) Perl_newSVpv(aTHX_ a,b)
^
/usr/perl5.20.0/lib/5.20.0/amd64-freebsd/CORE/embed.h:57:44: note: expanded from macro 'av_push'
#define av_push(a,b) Perl_av_push(aTHX_ a,b)
^
Mmsg.xs:71:9: note: forward declaration of 'struct mmsghdr'
struct mmsghdr * msgs;
^
Mmsg.xs:125:39: error: subscript of pointer to incomplete type 'struct mmsghdr'
av_push(pack, newSVpv(bufs[i],msgs[i].msg_len)); // bufer
~~~~^
/usr/perl5.20.0/lib/5.20.0/amd64-freebsd/CORE/embed.h:381:44: note: expanded from macro 'newSVpv'
#define newSVpv(a,b) Perl_newSVpv(aTHX_ a,b)
^
/usr/perl5.20.0/lib/5.20.0/amd64-freebsd/CORE/embed.h:57:44: note: expanded from macro 'av_push'
#define av_push(a,b) Perl_av_push(aTHX_ a,b)
^
Mmsg.xs:71:9: note: forward declaration of 'struct mmsghdr'
struct mmsghdr * msgs;
^
3 warnings and 17 errors generated.
*** Error code 1
Stop.
make: stopped in /home/cpansand/.cpan/build/Socket-Mmsg-VDUAVR
------------------------------
PREREQUISITES
------------------------------
Prerequisite modules loaded:
build_requires:
Module Need Have
------------------- ---- ----
ExtUtils::MakeMaker 0 6.98
------------------------------
ENVIRONMENT AND OTHER CONTEXT
------------------------------
Environment variables:
DBIC_NO_WARN_BAD_PERL = 1
LC_ALL = de_DE.ISO8859-1
PATH = /usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/cpansand/bin/freebsd10.0:/home/cpansand/bin/sh:/home/cpansand/bin:/usr/games:/home/cpansand/devel:/home/eserte/src/srezic-misc/scripts
PERL = [undef]
PERL5LIB =
PERL5OPT =
PERL5_CPANPLUS_IS_RUNNING = 29568
PERL5_CPAN_IS_RUNNING = 29568
PERL5_CPAN_IS_RUNNING_IN_RECURSION = 29397,29568
PERLDOC = -MPod::Perldoc::ToTextOverstrike
PERL_BATCH = yes
PERL_CPAN_REPORTER_CONFIG = /var/tmp/cpansmoker-1023/bLZ8FUD_I__config.ini
PERL_EXTUTILS_AUTOINSTALL = --defaultdeps
PERL_HTML_DISPLAY_CLASS = HTML::Display::Mozilla
SHELL = /usr/local/bin/zsh
TERM = screen
TMPDIR = /var/tmp/cpansmoker-1023
Perl special variables (and OS-specific diagnostics, for MSWin32):
$^X = /usr/perl5.20.0/bin/perl
$UID/$EUID = 1023 / 1023
$GID = 1023 1023
$EGID = 1023 1023
Perl module toolchain versions installed:
Module Have
------------------- --------
CPAN 2.05
CPAN::Meta 2.142060
Cwd 3.47
ExtUtils::CBuilder 0.280219
ExtUtils::Command 1.18
ExtUtils::Install 1.68
ExtUtils::MakeMaker 6.98
ExtUtils::Manifest 1.66
ExtUtils::ParseXS 3.24
File::Spec 3.47
JSON 2.90
JSON::PP 2.27203
Module::Build 0.4210
Module::Signature 0.73
Parse::CPAN::Meta 1.4414
Test::Harness 3.33
Test::More 1.001006
YAML 1.11
YAML::Syck 1.27
version 0.9909
--
Summary of my perl5 (revision 5 version 20 subversion 0) configuration:
Platform:
osname=freebsd, osvers=10.0-release-p1, archname=amd64-freebsd
uname='freebsd cvrsnica-freebsd-10-64bit.herceg.de 10.0-release-p1 freebsd 10.0-release-p1 #0: tue apr 8 06:45:06 utc 2014 root@amd64-builder.daemonology.net:usrobjusrsrcsysgeneric amd64 '
config_args='-ds -e -Dprefix=/usr/perl5.20.0'
hint=recommended, useposix=true, d_sigaction=define
useithreads=undef, usemultiplicity=undef
use64bitint=define, use64bitall=define, uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='cc', 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.3 (tags/RELEASE_33/final 183502)', 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='cc', ldflags ='-Wl,-E -fstack-protector -L/usr/local/lib'
libpth=/usr/lib /usr/local/lib /usr/include/clang/3.3 /usr/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: HAS_TIMES PERLIO_LAYERS PERL_DONT_CREATE_GVSV
PERL_HASH_FUNC_ONE_AT_A_TIME_HARD PERL_MALLOC_WRAP
PERL_NEW_COPY_ON_WRITE PERL_PRESERVE_IVUV
USE_64_BIT_ALL USE_64_BIT_INT USE_LARGE_FILES
USE_LOCALE USE_LOCALE_COLLATE USE_LOCALE_CTYPE
USE_LOCALE_NUMERIC USE_PERLIO USE_PERL_ATOF
Built under freebsd
Compiled at May 27 2014 13:50:08
%ENV:
PERL=""
PERL5LIB=""
PERL5OPT=""
PERL5_CPANPLUS_IS_RUNNING="29568"
PERL5_CPAN_IS_RUNNING="29568"
PERL5_CPAN_IS_RUNNING_IN_RECURSION="29397,29568"
PERLDOC="-MPod::Perldoc::ToTextOverstrike"
PERL_BATCH="yes"
PERL_CPAN_REPORTER_CONFIG="/var/tmp/cpansmoker-1023/bLZ8FUD_I__config.ini"
PERL_EXTUTILS_AUTOINSTALL="--defaultdeps"
PERL_HTML_DISPLAY_CLASS="HTML::Display::Mozilla"
@INC:
/usr/perl5.20.0/lib/site_perl/5.20.0/amd64-freebsd
/usr/perl5.20.0/lib/site_perl/5.20.0
/usr/perl5.20.0/lib/5.20.0/amd64-freebsd
/usr/perl5.20.0/lib/5.20.0
.