[MacPorts] #39298: py24-pyobjc @2.0: build failure when dyld-headers @210.2.3_0 is active
MacPorts
noreply at macports.org
Fri May 31 16:23:52 PDT 2013
#39298: py24-pyobjc @2.0: build failure when dyld-headers @210.2.3_0 is active
---------------------+--------------------------------
Reporter: egall@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.1.3
Keywords: | Port: py24-pyobjc
---------------------+--------------------------------
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.
--
Ticket URL: <https://trac.macports.org/ticket/39298>
MacPorts <http://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list