cannot install p5-Net-Pcap

Jeremy Chadwick koitsu at FreeBSD.org
Fri Jan 4 18:22:23 PST 2008


On Fri, Jan 04, 2008 at 08:20:59PM -0500, Piotr wrote:
> I've updated from 6.2-RC1 to 6.2-RC2, but I'm still getting this error:
> {snip} 
> *** Error code 1
> 
> Stop in /usr/ports/net/p5-Net-Pcap/work/Net-Pcap-0.15.
> *** Error code 1
> 
> Stop in /usr/ports/net/p5-Net-Pcap.
> 
> knows someone any solution ?

Our RELENG_6 box shows all of the same warnings yours does -- except the
port does not fail despite the warnings, it does in fact build.  I don't
know why yours is exiting with exit code 1.

Below is confirmation of my claim.

-- 
| Jeremy Chadwick                                    jdc at parodius.com |
| Parodius Networking                           http://www.parodius.com/ |
| UNIX Systems Administrator                      Mountain View, CA, USA |
| Making life hard for others since 1977.                  PGP: 4BD6C0CB |

eos# make
=> Net-Pcap-0.15.tar.gz doesn't seem to exist in /usr/ports/distfiles/.
=> Attempting to fetch from ftp://ftp.funet.fi/pub/languages/perl/CPAN/modules/by-module/Net/.
Net-Pcap-0.15.tar.gz                          100% of   75 kB   76 kBps
===>  Extracting for p5-Net-Pcap-0.15
=> MD5 Checksum OK for Net-Pcap-0.15.tar.gz.
=> SHA256 Checksum OK for Net-Pcap-0.15.tar.gz.
===>   p5-Net-Pcap-0.15 depends on file: /usr/local/bin/perl5.8.8 - found
===>  Patching for p5-Net-Pcap-0.15
===>   p5-Net-Pcap-0.15 depends on file: /usr/local/bin/perl5.8.8 - found
/usr/bin/find /usr/ports/net/p5-Net-Pcap/work/Net-Pcap-0.15 -name "._Pcap.pm" -delete
===>   p5-Net-Pcap-0.15 depends on file: /usr/local/bin/perl5.8.8 - found
===>  Configuring for p5-Net-Pcap-0.15
looking for -lpcap... yes
checking for pcap_lib_version() in -lpcap... yes
detecting available functions... ok
WARNING: LICENSE is not a known parameter.
Checking if your kit is complete...
Looks good
'LICENSE' is not a known MakeMaker parameter name.
Writing Makefile for Net::Pcap
===>  Building for p5-Net-Pcap-0.15
cp Pcap.pm blib/lib/Net/Pcap.pm
/usr/local/bin/perl5.8.8 /usr/local/lib/perl5/site_perl/5.8.8/ExtUtils/xsubpp  -typemap /usr/local/lib/perl5/5.8.8/ExtUtils/typemap -typemap typemap  Pcap.xs > Pcap.xsc && mv Pcap.xsc Pcap.c
cc -c    -O2 -fno-strict-aliasing -pipe -march=prescott -O2 -fno-strict-aliasing -pipe    -DVERSION=\"0.15\"  -DXS_VERSION=\"0.15\" -DPIC -fPIC "-I/usr/local/lib/perl5/5.8.8/mach/CORE"  -DHAVE_BLANK -DHAVE_PCAP_LIB_VERSION -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_OPEN_DEAD -DHAVE_PCAP_SENDPACKET -DHAVE_PCAP_SETNONBLOCK -DHAVE_PCAP_SET_DATALINK Pcap.c
In file included from Pcap.xs:43:
stubs.inc:187:2: warning: #warning "the function pcap_list_datalinks() is not available"
stubs.inc:322:2: warning: #warning "the function pcap_createsrcstr() is not available"
stubs.inc:337:2: warning: #warning "the function pcap_parsesrcstr() is not available"
stubs.inc:352:2: warning: #warning "the function pcap_open() is not available"
stubs.inc:373:2: warning: #warning "the function pcap_setbuff() is not available"
stubs.inc:388:2: warning: #warning "the function pcap_setuserbuffer() is not available"
stubs.inc:403:2: warning: #warning "the function pcap_setmode() is not available"
stubs.inc:418:2: warning: #warning "the function pcap_setmintocopy() is not available"
stubs.inc:433:2: warning: #warning "the function pcap_sendqueue_alloc() is not available"
stubs.inc:455:2: warning: #warning "the function pcap_sendqueue_destroy() is not available"
stubs.inc:469:2: warning: #warning "the function pcap_sendqueue_queue() is not available"
stubs.inc:484:2: warning: #warning "the function pcap_sendqueue_transmit() is not available"
stubs.inc:499:2: warning: #warning "the function pcap_event() is not available"
stubs.inc:514:2: warning: #warning "the function pcap_setsampling() is not available"
Pcap.c: In function `XS_Net__Pcap_dump_open':
Pcap.c:541: warning: cast to pointer from integer of different size
Pcap.c: In function `XS_Net__Pcap_setnonblock':
Pcap.c:574: warning: cast to pointer from integer of different size
Pcap.c: In function `XS_Net__Pcap_getnonblock':
Pcap.c:624: warning: cast to pointer from integer of different size
Pcap.c: In function `XS_Net__Pcap_dispatch':
Pcap.c:676: warning: cast to pointer from integer of different size
Pcap.c: In function `XS_Net__Pcap_loop':
Pcap.c:724: warning: cast to pointer from integer of different size
Pcap.c: In function `XS_Net__Pcap_next':
Pcap.c:767: warning: cast to pointer from integer of different size
Pcap.c: In function `XS_Net__Pcap_next_ex':
Pcap.c:831: warning: cast to pointer from integer of different size
Pcap.c: In function `XS_Net__Pcap_dump':
Pcap.c:898: warning: cast to pointer from integer of different size
Pcap.c: In function `XS_Net__Pcap_compile':
Pcap.c:970: warning: cast to pointer from integer of different size
Pcap.c: In function `XS_Net__Pcap_setfilter':
Pcap.c:1050: warning: cast to pointer from integer of different size
Pcap.c:1057: warning: cast to pointer from integer of different size
Pcap.c: In function `XS_Net__Pcap_freecode':
Pcap.c:1085: warning: cast to pointer from integer of different size
Pcap.c: In function `XS_Net__Pcap_breakloop':
Pcap.c:1112: warning: cast to pointer from integer of different size
Pcap.c: In function `XS_Net__Pcap_close':
Pcap.c:1139: warning: cast to pointer from integer of different size
Pcap.c: In function `XS_Net__Pcap_dump_close':
Pcap.c:1166: warning: cast to pointer from integer of different size
Pcap.c: In function `XS_Net__Pcap_dump_file':
Pcap.c:1194: warning: cast to pointer from integer of different size
Pcap.c: In function `XS_Net__Pcap_dump_flush':
Pcap.c:1232: warning: cast to pointer from integer of different size
Pcap.c: In function `XS_Net__Pcap_datalink':
Pcap.c:1262: warning: cast to pointer from integer of different size
Pcap.c: In function `XS_Net__Pcap_set_datalink':
Pcap.c:1293: warning: cast to pointer from integer of different size
Pcap.c: In function `XS_Net__Pcap_snapshot':
Pcap.c:1392: warning: cast to pointer from integer of different size
Pcap.c: In function `XS_Net__Pcap_is_swapped':
Pcap.c:1422: warning: cast to pointer from integer of different size
Pcap.c: In function `XS_Net__Pcap_major_version':
Pcap.c:1452: warning: cast to pointer from integer of different size
Pcap.c: In function `XS_Net__Pcap_minor_version':
Pcap.c:1482: warning: cast to pointer from integer of different size
Pcap.c: In function `XS_Net__Pcap_perror':
Pcap.c:1511: warning: cast to pointer from integer of different size
Pcap.c: In function `XS_Net__Pcap_geterr':
Pcap.c:1540: warning: cast to pointer from integer of different size
Pcap.c: In function `XS_Net__Pcap_file':
Pcap.c:1614: warning: cast to pointer from integer of different size
Pcap.c: In function `XS_Net__Pcap_fileno':
Pcap.c:1652: warning: cast to pointer from integer of different size
Pcap.c: In function `XS_Net__Pcap_get_selectable_fd':
Pcap.c:1682: warning: cast to pointer from integer of different size
Pcap.c: In function `XS_Net__Pcap_stats':
Pcap.c:1713: warning: cast to pointer from integer of different size
Pcap.c: In function `XS_Net__Pcap_setuserbuffer':
Pcap.c:1981: warning: cast to pointer from integer of different size
Pcap.c: In function `XS_Net__Pcap_setbuff':
Pcap.c:2012: warning: cast to pointer from integer of different size
Pcap.c: In function `XS_Net__Pcap_setmode':
Pcap.c:2043: warning: cast to pointer from integer of different size
Pcap.c: In function `XS_Net__Pcap_setmintocopy':
Pcap.c:2074: warning: cast to pointer from integer of different size
Pcap.c: In function `XS_Net__Pcap_getevent':
Pcap.c:2108: warning: cast to pointer from integer of different size
Pcap.c: In function `XS_Net__Pcap_sendpacket':
Pcap.c:2143: warning: cast to pointer from integer of different size
Pcap.c: In function `XS_Net__Pcap_sendqueue_queue':
Pcap.c:2228: warning: cast to pointer from integer of different size
Pcap.c: In function `XS_Net__Pcap_sendqueue_transmit':
Pcap.c:2300: warning: cast to pointer from integer of different size
Pcap.c:2307: warning: cast to pointer from integer of different size
Running Mkbootstrap for Net::Pcap ()
chmod 644 Pcap.bs
rm -f blib/arch/auto/Net/Pcap/Pcap.so
LD_RUN_PATH="/usr/lib" cc  -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
cp bin/pcapinfo blib/script/pcapinfo
/usr/local/bin/perl5.8.8 "-MExtUtils::MY" -e "MY->fixin(shift)" blib/script/pcapinfo
Manifying blib/man1/pcapinfo.1
Manifying blib/man3/Net::Pcap.3
eos# make clean
===>  Cleaning for p5-Net-Pcap-0.15


More information about the freebsd-ports mailing list