Opened 16 years ago

Closed 14 years ago

#19214 closed defect (worksforme)

py25-sip: Install failure - undefined symbols

Reported by: magnus.wrenninge@… Owned by: saispo@…
Priority: Normal Milestone:
Component: ports Version: 1.7.1
Keywords: Cc:
Port: py25-sip

Description (last modified by wsiegrist@…)

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.

Change History (4)

comment:1 Changed 16 years ago by wsiegrist@…

Description: modified (diff)

Fix description formatting

comment:2 Changed 16 years ago by jmroot (Joshua Root)

Owner: changed from macports-tickets@… to saispo@…
Port: py25-sip added

comment:3 Changed 16 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

comment:4 Changed 14 years ago by jmroot (Joshua Root)

Resolution: worksforme
Status: newclosed

Can't reproduce with 4.11.1.

Note: See TracTickets for help on using tickets.