New Ticket     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #26120 (closed defect: wontfix)

Opened 18 months ago

Last modified 5 months ago

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@…, ryandesign@…
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

main.log Download (194.1 KB) - added by kevin@… 18 months ago.
Build log for py26-pyobjc

Change History

Changed 18 months ago by kevin@…

Build log for py26-pyobjc

  Changed 18 months ago by macsforever2000@…

  • keywords pyobjc objc_property_t removed
  • owner changed from macports-tickets@… to jmr@…

  Changed 18 months ago by jmr@…

  • keywords tiger added

  Changed 18 months 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.

follow-up: ↓ 5   Changed 18 months ago by jmr@…

If anyone supplies a patch I'll apply it.

in reply to: ↑ 4   Changed 18 months 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.

  Changed 18 months ago by elelay@…

  • cc elelay@… added

Cc Me!

  Changed 18 months ago by russell.jones@…

  • cc russell.jones@… added

Cc Me!

  Changed 18 months ago by 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...

  Changed 18 months ago by jmr@…

  • cc russell.jones@… removed

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

  Changed 10 months ago by ryandesign@…

  • cc ryandesign@… added

  Changed 5 months ago by jmr@…

  • owner changed from jmr@… to macports-tickets@…

  Changed 5 months ago by jmr@…

  • status changed from new to closed
  • resolution set to wontfix

Closing: no patch, unsupported platform.

Note: See TracTickets for help on using tickets.