[MacPorts] #26120: py26-pyobjc-2.3 error: 'objc_property_t' undeclared in 'PyObjCClass_ListProperties'

MacPorts noreply at macports.org
Tue Aug 17 08:39:32 PDT 2010


#26120: py26-pyobjc-2.3 error: 'objc_property_t' undeclared in
'PyObjCClass_ListProperties'
------------------------------------+---------------------------------------
 Reporter:  kevin@…                 |       Owner:  macports-tickets@…                   
     Type:  defect                  |      Status:  new                                  
 Priority:  Normal                  |   Milestone:                                       
Component:  ports                   |     Version:  1.9.1                                
 Keywords:  pyobjc objc_property_t  |        Port:  py26-pyobjc                          
------------------------------------+---------------------------------------
 While trying to install py26-pyobjc on Mac OS 10.4.11 with MacPorts 1.9.1:

 {{{
 --->  Computing dependencies for py26-pyobjc
 --->  Building py26-pyobjc
 Error: Target org.macports.build returned: shell command failed
 Log for py26-pyobjc is at:
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py26-pyobjc/main.log
 Error: Status 1 encountered during processing.
 }}}


 '-v' reveals:

 {{{
 /usr/bin/gcc-4.0 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -arch
 i386
 -I/opt/local/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6
 -c Modules/objc/objc-class.m -o
 build/temp.macosx-10.4-i386-2.6/Modules/objc/objc-class.o
 -DPyObjC_STRICT_DEBUGGING -DMACOSX -DPyObjC_BUILD_RELEASE=1004 -no-cpp-
 precomp -DMACOSX -g -fexceptions -Wall -Wstrict-prototypes -Wmissing-
 prototypes -Wformat=2 -W -Wpointer-arith -Wmissing-declarations -Wnested-
 externs -Wno-long-long -Wno-import -DNO_OBJC2_RUNTIME -isysroot /
 -Ibuild/codegen/ -Ilibffi-src/include -Ilibffi-src/powerpc
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py26-pyobjc/work
 /pyobjc-core-2.3/build/libxml/include/libxml2
 Modules/objc/objc-class.m: In function 'PyObjCClass_ListProperties':
 Modules/objc/objc-class.m:1823: error: 'objc_property_t' undeclared (first
 use in this function)
 Modules/objc/objc-class.m:1823: error: (Each undeclared identifier is
 reported only once
 Modules/objc/objc-class.m:1823: error: for each function it appears in.)
 Modules/objc/objc-class.m:1823: error: 'props' undeclared (first use in
 this function)
 Modules/objc/objc-class.m:1836: error: 'class_copyPropertyList' undeclared
 (first use in this function)
 Modules/objc/objc-class.m:1844: warning: implicit declaration of function
 'class_copyPropertyList'
 Modules/objc/objc-class.m:1844: warning: nested extern declaration of
 'class_copyPropertyList'
 Modules/objc/objc-class.m:1846: warning: implicit declaration of function
 'protocol_copyPropertyList'
 Modules/objc/objc-class.m:1846: warning: nested extern declaration of
 'protocol_copyPropertyList'
 Modules/objc/objc-class.m:1855: warning: implicit declaration of function
 'property_getName'
 Modules/objc/objc-class.m:1855: warning: nested extern declaration of
 'property_getName'
 Modules/objc/objc-class.m:1855: warning: initialization makes pointer from
 integer without a cast
 Modules/objc/objc-class.m:1856: warning: implicit declaration of function
 'property_getAttributes'
 Modules/objc/objc-class.m:1856: warning: nested extern declaration of
 'property_getAttributes'
 Modules/objc/objc-class.m:1856: warning: initialization makes pointer from
 integer without a cast
 error: command '/usr/bin/gcc-4.0' failed with exit status 1
 shell command " cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py26-pyobjc/work
 /pyobjc-core-2.3" &&
 /opt/local/Library/Frameworks/Python.framework/Versions/2.6/bin/python2.6
 setup.py --no-user-cfg build " returned error 1
 Error: Target org.macports.build returned: shell command failed
 Warning: the following items did not execute (for py26-pyobjc):
 org.macports.activate org.macports.build org.macports.destroot
 org.macports.install
 Log for py26-pyobjc is at:
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py26-pyobjc/main.log
 Error: Status 1 encountered during processing.
 }}}

 Log is attached. I couldn't find another ticket reporting this error. Let
 me know if you need more info, or would like me to try something on my
 machine. Thanks.

-- 
Ticket URL: <http://trac.macports.org/ticket/26120>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list