Net-Pcap v0.21 Perl 5 v5.34.0 amd64-freebsd-thread-multi

Status
Unknown
From
Chris Williams (BINGOS)
Dist
Net-Pcap v0.21
Platform
Perl 5 v5.34.0 amd64-freebsd-thread-multi
Date
2023-01-26T00:07:30
ID
6cd9992c-9d0d-11ed-aba6-9a79f339625c
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 CORION,

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"
"/usr/home/cpan/pit/thr/perl-5.34.0/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- Pcap.bs blib/arch/auto/Net/Pcap/Pcap.bs 644
"/usr/home/cpan/pit/thr/perl-5.34.0/bin/perl" "/usr/home/cpan/pit/thr/perl-5.34.0/lib/site_perl/5.34.0/ExtUtils/xsubpp"  -typemap '/usr/home/cpan/pit/thr/perl-5.34.0/lib/5.34.0/ExtUtils/typemap' -typemap '/usr/home/cpan/pit/thr/conf/perl-5.34.0/.cpanplus/5.34.0/build/4Fpo1Mn9ns/Net-Pcap-0.21/typemap'  Pcap.xs > Pcap.xsc
mv Pcap.xsc Pcap.c
cc -c    -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -Wall -Wwrite-strings -O2    -DVERSION=\"0.21\"  -DXS_VERSION=\"0.21\" -DPIC -fPIC "-I/usr/home/cpan/pit/thr/perl-5.34.0/lib/5.34.0/amd64-freebsd-thread-multi/CORE"  -DHAVE_BLANK -DHAVE_PCAP_LIB_VERSION -DHAVE_PCAP_SETSAMPLING -DHAVE_PCAP_BREAKLOOP -DHAVE_PCAP_COMPILE_NOPCAP -DHAVE_PCAP_DATALINK_NAME_TO_VAL -DHAVE_PCAP_DATALINK_VAL_TO_DESCRIPTION -DHAVE_PCAP_DATALINK_VAL_TO_NAME -DHAVE_PCAP_DUMP_FILE -DHAVE_PCAP_DUMP_FLUSH -DHAVE_PCAP_FINDALLDEVS -DHAVE_PCAP_GETNONBLOCK -DHAVE_PCAP_GET_SELECTABLE_FD -DHAVE_PCAP_LIB_VERSION -DHAVE_PCAP_NEXT_EX -DHAVE_PCAP_OFFLINE_FILTER -DHAVE_PCAP_OPEN_DEAD -DHAVE_PCAP_SENDPACKET -DHAVE_PCAP_SETNONBLOCK -DHAVE_PCAP_SET_DATALINK -DPERL_PCAP_VERSION=1009001 Pcap.c
In file included from Pcap.xs:43:
./stubs.inc:187:2: warning: "the function pcap_list_datalinks() is not available" [-W#warnings]
#warning "the function pcap_list_datalinks() is not available"
 ^
./stubs.inc:322:2: warning: "the function pcap_createsrcstr() is not available" [-W#warnings]
#warning "the function pcap_createsrcstr() is not available"
 ^
./stubs.inc:337:2: warning: "the function pcap_parsesrcstr() is not available" [-W#warnings]
#warning "the function pcap_parsesrcstr() is not available"
 ^
./stubs.inc:352:2: warning: "the function pcap_open() is not available" [-W#warnings]
#warning "the function pcap_open() is not available"
 ^
./stubs.inc:366:89: warning: declaration of 'struct pcap_rmtauth' will not be visible outside of this function [-Wvisibility]
pcap_t * pcap_open(const char *source, int snaplen, int flags, int read_timeout, struct pcap_rmtauth *auth, char *err);
                                                                                        ^
./stubs.inc:367:89: warning: declaration of 'struct pcap_rmtauth' will not be visible outside of this function [-Wvisibility]
pcap_t * pcap_open(const char *source, int snaplen, int flags, int read_timeout, struct pcap_rmtauth *auth, char *err) {
                                                                                        ^
./stubs.inc:367:10: error: conflicting types for 'pcap_open'
pcap_t * pcap_open(const char *source, int snaplen, int flags, int read_timeout, struct pcap_rmtauth *auth, char *err) {
         ^
./stubs.inc:366:10: note: previous declaration is here
pcap_t * pcap_open(const char *source, int snaplen, int flags, int read_timeout, struct pcap_rmtauth *auth, char *err);
         ^
./stubs.inc:376:2: warning: "the function pcap_setbuff() is not available" [-W#warnings]
#warning "the function pcap_setbuff() is not available"
 ^
./stubs.inc:391:2: warning: "the function pcap_setuserbuffer() is not available" [-W#warnings]
#warning "the function pcap_setuserbuffer() is not available"
 ^
./stubs.inc:406:2: warning: "the function pcap_setmode() is not available" [-W#warnings]
#warning "the function pcap_setmode() is not available"
 ^
./stubs.inc:421:2: warning: "the function pcap_setmintocopy() is not available" [-W#warnings]
#warning "the function pcap_setmintocopy() is not available"
 ^
./stubs.inc:436:2: warning: "the function pcap_sendqueue_alloc() is not available" [-W#warnings]
#warning "the function pcap_sendqueue_alloc() is not available"
 ^
./stubs.inc:458:2: warning: "the function pcap_sendqueue_destroy() is not available" [-W#warnings]
#warning "the function pcap_sendqueue_destroy() is not available"
 ^
./stubs.inc:472:2: warning: "the function pcap_sendqueue_queue() is not available" [-W#warnings]
#warning "the function pcap_sendqueue_queue() is not available"
 ^
./stubs.inc:487:2: warning: "the function pcap_sendqueue_transmit() is not available" [-W#warnings]
#warning "the function pcap_sendqueue_transmit() is not available"
 ^
./stubs.inc:502:2: warning: "the function pcap_event() is not available" [-W#warnings]
#warning "the function pcap_event() is not available"
 ^
Pcap.xs:108:13: warning: 'pcap_lookupdev' is deprecated: use 'pcap_findalldevs' and use the first device [-Wdeprecated-declarations]
                        RETVAL = pcap_lookupdev(errbuf);
                                 ^
/usr/include/pcap/pcap.h:326:1: note: 'pcap_lookupdev' has been explicitly marked deprecated here
PCAP_DEPRECATED(pcap_lookupdev, "use 'pcap_findalldevs' and use the first device");
^
/usr/include/pcap/funcattrs.h:227:53: note: expanded from macro 'PCAP_DEPRECATED'
  #define PCAP_DEPRECATED(func, msg)    __attribute__((deprecated(msg)))
                                                       ^
Pcap.xs:222:33: warning: 'pcap_lookupdev' is deprecated: use 'pcap_findalldevs' and use the first device [-Wdeprecated-declarations]
                    char *dev = pcap_lookupdev(errbuf);
                                ^
/usr/include/pcap/pcap.h:326:1: note: 'pcap_lookupdev' has been explicitly marked deprecated here
PCAP_DEPRECATED(pcap_lookupdev, "use 'pcap_findalldevs' and use the first device");
^
/usr/include/pcap/funcattrs.h:227:53: note: expanded from macro 'PCAP_DEPRECATED'
  #define PCAP_DEPRECATED(func, msg)    __attribute__((deprecated(msg)))
                                                       ^
Pcap.c:1729:9: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
        RETVAL = pcap_strerror(error);
               ^ ~~~~~~~~~~~~~~~~~~~~
Pcap.xs:952:33: error: variable has incomplete type 'struct pcap_rmtauth'
            struct pcap_rmtauth real_auth;
                                ^
Pcap.xs:952:20: note: forward declaration of 'struct pcap_rmtauth'
            struct pcap_rmtauth real_auth;
                   ^
Pcap.xs:988:70: warning: incompatible pointer types passing 'struct pcap_rmtauth *' to parameter of type 'struct pcap_rmtauth *' [-Wincompatible-pointer-types]
            RETVAL = pcap_open(source, snaplen, flags, read_timeout, preal_auth, errbuf); 
                                                                     ^~~~~~~~~~
./stubs.inc:366:103: note: passing argument to parameter 'auth' here
pcap_t * pcap_open(const char *source, int snaplen, int flags, int read_timeout, struct pcap_rmtauth *auth, char *err);
                                                                                                      ^
19 warnings and 2 errors generated.
*** Error code 1

Stop.
make: stopped in /usr/home/cpan/pit/thr/conf/perl-5.34.0/.cpanplus/5.34.0/build/4Fpo1Mn9ns/Net-Pcap-0.21


PREREQUISITES:

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

	  Module Name                        Have     Want
	  Carp                               1.52        0
	  ExtUtils::MakeMaker                7.64        0
	  Socket                            2.031        0
	  Sys::Hostname                      1.23        0
	  Test::More                     1.302191     0.45
	  XSLoader                           0.30        0

Perl module toolchain versions installed:
	Module Name                        Have
	CPANPLUS                         0.9914
	CPANPLUS::Dist::Build              0.90
	Cwd                                3.80
	ExtUtils::CBuilder             0.280236
	ExtUtils::Command                  7.64
	ExtUtils::Install                  2.20
	ExtUtils::MakeMaker                7.64
	ExtUtils::Manifest                 1.73
	ExtUtils::ParseXS                  3.44
	File::Spec                         3.80
	Module::Build                    0.4231
	Pod::Parser                           0
	Pod::Simple                        3.42
	Test2                          1.302191
	Test::Harness                      3.44
	Test::More                     1.302191
	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
    NONINTERACTIVE_TESTING = 1
    PATH = /usr/home/cpan/pit/jail/jq8rfg35OP/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/home/cpan/bin
    PERL5LIB = /usr/home/cpan/pit/jail/jq8rfg35OP/lib/perl5
    PERL5_CPANPLUS_IS_RUNNING = 53666
    PERL5_CPANPLUS_IS_VERSION = 0.9914
    PERL5_MINISMOKEBOX = 0.68
    PERL5_YACSMOKE_BASE = /usr/home/cpan/pit/thr/conf/perl-5.34.0
    PERL_EXTUTILS_AUTOINSTALL = --defaultdeps
    PERL_LOCAL_LIB_ROOT = /usr/home/cpan/pit/jail/jq8rfg35OP
    PERL_MB_OPT = --install_base "/usr/home/cpan/pit/jail/jq8rfg35OP"
    PERL_MM_OPT = INSTALL_BASE=/usr/home/cpan/pit/jail/jq8rfg35OP
    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/thr/perl-5.34.0/bin/perl
    UID:  $<  = 1002
    EUID: $>  = 1002
    GID:  $(  = 1002 1002
    EGID: $)  = 1002 1002


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


--

Summary of my perl5 (revision 5 version 34 subversion 0) configuration:
   
  Platform:
    osname=freebsd
    osvers=12.3-release
    archname=amd64-freebsd-thread-multi
    uname='freebsd fforc 12.3-release freebsd 12.3-release r371126 generic amd64 '
    config_args='-des -Dprefix=/usr/home/cpan/pit/thr/perl-5.34.0 -Dusethreads'
    hint=recommended
    useposix=true
    d_sigaction=define
    useithreads=define
    usemultiplicity=define
    use64bitint=define
    use64bitall=define
    uselongdouble=undef
    usemymalloc=n
    default_inc_excludes_dot=define
  Compiler:
    cc='cc'
    ccflags ='-DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include'
    optimize='-O2'
    cppflags='-DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include'
    ccversion=''
    gccversion='FreeBSD Clang 10.0.1 (git@github.com:llvm/llvm-project.git llvmorg-10.0.1-0-gef32c611aa2)'
    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='cc'
    ldflags ='-pthread -Wl,-E  -fstack-protector-strong -L/usr/local/lib'
    libpth=/usr/lib /usr/local/lib /usr/lib/clang/10.0.1/lib
    libs=-lpthread -lgdbm -ldl -lm -lcrypt -lutil
    perllibs=-lpthread -ldl -lm -lcrypt -lutil
    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-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
    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
    USE_THREAD_SAFE_LOCALE
  Built under freebsd
  Compiled at Dec  9 2021 19:41:50
  %ENV:
    PERL5LIB="/usr/home/cpan/pit/jail/jq8rfg35OP/lib/perl5"
    PERL5_CPANPLUS_IS_RUNNING="53666"
    PERL5_CPANPLUS_IS_VERSION="0.9914"
    PERL5_MINISMOKEBOX="0.68"
    PERL5_YACSMOKE_BASE="/usr/home/cpan/pit/thr/conf/perl-5.34.0"
    PERL_EXTUTILS_AUTOINSTALL="--defaultdeps"
    PERL_LOCAL_LIB_ROOT="/usr/home/cpan/pit/jail/jq8rfg35OP"
    PERL_MB_OPT="--install_base "/usr/home/cpan/pit/jail/jq8rfg35OP""
    PERL_MM_OPT="INSTALL_BASE=/usr/home/cpan/pit/jail/jq8rfg35OP"
    PERL_MM_USE_DEFAULT="1"
  @INC:
    /usr/home/cpan/pit/jail/jq8rfg35OP/lib/perl5/5.34.0/amd64-freebsd-thread-multi
    /usr/home/cpan/pit/jail/jq8rfg35OP/lib/perl5/5.34.0
    /usr/home/cpan/pit/jail/jq8rfg35OP/lib/perl5/amd64-freebsd-thread-multi
    /usr/home/cpan/pit/jail/jq8rfg35OP/lib/perl5
    /usr/home/cpan/pit/thr/perl-5.34.0/lib/site_perl/5.34.0/amd64-freebsd-thread-multi
    /usr/home/cpan/pit/thr/perl-5.34.0/lib/site_perl/5.34.0
    /usr/home/cpan/pit/thr/perl-5.34.0/lib/5.34.0/amd64-freebsd-thread-multi
    /usr/home/cpan/pit/thr/perl-5.34.0/lib/5.34.0