Opened 11 years ago
Closed 11 years ago
#39298 closed defect (worksforme)
py24-pyobjc @2.0: build failure when dyld-headers @210.2.3_0 is active
Reported by: | cooljeanius (Eric Gallager) | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.1.3 |
Keywords: | Cc: | ||
Port: | py24-pyobjc |
Description
Trying to upgrade py24-pyobjc resulted in the following error:
building 'objc._objc' extension /usr/bin/gcc-4.2 -isysroot / -fno-strict-aliasing -fno-common -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -arch x86_64 -arch i386 -I/opt/local/include/python2.4 -c Modules/objc/objc_inject.m -o build/temp.macosx-10.6-fat-2.4/Modules/objc/objc_inject.o -DPyObjC_STRICT_DEBUGGING -DMACOSX -g -O1 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wformat=2 -W -Wshadow -Wpointer-arith -Wmissing-declarations -Wnested-externs -Wno-long-long -Wno-import -I/opt/local/include/libxml2 -Ibuild/codegen/ -Ilibffi-src/include -Ilibffi-src/powerpc Modules/objc/objc_inject.m:52: error: ‘_dyld_func_lookup’ undeclared here (not in a function) Modules/objc/objc_inject.m:52: warning: type defaults to ‘int’ in declaration of ‘_dyld_func_lookup’ Modules/objc/objc_inject.m:58: warning: ‘NSAddImage’ is deprecated (declared at /opt/local/include/mach-o/dyld.h:229) Modules/objc/objc_inject.m:59: warning: ‘NSLookupSymbolInImage’ is deprecated (declared at /opt/local/include/mach-o/dyld.h:181) Modules/objc/objc_inject.m:60: warning: ‘NSAddressOfSymbol’ is deprecated (declared at /opt/local/include/mach-o/dyld.h:187) Modules/objc/objc_inject.m:62: warning: ‘NSCreateObjectFileImageFromFile’ is deprecated (declared at /opt/local/include/mach-o/dyld.h:144) Modules/objc/objc_inject.m:63: warning: ‘NSLinkModule’ is deprecated (declared at /opt/local/include/mach-o/dyld.h:160) Modules/objc/objc_inject.m:64: warning: ‘NSLinkEditError’ is deprecated (declared at /opt/local/include/mach-o/dyld.h:216) Modules/objc/objc_inject.m: In function ‘injectEntry’: Modules/objc/objc_inject.m:256: warning: nested extern declaration of ‘__pthread_set_self’ Modules/objc/objc_inject.m:269: error: called object ‘f->_dyld_func_lookup’ is not a function Modules/objc/objc_inject.m:270: error: called object ‘f->_dyld_func_lookup’ is not a function Modules/objc/objc_inject.m:271: error: called object ‘f->_dyld_func_lookup’ is not a function Modules/objc/objc_inject.m:272: error: called object ‘f->_dyld_func_lookup’ is not a function Modules/objc/objc_inject.m:275: error: called object ‘f->_dyld_func_lookup’ is not a function Modules/objc/objc_inject.m:276: error: called object ‘f->_dyld_func_lookup’ is not a function Modules/objc/objc_inject.m:277: error: called object ‘f->_dyld_func_lookup’ is not a function Modules/objc/objc_inject.m: In function ‘objc_inject’: Modules/objc/objc_inject.m:470: warning: ‘NSAddImage’ is deprecated (declared at /opt/local/include/mach-o/dyld.h:229) Modules/objc/objc_inject.m:484: warning: ‘NSCreateObjectFileImageFromFile’ is deprecated (declared at /opt/local/include/mach-o/dyld.h:144) Modules/objc/objc_inject.m:484: warning: ‘NSCreateObjectFileImageFromFile’ is deprecated (declared at /opt/local/include/mach-o/dyld.h:144) Modules/objc/objc_inject.m:485: warning: ‘NSLinkModule’ is deprecated (declared at /opt/local/include/mach-o/dyld.h:160) Modules/objc/objc_inject.m:485: warning: ‘NSLinkModule’ is deprecated (declared at /opt/local/include/mach-o/dyld.h:160) Modules/objc/objc_inject.m:486: warning: ‘NSLinkEditError’ is deprecated (declared at /opt/local/include/mach-o/dyld.h:216) Modules/objc/objc_inject.m:486: warning: ‘NSLinkEditError’ is deprecated (declared at /opt/local/include/mach-o/dyld.h:216) lipo: can't figure out the architecture type of: /var/tmp//ccWBUNnM.out error: command '/usr/bin/gcc-4.2' failed with exit status 1 Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py-pyobjc/py24-pyobjc/work/pyobjc-core" && /opt/local/bin/python2.4 setup.py build Exit code: 1
port provides /opt/local/include/mach-o/dyld.h
returns:
/opt/local/include/mach-o/dyld.h is provided by: dyld-headers
So I deactivated dyld-headers, and then after that, py24-pyobjc built successfully.
Change History (4)
comment:1 follow-up: 2 Changed 11 years ago by larryv (Lawrence Velázquez)
comment:2 Changed 11 years ago by cooljeanius (Eric Gallager)
Replying to larryv@…:
What about the other subports?
This was the only one that rev-upgrade
was trying to upgrade, so I'd assume they're okay...
comment:3 follow-up: 4 Changed 11 years ago by cooljeanius (Eric Gallager)
py24-objc was removed in r116225 so I guess that means that this ticket is no longer relevant...
comment:4 Changed 11 years ago by seanfarley (Sean Farley)
Resolution: | → worksforme |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
What about the other subports?