Opened 5 years ago

Closed 5 years ago

#58708 closed defect (fixed)

clang-devel @devel-r365158: cannot install on mac os x 10.14.5 mojave

Reported by: brolcz Owned by: jeremyhu (Jeremy Huddleston Sequoia)
Priority: Normal Milestone:
Component: ports Version: 2.5.4
Keywords: Cc: larryv (Lawrence Velázquez), kencu (Ken)
Port: clang-devel

Description

The installation fails midway through. I have tried uninstalling, cleaning, and installing without success. I have tried without any specified variants, and with them. It has the same error in every case.

I am including the relevant portion of the log below:

_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-devel/clang-devel/work/trunk/tools/clang/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-devel/clang-devel/work/build/tools/clang/include -I/opt/local/include/libxml2 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-devel/clang-devel/work/build/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-devel/clang-devel/work/trunk/include  -pipe -Os -std=c++11 -stdlib=libc++ -isysroot/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -fPIC -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -std=c++11 -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wstring-conversion -fno-common -Woverloaded-virtual -Wno-nested-anon-types   -arch x86_64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -mmacosx-version-min=10.14   -UNDEBUG  -fno-exceptions -o CMakeFiles/obj.clangToolingRefactoring.dir/Stencil.cpp.o -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-devel/clang-devel/work/trunk/tools/clang/lib/Tooling/Refactoring/Stencil.cpp
:info:build [ 78%] Building CXX object tools/clang/lib/Tooling/Refactoring/CMakeFiles/obj.clangToolingRefactoring.dir/Transformer.cpp.o
:info:build cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-devel/clang-devel/work/build/tools/clang/lib/Tooling/Refactoring && /usr/bin/clang++  -D_DEBUG -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-devel/clang-devel/work/build/tools/clang/lib/Tooling/Refactoring -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-devel/clang-devel/work/trunk/tools/clang/lib/Tooling/Refactoring -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-devel/clang-devel/work/trunk/tools/clang/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-devel/clang-devel/work/build/tools/clang/include -I/opt/local/include/libxml2 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-devel/clang-devel/work/build/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-devel/clang-devel/work/trunk/include  -pipe -Os -std=c++11 -stdlib=libc++ -isysroot/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -fPIC -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -std=c++11 -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wstring-conversion -fno-common -Woverloaded-virtual -Wno-nested-anon-types   -arch x86_64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -mmacosx-version-min=10.14   -UNDEBUG  -fno-exceptions -o CMakeFiles/obj.clangToolingRefactoring.dir/Transformer.cpp.o -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-devel/clang-devel/work/trunk/tools/clang/lib/Tooling/Refactoring/Transformer.cpp
:info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-devel/clang-devel/work/build'
:info:build [ 78%] Built target obj.clangIndex
:info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-devel/clang-devel/work/build'
:info:build [ 78%] Built target obj.clangToolingRefactoring
:info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-devel/clang-devel/work/build'
:info:build make: *** [all] Error 2
:info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-devel/clang-devel/work/build'
:info:build Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-devel/clang-devel/work/build" && /usr/bin/make -j8 -w all VERBOSE=ON 
:info:build Exit code: 2
:error:build Failed to build clang-devel: command execution failed
:debug:build Error code: CHILDSTATUS 64771 2
:debug:build Backtrace: command execution failed
:debug:build     while executing
:debug:build "system {*}$notty {*}$nice $fullcmdstring"
:debug:build     invoked from within
:debug:build "command_exec build"
:debug:build     (procedure "portbuild::build_main" line 8)
:debug:build     invoked from within
:debug:build "$procedure $targetname"
:error:build See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-devel/clang-devel/main.log for details.


Thank you.

Change History (5)

comment:1 Changed 5 years ago by kencu (Ken)

Not sure yet, but I presume this will be the same as 58694.

Marcus already has an updated patch that is meant to fix that, still being evaluated <https://github.com/macports/macports-ports/pull/4795>. Please feel free to try the new patch and report back, if you have time.

Last edited 5 years ago by kencu (Ken) (previous) (diff)

comment:2 Changed 5 years ago by mf2k (Frank Schima)

Port: clang-devel added

In the future, please fill in the Port field.

comment:3 Changed 5 years ago by mf2k (Frank Schima)

Cc: larryv added; jeremyhu removed
Owner: set to jeremyhu
Status: newassigned

comment:4 Changed 5 years ago by kencu (Ken)

Cc: kencu added

comment:5 Changed 5 years ago by kencu (Ken)

Resolution: fixed
Status: assignedclosed

In 9681f46fb4e93f966422703b3dccaf51814dcb5c/macports-ports (master):

llvm/clang/lldb-devel: update to 20200505

downloads the monorepo from GitHub now
moves the various folders into the positions to
use the existing Portfile logic, which is a bit
outdated now, but keeps things consistent

the clang/llvm/lldb ports should be moved over
to the currently recommended monorepo build
in time.

closes: #60108
closes: #58708
closes: #58687
closes: #56255

Note: See TracTickets for help on using tickets.