Opened 5 years ago
Closed 5 years ago
#60261 closed defect (fixed)
libtorrent-rasterbar @1.2.4: error: invalid value 'c++14' in '-std=c++14'
Reported by: | ryandesign (Ryan Carsten Schmidt) | Owned by: | dbevans (David B. Evans) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.6.2 |
Keywords: | Cc: | ||
Port: | libtorrent-rasterbar |
Description
libtorrent-rasterbar indicates that it requires C++14, so on Mavericks MacPorts chooses a newer MacPorts compiler. However libtorrent-rasterbar is not UsingTheRightCompiler for everything, so some parts are still building with /usr/bin/clang which fails:
make[2]: Entering directory `/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_net_libtorrent-rasterbar/libtorrent-rasterbar/work/arvidn-libtorrent-ad83b1c/bindings/python' /opt/local/bin/python3.7 ./setup.py build running build running build_ext building 'libtorrent' extension creating build creating build/temp.macosx-10.9-x86_64-3.7 creating build/temp.macosx-10.9-x86_64-3.7/opt creating build/temp.macosx-10.9-x86_64-3.7/opt/local creating build/temp.macosx-10.9-x86_64-3.7/opt/local/var creating build/temp.macosx-10.9-x86_64-3.7/opt/local/var/macports creating build/temp.macosx-10.9-x86_64-3.7/opt/local/var/macports/build creating build/temp.macosx-10.9-x86_64-3.7/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_net_libtorrent-rasterbar creating build/temp.macosx-10.9-x86_64-3.7/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_net_libtorrent-rasterbar/libtorrent-rasterbar creating build/temp.macosx-10.9-x86_64-3.7/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_net_libtorrent-rasterbar/libtorrent-rasterbar/work creating build/temp.macosx-10.9-x86_64-3.7/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_net_libtorrent-rasterbar/libtorrent-rasterbar/work/arvidn-libtorrent-ad83b1c creating build/temp.macosx-10.9-x86_64-3.7/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_net_libtorrent-rasterbar/libtorrent-rasterbar/work/arvidn-libtorrent-ad83b1c/bindings creating build/temp.macosx-10.9-x86_64-3.7/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_net_libtorrent-rasterbar/libtorrent-rasterbar/work/arvidn-libtorrent-ad83b1c/bindings/python creating build/temp.macosx-10.9-x86_64-3.7/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_net_libtorrent-rasterbar/libtorrent-rasterbar/work/arvidn-libtorrent-ad83b1c/bindings/python/src /usr/bin/clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -pipe -Os -I../../include -I/opt/local/include -I/opt/local/include -I/opt/local/include -I/opt/local/Library/Frameworks/Python.framework/Versions/3.7/include/python3.7m -c /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_net_libtorrent-rasterbar/libtorrent-rasterbar/work/arvidn-libtorrent-ad83b1c/bindings/python/src/alert.cpp -o build/temp.macosx-10.9-x86_64-3.7/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_net_libtorrent-rasterbar/libtorrent-rasterbar/work/arvidn-libtorrent-ad83b1c/bindings/python/src/alert.o -DTORRENT_USE_OPENSSL -DTORRENT_USE_LIBCRYPTO -DBOOST_ASIO_HAS_STD_CHRONO=1 -DBOOST_EXCEPTION_DISABLE -DBOOST_ASIO_ENABLE_CANCELIO -DTORRENT_LINKING_SHARED -pipe -Os -std=c++14 -stdlib=libc++ -arch x86_64 -ftemplate-depth=512 -Wno-format-zero-length -fvisibility=hidden -fvisibility-inlines-hidden -Wno-deprecated-declarations -g0 -Os -Wno-error=unused-command-line-argument-hard-error-in-future warning: unknown warning option '-Werror=unused-command-line-argument-hard-error-in-future'; did you mean '-Werror=unused-command-line-argument'? [-Wunknown-warning-option] error: invalid value 'c++14' in '-std=c++14' error: command '/usr/bin/clang' failed with exit status 1
Change History (1)
comment:1 Changed 5 years ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note: See
TracTickets for help on using
tickets.
[d64154202f73f594aa482a986e22dcfcbc54c6ac/macports-ports]