#49866 closed defect (invalid)
clang-3.8 @3.8-r253905 fails building on 10.6.8
Reported by: | udbraumann | Owned by: | jeremyhu (Jeremy Huddleston Sequoia) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.3.4 |
Keywords: | Cc: | ||
Port: | clang-3.8 |
Description
Installing clang-3.8 @3.8-r253905
from sources fails on 10.6.8 complaining that a certain libcompiler_rt.a
is missing inside a folder cc_kext_ios:
$ sudo port -s install clang-3.8 ... :info:build cp /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_llvm-3.8/clang-3.8/work/build/tools/clang/runtime/compiler-rt/clang_darwin/10.4/libcompiler_rt.a /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_llvm-3.8/clang-3.8/work/build/Release+Debug+Asserts/lib/clang/3.8.0/lib/darwin/libclang_rt.10.4.a :info:build cp: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_llvm-3.8/clang-3.8/work/build/tools/clang/runtime/compiler-rt/clang_darwin/cc_kext_ios/libcompiler_rt.a: No such file or directory :info:build make[3]: *** [/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_llvm-3.8/clang-3.8/work/build/Release+Debug+Asserts/lib/clang/3.8.0/lib/darwin/libclang_rt.cc_kext_ios.a] Error 1 ...
As far as I can see, there is a folder cc_kext
, but no cc_kext_ios
.
Attachments (1)
Change History (8)
Changed 9 years ago by udbraumann
Attachment: | main.log.gz added |
---|
comment:1 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | jeremyhu@… removed |
---|---|
Owner: | changed from macports-tickets@… to jeremyhu@… |
comment:2 follow-up: 3 Changed 9 years ago by jeremyhu (Jeremy Huddleston Sequoia)
Resolution: | → invalid |
---|---|
Status: | new → closed |
comment:3 Changed 9 years ago by udbraumann
Replying to jeremyhu@…:
This was filed against a build with the old autoconf-based build system. Please update and try again. The port has changed significantly to use cmake instead now.
Sorry, but I do not know what to do, my 10.6.8 based MacPorts installation already has
$ sudo port installed cmake autoconf The following ports are currently installed: autoconf @2.69_5 (active) cmake @3.4.0_0 (active)
Though there are presently no outdated ports on my system, clang-3.8
does not build from sources, as was documented above.
comment:4 Changed 9 years ago by jeremyhu (Jeremy Huddleston Sequoia)
The llvm-3.8 port (of which clang-3.8 is a subport) has changed signifigantly from the version you attempted to install. You need to run 'port sync' or 'port selfupdate' to update.
comment:5 follow-up: 6 Changed 9 years ago by jeremyhu (Jeremy Huddleston Sequoia)
If you run 'port info', you should see that 3.8-r253905_1 or newer is available. You were installing 3.8-r253905_0:
$ port info clang-3.8 clang-3.8 @3.8-r253905_1 (lang) ...
comment:6 Changed 9 years ago by udbraumann
As I daily do a selfupdating, I have no idea why I apparently run into some version mismatch, anyway, building works now, thanks. From the log file I provided it is not easy to see that the version I was trying to install was 3.8-r253905_0
.
comment:7 Changed 9 years ago by jeremyhu (Jeremy Huddleston Sequoia)
The way that I determined that it wasn't the latest version is because it wasn't using cmake to build.
This was filed against a build with the old autoconf-based build system. Please update and try again. The port has changed significantly to use cmake instead now.