[MacPorts] #19324: devel/dlcompat fails to build on Leopard
#19324: devel/dlcompat fails to build on Leopard --------------------------------+------------------------------------------- Reporter: yokota33@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.1 Keywords: | Port: devel/dlcompat --------------------------------+------------------------------------------- devel/dlcompat fails to build on Leopard with the following error messages: {{{ Command output: dlfcn.c:694: warning: 'NSCreateObjectFileImageFromFile' is deprecated (declared at /usr/include/mach-o/dyld.h:145) dlfcn.c:755: warning: 'NSLinkEditError' is deprecated (declared at /usr/include/mach-o/dyld.h:217) dlfcn.c:769: warning: 'NSLinkModule' is deprecated (declared at /usr/include/mach-o/dyld.h:161) dlfcn.c:773: warning: 'NSDestroyObjectFileImage' is deprecated (declared at /usr/include/mach-o/dyld.h:147) dlfcn.c:776: warning: passing argument 1 of 'get_mach_header_from_NSModule' from incompatible pointer type dlfcn.c:781: warning: 'NSLinkEditError' is deprecated (declared at /usr/include/mach-o/dyld.h:217) dlfcn.c: In function 'dlcompat_init_func': dlfcn.c:806: warning: passing argument 2 of '_dyld_func_lookup' from incompatible pointer type dlfcn.c:808: warning: passing argument 2 of '_dyld_func_lookup' from incompatible pointer type dlfcn.c:809: warning: passing argument 2 of '_dyld_func_lookup' from incompatible pointer type dlfcn.c: At top level: dlfcn.c:819: warning: Pragma CALL_ON_LOAD is deprecated; use constructor attribute instead dlfcn.c: In function 'dlclose': dlfcn.c:1087: warning: passing argument 1 of 'get_mach_header_from_NSModule' from incompatible pointer type dlfcn.c:1097: warning: 'NSUnLinkModule' is deprecated (declared at /usr/include/mach-o/dyld.h:169) dlfcn.c: In function 'image_for_address': dlfcn.c:1139: warning: initialization makes integer from pointer without a cast dlfcn.c:1143: warning: assignment discards qualifiers from pointer target type dlfcn.c: In function 'dladdr': dlfcn.c:1174: warning: initialization makes integer from pointer without a cast dlfcn.c:1191: warning: assignment discards qualifiers from pointer target type ar cru libdl.a dlfcn.o ranlib libdl.a /usr/bin/gcc-4.0 -dynamiclib -o libdl.1.dylib dlfcn.o -install_name /opt/local/lib/libdl.1.dylib -compatibility_version 1 -current_version 1 Undefined symbols: "_dlcompat_init_func", referenced from: initializer$0 in dlfcn.o ld: symbol(s) not found collect2: ld returned 1 exit status make: *** [libdl.1.dylib] Error 1 }}} -- Ticket URL: <http://trac.macports.org/ticket/19324> MacPorts <http://www.macports.org/> Ports system for Mac OS
#19324: devel/dlcompat fails to build on Leopard --------------------------------+------------------------------------------- Reporter: yokota33@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.1 Keywords: | Port: devel/dlcompat --------------------------------+------------------------------------------- Changes (by jmr@…): * cc: jmr@… (added) Comment: Why do you need to build dlcompat on Leopard? The functionality is present in the OS already. -- Ticket URL: <http://trac.macports.org/ticket/19324#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#19324: devel/dlcompat fails to build on Leopard --------------------------------+------------------------------------------- Reporter: yokota33@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.1 Keywords: | Port: devel/dlcompat --------------------------------+------------------------------------------- Comment(by yokota33@…): Replying to [comment:1 jmr@…]:
Why do you need to build dlcompat on Leopard? The functionality is present in the OS already.
I see. Actually, another port has failed to build because it was unable to find libdl.1, which doesn't present on the system. Then, there might be something wrong with that port, or the problem might come from the fact I updated the OS recently (I rebuilt every port but something might have gone wrong). Unfortunately, I cannot recall which port have failed at this moment, could you close this ticket? I will reopen a new ticket if I can identify the source of the problem. Thank you for your help. -- Ticket URL: <http://trac.macports.org/ticket/19324#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#19324: devel/dlcompat fails to build on Leopard ---------------------------------+------------------------------------------ Reporter: yokota33@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.1 Resolution: wontfix | Keywords: Port: devel/dlcompat | ---------------------------------+------------------------------------------ Changes (by jmr@…): * status: new => closed * resolution: => wontfix Comment: OK. There is no libdl.1.dylib on Leopard, only libdl.dylib (which is actually a symlink to libSystem.dylib). -- Ticket URL: <http://trac.macports.org/ticket/19324#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts