[MacPorts] #60348: libcxx fails to install on Leopard
MacPorts
noreply at macports.org
Mon Apr 13 16:09:40 UTC 2020
#60348: libcxx fails to install on Leopard
--------------------------+--------------------
Reporter: DominusExult | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.6.2
Keywords: | Port: libcxx
--------------------------+--------------------
I followed the instructions of installing libcxx, first by completely
reinstalling macports, then ran selfupdate, then applying the Leopard SDK
fixes.
Finally "sudo port install libcxx".
All the dependencies installed but libcxx failed with:
{{{
:info:build + for FILE in '../src/*.cpp'
:info:build + /usr/bin/g++-4.2 -c -g -O3 -arch i386 -arch ppc
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_libcxx/libcxx/work/libcxxabi-5.0.1.src/include
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_libcxx/libcxx/work/libcxx-5.0.1.src/include
-Os -std=c++11 -stdlib=libc++ -nostdinc++ -fstrict-aliasing -Wstrict-
aliasing=2 -Wsign-conversion -Wshadow -Wconversion -Wunused-variable
-Wmissing-field-initializers -Wchar-subscripts -Wmismatched-tags
-Wmissing-braces -Wshorten-64-to-32 -Wsign-compare -Wstrict-aliasing=2
-Wstrict-overflow=4 -Wunused-parameter -Wnewline-eof
-D_LIBCPP_BUILDING_LIBRARY -I../include ../src/abort_message.cpp
:info:build cc1plus: error: unrecognized command line option "-Wsign-
conversion"
:info:build cc1plus: error: unrecognized command line option
"-Wmismatched-tags"
:info:build cc1plus: error: unrecognized command line option "-std=c++11"
:info:build cc1plus: error: unrecognized command line option
"-stdlib=libc++"
:info:build cc1plus: error: unrecognized command line option "-Wsign-
conversion"
:info:build cc1plus: error: unrecognized command line option
"-Wmismatched-tags"
:info:build cc1plus: error: unrecognized command line option "-std=c++11"
:info:build cc1plus: error: unrecognized command line option
"-stdlib=libc++"
:info:build lipo: can't figure out the architecture type of:
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_libcxx/libcxx/work/.tmp/ccj8UMSX.out
:info:build make: ***
}}}
--
Ticket URL: <https://trac.macports.org/ticket/60348>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list