[MacPorts] #15638: py25-sip fails to build
#15638: py25-sip fails to build --------------------------------+------------------------------------------- Reporter: themolok@gmail.com | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: High | Milestone: Component: ports | Version: 1.6.0 Keywords: | --------------------------------+------------------------------------------- Here it is the log: {{{ $> port install py25-sip ---> Fetching py25-sip ---> sip-4.7.6.tar.gz doesn't seem to exist in /opt/local/var/macports/distfiles/python ---> Attempting to fetch sip-4.7.6.tar.gz from http://www.riverbankcomputing.com/static/Downloads/sip4/ % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 453k 100 453k 0 0 105k 0 0:00:04 0:00:04 --:--:-- 169k ---> Verifying checksum(s) for py25-sip ---> Checksumming sip-4.7.6.tar.gz ---> Extracting py25-sip ---> Extracting sip-4.7.6.tar.gz ---> Applying patches to py25-sip ---> Applying /opt/local/var/macports/sources/rsync.macports.org/release/ports/python/py25-sip/files /patch-siputils.py.diff patching file siputils.py Hunk #1 succeeded at 1367 (offset 65 lines). ---> Configuring py25-sip This is SIP 4.7.6 for Python 2.5.2 on darwin. The SIP code generator will be installed in /opt/local/bin. The SIP module will be installed in /opt/local/lib/python2.5/site- packages. The SIP header file will be installed in /opt/local/include/python2.5. The default directory to install .sip files in is /opt/local/share/sip. The platform/compiler configuration is macx-g++. Creating sipconfig.py... Creating top level Makefile... Creating sip code generator Makefile... Creating sip module Makefile... ---> Building py25-sip with target all 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 Undefined symbols: "_PyInt_FromSsize_t", referenced from: _sipVoidPtr_getsize in siplib.o _sipWrapper_sq_ass_item in siplib.o _sipWrapper_sq_item in siplib.o "_PyInt_AsSsize_t", referenced from: _sipVoidPtr_setsize in siplib.o ld: symbol(s) not found collect2: ld returned 1 exit status make[1]: *** [sip.so] Error 1 make: *** [all] Error 2 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 Undefined symbols: "_PyInt_FromSsize_t", referenced from: _sipVoidPtr_getsize in siplib.o _sipWrapper_sq_ass_item in siplib.o _sipWrapper_sq_item in siplib.o "_PyInt_AsSsize_t", referenced from: _sipVoidPtr_setsize in siplib.o ld: symbol(s) not found collect2: ld returned 1 exit status make[1]: *** [sip.so] Error 1 make: *** [all] Error 2 Warning: the following items did not execute (for py25-sip): org.macports.activate org.macports.build org.macports.destroot org.macports.install Error: Status 1 encountered during processing. }}} -- Ticket URL: <http://trac.macports.org/ticket/15638> MacPorts <http://www.macports.org/> Ports system for Mac OS
#15638: py25-sip fails to build ---------------------------------+------------------------------------------ Reporter: themolok@gmail.com | Owner: saispo@macports.org Type: defect | Status: new Priority: High | Milestone: Component: ports | Version: 1.6.0 Resolution: | Keywords: ---------------------------------+------------------------------------------ Changes (by rhwood@macports.org): * owner: macports-tickets@lists.macosforge.org => saispo@macports.org Comment: Assign to maintainer -- Ticket URL: <http://trac.macports.org/ticket/15638#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#15638: py25-sip fails to build ---------------------------------+------------------------------------------ Reporter: themolok@gmail.com | Owner: saispo@macports.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: ---------------------------------+------------------------------------------ Changes (by jmr@macports.org): * priority: High => Normal * milestone: => Port Bugs -- Ticket URL: <http://trac.macports.org/ticket/15638#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#15638: py25-sip fails to build ---------------------------------+------------------------------------------ Reporter: themolok@gmail.com | Owner: erickt@macports.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: ---------------------------------+------------------------------------------ Changes (by erickt@macports.org): * owner: saispo@macports.org => erickt@macports.org Comment: It looks like python2.4 may be owning the /opt/local/Frameworks/Python.framework symlinks, which would give this error. It seems that running "python_select python25" will fix this. -- Ticket URL: <http://trac.macports.org/ticket/15638#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#15638: py25-sip fails to build ---------------------------------+------------------------------------------ Reporter: themolok@gmail.com | Owner: erickt@macports.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: ---------------------------------+------------------------------------------ Comment (by gjznituv@gmail.com): I get a similar error. What do you mean by "python_select python25" ? Where do I issue this command? {{{ ---> Fetching py25-sip ---> 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 Undefined symbols: "_PyInt_FromSsize_t", referenced from: _sipVoidPtr_getsize in siplib.o _sipWrapper_sq_ass_item in siplib.o _sipWrapper_sq_item in siplib.o "_PyInt_AsSsize_t", referenced from: _sipVoidPtr_setsize in siplib.o ld: symbol(s) not found 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/15638#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#15638: py25-sip fails to build ---------------------------------+------------------------------------------ Reporter: themolok@gmail.com | Owner: erickt@macports.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: ---------------------------------+------------------------------------------ Comment (by blb@macports.org): Looks a lot like #15982, so make sure your python25 is up to date, then install the python_select port ({{{sudo port install python_select}}}) and run {{{sudo python_select python25}}}. -- Ticket URL: <http://trac.macports.org/ticket/15638#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#15638: py25-sip fails to build ---------------------------------+------------------------------------------ Reporter: themolok@… | Owner: erickt@… Type: defect | Status: closed Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: invalid | Keywords: Port: | ---------------------------------+------------------------------------------ Changes (by macsforever2000@…): * status: new => closed * resolution: => invalid Comment: Closing due to lack of response by the reporter. -- Ticket URL: <http://trac.macports.org/ticket/15638#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#15638: py25-sip fails to build ---------------------------------+------------------------------------------ Reporter: themolok@… | Owner: erickt@… Type: defect | Status: closed Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: invalid | Keywords: Port: py25-sip | ---------------------------------+------------------------------------------ Changes (by macsforever2000@…): * port: => py25-sip -- Ticket URL: <http://trac.macports.org/ticket/15638#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts