ports/86713: missing header pcap-bpf.h compiling net/p5-Net-Pcap

Adam VanderHook acidos at bandwidth-junkies.net
Thu Sep 29 16:10:19 UTC 2005


>Number:         86713
>Category:       ports
>Synopsis:       missing header pcap-bpf.h compiling net/p5-Net-Pcap
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Sep 29 16:10:18 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Adam VanderHook
>Release:        FreeBSD 5.4-RELEASE-p1 i386
>Organization:
>Environment:
System: FreeBSD regen.bandwidth-junkies.net 5.4-RELEASE-p1 FreeBSD 5.4-RELEASE-p1 #5: Fri May 27 23:26:27 EDT 2005 acidos at regen.bandwidth-junkies.net:/usr/obj/usr/src/sys/REGEN i386

>Description:
Upgrading from p5-Net-Pcap 0.06 to 0.07 fails due to a missing header file pcap-bpf.h

>How-To-Repeat:
With p5-Net-Pcap-0.06 installed, check out the latest net/p5-Net-Pcap from CVS and
perform a 'portupgrade'.  Will most likely fail on a system with no prior p5-Net-Pcap
installed as well.

>Fix:

No fix yet.  The following is the compiler output when attempting to upgrade via portupgrade.

--->  Upgrading 'p5-Net-Pcap-0.06' to 'p5-Net-Pcap-0.07' (net/p5-Net-Pcap)
--->  Building '/usr/ports/net/p5-Net-Pcap'
===>  Building for p5-Net-Pcap-0.07
cc -c    -O -pipe -O -pipe    -DVERSION=\"0.07\"  -DXS_VERSION=\"0.07\" -DPIC -fPIC "-I/usr/local/lib/perl5/5.8.7/mach/CORE"   Pcap.c
Pcap.xs:24:22: pcap-bpf.h: No such file or directory
Pcap.c: In function `XS_Net__Pcap_dump_open':
Pcap.c:440: warning: cast to pointer from integer of different size
Pcap.c: In function `XS_Net__Pcap_setnonblock':
Pcap.c:467: warning: cast to pointer from integer of different size
Pcap.c: In function `XS_Net__Pcap_getnonblock':
Pcap.c:507: warning: cast to pointer from integer of different size
Pcap.c: In function `XS_Net__Pcap_dispatch':
Pcap.c:549: warning: cast to pointer from integer of different size
Pcap.c: In function `XS_Net__Pcap_loop':
Pcap.c:584: warning: cast to pointer from integer of different size
Pcap.c: In function `XS_Net__Pcap_next':
Pcap.c:616: warning: cast to pointer from integer of different size
Pcap.c: In function `XS_Net__Pcap_dump':
Pcap.c:673: warning: cast to pointer from integer of different size
Pcap.c: In function `XS_Net__Pcap_compile':
Pcap.c:742: warning: cast to pointer from integer of different size
Pcap.c: In function `XS_Net__Pcap_setfilter':
Pcap.c:779: warning: cast to pointer from integer of different size
Pcap.c:786: warning: cast to pointer from integer of different size
Pcap.c: In function `XS_Net__Pcap_breakloop':
Pcap.c:808: warning: cast to pointer from integer of different size
Pcap.c: In function `XS_Net__Pcap_close':
Pcap.c:829: warning: cast to pointer from integer of different size
Pcap.c: In function `XS_Net__Pcap_dump_close':
Pcap.c:850: warning: cast to pointer from integer of different size
Pcap.c: In function `XS_Net__Pcap_datalink':
Pcap.c:873: warning: cast to pointer from integer of different size
Pcap.c: In function `XS_Net__Pcap_set_datalink':
Pcap.c:898: warning: cast to pointer from integer of different size
Pcap.c: In function `XS_Net__Pcap_snapshot':
Pcap.c:973: warning: cast to pointer from integer of different size
Pcap.c: In function `XS_Net__Pcap_is_swapped':
Pcap.c:997: warning: cast to pointer from integer of different size
Pcap.c: In function `XS_Net__Pcap_major_version':
Pcap.c:1021: warning: cast to pointer from integer of different size
Pcap.c: In function `XS_Net__Pcap_minor_version':
Pcap.c:1045: warning: cast to pointer from integer of different size
Pcap.c: In function `XS_Net__Pcap_perror':
Pcap.c:1068: warning: cast to pointer from integer of different size
Pcap.c: In function `XS_Net__Pcap_geterr':
Pcap.c:1091: warning: cast to pointer from integer of different size
Pcap.c: In function `XS_Net__Pcap_file':
Pcap.c:1147: warning: cast to pointer from integer of different size
Pcap.c:1156: warning: passing arg 7 of `Perl_do_open' from incompatible pointer type
Pcap.c: In function `XS_Net__Pcap_fileno':
Pcap.c:1178: warning: cast to pointer from integer of different size
Pcap.c: In function `XS_Net__Pcap_stats':
Pcap.c:1203: warning: cast to pointer from integer of different size
*** Error code 1

Stop in /usr/ports/net/p5-Net-Pcap/work/Net-Pcap-0.07.
*** Error code 1

Stop in /usr/ports/net/p5-Net-Pcap.
** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade5858.0 make
** Fix the problem and try again.
--->  Skipping 'security/aimsniff' (aimsniff-0.9d) because a requisite package 'p5-Net-Pcap-0.06' (net/p5-Net-Pcap) failed (specify -k to force)
** Listing the failed packages (*:skipped / !:failed)
        ! net/p5-Net-Pcap (p5-Net-Pcap-0.06)    (missing header)
        * security/aimsniff (aimsniff-0.9d)
--->  Packages processed: 0 done, 0 ignored, 1 skipped and 1 failed
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list