#15982: py25-sip: Install failure ------------------------------+--------------------------------------------- Reporter: tom.duck@dal.ca | Owner: erickt@macports.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: py25-sip ------------------------------+--------------------------------------------- Comment (by tom.duck@dal.ca): Thanks for having a look at this, saispo. I had already run python_select, but did so again just in case. The same error resulted: {{{ $ sudo python_select python25 Selecting version "python25" for python $ python --version Python 2.5.2 $ which python /opt/local/bin/python $ sudo port clean --all py25-sip ---> Cleaning py25-sip Warning: Distfiles directory '/opt/local/var/macports/distfiles/python' may contain distfiles needed for other ports, use the -f flag to force removal $ sudo port install py25-sip ---> Fetching py25-sip ---> Attempting to fetch sip-4.7.6.tar.gz from http://www.riverbankcomputing.com/static/Downloads/sip4/ ---> Verifying checksum(s) for py25-sip ---> Extracting py25-sip ---> Applying patches to py25-sip ---> Configuring py25-sip ---> Building py25-sip with target all 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_py25-sip/work/sip-4.7.6" && make all " returned error 2 Command output: cc -c -pipe -Os -w -I. -o main.o main.c cc -c -pipe -Os -w -I. -o transform.o transform.c cc -c -pipe -Os -w -I. -o gencode.o gencode.c cc -c -pipe -Os -w -I. -o export.o export.c cc -c -pipe -Os -w -I. -o heap.o heap.c cc -c -pipe -Os -w -I. -o parser.o parser.c cc -c -pipe -Os -w -I. -o lexer.o lexer.c c++ -F/opt/local/Library/Frameworks -L/opt/local/lib -o sip main.o transform.o gencode.o export.o heap.o parser.o lexer.o cc -c -pipe -fPIC -Os -w -I. -I/opt/local/include/python2.5 -o siplib.o siplib.c cc -c -pipe -fPIC -Os -w -I. -I/opt/local/include/python2.5 -o qtlib.o qtlib.c cc -c -pipe -fPIC -Os -w -I. -I/opt/local/include/python2.5 -o threads.o threads.c cc -c -pipe -fPIC -Os -w -I. -I/opt/local/include/python2.5 -o objmap.o objmap.c c++ -c -pipe -fPIC -Os -w -I. -I/opt/local/include/python2.5 -o bool.o bool.cpp c++ -F/opt/local/Library/Frameworks -L/opt/local/lib -bundle -framework Python -o sip.so siplib.o qtlib.o threads.o objmap.o bool.o /usr/libexec/gcc/i686-apple-darwin8/4.0.1/ld: Undefined symbols: _PyInt_AsSsize_t _PyInt_FromSsize_t collect2: ld returned 1 exit status make[1]: *** [sip.so] Error 1 make: *** [all] Error 2 Error: Status 1 encountered during processing. }}} -- Ticket URL: <http://trac.macports.org/ticket/15982#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS