[MacPorts] #59157: clang-3.7 @3.7.1_5: cp: build/tools/clang/runtime/compiler-rt/clang_darwin/10.4/libcompiler_rt.a: No such file or directory

MacPorts noreply at macports.org
Fri Oct 4 01:34:00 UTC 2019


#59157: clang-3.7 @3.7.1_5: cp: build/tools/clang/runtime/compiler-
rt/clang_darwin/10.4/libcompiler_rt.a: No such file or directory
------------------------+----------------------
  Reporter:  Ionic      |      Owner:  jeremyhu
      Type:  defect     |     Status:  assigned
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:  2.6.99
Resolution:             |   Keywords:
      Port:  clang-3.7  |
------------------------+----------------------

Comment (by Ionic):

 Look at this:

 {{{
 :info:build /Library/Developer/CommandLineTools/usr/bin/make -C
 /opt/local/var/macports/build/_opt_local_var_macports_sources_macports.rsync.ionic.de_release_ports_lang_llvm-3.7/clang-3.7/work/llvm-3.7.1.src/projects
 /compiler-rt \
 :info:build
 ProjSrcRoot=/opt/local/var/macports/build/_opt_local_var_macports_sources_macports.rsync.ionic.de_release_ports_lang_llvm-3.7/clang-3.7/work/llvm-3.7.1.src/projects
 /compiler-rt \
 :info:build
 ProjObjRoot=/opt/local/var/macports/build/_opt_local_var_macports_sources_macports.rsync.ionic.de_release_ports_lang_llvm-3.7/clang-3.7/work/build/tools/clang/runtime
 /compiler-rt \
 :info:build
 CC="/opt/local/var/macports/build/_opt_local_var_macports_sources_macports.rsync.ionic.de_release_ports_lang_llvm-3.7/clang-3.7/work/build/Release+Debug/bin/clang"
 \
 :info:build       VERBOSE=1 \
 :info:build       clang_darwin clang_macho_embedded
 [...]
 :info:build make[4]: Entering directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_macports.rsync.ionic.de_release_ports_lang_llvm-3.7/clang-3.7/work/llvm-3.7.1.src/projects
 /compiler-rt'
 :info:build make[4]: Nothing to be done for `clang_darwin'.
 :info:build   MKDIR:
 /opt/local/var/macports/build/_opt_local_var_macports_sources_macports.rsync.ionic.de_release_ports_lang_llvm-3.7/clang-3.7/work/build/tools/clang/runtime
 /compiler-rt/clang_macho_embedded/soft_static/armv6m/SubDir.lib__builtins
 }}}

 The `clang_darwin` target indeed is being completely skipped for some
 reason, because make determines that there is nothing to be done.
 Obviously wrong. Afterwards, the `clang_macho_embedded` target is built
 correctly.

 So... the question seems to be why the `clang_darwin` target is not built
 correctly/no object files being generated in `ProjObjRoot`.

-- 
Ticket URL: <https://trac.macports.org/ticket/59157#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list