Opened 19 years ago
Closed 18 years ago
#9026 closed defect (fixed)
BUG: py-pylibpcap-0.5.1
Reported by: | pierre@… | Owned by: | pmq@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.3.2 |
Keywords: | Cc: | mike-savory, chris.owen@…, chaines@… | |
Port: |
Description
The port fails to install (PPC && OS X 10.4.5 && XCode 2.2). Attached the debug log. -- Pierre Queinnec
Change History (8)
comment:1 Changed 19 years ago by pierre@…
comment:2 Changed 18 years ago by chaines@…
Cc: | chaines@… added |
---|
I've got the same error on my MacBook Pro. Here is the output.
ommand output: running build running build_ext building '_pcapmodule' extension swig -python -shadow -ISWIG -o pcap.c pcap.i pcap.i:72: Warning(124): Specifying the language name in %typemap is deprecated - use #ifdef SWIG<LANG> instead. pcap.i:77: Warning(124): Specifying the language name in %typemap is deprecated - use #ifdef SWIG<LANG> instead. pcap.i:82: Warning(124): Specifying the language name in %typemap is deprecated - use #ifdef SWIG<LANG> instead. /opt/local/bin/python2.4 ./build-tools/docify.py pcap.c /opt/local/bin/python2.4 ./build-tools/docify-shadow.py pcap.py Traceback (most recent call last):
File "./build-tools/docify-shadow.py", line 30, in ?
raise 'source file doesn\'t look like swigged shadow class code'
source file doesn't look like swigged shadow class code error: command '/opt/local/bin/python2.4' failed with exit status 1
Error: /opt/local/bin/port: Status 1 encountered during processing.
comment:3 Changed 18 years ago by mike-savory
Cc: | msavory@… added |
---|
Same issue here on two different PPC powerbooks
Running 10.4.7 PPC and Xcode 2.3
Mike
comment:4 Changed 18 years ago by pguyot (Paul Guyot)
Owner: | changed from darwinports-bugs@… to chris.owen@… |
---|
comment:5 Changed 18 years ago by mike-savory
Using Google I found this site http://sourceforge.net/tracker/index.php?func=detail&aid=1505098&group_id=14007&atid=114007
There must be a problem with swig 1.3.29 and py-libpcap. I uninstalled 1.3.29 and installed swig 1.3.27 from source. Once I installed it, I was able to compile py-libpcap from source.
I tried reverting to swig by editing my swig portfile for darwinports (2 lines to change) version 1.3.27 checksums sha1 21e2953078fcf26080cfb944f226887da8bdc70e
And then everything compiles fine ( clean swig, reinstall and install scapy (that depends on py-libpcap)).
Mike
comment:6 Changed 18 years ago by pmq@…
Owner: | changed from chris.owen@… to pmq@… |
---|---|
Version: | 1.2 → 1.3.2 |
comment:7 Changed 18 years ago by pmq@…
Status: | new → assigned |
---|
Will commit a fix that doesn't need to revert SWIG.
comment:8 Changed 18 years ago by pmq@…
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
OK done. This works fine here. Thanks for the previous feedback to you all!
OK, I've been trying to upload an attachment for quite a few times and still no luck. So here it is, inline:
DEBUG: Found port in file:///opt/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate_dports/python/py-pylibpcap DEBUG: Changing to port directory: /opt/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate_dports/python/py-pylibpcap DEBUG: Requested variant powerpc is not provided by port py-pylibpcap. DEBUG: Requested variant darwin is not provided by port py-pylibpcap. DEBUG: Requested variant macosx is not provided by port py-pylibpcap. DEBUG: Found port in file:///opt/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate_dports/net/libpcap DEBUG: Changing to port directory: /opt/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate_dports/net/libpcap DEBUG: Searching for dependency: libpcap DEBUG: Found Dependency: receipt exists for libpcap DEBUG: Found port in file:///opt/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate_dports/devel/swig DEBUG: Changing to port directory: /opt/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate_dports/devel/swig DEBUG: Searching for dependency: swig DEBUG: Found Dependency: receipt exists for swig DEBUG: Executing com.apple.main (py-pylibpcap) DEBUG: No TGZ archive: /opt/local/var/db/dports/packages/darwin/powerpc/py-pylibpcap-0.5.1_1.powerpc.tgz DEBUG: Skipping unarchive (py-pylibpcap) since no archive found DEBUG: Skipping completed com.apple.unarchive (py-pylibpcap) ---> Fetching py-pylibpcap DEBUG: Executing com.apple.fetch (py-pylibpcap) ---> pylibpcap-0.5.1.tar.gz doesn't seem to exist in /opt/local/var/db/dports/distfiles/python ---> Attempting to fetch pylibpcap-0.5.1.tar.gz from http://puzzle.dl.sourceforge.net/pylibpcap
M 0 25171 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0M100 25171 100 25171 0 0 92542 0 --:--:-- --:--:-- --:--:-- 145k ---> Verifying checksum(s) for py-pylibpcap DEBUG: Executing com.apple.checksum (py-pylibpcap) ---> Checksumming pylibpcap-0.5.1.tar.gz DEBUG: Correct (md5) checksum for pylibpcap-0.5.1.tar.gz DEBUG: Correct (sha1) checksum for pylibpcap-0.5.1.tar.gz DEBUG: Correct (rmd160) checksum for pylibpcap-0.5.1.tar.gz ---> Extracting py-pylibpcap DEBUG: Executing com.apple.extract (py-pylibpcap) ---> Extracting pylibpcap-0.5.1.tar.gz DEBUG: setting option extract.args to /opt/local/var/db/dports/distfiles/python/pylibpcap-0.5.1.tar.gz DEBUG: Assembled command: 'cd "/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_python_py-pylibpcap/work" && gzip -dc /opt/local/va\ r/db/dports/distfiles/python/pylibpcap-0.5.1.tar.gz | /usr/bin/gnutar --no-same-owner -xf -' DEBUG: Executing com.apple.patch (py-pylibpcap) ---> Configuring py-pylibpcap DEBUG: Executing com.apple.configure (py-pylibpcap) ---> Building py-pylibpcap with target build DEBUG: Executing com.apple.build (py-pylibpcap) DEBUG: Assembled command: 'cd "/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_python_py-pylibpcap/work/pylibpcap-0.5.1" && /opt/l\ ocal/bin/python2.4 setup.py build' running build running build_ext building '_pcapmodule' extension generating constants.c from mk-constants.py swig -python -shadow -ISWIG -o pcap.c pcap.i pcap.i:72: Warning(124): Specifying the language name in %typemap is deprecated - use #ifdef SWIG<LANG> instead. pcap.i:77: Warning(124): Specifying the language name in %typemap is deprecated - use #ifdef SWIG<LANG> instead. pcap.i:82: Warning(124): Specifying the language name in %typemap is deprecated - use #ifdef SWIG<LANG> instead. /opt/local/bin/python2.4 ./build-tools/docify.py pcap.c /opt/local/bin/python2.4 ./build-tools/docify-shadow.py pcap.py Traceback (most recent call last):
source file doesn't look like swigged shadow class code error: command '/opt/local/bin/python2.4' failed with exit status 1 Error: Target com.apple.build returned: shell command "cd "/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_python_py-pylibpcap/wor\ k/pylibpcap-0.5.1" && /opt/local/bin/python2.4 setup.py build" returned error 1 Command output: running build running build_ext building '_pcapmodule' extension generating constants.c from mk-constants.py swig -python -shadow -ISWIG -o pcap.c pcap.i pcap.i:72: Warning(124): Specifying the language name in %typemap is deprecated - use #ifdef SWIG<LANG> instead. pcap.i:77: Warning(124): Specifying the language name in %typemap is deprecated - use #ifdef SWIG<LANG> instead. pcap.i:82: Warning(124): Specifying the language name in %typemap is deprecated - use #ifdef SWIG<LANG> instead. /opt/local/bin/python2.4 ./build-tools/docify.py pcap.c /opt/local/bin/python2.4 ./build-tools/docify-shadow.py pcap.py Traceback (most recent call last):
source file doesn't look like swigged shadow class code error: command '/opt/local/bin/python2.4' failed with exit status 1
Warning: the following items did not execute (for py-pylibpcap): com.apple.activate com.apple.build com.apple.destroot com.apple.archive com.apple.install Error: /opt/local/bin/port: Status 1 encountered during processing.
-- Pierre Queinnec