Net-Pcap v0.21 Perl 5 v5.22.2 OpenBSD.amd64-openbsd-thread-multi

Status
Unknown
From
Chris Williams (BINGOS)
Dist
Net-Pcap v0.21
Platform
Perl 5 v5.22.2 OpenBSD.amd64-openbsd-thread-multi
Date
2023-01-20T22:49:51
ID
bfac0038-9914-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"
"/home/cpan/pit/thr/perl-5.22.2/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- Pcap.bs blib/arch/auto/Net/Pcap/Pcap.bs 644
"/home/cpan/pit/thr/perl-5.22.2/bin/perl" "/home/cpan/pit/thr/perl-5.22.2/lib/site_perl/5.22.2/ExtUtils/xsubpp"  -typemap '/home/cpan/pit/thr/perl-5.22.2/lib/5.22.2/ExtUtils/typemap' -typemap '/home/cpan/pit/thr/conf/perl-5.22.2/.cpanplus/5.22.2/build/vJOTTMuMCP/Net-Pcap-0.21/typemap'  Pcap.xs > Pcap.xsc
mv Pcap.xsc Pcap.c
cc -c    -pthread -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_FORTIFY_SOURCE=2 -Wall -Wwrite-strings -O2    -DVERSION=\"0.21\"  -DXS_VERSION=\"0.21\" -DPIC -fPIC  "-I/home/cpan/pit/thr/perl-5.22.2/lib/5.22.2/OpenBSD.amd64-openbsd-thread-multi/CORE"  -DHAVE_BLANK -DHAVE_PCAP_LIB_VERSION -DPERL_PCAP_VERSION=1008000 Pcap.c
In file included from Pcap.xs:43:
./stubs.inc:85:2: warning: "the function pcap_findalldevs() is not available, but will be emulated" [-W#warnings]
#warning "the function pcap_findalldevs() is not available, but will be emulated"
 ^
./stubs.inc:91:8: error: redefinition of 'pcap_if'
struct pcap_if {
       ^
/usr/include/pcap.h:110:8: note: previous definition is here
struct pcap_if {
       ^
In file included from Pcap.xs:43:
./stubs.inc:113:2: warning: "the function pcap_breakloop() is not available" [-W#warnings]
#warning "the function pcap_breakloop() is not available"
 ^
./stubs.inc:127:2: warning: "the function pcap_setnonblock() is not available" [-W#warnings]
#warning "the function pcap_setnonblock() is not available"
 ^
./stubs.inc:142:2: warning: "the function pcap_getnonblock() is not available" [-W#warnings]
#warning "the function pcap_getnonblock() is not available"
 ^
./stubs.inc:157:2: warning: "the function pcap_dump_file() is not available" [-W#warnings]
#warning "the function pcap_dump_file() is not available"
 ^
./stubs.inc:172:2: warning: "the function pcap_dump_flush() is not available" [-W#warnings]
#warning "the function pcap_dump_flush() is not available"
 ^
./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:202:2: warning: "the function pcap_set_datalink() is not available" [-W#warnings]
#warning "the function pcap_set_datalink() is not available"
 ^
./stubs.inc:217:2: warning: "the function pcap_datalink_name_to_val() is not available" [-W#warnings]
#warning "the function pcap_datalink_name_to_val() is not available"
 ^
./stubs.inc:232:2: warning: "the function pcap_datalink_val_to_name() is not available" [-W#warnings]
#warning "the function pcap_datalink_val_to_name() is not available"
 ^
./stubs.inc:247:2: warning: "the function pcap_datalink_val_to_description() is not available" [-W#warnings]
#warning "the function pcap_datalink_val_to_description() is not available"
 ^
./stubs.inc:262:2: warning: "the function pcap_compile_nopcap() is not available" [-W#warnings]
#warning "the function pcap_compile_nopcap() is not available"
 ^
./stubs.inc:267:5: error: conflicting types for 'pcap_compile_nopcap'
int pcap_compile_nopcap(int snaplen, int linktype, struct bpf_program *fp, char *str, int optimize, bpf_u_int32 netmask);
    ^
/usr/include/pcap.h:199:5: note: previous declaration is here
int     pcap_compile_nopcap(int, int, struct bpf_program *,
        ^
In file included from Pcap.xs:43:
./stubs.inc:268:5: error: conflicting types for 'pcap_compile_nopcap'
int pcap_compile_nopcap(int snaplen, int linktype, struct bpf_program *fp, char *str, int optimize, bpf_u_int32 netmask) {
    ^
/usr/include/pcap.h:199:5: note: previous declaration is here
int     pcap_compile_nopcap(int, int, struct bpf_program *,
        ^
In file included from Pcap.xs:43:
./stubs.inc:277:2: warning: "the function pcap_get_selectable_fd() is not available" [-W#warnings]
#warning "the function pcap_get_selectable_fd() is not available"
 ^
./stubs.inc:292:2: warning: "the function pcap_next_ex() is not available" [-W#warnings]
#warning "the function pcap_next_ex() is not available"
 ^
./stubs.inc:307:2: warning: "the function pcap_sendpacket() is not available" [-W#warnings]
#warning "the function pcap_sendpacket() 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: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"
 ^
./stubs.inc:517:2: warning: "the function pcap_setsampling() is not available" [-W#warnings]
#warning "the function pcap_setsampling() is not available"
 ^
Pcap.c:1727:9: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
        RETVAL = pcap_strerror(error);
               ^ ~~~~~~~~~~~~~~~~~~~~
29 warnings and 3 errors generated.
*** Error 1 in /home/cpan/pit/thr/conf/perl-5.22.2/.cpanplus/5.22.2/build/vJOTTMuMCP/Net-Pcap-0.21 (Makefile:349 'Pcap.o')


PREREQUISITES:

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

	  Module Name                        Have     Want
	  Carp                               1.36        0
	  ExtUtils::MakeMaker                7.64        0
	  Socket                            2.018        0
	  Sys::Hostname                      1.20        0
	  Test::More                     1.302191     0.45
	  XSLoader                           0.20        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.64
	ExtUtils::Install                  2.20
	ExtUtils::MakeMaker                7.64
	ExtUtils::Manifest                 1.73
	ExtUtils::ParseXS                  3.44
	File::Spec                         3.75
	Module::Build                    0.4231
	Pod::Parser                        1.63
	Pod::Simple                        3.29
	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 = /home/cpan/pit/jail/d8R0Jwq4jR/bin:/home/cpan/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R6/bin:/usr/local/bin:/usr/local/sbin:/usr/games
    PERL5LIB = /home/cpan/pit/jail/d8R0Jwq4jR/lib/perl5
    PERL5_CPANPLUS_IS_RUNNING = 39020
    PERL5_CPANPLUS_IS_VERSION = 0.9914
    PERL5_MINISMOKEBOX = 0.68
    PERL5_YACSMOKE_BASE = /home/cpan/pit/thr/conf/perl-5.22.2
    PERL_EXTUTILS_AUTOINSTALL = --defaultdeps
    PERL_LOCAL_LIB_ROOT = /home/cpan/pit/jail/d8R0Jwq4jR
    PERL_MB_OPT = --install_base "/home/cpan/pit/jail/d8R0Jwq4jR"
    PERL_MM_OPT = INSTALL_BASE=/home/cpan/pit/jail/d8R0Jwq4jR
    PERL_MM_USE_DEFAULT = 1
    SHELL = /usr/local/bin/bash
    TERM = screen.xterm-256color

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

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


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


--

Summary of my perl5 (revision 5 version 22 subversion 2) configuration:
   
  Platform:
    osname=openbsd, osvers=6.6, archname=OpenBSD.amd64-openbsd-thread-multi
    uname='openbsd outrage.bingosnet.co.uk 6.6 generic#4 amd64 '
    config_args='-des -Dprefix=/home/cpan/pit/thr/perl-5.22.2 -Dusethreads'
    hint=recommended, useposix=true, d_sigaction=define
    useithreads=define, usemultiplicity=define
    use64bitint=define, use64bitall=define, uselongdouble=undef
    usemymalloc=n, bincompat5005=undef
  Compiler:
    cc='cc', ccflags ='-pthread -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_FORTIFY_SOURCE=2',
    optimize='-O2',
    cppflags='-pthread -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include'
    ccversion='', gccversion='4.2.1 Compatible OpenBSD Clang 8.0.1 (tags/RELEASE_801/final)', 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
    libs=-lpthread -lgdbm -lm -lutil -lc
    perllibs=-lpthread -lm -lutil -lc
    libc=/usr/lib/libc.so.95.1, 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 -fPIC  -L/usr/local/lib -fstack-protector-strong'


Characteristics of this binary (from libperl): 
  Compile-time options: HAS_TIMES MULTIPLICITY PERLIO_LAYERS
                        PERL_DONT_CREATE_GVSV
                        PERL_HASH_FUNC_ONE_AT_A_TIME_HARD
                        PERL_IMPLICIT_CONTEXT PERL_MALLOC_WRAP
                        PERL_NEW_COPY_ON_WRITE 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
  Locally applied patches:
	Devel::PatchPerl 1.80
  Built under openbsd
  Compiled at Jan 24 2020 05:46:52
  %ENV:
    PERL5LIB="/home/cpan/pit/jail/d8R0Jwq4jR/lib/perl5"
    PERL5_CPANPLUS_IS_RUNNING="39020"
    PERL5_CPANPLUS_IS_VERSION="0.9914"
    PERL5_MINISMOKEBOX="0.68"
    PERL5_YACSMOKE_BASE="/home/cpan/pit/thr/conf/perl-5.22.2"
    PERL_EXTUTILS_AUTOINSTALL="--defaultdeps"
    PERL_LOCAL_LIB_ROOT="/home/cpan/pit/jail/d8R0Jwq4jR"
    PERL_MB_OPT="--install_base "/home/cpan/pit/jail/d8R0Jwq4jR""
    PERL_MM_OPT="INSTALL_BASE=/home/cpan/pit/jail/d8R0Jwq4jR"
    PERL_MM_USE_DEFAULT="1"
  @INC:
    /home/cpan/pit/jail/d8R0Jwq4jR/lib/perl5/5.22.2/OpenBSD.amd64-openbsd-thread-multi
    /home/cpan/pit/jail/d8R0Jwq4jR/lib/perl5/5.22.2
    /home/cpan/pit/jail/d8R0Jwq4jR/lib/perl5/OpenBSD.amd64-openbsd-thread-multi
    /home/cpan/pit/jail/d8R0Jwq4jR/lib/perl5
    /home/cpan/pit/thr/perl-5.22.2/lib/site_perl/5.22.2/OpenBSD.amd64-openbsd-thread-multi
    /home/cpan/pit/thr/perl-5.22.2/lib/site_perl/5.22.2
    /home/cpan/pit/thr/perl-5.22.2/lib/5.22.2/OpenBSD.amd64-openbsd-thread-multi
    /home/cpan/pit/thr/perl-5.22.2/lib/5.22.2
    .