Opened 11 years ago
Closed 11 years ago
#42108 closed defect (fixed)
clang-3.4 fails to build on Snow Leopard (succeeds upon retry)
Reported by: | ryandesign (Ryan Carsten Schmidt) | Owned by: | jeremyhu (Jeremy Huddleston Sequoia) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.2.1 |
Keywords: | Cc: | cooljeanius (Eric Gallager), larryv (Lawrence Velázquez), devernay (Frédéric Devernay), mopihopi | |
Port: | clang-3.4 |
Description
On Snow Leopard, clang-3.4 fails to build with many "can't parse dwarf compilation unit info" errors.
Attachments (4)
Change History (21)
Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)
Attachment: | main.log.bz2 added |
---|
comment:1 Changed 11 years ago by jeremyhu (Jeremy Huddleston Sequoia)
comment:2 Changed 11 years ago by jeremyhu (Jeremy Huddleston Sequoia)
Im not sure why this is only impacting SL and earlier.
Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)
Attachment: | main.log.2.bz2 added |
---|
log without parallel building
comment:4 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)
Disabling parallel building does not result in a successful build. I've attached a new log.
comment:5 Changed 11 years ago by jeremyhu (Jeremy Huddleston Sequoia)
Hrm... well suggestions are welcomed. I got it to build by retrying a few times =(
comment:8 Changed 11 years ago by jeremyhu (Jeremy Huddleston Sequoia)
Summary: | clang-3.4: can't parse dwarf compilation unit info → clang-3.4 fails to build on Snow Leopard (succeeds upon retry) |
---|
comment:10 Changed 11 years ago by jeremyhu (Jeremy Huddleston Sequoia)
Does r117563 address this for you?
comment:11 Changed 11 years ago by mopihopi
clang-3.4 still does not build for me on OS X 10.6.8. I've attached the build log.
comment:12 Changed 11 years ago by jeremyhu (Jeremy Huddleston Sequoia)
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.
comment:13 Changed 11 years ago by mopihopi
llvm-3.5 does not build either:
: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.)
comment:14 Changed 11 years ago by jeremyhu (Jeremy Huddleston Sequoia)
: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.
comment:15 Changed 11 years ago by jeremyhu (Jeremy Huddleston Sequoia)
Actually, llvm-3.5's build should "just work" if you're on trunk base.
comment:16 Changed 11 years ago 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. $
comment:17 Changed 11 years ago by jeremyhu (Jeremy Huddleston Sequoia)
Resolution: | → fixed |
---|---|
Status: | new → closed |
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.
Disable parallel building or just keep retrying.