Opened 10 years ago

Closed 10 years ago

#44937 closed defect (worksforme)

clang-3.5: fails to build on Mavericks

Reported by: mkae (Marko Käning) Owned by: jeremyhu (Jeremy Huddleston Sequoia)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: clang-3.5

Description

For now I've avoided to attach the full log, as even gzipped it's 460kB large.

:info:build   ARCHIVE:   clang_darwin/10.4/i386: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-3.5/clang-3.5/work/release_35/tools/clang/runtime/compiler-rt/clang_darwin/10.4/i386/libcompiler_rt.a
:info:build rm -f /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-3.5/clang-3.5/work/release_35/tools/clang/runtime/compiler-rt/clang_darwin/10.4/i386/libcompiler_rt.a
:info:build make[4]: *** [/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-3.5/clang-3.5/work/release_35/tools/clang/runtime/compiler-rt/clang_darwin/eprintf/i386/libcompiler_rt.a] Error 127
:info:build make[4]: *** Waiting for unfinished jobs....
:info:build /opt/local/bin/ar cru 2> /dev/null /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-3.5/clang-3.5/work/release_35/tools/clang/runtime/compiler-rt/clang_darwin/10.4/i386/libcompiler_rt.a /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-3.5/clang-3.5/work/release_35/tools/clang/runtime/compiler-rt/clang_darwin/10.4/i386/SubDir.lib__builtins/eprintf.o   /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-3.5/clang-3.5/work/release_35/tools/clang/runtime/compiler-rt/clang_darwin/10.4/i386/SubDir.lib__builtins__i386/floatundidf.o   /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-3.5/clang-3.5/work/release_35/tools/clang/runtime/compiler-rt/clang_darwin/10.4/i386/SubDir.lib__builtins__i386/floatundisf.o   /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-3.5/clang-3.5/work/release_35/tools/clang/runtime/compiler-rt/clang_darwin/10.4/i386/SubDir.lib__builtins__i386/floatundixf.o   /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-3.5/clang-3.5/work/release_35/tools/clang/runtime/compiler-rt/clang_darwin/10.4/i386/SubDir.lib__builtins/int_util.o
:info:build make[4]: *** [/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-3.5/clang-3.5/work/release_35/tools/clang/runtime/compiler-rt/clang_darwin/10.4/i386/libcompiler_rt.a] Error 127
: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.5/clang-3.5/work/release_35/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.5/clang-3.5/work/release_35/Release+Debug+Asserts/lib/clang/3.5.0/lib/macho_embedded/.dir /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-3.5/clang-3.5/work/release_35/Release+Debug+Asserts/lib/clang/3.5.0/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.5/clang-3.5/work/release_35/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.5/clang-3.5/work/release_35
/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.5/clang-3.5/work/release_35/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.5/clang-3.5/work/release_35'
:info:build Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-3.5/clang-3.5/work/release_35" && /usr/bin/make -j6 -w clang-only
:info:build Exit code: 2
:error:build org.macports.build for port clang-3.5 returned: command execution failed
:debug:build Error code: CHILDSTATUS 76572 2
:debug:build Backtrace: command execution failed

Change History (3)

comment:1 Changed 10 years ago by jeremyhu (Jeremy Huddleston Sequoia)

What's the output of the failing command?

/opt/local/bin/ar cru /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-3.5/clang-3.5/work/release_35/tools/clang/runtime/compiler-rt/clang_darwin/10.4/i386/libcompiler_rt.a /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-3.5/clang-3.5/work/release_35/tools/clang/runtime/compiler-rt/clang_darwin/10.4/i386/SubDir.lib__builtins/eprintf.o   /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-3.5/clang-3.5/work/release_35/tools/clang/runtime/compiler-rt/clang_darwin/10.4/i386/SubDir.lib__builtins__i386/floatundidf.o   /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-3.5/clang-3.5/work/release_35/tools/clang/runtime/compiler-rt/clang_darwin/10.4/i386/SubDir.lib__builtins__i386/floatundisf.o   /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-3.5/clang-3.5/work/release_35/tools/clang/runtime/compiler-rt/clang_darwin/10.4/i386/SubDir.lib__builtins__i386/floatundixf.o   /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-3.5/clang-3.5/work/release_35/tools/clang/runtime/compiler-rt/clang_darwin/10.4/i386/SubDir.lib__builtins/int_util.o

comment:2 Changed 10 years ago by mkae (Marko Käning)

Hi Jeremy, as in the related thread highlighted I had to rebuild this from source for some unknown reason.

Perhaps I simply retry to build this before trying to analyse this further, as the binary package should be there for my OS version?

comment:3 Changed 10 years ago by mkae (Marko Käning)

Resolution: worksforme
Status: newclosed

I retried installing clang-3.5 today and it turns out that it now pulls in the binary from MacPorts. :-)

So, this is a no-issue now.

Note: See TracTickets for help on using tickets.