pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/47943: recent update to libpcap breaks tcpdump, nmap and wireshark on Solaris



>Number:         47943
>Category:       pkg
>Synopsis:       recent update to libpcap breaks tcpdump, nmap and wireshark on 
>Solaris
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Jun 19 11:10:00 +0000 2013
>Originator:     Jörn Clausen
>Release:        
>Organization:
University of Bielefeld
>Environment:
>Description:
The recent update to net/libpcap breaks net/tcpdump

checking for local pcap library... not found
checking for i386-sun-solaris2.10-pcap-config... no
checking for pcap-config... /usr/pkgsrc/20130422/bin/pcap-config
checking for pcap_loop... no
configure: error: Report this to tcpdump-workers%lists.tcpdump.org@localhost, 
and include the
config.log file in your report.  If you have downloaded libpcap from
tcpdump.org, and built it yourself, please also include the config.log
file from the libpcap source directory, the Makefile from the libpcap
source directory, and the output of the make process for libpcap, as
this could be a problem with the libpcap that was built, and we will
not be able to determine why this is happening, and thus will not be
able to fix it, without that information, as we have not been able to
reproduce this problem ourselves.
*** Error code 1


net/nmap

gcc -O2 -fpic -O -I/usr/include -I/usr/pkgsrc/20130422/include 
-I/usr/pkgsrc/20130422/include/gettext -I/usr/pkgsrc/20130422/include/freetype2 
-I.  -DHAVE_CONFIG_H  -D_U_="__attribute__((unused))" -O -I/usr/include 
-I/usr/pkgsrc/20130422/include -I/usr/pkgsrc/20130422/include/gettext 
-I/usr/pkgsrc/20130422/include/freetype2 -c ./pcap.c
./pcap.c:1466:1: error: conflicting types for 'pcap_offline_filter'
In file included from ./pcap-int.h:39:0,
                 from ./pcap.c:74:


and net/wireshark:

checking whether to use libpcap for packet capture... yes
checking pcap.h usability... yes
checking pcap.h presence... yes
checking for pcap.h... yes
checking for pcap_open_live in -lpcap... no
checking for pcap_open_live in -lpcap with -lcfg -lodm... no
checking for pcap_open_live in -lpcap with -lpfring... no
configure: error: Can't link with library libpcap.
*** Error code 1


on Solaris. All three packages built successfully a few days ago. net/libpcap 
did build and install.

The detailed error messages from the config.logs for tcpdump and wireshark are 
identical:

configure:5843: gcc -o conftest -DINET6 -I/usr/inet6/include -O 
-I/usr/pkgsrc/20130422/include -I/usr/pkgsrc/20130422/include -L/usr/pkgsr
c/20130422/lib -Wl,-R/usr/pkgsrc/20130422/lib -lnsl -lsocket conftest.c 
-L/usr/pkgsrc/20130422/lib -Wl,-R,/usr/pkgsrc/20130422/lib -lpcap
 >&5
Undefined                       first referenced
 symbol                             in file
pcap_conf_bufmod                    
/pkgsrc/source/pkgsrc/net/tcpdump/work.pkgsrc-i86/.buildlink/lib/libpcap.so
pcap_stats_dlpi                     
/pkgsrc/source/pkgsrc/net/tcpdump/work.pkgsrc-i86/.buildlink/lib/libpcap.so
strioctl                            
/pkgsrc/source/pkgsrc/net/tcpdump/work.pkgsrc-i86/.buildlink/lib/libpcap.so
pcap_alloc_databuf                  
/pkgsrc/source/pkgsrc/net/tcpdump/work.pkgsrc-i86/.buildlink/lib/libpcap.so
pcap_process_pkts                   
/pkgsrc/source/pkgsrc/net/tcpdump/work.pkgsrc-i86/.buildlink/lib/libpcap.so
pcap_process_mactype                
/pkgsrc/source/pkgsrc/net/tcpdump/work.pkgsrc-i86/.buildlink/lib/libpcap.so
ld: fatal: Symbol referencing errors. No output written to conftest
collect2: error: ld returned 1 exit status

>How-To-Repeat:

>Fix:



Home | Main Index | Thread Index | Old Index