[MacPorts] #48716: clang-3.5 fails to build on Mac OS 10.8.5 (Mountain Lion)
#48716: clang-3.5 fails to build on Mac OS 10.8.5 (Mountain Lion) -----------------------------+-------------------------------- Reporter: da.hoffman.pb@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Keywords: | Port: -----------------------------+-------------------------------- I have been unable to build clang-3.5 on MAC OS 10.8.5. I have attempted to build the default variant (+analyzer +arm_runtime), a variant without the arm_runtime, and a variant without the analyzer and arm_runtime. I have attempted to install a binary port, but none seem to exist. I have found no useful advice in the MacPorts tickets unearthed by google, except "clean and recompile", which I have done repeatedly, with no effect. Clang-3.5 appears to be completely dead as far as Mac OS 10.8.5 is concerned. -- Ticket URL: <https://trac.macports.org/ticket/48716> MacPorts <https://www.macports.org/> Ports system for OS X
#48716: clang-3.5 @3.5.2_6: eprintf/libcompiler_rt.a: No such file or directory ------------------------------+------------------------ Reporter: da.hoffman.pb@… | Owner: jeremyhu@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: clang-3.5 | ------------------------------+------------------------ Changes (by ryandesign@…): * owner: macports-tickets@… => jeremyhu@… * port: => clang-3.5 Comment: What version of Xcode and clang do you have? If it's not [XcodeVersionInfo#OSX10.8 the latest one for Mountain Lion] (Xcode 5.1.1 / clang-503.0.40), maybe upgrading Xcode and the Xcode command line tools would help. I also note you are building with 24 make jobs, and that the error message is about a missing file. You could try disabling parallel building, which will take longer but if it succeeds that will let us know it is a parallel build problem: {{{ sudo port clean clang-3.5 sudo port install clang-3.5 build.jobs=1 }}} -- Ticket URL: <https://trac.macports.org/ticket/48716#comment:1> MacPorts <https://www.macports.org/> Ports system for OS X
#48716: clang-3.5 @3.5.2_6: eprintf/libcompiler_rt.a: No such file or directory ------------------------------+------------------------ Reporter: da.hoffman.pb@… | Owner: jeremyhu@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: clang-3.5 | ------------------------------+------------------------ Comment (by da.hoffman.pb@…): Replying to [comment:1 ryandesign@…]:
What version of Xcode and clang do you have? If it's not [XcodeVersionInfo#OSX10.8 the latest one for Mountain Lion] (Xcode 5.1.1 / clang-503.0.40), maybe upgrading Xcode and the Xcode command line tools would help.
I also note you are building with 24 make jobs, and that the error message is about a missing file. You could try disabling parallel building, which will take longer but if it succeeds that will let us know it is a parallel build problem:
{{{ sudo port clean clang-3.5 sudo port install clang-3.5 build.jobs=1 }}}
Thanks for your suggestions. I will give them a try. I have updated Xcode to 5.1.1 and installed the command line tools. I will then clean and rebuild. If that fails, I will clean and rebuild with parallel make disabled. I will let you know the results. -- Ticket URL: <https://trac.macports.org/ticket/48716#comment:2> MacPorts <https://www.macports.org/> Ports system for OS X
#48716: clang-3.5 @3.5.2_6: eprintf/libcompiler_rt.a: No such file or directory ------------------------------+------------------------ Reporter: da.hoffman.pb@… | Owner: jeremyhu@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: clang-3.5 | ------------------------------+------------------------ Comment (by da.hoffman.pb@…): Upgrading to Xcode 5.1.1 fixed the problem. Clang-3.5 compiled successfully on my system. Thank you for your help! -- Ticket URL: <https://trac.macports.org/ticket/48716#comment:3> MacPorts <https://www.macports.org/> Ports system for OS X
#48716: clang-3.5 @3.5.2_6: eprintf/libcompiler_rt.a: No such file or directory ------------------------------+------------------------ Reporter: da.hoffman.pb@… | Owner: jeremyhu@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: worksforme | Keywords: Port: clang-3.5 | ------------------------------+------------------------ Changes (by jeremyhu@…): * status: new => closed * resolution: => worksforme -- Ticket URL: <https://trac.macports.org/ticket/48716#comment:4> MacPorts <https://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts