Opened 14 years ago

Closed 13 years ago

Last modified 11 years ago

#26120 closed defect (wontfix)

py26-pyobjc-2.3 error: 'objc_property_t' undeclared in 'PyObjCClass_ListProperties'

Reported by: kevin@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.9.1
Keywords: tiger Cc: elelay (Eric Le Lay), ryandesign (Ryan Carsten Schmidt)
Port: py26-pyobjc

Description

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.

Attachments (1)

main.log (194.1 KB) - added by kevin@… 14 years ago.
Build log for py26-pyobjc

Download all attachments as: .zip

Change History (14)

Changed 14 years ago by kevin@…

Attachment: main.log added

Build log for py26-pyobjc

comment:1 Changed 14 years ago by mf2k (Frank Schima)

Keywords: pyobjc objc_property_t removed
Owner: changed from macports-tickets@… to jmr@…

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

Keywords: tiger added

comment:3 Changed 14 years ago by kevin@…

Thanks for routing/tweaking my ticket. I'm new here, so I can't tell if this ticket's been forgotten about (it's been six days), or someone's working on it and they'll back to me. Let me know.

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

If anyone supplies a patch I'll apply it.

comment:5 in reply to:  4 Changed 14 years ago by kevin@…

Replying to jmr@…:

If anyone supplies a patch I'll apply it.

Thanks... is anyone inclined to supply a patch? I mean, I obviously don't know how to fix this, and you're waiting for someone else to write a patch. Does anyone else know about this issue? (I don't see anyone cc'd.) If not, we could be waiting a long time for a fix.

comment:6 Changed 14 years ago by elelay (Eric Le Lay)

Cc: elelay@… added

Cc Me!

comment:7 Changed 14 years ago by Russell-Jones-OxPhys (Russell Jones)

Cc: russell.jones@… added

Cc Me!

comment:8 Changed 14 years ago by Russell-Jones-OxPhys (Russell Jones)

Maybe try upstream http://pyobjc.sourceforge.net/ ? Just realised this is 10.4 only, so I'm not very interested in it, but I don't know how to remove myself from the cc list...

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

Cc: russell.jones@… removed

The CcMe button will also un-cc you. This has been reported upstream BTW.

comment:10 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign@… added

comment:11 Changed 13 years ago by jmroot (Joshua Root)

Owner: changed from jmr@… to macports-tickets@…

comment:12 Changed 13 years ago by jmroot (Joshua Root)

Resolution: wontfix
Status: newclosed

Closing: no patch, unsupported platform.

comment:13 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

Per the upstream bug report, Tiger is not supported. I marked the ports as requiring Leopard or newer in r99552.

Note: See TracTickets for help on using tickets.