Net-Pcap v0.21 Perl 5 v5.28.1 i86pc-solaris-thread-multi-64

Status
Unknown
From
Chris Williams (BINGOS)
Dist
Net-Pcap v0.21
Platform
Perl 5 v5.28.1 i86pc-solaris-thread-multi-64
Date
2023-09-21 18:32:29
ID
387cc1c0-58ad-11ee-98b0-b3c3213a625c
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 Max Maischein,

This is a computer-generated error report created automatically by
CPANPLUS, version 0.9914. 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 Pcap.pm blib/lib/Net/Pcap.pm
Running Mkbootstrap for Pcap ()
chmod 644 "Pcap.bs"
"/home/cpan/pit/thr/perl-5.28.1/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- Pcap.bs blib/arch/auto/Net/Pcap/Pcap.bs 644
"/home/cpan/pit/thr/perl-5.28.1/bin/perl" "/home/cpan/pit/thr/perl-5.28.1/lib/site_perl/5.28.1/ExtUtils/xsubpp"  -typemap '/home/cpan/pit/thr/perl-5.28.1/lib/5.28.1/ExtUtils/typemap' -typemap '/home/cpan/pit/thr/conf/perl-5.28.1/.cpanplus/5.28.1/build/bbHBTDtsyW/Net-Pcap-0.21/typemap'  Pcap.xs > Pcap.xsc
mv Pcap.xsc Pcap.c
gcc -c    -D_REENTRANT -m64 -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DPERL_USE_SAFE_PUTENV -Wall -Wwrite-strings -O    -DVERSION=\"0.21\"  -DXS_VERSION=\"0.21\" -fPIC "-I/home/cpan/pit/thr/perl-5.28.1/lib/5.28.1/i86pc-solaris-thread-multi-64/CORE"  -DHAVE_BLANK -DHAVE_PCAP_LIB_VERSION -DHAVE_PCAP_SETSAMPLING -DPERL_PCAP_VERSION=1010003 Pcap.c
In file included from Pcap.xs:43:
stubs.inc:85:2: warning: #warning "the function pcap_findalldevs() is not available, but will be emulated" [-Wcpp]
   85 | #warning "the function pcap_findalldevs() is not available, but will be emulated"
      |  ^~~~~~~
