[MacPorts] #19214: py25-sip: Install failure - undefined symbols
MacPorts
noreply at macports.org
Tue Apr 7 03:01:32 PDT 2009
#19214: py25-sip: Install failure - undefined symbols
----------------------------------------+-----------------------------------
Reporter: magnus.wrenninge@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone: Port Bugs
Component: ports | Version: 1.7.1
Keywords: | Port:
----------------------------------------+-----------------------------------
Old description:
> Similar to Ticket #15982, I can't seem to build py25-sip. I've made sure
> to run "python_select python25"
>
> [ /Users/magnus ] sudo python_select python25
> Selecting version "python25" for python
> [ /Users/magnus ] sudo port install py25-sip
> ---> Building py25-sip
> 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.9"
> && make all " returned error 2
> Command output: make[1]: `sip' is up to date.
> cc -c -pipe -fPIC -Os -w -I.
> -I/opt/local/Library/Frameworks/Python.framework/Versions/2.5/include/python2.5
> -o siplib.o siplib.c
> cc -c -pipe -fPIC -Os -w -I.
> -I/opt/local/Library/Frameworks/Python.framework/Versions/2.5/include/python2.5
> -o qtlib.o qtlib.c
> cc -c -pipe -fPIC -Os -w -I.
> -I/opt/local/Library/Frameworks/Python.framework/Versions/2.5/include/python2.5
> -o threads.o threads.c
> cc -c -pipe -fPIC -Os -w -I.
> -I/opt/local/Library/Frameworks/Python.framework/Versions/2.5/include/python2.5
> -o objmap.o objmap.c
> c++ -c -pipe -fPIC -Os -w -I.
> -I/opt/local/Library/Frameworks/Python.framework/Versions/2.5/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
> _slot_sq_ass_item in siplib.o
> _slot_sq_item in siplib.o
> "_PyErr_WarnEx", referenced from:
> _sip_api_deprecated in siplib.o
> _transfer 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.
New description:
Similar to Ticket #15982, I can't seem to build py25-sip. I've made sure
to run "python_select python25"
{{{
[ /Users/magnus ] sudo python_select python25
Selecting version "python25" for python
[ /Users/magnus ] sudo port install py25-sip
---> Building py25-sip
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.9"
&& make all " returned error 2
Command output: make[1]: `sip' is up to date.
cc -c -pipe -fPIC -Os -w -I.
-I/opt/local/Library/Frameworks/Python.framework/Versions/2.5/include/python2.5
-o siplib.o siplib.c
cc -c -pipe -fPIC -Os -w -I.
-I/opt/local/Library/Frameworks/Python.framework/Versions/2.5/include/python2.5
-o qtlib.o qtlib.c
cc -c -pipe -fPIC -Os -w -I.
-I/opt/local/Library/Frameworks/Python.framework/Versions/2.5/include/python2.5
-o threads.o threads.c
cc -c -pipe -fPIC -Os -w -I.
-I/opt/local/Library/Frameworks/Python.framework/Versions/2.5/include/python2.5
-o objmap.o objmap.c
c++ -c -pipe -fPIC -Os -w -I.
-I/opt/local/Library/Frameworks/Python.framework/Versions/2.5/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
_slot_sq_ass_item in siplib.o
_slot_sq_item in siplib.o
"_PyErr_WarnEx", referenced from:
_sip_api_deprecated in siplib.o
_transfer 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.
}}}
--
Comment(by wsiegrist@…):
Fix description formatting
--
Ticket URL: <http://trac.macports.org/ticket/19214#comment:1>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list