[MacPorts] #57735: Gate: fatal error: 'string_view' file not found
MacPorts
noreply at macports.org
Fri Dec 7 01:34:26 UTC 2018
#57735: Gate: fatal error: 'string_view' file not found
---------------------+----------------------
Reporter: mojca | Owner: mojca
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: gate |
---------------------+----------------------
Comment (by kencu):
It's a big piece of software, so exploring all the workable combinations
could be a large project. However, on 10.9, you can have success:
{{{
$ port -v installed gate
The following ports are currently installed:
gate @8.1.p01_0+geant4104+qt4 (active) platform='darwin 13'
archs='x86_64' date='2018-12-06T17:28:13-0800'
}}}
if you force the compiler to be macports-clang-7.0, and if you change
{{{-std=c++11}}} to {{{-std=c++17}}} in the top-level CMakeLists.txt.
Still, a -std=c++11 still slips into the build line from somewhere (some
portgroup?), but it doesn't seem to cause the build to fail.
{{{
/opt/local/bin/clang++-mp-7.0 -DG4INTY_USE_QT -DG4UI_USE -DG4UI_USE_QT
-DG4UI_USE_TCSH -DG4VERBOSE -DG4VIS_USE -DG4VIS_USE_OPENGL
-DG4VIS_USE_OPENGLQT -DG4_STORE_TRAJECTORY -F//System/Library/Frameworks
-I/opt/local/libexec/root6/include/root -I/opt/local/include/libxml2
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_gate/gate/work/build
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_gate/gate/work/Gate-8.1.p01/source/arf/include
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_gate/gate/work/Gate-8.1.p01/source/geometry/include
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_gate/gate/work/Gate-8.1.p01/source/physics/include
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_gate/gate/work/Gate-8.1.p01/source/digits_hits/include
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_gate/gate/work/Gate-8.1.p01/source/general/include
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_gate/gate/work/Gate-8.1.p01/source/externals/clhep/include
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_gate/gate/work/Gate-8.1.p01/source/externals
/itk-mhd
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_gate/gate/work/Gate-8.1.p01/source/externals
/itk-mhd/itkzlib
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_gate/gate/work/Gate-8.1.p01/source/externals
/itk-mhd/src
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_gate/gate/work/build
/itk-mhd -isystem /opt/local/include/Geant4/Geant4.10.4/Geant4 -isystem
/opt/local/include -isystem /opt/local/libexec/qt4/include -isystem
/opt/local/libexec/qt4/include/QtCore -isystem
/opt/local/libexec/qt4/include/QtGui -isystem
/opt/local/libexec/qt4/include/QtOpenGL -pipe -Os -stdlib=libc++ -W -Wall
-pedantic -Wno-non-virtual-dtor -Wno-long-long -Wwrite-strings -Wpointer-
arith -Woverloaded-virtual -Wno-variadic-macros -Wshadow -pipe -Qunused-
arguments -stdlib=libc++ -DG4USE_STD11 -std=c++11 -Wno-shadow -std=c++17
-arch x86_64 -mmacosx-version-min=10.9 -std=c++11 -o
CMakeFiles/Gate.dir/source/physics/src/GateeMultipleScatteringPB.cc.o -c
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_gate/gate/work/Gate-8.1.p01/source/physics/src/GateeMultipleScatteringPB.cc
}}}
--
Ticket URL: <https://trac.macports.org/ticket/57735#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list