[MacPorts] #15982: py25-sip: Install failure
#15982: py25-sip: Install failure -----------------------------+---------------------------------------------- Reporter: tom.duck@dal.ca | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Keywords: py25-sip | -----------------------------+---------------------------------------------- py25-sip fails to install on my 10.4 Tiger system. Here is the build output: {{{ $ 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> MacPorts <http://www.macports.org/> Ports system for Mac OS
#15982: py25-sip: Install failure ------------------------------+--------------------------------------------- Reporter: tom.duck@dal.ca | Owner: saispo@macports.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: py25-sip ------------------------------+--------------------------------------------- Changes (by jmr@macports.org): * cc: saispo@macports.org (removed) * owner: macports-tickets@lists.macosforge.org => saispo@macports.org -- Ticket URL: <http://trac.macports.org/ticket/15982#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#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 ------------------------------+--------------------------------------------- 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/15982#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#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
#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): I meant to thank erict, of course! Sorry... -- Ticket URL: <http://trac.macports.org/ticket/15982#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#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 blb@macports.org): Odd, those symbols are in my python25 install. What's the output of {{{ port installed python25 }}} -- Ticket URL: <http://trac.macports.org/ticket/15982#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#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): {{{ port installed python25 The following ports are currently installed: python25 @2.5.2_3+darwin_8 (active) }}} -- Ticket URL: <http://trac.macports.org/ticket/15982#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#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 blb@macports.org): You may need to upgrade that (2.5.2_5 is current) as looking at the changes between [http://trac.macports.org/changeset?new=trunk%2Fdports%2Flang%2Fpython25%2FPo... revs 3 and 5] show that some links were fixed within the framework. -- Ticket URL: <http://trac.macports.org/ticket/15982#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#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): I upgraded this, and then did the same for all installed ports. Unfortunately, the same problem persists. One weird thing did happen: I had to force the uninstall of the old (inactive) python25. That's never happened before, and I am not sure what it means. -- Ticket URL: <http://trac.macports.org/ticket/15982#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
#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): Just in case, I did a full delete/reinstall of MacPorts. I am still getting the same errors when installing py25-sip: {{{ /usr/libexec/gcc/i686-apple-darwin8/4.0.1/ld: Undefined symbols: _PyInt_AsSsize_t _PyInt_FromSsize_t collect2: ld returned 1 exit status }}} -- Ticket URL: <http://trac.macports.org/ticket/15982#comment:9> MacPorts <http://www.macports.org/> Ports system for Mac OS
#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): Gah. I forgot to install python_select after reinstalling MacPorts. With this, py25-sip now installs cleanly. So, it seems that my MacPorts installation was broken. I'm not sure what the reason for this was. Thanks for the help. Please go ahead and close this report. -- Ticket URL: <http://trac.macports.org/ticket/15982#comment:10> MacPorts <http://www.macports.org/> Ports system for Mac OS
#15982: py25-sip: Install failure ------------------------------+--------------------------------------------- Reporter: tom.duck@dal.ca | Owner: erickt@macports.org Type: defect | Status: closed Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: worksforme | Keywords: py25-sip ------------------------------+--------------------------------------------- Changes (by blb@macports.org): * status: new => closed * resolution: => worksforme Comment: Unfortunately there have been a few instances where a clean install of MacPorts fixes an issue, but what that issue was has yet to be found... -- Ticket URL: <http://trac.macports.org/ticket/15982#comment:11> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts