#44265: objc @3.2.8 Build Error -----------------------------------+-------------------------------- Reporter: zorgatone@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Keywords: objc port build error | Port: objc -----------------------------------+-------------------------------- After trying a couple times and cleaning the port/updating all the ports, I'm still having trouble installing objc @3.2.8. I get this error in the build phase: {{{ :info:build /usr/bin/clang -c Object.m -DNDEBUG -O2 :info:build make[2]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_objc/objc/work/objc-3.2.8/src/o bjpak' :info:build /usr/bin/clang -c ascfiler.m -DNDEBUG -O2 -I../../include/objcrt :info:build ar cr objpak.a ascfiler.o :info:build ar cr objcrt.a Object.o :info:build /opt/local/bin/ranlib: file: objpak.a(ascfiler.o) has no symbols :info:build /usr/bin/clang -c notfound.m -DNDEBUG -O2 -I../../include/objcrt :info:build /opt/local/bin/ranlib: file: objcrt.a(Object.o) has no symbols :info:build /usr/bin/clang -c Block.m -DNDEBUG -O2 :info:build In file included from notfound.m:25: :info:build ./notfound.h:28:23: error: cannot find interface declaration for 'Exception', superclass of 'NotFound' :info:build @interface NotFound : Exception :info:build ~~~~~~~~~~~~~~~~~~~ ^ :info:build ./notfound.h:28:12: warning: class 'NotFound' defined without specifying a base class [-Wobjc-root-class] :info:build @interface NotFound : Exception :info:build ^ :info:build ./notfound.h:28:20: note: add a super class to fix this problem :info:build @interface NotFound : Exception :info:build ^ :info:build 1 warning and 1 error generated. :info:build make[2]: *** [notfound.o] Error 1 :info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_objc/objc/work/objc-3.2.8/src/ob jpak' :info:build make[1]: *** [objpak] Error 2 :info:build make[1]: *** Waiting for unfinished jobs.... :info:build /usr/bin/clang -c Message.m -DNDEBUG -O2 :info:build ar cr objcrt.a Block.o :info:build /opt/local/bin/ranlib: file: objcrt.a(Object.o) has no symbols :info:build /opt/local/bin/ranlib: file: objcrt.a(Block.o) has no symbols :info:build /usr/bin/clang -c Exceptn.m -DNDEBUG -O2 :info:build ar cr objcrt.a Message.o :info:build /opt/local/bin/ranlib: file: objcrt.a(Object.o) has no symbols :info:build /opt/local/bin/ranlib: file: objcrt.a(Block.o) has no symbols :info:build /usr/bin/clang -c Exceptn.m -DNDEBUG -O2 :info:build ar cr objcrt.a Message.o :info:build /opt/local/bin/ranlib: file: objcrt.a(Object.o) has no symbols :info:build /opt/local/bin/ranlib: file: objcrt.a(Block.o) has no symbols :info:build /opt/local/bin/ranlib: file: objcrt.a(Message.o) has no symbols :info:build /usr/bin/clang -c OutOfMem.m -DNDEBUG -O2 :info:build ar cr objcrt.a Exceptn.o :info:build In file included from OutOfMem.m:25: :info:build ./OutOfMem.h:28:26: error: cannot find interface declaration for 'Exception', superclass of 'OutOfMemory' :info:build @interface OutOfMemory : Exception :info:build ~~~~~~~~~~~~~~~~~~~~~~ ^ :info:build ./OutOfMem.h:28:12: warning: class 'OutOfMemory' defined without specifying a base class [-Wobjc-root-class] :info:build @interface OutOfMemory : Exception :info:build ^ :info:build ./OutOfMem.h:28:23: note: add a super class to fix this problem :info:build @interface OutOfMemory : Exception :info:build ^ :info:build 1 warning and 1 error generated. :info:build make[2]: *** [OutOfMem.o] Error 1 :info:build make[2]: *** Waiting for unfinished jobs.... :info:build /opt/local/bin/ranlib: file: objcrt.a(Object.o) has no symbols :info:build /opt/local/bin/ranlib: file: objcrt.a(Block.o) has no symbols :info:build /opt/local/bin/ranlib: file: objcrt.a(Message.o) has no symbols :info:build /opt/local/bin/ranlib: file: objcrt.a(Exceptn.o) has no symbols :info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_objc/objc/work/objc-3.2.8/src/objcrt' :info:build make[1]: *** [objcrt] Error 2 :info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_objc/objc/work/objc-3.2.8' :info:build make: *** [default] Error 2 :info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_objc/objc/work/objc-3.2.8' :info:build Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_objc/objc/work/objc-3.2.8" && /usr/bin/make -j2 -w :info:build Exit code: 2 :error:build org.macports.build for port objc returned: command execution failed :debug:build Error code: CHILDSTATUS 11594 2 :debug:build Backtrace: command execution failed while executing "system -nice 0 $fullcmdstring" ("eval" body line 1) invoked from within "eval system $notty $nice \$fullcmdstring" invoked from within "command_exec build" (procedure "portbuild::build_main" line 8) invoked from within "portbuild::build_main org.macports.build" ("eval" body line 1) invoked from within "eval $procedure $targetname" :info:build Warning: targets not executed for objc: org.macports.activate org.macports.build org.macports.destroot org.macports.install :notice:build Please see the log file for port objc for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_objc/objc/main.log }}} -- Ticket URL: <https://trac.macports.org/ticket/44265> MacPorts <http://www.macports.org/> Ports system for OS X