[MacPorts] #15871: py-pylibpcap-0.6.2 failing to build on Panther

MacPorts noreply at macports.org
Sat Jul 5 06:00:33 PDT 2008


#15871: py-pylibpcap-0.6.2 failing to build on Panther
----------------------------------------+-----------------------------------
 Reporter:  wustenfuchs at mac.com         |       Owner:  macports-tickets at lists.macosforge.org
     Type:  defect                      |      Status:  new                                  
 Priority:  Normal                      |   Milestone:  Port Bugs                            
Component:  ports                       |     Version:  1.6.0                                
 Keywords:  py-pylibpcap build failure  |  
----------------------------------------+-----------------------------------
 2003 Apple Macintosh G4 Powerbook 12" - Mac OS-X 10.3.9 - XCode 1.5 -
 MacPorts 1.6.0

 {{{
 ROMMEL:~ Rommel$ sudo port -ds install py-pylibpcap
 DEBUG: Found port in
 file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/python
 /py-pylibpcap
 DEBUG: Changing to port directory:
 /opt/local/var/macports/sources/rsync.macports.org/release/ports/python
 /py-pylibpcap
 DEBUG: Found port in
 file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/net/libpcap
 DEBUG: Changing to port directory:
 /opt/local/var/macports/sources/rsync.macports.org/release/ports/net/libpcap
 DEBUG: Searching for dependency: libpcap
 DEBUG: Found Dependency: receipt exists for libpcap
 DEBUG: Found port in
 file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/swig
 DEBUG: Changing to port directory:
 /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/swig
 DEBUG: Searching for dependency: swig
 DEBUG: Found Dependency: receipt exists for swig
 --->  Fetching py-pylibpcap
 --->  Verifying checksum(s) for py-pylibpcap
 --->  Extracting py-pylibpcap
 --->  Configuring py-pylibpcap
 --->  Building py-pylibpcap with target build
 Error: Target org.macports.build returned: shell command " cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_ports_python_py-pylibpcap/work/pylibpcap-0.6.2" &&
 /opt/local/bin/python2.4 setup.py build " returned error 1
 Command output: running build
 running build_ext
 building '_pcapmodule' extension
 creating build
 creating build/temp.macosx-10.3-ppc-2.4
 /usr/bin/gcc-3.3 -fno-strict-aliasing -Wno-long-double -no-cpp-precomp
 -mno-fused-madd -fno-common -fno-common -dynamic -DNDEBUG -g -O3 -Wall
 -Wstrict-prototypes -DSWIG_COBJECT_TYPES
 -I/opt/local/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4
 -c pcap.c -o build/temp.macosx-10.3-ppc-2.4/pcap.o
 pcap.c: In function `init_pcap':
 pcap.c:4266: warning: implicit declaration of function `pcap_lib_version'
 pcap.c:4266: warning: passing arg 3 of `PyModule_AddStringConstant' makes
 pointer from integer without a cast
 /usr/bin/gcc-3.3 -fno-strict-aliasing -Wno-long-double -no-cpp-precomp
 -mno-fused-madd -fno-common -fno-common -dynamic -DNDEBUG -g -O3 -Wall
 -Wstrict-prototypes -DSWIG_COBJECT_TYPES
 -I/opt/local/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4
 -c pcap_interface.c -o build/temp.macosx-10.3-ppc-2.4/pcap_interface.o
 pcap_interface.c: In function `pcapObject_setnonblock':
 pcap_interface.c:145: warning: implicit declaration of function
 `pcap_setnonblock'
 pcap_interface.c: In function `pcapObject_getnonblock':
 pcap_interface.c:156: warning: implicit declaration of function
 `pcap_getnonblock'
 pcap_interface.c: In function `pcapObject_datalinks':
 pcap_interface.c:273: warning: implicit declaration of function
 `pcap_list_datalinks'
 pcap_interface.c: In function `findalldevs':
 pcap_interface.c:578: error: `pcap_if_t' undeclared (first use in this
 function)
 pcap_interface.c:578: error: (Each undeclared identifier is reported only
 once
 pcap_interface.c:578: error: for each function it appears in.)
 pcap_interface.c:578: error: `if_head' undeclared (first use in this
 function)
 pcap_interface.c:578: error: `if_current' undeclared (first use in this
 function)
 pcap_interface.c:578: warning: left-hand operand of comma expression has
 no effect
 pcap_interface.c:579: error: `pcap_addr_t' undeclared (first use in this
 function)
 pcap_interface.c:579: error: `addr_current' undeclared (first use in this
 function)
 pcap_interface.c:585: warning: implicit declaration of function
 `pcap_findalldevs'
 pcap_interface.c:589: warning: implicit declaration of function
 `pcap_freealldevs'
 pcap_interface.c: In function `PythonCallBack':
 pcap_interface.c:707: warning: implicit declaration of function
 `pcap_breakloop'
 error: command '/usr/bin/gcc-3.3' failed with exit status 1

 Error: Status 1 encountered during processing.
 }}}

-- 
Ticket URL: <http://trac.macports.org/ticket/15871>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list