stubs.inc:91:8: error: redefinition of 'struct pcap_if'
   91 | struct pcap_if {
      |        ^~~~~~~
In file included from /usr/include/pcap.h:43,
                 from Pcap.xs:32:
/usr/include/pcap/pcap.h:301:8: note: originally defined here
  301 | struct pcap_if {
      |        ^~~~~~~
stubs.inc:113:2: warning: #warning "the function pcap_breakloop() is not available" [-Wcpp]
  113 | #warning "the function pcap_breakloop() is not available"
      |  ^~~~~~~
stubs.inc:127:2: warning: #warning "the function pcap_setnonblock() is not available" [-Wcpp]
  127 | #warning "the function pcap_setnonblock() is not available"
      |  ^~~~~~~
stubs.inc:142:2: warning: #warning "the function pcap_getnonblock() is not available" [-Wcpp]
  142 | #warning "the function pcap_getnonblock() is not available"
      |  ^~~~~~~
stubs.inc:157:2: warning: #warning "the function pcap_dump_file() is not available" [-Wcpp]
  157 | #warning "the function pcap_dump_file() is not available"
      |  ^~~~~~~
stubs.inc:172:2: warning: #warning "the function pcap_dump_flush() is not available" [-Wcpp]
  172 | #warning "the function pcap_dump_flush() is not available"
      |  ^~~~~~~
stubs.inc:187:2: warning: #warning "the function pcap_list_datalinks() is not available" [-Wcpp]
  187 | #warning "the function pcap_list_datalinks() is not available"
      |  ^~~~~~~
stubs.inc:202:2: warning: #warning "the function pcap_set_datalink() is not available" [-Wcpp]
  202 | #warning "the function pcap_set_datalink() is not available"
      |  ^~~~~~~
stubs.inc:217:2: warning: #warning "the function pcap_datalink_name_to_val() is not available" [-Wcpp]
  217 | #warning "the function pcap_datalink_name_to_val() is not available"
      |  ^~~~~~~
stubs.inc:232:2: warning: #warning "the function pcap_datalink_val_to_name() is not available" [-Wcpp]
  232 | #warning "the function pcap_datalink_val_to_name() is not available"
      |  ^~~~~~~
stubs.inc:247:2: warning: #warning "the function pcap_datalink_val_to_description() is not available" [-Wcpp]
  247 | #warning "the function pcap_datalink_val_to_description() is not available"
      |  ^~~~~~~
stubs.inc:262:2: warning: #warning "the function pcap_compile_nopcap() is not available" [-Wcpp]
  262 | #warning "the function pcap_compile_nopcap() is not available"
      |  ^~~~~~~
stubs.inc:267:5: error: conflicting types for 'pcap_compile_nopcap'; have 'int(int,  int,  struct bpf_program *, char *, int,  bpf_u_int32)' {aka 'int(int,  int,  struct bpf_program *, char *, int,  unsigned int)'}
  267 | int pcap_compile_nopcap(int snaplen, int linktype, struct bpf_program *fp, char *str, int optimize, bpf_u_int32 netmask);
      |     ^~~~~~~~~~~~~~~~~~~
/usr/include/pcap/pcap.h:618:17: note: previous declaration of 'pcap_compile_nopcap' with type 'int(int,  int,  struct bpf_program *, const char *, int,  bpf_u_int32)' {aka 'int(int,  int,  struct bpf_program *, const char *, int,  unsigned int)'}
  618 | PCAP_API int    pcap_compile_nopcap(int, int, struct bpf_program *,
      |                 ^~~~~~~~~~~~~~~~~~~
stubs.inc:268:5: error: conflicting types for 'pcap_compile_nopcap'; have 'int(int,  int,  struct bpf_program *, char *, int,  bpf_u_int32)' {aka 'int(int,  int,  struct bpf_program *, char *, int,  unsigned int)'}
  268 | int pcap_compile_nopcap(int snaplen, int linktype, struct bpf_program *fp, char *str, int optimize, bpf_u_int32 netmask) {
      |     ^~~~~~~~~~~~~~~~~~~
/usr/include/pcap/pcap.h:618:17: note: previous declaration of 'pcap_compile_nopcap' with type 'int(int,  int,  struct bpf_program *, const char *, int,  bpf_u_int32)' {aka 'int(int,  int,  struct bpf_program *, const char *, int,  unsigned int)'}
  618 | PCAP_API int    pcap_compile_nopcap(int, int, struct bpf_program *,
      |                 ^~~~~~~~~~~~~~~~~~~
stubs.inc:277:2: warning: #warning "the function pcap_get_selectable_fd() is not available" [-Wcpp]
  277 | #warning "the function pcap_get_selectable_fd() is not available"
      |  ^~~~~~~
stubs.inc:292:2: warning: #warning "the function pcap_next_ex() is not available" [-Wcpp]
  292 | #warning "the function pcap_next_ex() is not available"
      |  ^~~~~~~
stubs.inc:307:2: warning: #warning "the function pcap_sendpacket() is not available" [-Wcpp]
  307 | #warning "the function pcap_sendpacket() is not available"
      |  ^~~~~~~
stubs.inc:322:2: warning: #warning "the function pcap_createsrcstr() is not available" [-Wcpp]
  322 | #warning "the function pcap_createsrcstr() is not available"
      |  ^~~~~~~
stubs.inc:337:2: warning: #warning "the function pcap_parsesrcstr() is not available" [-Wcpp]
  337 | #warning "the function pcap_parsesrcstr() is not available"
      |  ^~~~~~~
stubs.inc:352:2: warning: #warning "the function pcap_open() is not available" [-Wcpp]
  352 | #warning "the function pcap_open() is not available"
      |  ^~~~~~~
stubs.inc:376:2: warning: #warning "the function pcap_setbuff() is not available" [-Wcpp]
  376 | #warning "the function pcap_setbuff() is not available"
      |  ^~~~~~~
stubs.inc:391:2: warning: #warning "the function pcap_setuserbuffer() is not available" [-Wcpp]
  391 | #warning "the function pcap_setuserbuffer() is not available"
      |  ^~~~~~~
stubs.inc:406:2: warning: #warning "the function pcap_setmode() is not available" [-Wcpp]
  406 | #warning "the function pcap_setmode() is not available"
      |  ^~~~~~~
stubs.inc:421:2: warning: #warning "the function pcap_setmintocopy() is not available" [-Wcpp]
  421 | #warning "the function pcap_setmintocopy() is not available"
      |  ^~~~~~~
stubs.inc:436:2: warning: #warning "the function pcap_sendqueue_alloc() is not available" [-Wcpp]
  436 | #warning "the function pcap_sendqueue_alloc() is not available"
      |  ^~~~~~~
stubs.inc:458:2: warning: #warning "the function pcap_sendqueue_destroy() is not available" [-Wcpp]
  458 | #warning "the function pcap_sendqueue_destroy() is not available"
      |  ^~~~~~~
stubs.inc:472:2: warning: #warning "the function pcap_sendqueue_queue() is not available" [-Wcpp]
  472 | #warning "the function pcap_sendqueue_queue() is not available"
      |  ^~~~~~~
stubs.inc:487:2: warning: #warning "the function pcap_sendqueue_transmit() is not available" [-Wcpp]
  487 | #warning "the function pcap_sendqueue_transmit() is not available"
      |  ^~~~~~~
stubs.inc:502:2: warning: #warning "the function pcap_event() is not available" [-Wcpp]
  502 | #warning "the function pcap_event() is not available"
      |  ^~~~~~~
Pcap.xs: In function 'XS_Net__Pcap_lookupdev':
Pcap.xs:108:25: warning: 'pcap_lookupdev' is deprecated: use 'pcap_findalldevs' and use the first device [-Wdeprecated-declarations]
  108 |                         RETVAL = pcap_lookupdev(errbuf);
      |                         ^~~~~~
/usr/include/pcap/pcap.h:395:18: note: declared here
  395 | PCAP_API char   *pcap_lookupdev(char *);
      |                  ^~~~~~~~~~~~~~
Pcap.xs: In function 'XS_Net__Pcap_findalldevs_xs':
Pcap.xs:222:21: warning: 'pcap_lookupdev' is deprecated: use 'pcap_findalldevs' and use the first device [-Wdeprecated-declarations]
  222 |                     char *dev = pcap_lookupdev(errbuf);
      |                     ^~~~
/usr/include/pcap/pcap.h:395:18: note: declared here
  395 | PCAP_API char   *pcap_lookupdev(char *);
      |                  ^~~~~~~~~~~~~~
Pcap.c: In function 'XS_Net__Pcap_strerror':
Pcap.c:1729:16: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
 1729 |         RETVAL = pcap_strerror(error);
      |                ^
Pcap.xs: In function 'XS_Net__Pcap_getevent':
Pcap.xs:1038:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
 1038 |         h = (unsigned int) pcap_getevent(p);
      |             ^
*** Error code 1
make: Fatal error: Command failed for target `Pcap.o'


PREREQUISITES:

Here is a list of prerequisites you specified and versions we
managed to load:

	  Module Name                        Have     Want
	  Carp                               1.50        0
	  ExtUtils::MakeMaker                7.70        0
	  Socket                            2.027        0
	  Sys::Hostname                      1.22        0
	  Test::More                     1.302195     0.45
	  XSLoader                           0.30        0

Perl module toolchain versions installed:
	Module Name                        Have
	CPANPLUS                         0.9914
	CPANPLUS::Dist::Build              0.90
	Cwd                                3.75
	ExtUtils::CBuilder             0.280236
	ExtUtils::Command                  7.70
	ExtUtils::Install                  2.22
	ExtUtils::MakeMaker                7.70
	ExtUtils::Manifest                 1.75
	ExtUtils::ParseXS                  3.44
	File::Spec                         3.75
	Module::Build                    0.4234
	Pod::Parser                        1.63
	Pod::Simple                        3.35
	Test2                          1.302195
	Test::Harness                      3.44
	Test::More                     1.302195
	version                          0.9929

******************************** 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 1.08.
Powered by minismokebox version 0.68

CPANPLUS is prefering Build.PL

------------------------------
ENVIRONMENT AND OTHER CONTEXT
------------------------------

Environment variables:

    AUTOMATED_TESTING = 1
    LANG = en_GB.UTF-8
    NONINTERACTIVE_TESTING = 1
    PATH = /usr/bin:/usr/sbin:/sbin:/opt/ooce/bin:/usr/gnu/bin
    PERL5LIB = /home/cpan/pit/jail/Iq4Z_IY22U/lib/perl5
    PERL5_CPANPLUS_IS_RUNNING = 2516
    PERL5_CPANPLUS_IS_VERSION = 0.9914
    PERL5_MINISMOKEBOX = 0.68
    PERL5_YACSMOKE_BASE = /home/cpan/pit/thr/conf/perl-5.28.1
    PERL_EXTUTILS_AUTOINSTALL = --defaultdeps
    PERL_LOCAL_LIB_ROOT = /home/cpan/pit/jail/Iq4Z_IY22U
    PERL_MB_OPT = --install_base "/home/cpan/pit/jail/Iq4Z_IY22U"
    PERL_MM_OPT = INSTALL_BASE=/home/cpan/pit/jail/Iq4Z_IY22U
    PERL_MM_USE_DEFAULT = 1
    PERL_USE_UNSAFE_INC = 1
    SHELL = /bin/bash
    TERM = screen.xterm-256color

Perl special variables (and OS-specific diagnostics, for MSWin32):

    Perl: $^X = /home/cpan/pit/thr/perl-5.28.1/bin/perl
    UID:  $<  = 101
    EUID: $>  = 101
    GID:  $(  = 101 101
    EGID: $)  = 101 101


-------------------------------


--

Summary of my perl5 (revision 5 version 28 subversion 1) configuration:
   
  Platform:
    osname=solaris
    osvers=2.11
    archname=i86pc-solaris-thread-multi-64
    uname='sunos ouzel 5.11 omnios-r151034-0d278a0cc5 i86pc i386 i86pc '
    config_args='-des -Dprefix=/home/cpan/pit/thr/perl-5.28.1 -Dusethreads -Duse64bitall -Dcc=gcc'
    hint=recommended
    useposix=true
    d_sigaction=define
    useithreads=define
    usemultiplicity=define
    use64bitint=define
    use64bitall=define
    uselongdouble=undef
    usemymalloc=n
    default_inc_excludes_dot=define
    bincompat5005=undef
  Compiler:
    cc='gcc'
    ccflags ='-D_REENTRANT -m64 -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DPERL_USE_SAFE_PUTENV'
    optimize='-O'
    cppflags='-D_REENTRANT -m64 -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong'
    ccversion=''
    gccversion='9.3.0'
    gccosandvers=''
    intsize=4
    longsize=8
    ptrsize=8
    doublesize=8
    byteorder=12345678
    doublekind=3
    d_longlong=define
    longlongsize=8
    d_longdbl=define
    longdblsize=16
    longdblkind=3
    ivtype='long'
    ivsize=8
    nvtype='double'
    nvsize=8
    Off_t='off_t'
    lseeksize=8
    alignbytes=8
    prototype=define
  Linker and Libraries:
    ld='gcc'
    ldflags =' -m64 -fstack-protector-strong -L/usr/gnu/lib '
    libpth=/opt/gcc-9/lib /opt/gcc-9/lib/gcc/x86_64-pc-solaris2.11/9.3.0/include-fixed /usr/lib /usr/gnu/lib /usr/ccs/lib
    libs=-lpthread -lsocket -lnsl -ldl -lm -lc
    perllibs=-lpthread -lsocket -lnsl -ldl -lm -lc
    libc=/lib/libc.so
    so=so
    useshrplib=true
    libperl=libperl.so
    gnulibc_version=''
  Dynamic Linking:
    dlsrc=dl_dlopen.xs
    dlext=so
    d_dlsymun=undef
    ccdlflags='  -R /home/cpan/pit/thr/perl-5.28.1/lib/5.28.1/i86pc-solaris-thread-multi-64/CORE'
    cccdlflags='-fPIC'
    lddlflags=' -shared -m64 -L/usr/gnu/lib -fstack-protector-strong'


Characteristics of this binary (from libperl): 
  Compile-time options:
    HAS_TIMES
    MULTIPLICITY
    PERLIO_LAYERS
    PERL_COPY_ON_WRITE
    PERL_DONT_CREATE_GVSV
    PERL_IMPLICIT_CONTEXT
    PERL_MALLOC_WRAP
    PERL_OP_PARENT
    PERL_PRESERVE_IVUV
    PERL_USE_SAFE_PUTENV
    USE_64_BIT_ALL
    USE_64_BIT_INT
    USE_ITHREADS
    USE_LARGE_FILES
    USE_LOCALE
    USE_LOCALE_COLLATE
    USE_LOCALE_CTYPE
    USE_LOCALE_NUMERIC
    USE_LOCALE_TIME
    USE_PERLIO
    USE_PERL_ATOF
    USE_REENTRANT_API
  Locally applied patches:
    Devel::PatchPerl 2.00
  Built under solaris
  Compiled at Aug 20 2020 12:31:33
  %ENV:
    PERL5LIB="/home/cpan/pit/jail/Iq4Z_IY22U/lib/perl5"
    PERL5_CPANPLUS_IS_RUNNING="2516"
    PERL5_CPANPLUS_IS_VERSION="0.9914"
    PERL5_MINISMOKEBOX="0.68"
    PERL5_YACSMOKE_BASE="/home/cpan/pit/thr/conf/perl-5.28.1"
    PERL_EXTUTILS_AUTOINSTALL="--defaultdeps"
    PERL_LOCAL_LIB_ROOT="/home/cpan/pit/jail/Iq4Z_IY22U"
    PERL_MB_OPT="--install_base "/home/cpan/pit/jail/Iq4Z_IY22U""
    PERL_MM_OPT="INSTALL_BASE=/home/cpan/pit/jail/Iq4Z_IY22U"
    PERL_MM_USE_DEFAULT="1"
    PERL_USE_UNSAFE_INC="1"
  @INC:
    /home/cpan/pit/jail/Iq4Z_IY22U/lib/perl5/5.28.1/i86pc-solaris-thread-multi-64
    /home/cpan/pit/jail/Iq4Z_IY22U/lib/perl5/5.28.1
    /home/cpan/pit/jail/Iq4Z_IY22U/lib/perl5/i86pc-solaris-thread-multi-64
    /home/cpan/pit/jail/Iq4Z_IY22U/lib/perl5
    /home/cpan/pit/thr/perl-5.28.1/lib/site_perl/5.28.1/i86pc-solaris-thread-multi-64
    /home/cpan/pit/thr/perl-5.28.1/lib/site_perl/5.28.1
    /home/cpan/pit/thr/perl-5.28.1/lib/5.28.1/i86pc-solaris-thread-multi-64
    /home/cpan/pit/thr/perl-5.28.1/lib/5.28.1
    .