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

MacPorts noreply at macports.org
Mon Jun 16 18:56:36 PDT 2008


#15638: py25-sip fails to build
--------------------------------+-------------------------------------------
 Reporter:  themolok at gmail.com  |       Owner:  macports-tickets at 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


More information about the macports-tickets mailing list