[MacPorts] #46973: clang 3.4.2_6 build fails, ML on OSX

MacPorts noreply at macports.org
Thu Feb 26 04:49:27 PST 2015


#46973: clang 3.4.2_6 build fails, ML on OSX
---------------------+--------------------------------
 Reporter:  punch@…  |      Owner:  macports-tickets@…
     Type:  defect   |     Status:  new
 Priority:  Normal   |  Milestone:
Component:  ports    |    Version:  2.3.3
 Keywords:           |       Port:
---------------------+--------------------------------
 I tried doing an upgrade from 3.4.2_5 to 3.4.2_6 and the build fails. This
 is under Mountain Lion on OSX. I ran down the make error, relevant info
 below. Two traces so you need to scroll down.

 main.log

 debug:build Executing org.macports.build (clang-3.4)
 ...skipping...
 release_tarballs_ports_lang_llvm-3.4/clang-3.4/work/llvm-3.4.2.src/projects
 /compiler-rt/make/platform/clang_darwin_test_input.c -isysroot
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-3.4/clang-3.4/work/llvm-3.4.2.src/projects
 /compiler-rt/SDKs/darwin -o /dev/null > /dev/null 2> /de
 v/null
 :info:build warning: clang_darwin.mk: dropping arch 'x86_64' from lib
 'ubsan_osx'
 :info:build make[4]: Entering directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-3.4/clang-3.4/work/llvm-3.4.2.src/projects
 /compiler-rt'
 :info:build make/platform/clang_linux.mk:16: *** "unable to infer compiler
 target triple for
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-3.4/clang-3.4/work/llvm-3.4.2.src/Release+Debug+Asserts/bin/clang".
 Stop.
 :info:build make[4]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-3.4/clang-3.4/work/llvm-3.4.2.src/projects
 /compiler-rt'
 :info:build make[3]: *** [BuildRuntimeLibraries] Error 2
 :info:build rm
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-3.4/clang-3.4/work/llvm-3.4.2.src/Release+Debug+Asserts/lib/clang/3.4.2/lib/darwin_embedded/.dir
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-3.4/clang-3.4/work/llvm-3.4.2.src/Release+Debug+Asserts/lib/clang/3.4.2/lib/darwin/.dir
 :info:build make[3]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-3.4/clang-3.4/work/llvm-3.4.2.src/tools/clang/runtime
 /compiler-rt'
 :info:build make[2]: *** [compiler-rt/.makeall] Error 2
 :info:build make[2]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-3.4/clang-3.4/work/llvm-3.4.2.src/tools/clang/runtime'
 :info:build make[1]: *** [all] Error 1
 :info:build make[1]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-3.4/clang-3.4/work/llvm-3.4.2.src/tools/clang'
 :info:build make: *** [all] Error 1
 :info:build make: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-3.4/clang-3.4/work/llvm-3.4.2.src'
 :info:build Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-3.4/clang-3.4/work/llvm-3.4.2.src"
 && /usr/bin/make -j8 -w clang-only
 :info:build Exit code: 2
 :error:build org.macports.build for port clang-3.4 returned: command
 execution failed
 :debug:build Error code: CHILDSTATUS 74521 2
 :debug:build Backtrace: command execution failed
     while executing
 "system -nice 0 $fullcmdstring"
     ("eval" body line 1)
     invoked from within
 "eval system $notty $nice \$fullcmdstring"
     invoked from within
 "command_exec build"
     (procedure "portbuild::build_main" line 8)
     invoked from within
 "portbuild::build_main org.macports.build"
     ("eval" body line 1)
     invoked from within
 "eval $procedure $targetname"
 :info:build Warning: targets not executed for clang-3.4:
 org.macports.install org.macports.build org.macports.destroot
 :notice:build Please see the log file for port clang-3.4 for details:
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-3.4/clang-3.4/main.log

 I cd to llvm-3.4.2.src and run /usr/bin/make -j8 -w clang-only, relevant
 info below

 make[3]: Entering directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-3.4/clang-3.4/work/llvm-3.4.2.src/lib/Transforms/Hello'
 make[4]: Entering directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-3.4/clang-3.4/work/llvm-3.4.2.src/lib/Target/Sparc/MCTargetDesc'
 make[4]: Nothing to be done for `all'.
 make[4]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-3.4/clang-3.4/work/llvm-3.4.2.src/lib/Target/Sparc/MCTargetDesc'
 make[3]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-3.4/clang-3.4/work/llvm-3.4.2.src/lib/Target/Sparc'
 /bin/sh:
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-3.4/clang-3.4/work/llvm-3.4.2.src/lib/Transforms/Hello/Release+Debug+Asserts/Hello.exports.sed:
 Permission denied
 make[3]: ***
 [/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-3.4/clang-3.4/work/llvm-3.4.2.src/lib/Transforms/Hello/Release+Debug+Asserts/Hello.exports.sed]
 Error 1
 make[3]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-3.4/clang-3.4/work/llvm-3.4.2.src/lib/Transforms/Hello'
 make[4]: Entering directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-3.4/clang-3.4/work/llvm-3.4.2.src/lib/Target/AArch64/AsmParser'
 make[4]: Nothing to be done for `all'.

 I cd to
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-3.4/clang-3.4/work/llvm-3.4.2.src/lib/Transforms/Hello
 to see what's up.

 In Hello is: CMakeLists.txt, Hello.cpp Hello.exports Makefile and the
 directory Release+Debug+Asserts Hello.exports is empty.
 In that directory is: Hello.d and Hello.o no .sed file (so not really a
 permissions problem?).

-- 
Ticket URL: <https://trac.macports.org/ticket/46973>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list