[MacPorts] #15638: py25-sip fails to build

MacPorts noreply at macports.org
Fri Aug 22 09:10:34 PDT 2008


#15638: py25-sip fails to build
---------------------------------+------------------------------------------
  Reporter:  themolok at gmail.com  |       Owner:  erickt at macports.org
      Type:  defect              |      Status:  new                
  Priority:  Normal              |   Milestone:  Port Bugs          
 Component:  ports               |     Version:  1.6.0              
Resolution:                      |    Keywords:                     
---------------------------------+------------------------------------------
Comment (by gjznituv at 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


More information about the macports-tickets mailing list