[MacPorts] #42108: clang-3.4: can't parse dwarf compilation unit info
#42108: clang-3.4: can't parse dwarf compilation unit info --------------------------+------------------------ Reporter: ryandesign@… | Owner: jeremyhu@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Keywords: | Port: clang-3.4 --------------------------+------------------------ On Snow Leopard, clang-3.4 fails to build with many "can't parse dwarf compilation unit info" errors. -- Ticket URL: <https://trac.macports.org/ticket/42108> MacPorts <http://www.macports.org/> Ports system for OS X
#42108: clang-3.4: can't parse dwarf compilation unit info ---------------------------+------------------------ Reporter: ryandesign@… | Owner: jeremyhu@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: clang-3.4 | ---------------------------+------------------------ Comment (by jeremyhu@…): Disable parallel building or just keep retrying. -- Ticket URL: <https://trac.macports.org/ticket/42108#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
#42108: clang-3.4: can't parse dwarf compilation unit info ---------------------------+------------------------ Reporter: ryandesign@… | Owner: jeremyhu@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: clang-3.4 | ---------------------------+------------------------ Comment (by jeremyhu@…): Im not sure why this is only impacting SL and earlier. -- Ticket URL: <https://trac.macports.org/ticket/42108#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
#42108: clang-3.4: can't parse dwarf compilation unit info ---------------------------+------------------------ Reporter: ryandesign@… | Owner: jeremyhu@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: clang-3.4 | ---------------------------+------------------------ Comment (by ryandesign@…): Disabling parallel building does not result in a successful build. I've attached a new log. -- Ticket URL: <https://trac.macports.org/ticket/42108#comment:4> MacPorts <http://www.macports.org/> Ports system for OS X
#42108: clang-3.4: can't parse dwarf compilation unit info ---------------------------+------------------------ Reporter: ryandesign@… | Owner: jeremyhu@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: clang-3.4 | ---------------------------+------------------------ Comment (by jeremyhu@…): Hrm... well suggestions are welcomed. I got it to build by retrying a few times =( -- Ticket URL: <https://trac.macports.org/ticket/42108#comment:5> MacPorts <http://www.macports.org/> Ports system for OS X
#42108: clang-3.4 fails to build on Snow Leopard (succeeds upon retry) ---------------------------+------------------------ Reporter: ryandesign@… | Owner: jeremyhu@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: clang-3.4 | ---------------------------+------------------------ -- Ticket URL: <https://trac.macports.org/ticket/42108#comment:8> MacPorts <http://www.macports.org/> Ports system for OS X
#42108: clang-3.4 fails to build on Snow Leopard (succeeds upon retry) ---------------------------+------------------------ Reporter: ryandesign@… | Owner: jeremyhu@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: clang-3.4 | ---------------------------+------------------------ Comment (by jeremyhu@…): Does r117563 address this for you? -- Ticket URL: <https://trac.macports.org/ticket/42108#comment:10> MacPorts <http://www.macports.org/> Ports system for OS X
#42108: clang-3.4 fails to build on Snow Leopard (succeeds upon retry) ---------------------------+------------------------ Reporter: ryandesign@… | Owner: jeremyhu@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: clang-3.4 | ---------------------------+------------------------ Comment (by mopihopi@…): clang-3.4 still does not build for me on OS X 10.6.8. I've attached the build log. -- Ticket URL: <https://trac.macports.org/ticket/42108#comment:11> MacPorts <http://www.macports.org/> Ports system for OS X
#42108: clang-3.4 fails to build on Snow Leopard (succeeds upon retry) ---------------------------+------------------------ Reporter: ryandesign@… | Owner: jeremyhu@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: clang-3.4 | ---------------------------+------------------------ Comment (by jeremyhu@…): Please attach your log after updating to r117573 Does llvm-3.5 build for you? I experienced no issues with clang-3.5 on my SL machine. Unfortunately, the SL buildbot is down right now. -- Ticket URL: <https://trac.macports.org/ticket/42108#comment:12> MacPorts <http://www.macports.org/> Ports system for OS X
#42108: clang-3.4 fails to build on Snow Leopard (succeeds upon retry) ---------------------------+------------------------ Reporter: ryandesign@… | Owner: jeremyhu@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: clang-3.4 | ---------------------------+------------------------ Comment (by mopihopi@…): llvm-3.5 does not build either:[[BR]] :error:fetch llvm-3.5 requires a C++11 runtime, which your configuration does not allow Full log is attached. (clang-3.4 is still building.) -- Ticket URL: <https://trac.macports.org/ticket/42108#comment:13> MacPorts <http://www.macports.org/> Ports system for OS X
#42108: clang-3.4 fails to build on Snow Leopard (succeeds upon retry) ---------------------------+------------------------ Reporter: ryandesign@… | Owner: jeremyhu@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: clang-3.4 | ---------------------------+------------------------ Comment (by jeremyhu@…):
:error:fetch llvm-3.5 requires a C++11 runtime, which your configuration does not allow
If you want to use it, you can install libcxx and then choose libc++ as your C++ runtime in macports.conf. It'll require a rebuild of all your C++ ports. -- Ticket URL: <https://trac.macports.org/ticket/42108#comment:14> MacPorts <http://www.macports.org/> Ports system for OS X
#42108: clang-3.4 fails to build on Snow Leopard (succeeds upon retry) ---------------------------+------------------------ Reporter: ryandesign@… | Owner: jeremyhu@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: clang-3.4 | ---------------------------+------------------------ Comment (by jeremyhu@…): Actually, llvm-3.5's build should "just work" if you're on trunk base. -- Ticket URL: <https://trac.macports.org/ticket/42108#comment:15> MacPorts <http://www.macports.org/> Ports system for OS X
#42108: clang-3.4 fails to build on Snow Leopard (succeeds upon retry) ---------------------------+------------------------ Reporter: ryandesign@… | Owner: jeremyhu@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: clang-3.4 | ---------------------------+------------------------ Comment (by mopihopi@…): I do have libcxx installed. It installed them when I attempted to install llvm-3.5: {{{ $ sudo port install llvm-3.5 ---> Computing dependencies for llvm-3.5 ---> Dependencies to be installed: libcxx libcxxabi ---> Fetching archive for libcxxabi ---> Attempting to fetch libcxxabi-183506_1.darwin_10.x86_64.tbz2 from http://packages.macports.org/libcxxabi ---> Attempting to fetch libcxxabi-183506_1.darwin_10.x86_64.tbz2.rmd160 from http://packages.macports.org/libcxxabi ---> Installing libcxxabi @183506_1 ---> Activating libcxxabi @183506_1 ---> Cleaning libcxxabi ---> Fetching archive for libcxx ---> Attempting to fetch libcxx-183506_1.darwin_10.x86_64.tbz2 from http://packages.macports.org/libcxx ---> Attempting to fetch libcxx-183506_1.darwin_10.x86_64.tbz2.rmd160 from http://packages.macports.org/libcxx ---> Installing libcxx @183506_1 ---> Activating libcxx @183506_1 ---> Cleaning libcxx ---> Fetching archive for llvm-3.5 ---> Attempting to fetch llvm-3.5-3.5-r202097_0+assertions.darwin_10.x86_64.tbz2 from http://packages.macports.org/llvm-3.5 ---> Attempting to fetch llvm-3.5-3.5-r202097_0+assertions.darwin_10.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/llvm-3.5 ---> Attempting to fetch llvm-3.5-3.5-r202097_0+assertions.darwin_10.x86_64.tbz2 from http://lil.fr.packages.macports.org/llvm-3.5 ---> Fetching distfiles for llvm-3.5 Error: llvm-3.5 requires a C++11 runtime, which your configuration does not allow Error: org.macports.fetch for port llvm-3.5 returned: unsupported configuration Please see the log file for port llvm-3.5 for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_llvm-3.5/llvm-3.5/main.log To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets Error: Processing of port llvm-3.5 failed $ }}} However now clang-3.4 is building successfully: {{{ $ sudo port install clang-3.4 ---> Computing dependencies for clang-3.4 ---> Fetching archive for clang-3.4 ---> Attempting to fetch clang-3.4-3.4_0+analyzer+python27.darwin_10.x86_64.tbz2 from http://packages.macports.org/clang-3.4 ---> Attempting to fetch clang-3.4-3.4_0+analyzer+python27.darwin_10.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/clang-3.4 ---> Attempting to fetch clang-3.4-3.4_0+analyzer+python27.darwin_10.x86_64.tbz2 from http://lil.fr.packages.macports.org/clang-3.4 ---> Fetching distfiles for clang-3.4 ---> Verifying checksums for clang-3.4 ---> Extracting clang-3.4 ---> Applying patches to clang-3.4 ---> Configuring clang-3.4 ---> Building clang-3.4 ---> Staging clang-3.4 into destroot ---> Installing clang-3.4 @3.4_0+analyzer+python27 ---> Activating clang-3.4 @3.4_0+analyzer+python27 ---> Cleaning clang-3.4 ---> Updating database of binaries: 100.0% ---> Scanning binaries for linking errors: 100.0% ---> No broken files found. $ }}} -- Ticket URL: <https://trac.macports.org/ticket/42108#comment:16> MacPorts <http://www.macports.org/> Ports system for OS X
#42108: clang-3.4 fails to build on Snow Leopard (succeeds upon retry) ---------------------------+------------------------ Reporter: ryandesign@… | Owner: jeremyhu@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: fixed | Keywords: Port: clang-3.4 | ---------------------------+------------------------ Changes (by jeremyhu@…): * status: new => closed * resolution: => fixed Comment:
I do have libcxx installed. It installed them when I attempted to install llvm-3.5:
You need trunk base too
However now clang-3.4 is building successfully:
Great. -- Ticket URL: <https://trac.macports.org/ticket/42108#comment:17> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts