Skip Menu |

This queue is for tickets about the Net-Pcap CPAN distribution.

Report information
The Basics
Id: 6088
Status: resolved
Priority: 0/
Queue: Net-Pcap

People
Owner: Nobody in particular
Requestors: dipper [...] berezne.com
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.05
Fixed in: 0.06



Subject: warning during make
Net-Pcap-0.05 ---------------- OS: ASPLinux 9.0 perl v5.8.0 built for i386-linux-thread-multi #make cp Pcap.pm blib/lib/Net/Pcap.pm /usr/bin/perl /usr/lib/perl5/5.8.0/ExtUtils/xsubpp -typemap /usr/lib/perl5/5.8.0/ExtUtils/typemap -typemap typemap Pcap.xs > Pcap.xsc && mv Pcap.xsc Pcap.c gcc -c -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBUGGING -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -g -pipe -march=i386 -mcpu=i686 -DVERSION=\"0.05\" -DXS_VERSION=\"0.05\" -fPIC "-I/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE" Pcap.c Pcap.c: In function `XS_Net__Pcap_file': Pcap.c:777: warning: passing arg 8 of `Perl_do_open' from incompatible pointer type Running Mkbootstrap for Net::Pcap () chmod 644 Pcap.bs rm -f blib/arch/auto/Net/Pcap/Pcap.so LD_RUN_PATH="/usr/lib" gcc -shared -L/usr/local/lib Pcap.o -o blib/arch/auto/Net/Pcap/Pcap.so -lpcap chmod 755 blib/arch/auto/Net/Pcap/Pcap.so cp Pcap.bs blib/arch/auto/Net/Pcap/Pcap.bs chmod 644 blib/arch/auto/Net/Pcap/Pcap.bs Manifying blib/man3/Net::Pcap.3pm
From: Michael Strickland
[guest - Wed Apr 21 12:47:08 2004]: I am seeing the same warning and wonder if it is related to a subsequent error I get when running make test: PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/01-module......ok t/02-lookup......ok t/03-openlive....ok t/04-loop........ok t/05-dump........ok t/06-offline.....ok t/07-stats.......FAILED test 1 Failed 1/1 tests, 0.00% okay t/08-filter......ok t/09-error.......ok t/10-fileno......ok t/11-misc........ok t/12-next........ok t/13-dispatch....ok Failed Test Stat Wstat Total Fail Failed List of Failed ------------------------------------------------------------------------------- t/07-stats.t 1 1 100.00% 1 Failed 1/13 test scripts, 92.31% okay. 1/24 subtests failed, 95.83% okay. make: *** [test_dynamic] Error 29 Show quoted text
> Net-Pcap-0.05 > ---------------- > OS: ASPLinux 9.0 > perl v5.8.0 built for i386-linux-thread-multi > > #make > cp Pcap.pm blib/lib/Net/Pcap.pm > /usr/bin/perl /usr/lib/perl5/5.8.0/ExtUtils/xsubpp -typemap > /usr/lib/perl5/5.8.0/ExtUtils/typemap -typemap typemap Pcap.xs > > Pcap.xsc && mv Pcap.xsc Pcap.c > gcc -c -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBUGGING > -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE > -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -g -pipe -march=i386 > -mcpu=i686 -DVERSION=\"0.05\" -DXS_VERSION=\"0.05\" -fPIC "- > I/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE" Pcap.c > Pcap.c: In function `XS_Net__Pcap_file': > Pcap.c:777: warning: passing arg 8 of `Perl_do_open' from incompatible > pointer type > Running Mkbootstrap for Net::Pcap () > chmod 644 Pcap.bs > rm -f blib/arch/auto/Net/Pcap/Pcap.so > LD_RUN_PATH="/usr/lib" gcc -shared -L/usr/local/lib Pcap.o -o > blib/arch/auto/Net/Pcap/Pcap.so -lpcap > chmod 755 blib/arch/auto/Net/Pcap/Pcap.so > cp Pcap.bs blib/arch/auto/Net/Pcap/Pcap.bs > chmod 644 blib/arch/auto/Net/Pcap/Pcap.bs > Manifying blib/man3/Net::Pcap.3pm
From: saper [...] cpan.org
[guest - Fri Apr 30 09:50:23 2004]: Show quoted text
> I am seeing the same warning and wonder if it is related to a > subsequent error I get when running make test:
Hello, AFAICT, this warning and the failing test in 07-stats.t are not related. The warning is caused by the fact that Perl_do_open() is called with only 7 args where it expects more (I presume) while the failing test comes from the fact that the ps_recv field returned by stats() is not correctly set. -- Close the world, txEn eht nepO.
The warning is still present but as I said it's most probably harmless. The test suite have been completely rewritten and corrected.